* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f1f3f6;
}

/* Navbar */
.navbar {
  background: #2874f0;
  color: white;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar input {
  width: 40%;
  padding: 8px;
  border-radius: 4px;
  border: none;
}

.nav-links span {
  margin-left: 20px;
  cursor: pointer;
}

/* Layout */
.container {
  display: flex;
  padding: 20px 40px;
}

/* Sidebar */
.sidebar {
  width: 280px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 22px 18px;
  border-radius: 24px;
  border:1px solid #dbeafe;
  box-shadow:0 18px 44px rgba(15,23,42,0.08);
  position:sticky;
  top:22px;
  align-self:start;
}

.sidebar ul {
  list-style: none;
  margin-top: 20px;
}

.sidebar li {
  padding: 0;
  cursor: pointer;
}

.sidebar-logout{
  width:100%;
  border:none;
  background:linear-gradient(135deg, #ef4444, #dc2626);
  color:#fff;
  padding:14px 16px;
  border-radius:16px;
  cursor:pointer;
  text-align:center;
  font-weight:700;
  box-shadow:0 12px 24px rgba(239,68,68,0.2);
}

.sidebar li.active {
  color: #2874f0;
  font-weight: bold;
}

/* Content */
.content {
  flex: 1;
  margin-left: 20px;
}

/* Card */
.card {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 6px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.card-header button {
  background: none;
  border: none;
  color: #2874f0;
  cursor: pointer;
}

/* Form */
.form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

input, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background:#fff;
  color:#0f172a;
  transition:border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

/* Buttons */
.location-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border: none;
  padding: 14px 18px;
  cursor: pointer;
  margin-top: 10px;
  border-radius: 16px;
  font-weight:800;
  box-shadow:0 16px 30px rgba(37,99,235,0.2);
}

.danger {
  display: flex;
  justify-content: space-between;
}

.deactivate {
  background: #ff9f00;
  border: none;
  padding: 10px 20px;
  color: white;
  cursor: pointer;
}

.delete {
  background: red;
  border: none;
  padding: 10px 20px;
  color: white;
  cursor: pointer;
}

.profile-box{
  padding:18px;
  border-radius:18px;
  background:linear-gradient(145deg, #eff6ff, #dbeafe);
  display:grid;
  gap:8px;
  justify-items:flex-start;
}

.profile-box-avatar-wrap{
  width:88px;
  height:88px;
  border-radius:999px;
  overflow:hidden;
  border:3px solid rgba(255,255,255,0.85);
  box-shadow:0 16px 30px rgba(15,23,42,0.12);
}

.profile-box-avatar{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center var(--profile-focus, 50%);
  transform:scale(var(--profile-zoom, 1));
  transform-origin:center;
  display:block;
}

.sidebar ul{
  display:grid;
  gap:8px;
}

.sidebar li,
.sidebar li a{
  border-radius:16px;
}

.sidebar li a,
.sidebar li.active{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  background:#fff;
  border:1px solid #e2e8f0;
  transition:transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sidebar li a::after,
.sidebar li.active::after{
  content:"›";
  font-size:1.1rem;
  color:#94a3b8;
}

.sidebar li a:hover,
.sidebar li.active{
  transform:translateX(4px);
  border-color:#bfdbfe;
  box-shadow:0 12px 24px rgba(37,99,235,0.08);
}

.sidebar li.active{
  background:linear-gradient(135deg, #eff6ff, #dbeafe);
  color:#1d4ed8;
}

.profile-box h3{
  color:#64748b;
  font-size:0.95rem;
  font-weight:700;
}

.profile-box p strong{
  font-size:1.25rem;
  color:#0f172a;
}

.profile-box small{
  color:#475569;
  line-height:1.5;
}

.content{
  display:grid;
  gap:18px;
}

.card{
  border-radius:22px;
  box-shadow:0 14px 36px rgba(15,23,42,0.08);
  border:1px solid #e2e8f0;
}

.card-header h2{
  color:#0f172a;
}

.password-change-form{
  display:grid;
  gap:12px;
}

.address-book-grid{
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:18px;
  align-items:start;
}

.address-book-panel,
.address-form-card{
  background:linear-gradient(180deg, #ffffff, #f8fbff);
  border:1px solid #dbeafe;
  border-radius:20px;
  padding:18px;
}

.saved-addresses-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}

.saved-addresses-list{
  display:grid;
  gap:12px;
}

.saved-address-card{
  border:1px solid #dbeafe;
  border-radius:18px;
  padding:16px;
  display:grid;
  gap:10px;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,23,42,0.05);
}

.saved-address-card.is-default{
  border-color:#93c5fd;
  background:linear-gradient(180deg, #eff6ff, #ffffff);
}

.saved-address-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.saved-address-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background:#f8fafc;
  color:#334155;
  font-size:0.78rem;
  font-weight:700;
  border:1px solid #e2e8f0;
}

.saved-address-pill.is-default{
  background:#dcfce7;
  color:#166534;
  border-color:#bbf7d0;
}

.saved-address-text{
  color:#475569;
  line-height:1.7;
}

.saved-address-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.address-default-toggle{
  min-height:52px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border:1px solid #cbd5e1;
  border-radius:14px;
  background:#fff;
  color:#334155;
  font-weight:600;
}

.address-default-toggle input{
  width:auto;
}

@media (max-width: 1100px){
  .address-book-grid{
    grid-template-columns:1fr;
  }
}

.profile-media-layout{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:22px;
  align-items:center;
}

.profile-avatar-stage{
  width:180px;
  height:180px;
  overflow:hidden;
  border:1px solid #cbd5e1;
  background:#f8fafc;
  box-shadow:0 16px 32px rgba(15,23,42,0.08);
  transition:border-radius 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.profile-shape-circle{
  border-radius:999px;
}

.profile-shape-rounded{
  border-radius:28px;
}

.profile-shape-square{
  border-radius:14px;
}

.profile-avatar-large{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center var(--profile-focus, 50%);
  transform:scale(var(--profile-zoom, 1));
  transform-origin:center;
  transition:transform 0.35s ease, object-position 0.35s ease, filter 0.35s ease;
  will-change:transform, object-position;
}

.profile-image-form{
  display:grid;
  gap:14px;
  align-content:start;
}

.profile-upload-copy{
  display:grid;
  gap:6px;
}

.profile-upload-title{
  font-size:1.15rem;
  font-weight:800;
  color:#0f172a;
}

.profile-file-picker{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border:1px dashed #93c5fd;
  border-radius:18px;
  background:linear-gradient(180deg, #eff6ff, #f8fbff);
  cursor:pointer;
  transition:border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.profile-file-picker:hover{
  border-color:#60a5fa;
  box-shadow:0 14px 30px rgba(37,99,235,0.08);
  transform:translateY(-1px);
}

.profile-file-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:140px;
  padding:12px 16px;
  border-radius:14px;
  background:linear-gradient(135deg, #2563eb, #1d4ed8);
  color:#fff;
  font-weight:700;
}

.profile-file-name{
  color:#475569;
  font-weight:600;
  word-break:break-word;
}

.profile-adjust-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  padding:12px;
  border:1px solid #e2e8f0;
  border-radius:20px;
  background:linear-gradient(180deg, #ffffff, #f8fafc);
}

.profile-adjust-grid label{
  display:grid;
  gap:8px;
  color:#475569;
  font-size:0.9rem;
}

.profile-adjust-grid label span{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-weight:700;
}

.profile-adjust-grid label strong{
  color:#2563eb;
  font-size:0.86rem;
}

.profile-adjust-grid select,
.profile-adjust-grid input[type="range"]{
  width:100%;
}

.profile-adjust-grid input[type="range"]{
  accent-color:#2563eb;
}

.profile-photo-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.profile-photo-actions .ghost-button,
.profile-photo-actions .location-btn{
  width:auto;
  min-width:160px;
  margin-top:0;
}

.profile-image-form input[type="file"]{
  padding:12px;
  border:1px dashed #93c5fd;
  border-radius:16px;
  background:#eff6ff;
}

.seller-card-active{
  border-color:#c7d2fe;
  box-shadow:0 18px 42px rgba(59,130,246,0.14);
}

.field-group{
  display:grid;
  gap:8px;
  flex:1;
}

.field-group span{
  color:#334155;
  font-size:0.92rem;
  font-weight:800;
}

.field-help{
  color:#64748b;
  font-size:0.8rem;
  line-height:1.5;
}

input:focus, textarea:focus, select:focus {
  outline:none;
  border-color:#60a5fa;
  box-shadow:0 0 0 4px rgba(96,165,250,0.15);
}

.card-header{
  align-items:center;
}

.card-header h2{
  font-size:1.9rem;
  font-weight:900;
  color:#0f172a;
}

.ghost-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 20px;
  border-radius:999px;
  border:1px solid #cbd5e1;
  background:#fff;
  color:#0f172a;
  font-weight:700;
}

@media (max-width: 980px){
  .form-row{
    flex-direction:column;
  }

  .profile-media-layout{
    grid-template-columns:1fr;
    justify-items:center;
  }

  .profile-image-form,
  .profile-adjust-grid{
    width:100%;
  }
}

@media (max-width: 980px){
  .container{
    flex-direction:column;
    padding:18px;
  }

  .content{
    margin-left:0;
  }

  .sidebar{
    width:100%;
  }

  .profile-media-layout{
    grid-template-columns:1fr;
  }

  .profile-avatar-stage{
    width:min(220px, 100%);
    height:min(220px, 100vw - 96px);
  }

  .profile-adjust-grid{
    grid-template-columns:1fr;
  }
}
/* SEARCH BAR - FULL FIX */
.nav-search{
    display:flex;
    align-items:center;
    width:700px;
    height:42px;
    background:#fff;
    border-radius:8px;
    overflow:hidden;
    border:2px solid transparent;
}

/* HOVER EFFECT */
.nav-search:hover{
    border:2px solid #febd69;
}

/* SELECT (LEFT) */
.search-select{
    width:60px;
    height:100%;
    border:none;
    background:#e6e6e6;
    padding:0 5px;
    outline:none;
}

/* INPUT (CENTER) */
.search-input{
    flex:1;
    height:100%;
    border:none;
    padding:0 10px;
    font-size:14px;
    outline:none;
}

/* ICON (RIGHT) */
.Search-icon{
    width:50px;
    height:100%;
    background:#febd69;
    display:flex;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    font-size:16px;
    color:#111;
}

/* ICON HOVER */
.Search-icon:hover{
    background:#f3a847;
}
.social-icons a i {
    color: rgb(252, 252, 252);
    font-size: 20px; /* optional */
    margin: 0 10px;
}

.social-icons a i:hover {
    color: #555; /* optional hover effect */
}
