/* ----------- Tema Renkleri ----------- */
:root {
  --primary: hsl(165, 66%, 78%);
  --primary-dark: #ff9203;
  --secondary: hsl(165, 77%, 59%);
  --background: #FAF3E0;
  --card-bg: #fff;
  --text-main: #333333;
  --text-secondary: #555;
  --success: #43A047;
  --danger: #FF5252;
  --warning: #FFD600;
  --border: #ffe0b2;
  --orange: #ff9800;
  --blue: #2196f3;
  --blue-light: #e3f2fd;
  --orange-light: #ffe0b2;
  --pink: #ff80ab;
  --accent: #ff7043; /* Yeni sıcak vurgu rengi */
  --header: linear-gradient(90deg, #607283 0%, #76a4cf 100%);
  --btn-grd: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  --btn-grd-hvr: linear-gradient(90deg, var(--primary-dark) 0%, var(--pink) 100%);
  --shadow-light: rgba(255, 152, 0, 0.1);
  --shadow-medium: rgba(255, 152, 0, 0.2);
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
}

/* ----------- Genel Stiller ----------- */
html, body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--background);
    color: var(--text-main);
    min-height: 100vh;
    box-sizing: border-box;
    width: 100%;
}
*, *::before, *::after {
    box-sizing: inherit;
}
main {
    margin: 0;
    padding: 0;
}
body {
    background: var(--background);
    color: var(--text-main);
}

/* ----------- Header ----------- */
header, .main-header {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 12px var(--primary)22;
    padding: 0;
    z-index: 100;
    position: relative;
    width: 100%;
}

.header-top {
    width: 100%;
    max-width: 1200px;
    height: 80px;
    margin: 0 auto;
    position: relative;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
}

.logo-area {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 76px;
    width: auto;
    object-fit: contain;
    display: block;
    background: transparent;
}

.ilan-ver-btn {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1rem;
    box-shadow: 0 2px 8px var(--primary)22;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.ilan-ver-btn:hover {
    background: linear-gradient(90deg, var(--primary-dark) 0%, #ff4081 100%);
    color: #fff !important;
    box-shadow: 0 4px 16px var(--primary)44;
    transform: translateY(-1px);
}

.ilan-ver-btn i {
    margin-right: 8px;
    font-size: 1rem;
}

.profile-area {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
}

/* Sepet Butonu Stilleri */
.cart-button {
    position: relative;
}

.cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
    padding: 8px;
}

.cart-btn:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.cart-btn i {
    font-size: 1.2rem;
}

.cart-icon {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1); /* Beyaz yapar */
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    border: 2px solid white;
    min-width: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cart-count:empty,
.cart-count[data-count="0"] {
    display: none !important;
}
@media (max-width: 900px) {
    .header-top {
        padding: 0 15px;
        height: 75px;
    }
    
    .ilan-ver-btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .logo-img {
        height: 70px;
    }
    
    .profile-area {
        gap: 8px;
    }
    
    .main-categories ul {
        padding: 0 15px;
        min-height: 48px;
    }
    
    .main-link {
        padding: 8px 16px;
        font-size: 1rem;
        height: 36px;
        line-height: 36px;
    }
}

@media (max-width: 768px) {
    .header-top {
        padding: 0 10px;
        height: 65px;
    }
    
    .ilan-ver-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .ilan-ver-btn span {
        display: none; /* Sadece ikon göster */
    }
    
    .logo-img {
        height: 60px;
    }
    
    .profile-name {
        display: none; /* Küçük ekranlarda isim gizle */
    }
    
    .login-btn, .register-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .main-categories ul {
        padding: 0 10px;
        min-height: 44px;
        gap: 4px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .main-categories ul::-webkit-scrollbar {
        display: none;
    }
    
    .main-categories ul li {
        flex: none;
    }

    .main-link {
        padding: 6px 12px;
        font-size: 0.9rem;
        height: 32px;
        line-height: 32px;
    }
}

@media (max-width: 480px) {
    .header-top {
        padding: 0 8px;
        height: 60px;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .ilan-ver-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
    
    .profile-area {
        gap: 5px;
    }
    
    .login-btn, .register-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
    
    .main-categories ul {
        padding: 0 5px;
        min-height: 40px;
        gap: 2px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .main-categories ul::-webkit-scrollbar {
        display: none;
    }
    
    .main-categories ul li {
        flex: none;
    }

    .main-link {
        padding: 5px 10px;
        font-size: 0.85rem;
        height: 30px;
        line-height: 30px;
    }
    
    /* 480px ve altı için dropdown optimizasyonu */
    .dropdown-parent {
        position: relative;
    }
    
    .dropdown-menu {
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0;
        pointer-events: none;
        min-width: 320px;
        max-width: 95vw;
        border-radius: 20px;
        box-shadow: 0 15px 50px rgba(0,0,0,0.4);
        z-index: 9999;
        max-height: 60vh;
        overflow-y: auto;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(15px);
        background: rgba(255, 255, 255, 0.98);
        border: 2px solid rgba(255, 152, 0, 0.3);
    }
    
    /* JavaScript ile aktif olan dropdown */
    .dropdown-parent.mobile-active .dropdown-menu {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, -50%) scale(1);
    }
    
    /* Normal hover davranışını mobilde tamamen devre dışı bırak */
    .dropdown-parent:hover .dropdown-menu {
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translate(-50%, -50%) scale(0.95) !important;
    }
    
    /* Mobilde dropdown açıldığında overlay */
    .dropdown-parent.mobile-active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.7);
        z-index: 9998;
        animation: fadeIn 0.3s ease;
    }
    
    .dropdown-menu li a {
        padding: 20px 24px;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(240, 240, 240, 0.8);
        display: flex;
        align-items: center;
        gap: 12px;
        font-weight: 500;
    }
    
    .dropdown-menu li:last-child a {
        border-bottom: none;
        border-radius: 0 0 20px 20px;
    }
    
    .dropdown-menu li:first-child a {
        border-radius: 20px 20px 0 0;
    }
}
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.profile-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1em;
    color: #fff;
    padding: 4px 8px;
    border-radius: 20px;
    transition: background 0.2s;
}

.profile-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.profile-name {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
}

.profile-arrow {
    font-size: 0.8rem;
    color: #fff;
    opacity: 0.8;
}

.profile-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    background: #fff;
    min-width: 160px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 1100;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.1);
}

.profile-menu a {
    display: block;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.15s;
    border-radius: 0;
}

.profile-menu a:first-child {
    border-radius: 8px 8px 0 0;
}

.profile-menu a:last-child {
    border-radius: 0 0 8px 8px;
}

.profile-menu a:hover {
    background: #f8f9fa;
    color: var(--primary);
}

.profile-dropdown.open .profile-menu {
    display: flex;
    z-index: 1050;
}

.login-btn, .register-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

.login-btn:hover, .register-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff !important;
    transform: translateY(-1px);
}




/* ----------- Ana Menü (Navigation) ----------- */

.main-categories {
    width: 100%;
    background: #fffbe7;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 2px 12px #ff980022;
    position: relative;
    z-index: 50; /* Daha makul bir z-index değeri */
    margin-bottom: 0;
    padding-bottom: 0;
}

.main-categories ul {
    list-style: none;
    margin: 0;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    flex-wrap: nowrap;
}

.main-categories ul li {
    position: relative;
    margin: 0 8px;
    display: flex;
    align-items: center;
}

.main-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 1.05em;
    font-weight: 600;
    color: var(--primary-dark);
    background: none;
    border: none;
    border-radius: 18px;
    transition: background 0.22s, color 0.22s, box-shadow 0.22s;
    text-decoration: none;
    outline: none;
    height: 38px;
    line-height: 38px;
    white-space: nowrap;
}

.main-link:hover,
.main-categories ul li.active > .main-link {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 12px #ff980044;
}

.dropdown-parent .dropdown-toggle i {
    font-size: 0.9em;
    margin-left: 4px;
    transition: transform 0.25s;
}

.dropdown-parent:hover .dropdown-toggle i,
.dropdown-parent:focus-within .dropdown-toggle i,
.dropdown-parent.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none; /* Default hidden */
    position: absolute;
    left: 0;
    top: 110%;
    min-width: 150px;
    background: #fff;
    border: 1px solid var(--primary);
    box-shadow: 0 8px 32px #ff980022;
    border-radius: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 0.22s, transform 0.22s;
    z-index: 999999; /* En yüksek z-index */
    padding: 0;
    list-style: none;
}

.dropdown-parent:hover .dropdown-menu,
.dropdown-parent:focus-within .dropdown-menu,
.dropdown-parent.active .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.dropdown-menu li {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    width: 100%;
    padding: 12px 18px 12px 16px;
    color: var(--primary-dark);
    background: none;
    border: none;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:first-child a {
    border-radius: 10px 10px 0 0;
}

.dropdown-menu li:last-child a {
    border-radius: 0 0 10px 10px;
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background: var(--primary);
    color: #fff;
}

/* Mobile Responsive Adjustments */
@media (max-width: 700px) {
    .main-categories ul {
        flex-direction: row;
        flex-wrap: nowrap; /* tek satırda kal */
        justify-content: flex-start; /* soldan başla */
        padding: 8px 10px;
        min-height: 52px; /* sabit yükseklik */
        gap: 6px;
        overflow-x: auto; /* yatay scroll */
        overflow-y: hidden; /* dikey scroll'u kapat */
        scrollbar-width: none; /* Firefox scrollbar gizle */
        -ms-overflow-style: none; /* IE scrollbar gizle */
    }
    
    /* WebKit scrollbar gizle */
    .main-categories ul::-webkit-scrollbar {
        display: none;
    }
    
    .main-categories ul li {
        margin: 0 2px;
        flex: none;
        min-width: fit-content;
    }
    
    .main-link {
        padding: 8px 16px;
        border-radius: 12px;
        font-size: 0.9rem;
        height: auto;
        line-height: normal;
        white-space: nowrap;
    }
    
    /* Mobile dropdown adjustments - UNDER BUTTON positioning */
    .dropdown-menu {
        position: absolute !important; /* absolute positioning kullan */
        left: 0 !important;
        top: 100% !important; /* butonun hemen altında */
        transform: translateY(-8px) scale(0.98) !important;
        min-width: 180px;
        max-width: 300px;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        z-index: 999999 !important; /* En yüksek z-index */
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    .dropdown-parent.active .dropdown-menu {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
    }
    
    /* Mobile dropdown overlay kaldır */
    .dropdown-parent.active::before {
        display: none; /* overlay'i kaldır */
    }
    
    .dropdown-menu li a {
        padding: 12px 16px;
        font-size: 0.9rem;
        min-height: 40px; /* Touch-friendly */
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: left; /* sola hizalı */
    }
    
    .dropdown-menu li:first-child a {
        border-radius: 12px 12px 0 0;
    }
    
    .dropdown-menu li:last-child a {
        border-radius: 0 0 12px 12px;
    }
}

/* Old dropdown styles cleanup */

/* Mobil uyumlu responsive kurallar temizlendi */

/* Reklam Banner Stilleri */

.ads-bar {
  position: fixed;
  top: 120px; /* header ve nav yüksekliği kadar ayarla */
  left: 0;
  width: 100vw;
  height: 0;
  pointer-events: none; /* reklamlar dışında tıklanamaz olsun */
  z-index: 100;
}

.left-ad, .right-ad {
  position: fixed;
  top: 120px; /* header ve nav yüksekliği kadar ayarla */
  width: 160px;
  min-width: 160px;
  max-width: 160px;
  height: 80vh;
  pointer-events: auto;
  z-index: 101;
  display: flex;
  align-items: flex-start;
}

.left-ad {
  left: 0;
  justify-content: flex-start;
}

.right-ad {
  right: 0;
  justify-content: flex-end;
}

.ad-placeholder {
  width: 100%;
  height: 100%;
  background: #e0e0e0;
  border: 2px dashed #ccc;
  color: #888;
  font-size: 1em;
  text-align: center;
  padding-top: 40px;
  box-sizing: border-box;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;           /* Ortalamak için */
  margin-top: 0;
  padding-top: 0;
  padding: 0px 0 32px 0;
  background: transparent;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  position: relative;
}
/* Ana içerik reklamların altında kalmasın diye soldan ve sağdan padding ekle */
@media (min-width: 1200px) {
  .main-content {
    padding-left: 180px;
    padding-right: 180px;
  }
}
@media (max-width: 1200px) {
  .main-content {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ----------- Butonlar ----------- */
button, .btn, .hizli-arama-btn, .ilan-ver-btn {
    background: var(--primary);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s;
    box-shadow: 0 2px 8px var(--primary)22;
}
button:hover, .btn:hover, .hizli-arama-btn:hover, .ilan-ver-btn:hover {
    background: var(--primary-dark);
    color: #fff !important;
    box-shadow: 0 4px 16px var(--primary-dark)33;
}

/* ----------- Formlar ----------- */
input, select, textarea {
    border: 1.2px solid var(--border);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 1em;
    background: #fff;
    color: var(--text-main);
    margin-bottom: 10px;
    outline: none;
    transition: border 0.18s;
}
input:focus, select:focus, textarea:focus {
    border: 1.2px solid var(--primary);
}

/* ----------- Alert ve Mesajlar ----------- */
.alert-success { background: var(--success); color: #fff; border-radius: 8px; padding: 10px 18px; }
.alert-danger { background: var(--danger); color: #fff; border-radius: 8px; padding: 10px 18px; }
.alert-warning { background: var(--warning); color: #222; border-radius: 8px; padding: 10px 18px; }


/* Ana sayfa stilleri */





/*Profil Fotoğrafı Stilleri*/
.profil-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.profil-photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--orange-light, #ffe0b2);
  background: var(--orange-light, #ffe0b2);
  box-shadow: 0 1px 6px var(--orange-light, #ffe0b2);
  display: block;
}



/*Profil Sayfası Stilleri*/

.profil-modern-bg {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: var(--background);

  box-sizing: border-box;

}
.profil-modern-card {
  background: var(--card-bg);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 var(--primary-dark)22, 0 1.5px 6px 0 var(--secondary)33;
  padding: 32px 36px 24px 36px;
  max-width: 800px;
  width: 100%;
  margin: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.profil-header {
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1.5px solid var(--orange-light);
  padding-bottom: 16px;
}
.profil-photo img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--orange-light);
  background: var(--orange-light);
  box-shadow: 0 1px 6px var(--orange-light);
}
.profil-main-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.profil-main-info h2 {
  color: var(--primary);
  font-size: 1.35em;
  font-weight: 700;
  margin: 0;
  text-align: left;
  word-break: break-word;
}
.profil-badge {
  background: linear-gradient(90deg, var(--primary) 60%, var(--pink) 100%);
  color: #fff;
  font-size: 0.90em;
  font-weight: 600;
  padding: 1.5px 8px;
  border-radius: 8px;
  box-shadow: 0 1px 4px var(--orange-light);
  letter-spacing: 0.5px;
  display: inline-block;
  margin-top: 2px;
  margin-bottom: 2px;
  max-width: 110px;
  text-align: center;
  white-space: nowrap;
}
.profil-meta {
  display: flex;
  gap: 18px;
  color: var(--text-secondary);
  font-size: 1em;
  margin-top: 2px;
  flex-wrap: wrap;
  margin-bottom: 0 !important;
}
.profil-meta i {
  margin-right: 5px;
  color: var(--primary);
}
.profil-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  margin-left: 8px;
}
.profil-edit-btn, .logout-btn {
  background: linear-gradient(90deg, var(--primary) 0%, var(--pink) 100%);
  color: #fff;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  gap: 7px;
  border: none;
  box-shadow: 0 2px 8px var(--primary)11;
  cursor: pointer;
}
.logout-btn {
  background: linear-gradient(90deg, var(--danger) 0%, var(--pink) 100%);
  box-shadow: 0 2px 8px var(--danger)33;
}
.profil-edit-btn:hover {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--pink) 100%);
}
.logout-btn:hover {
  background: linear-gradient(90deg, #d50000 0%, var(--pink) 100%);
}


.profile-about-box {
  background: #f7faff;
  border-radius: 12px;
  padding: 0px 12px;

}
.profile-about-box h3 {
  color: var(--primary, #2196f3);
  font-size: 1.1em;
  margin-top: 8px;


}
.profile-about-box p {
  color: #444;
  font-size: 1em;
}

.profil-tabs {
  display: flex;
  gap: 6px;
  margin: 6px 0 0 0;
  border-bottom: 2.5px solid var(--orange-light);
  padding-bottom: 0;
  position: relative;
  z-index: 1;
  background: transparent;
}
.tab-btn {
  background: var(--orange-light);
  border: 2px solid var(--primary);
  color: var(--primary-dark);
  font-size: 1.12em;
  font-weight: 700;
  padding: 12px 16px 10px 16px;
  border-radius: 16px 16px 0 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.18s;
  margin-bottom: -2.5px;
  outline: none;
  box-shadow: 0 2px 8px var(--blue-light);
  letter-spacing: 0.5px;
  position: relative;
  top: 2.5px;
}
.tab-btn.active, .tab-btn:focus {
  background: var(--primary);
  color: #fff;
  border-bottom: 2.5px solid var(--card-bg);
  border-color: var(--primary) var(--primary) var(--card-bg) var(--primary);
  z-index: 2;
}
.tab-btn:hover:not(.active) {
  background: #ffe0b2;
  color: var(--primary-dark);
  border-color: var(--primary);
}
.profil-tab-content {
  display: none;
  animation: fadein 0.3s;
}
.profil-tab-content.active {
  display: block;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.profil-bio {
  background: var(--orange-light);
  border-radius: 10px;
  padding: 12px 14px;
}
.profil-bio h4 {
  color: var(--blue);
  margin: 0 0 6px 0;
  font-size: 1.08em;
}
.profil-bio p {
  margin: 0;
  color: var(--text-main);
  font-size: 0.98em;
}
.profil-ads-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.profil-ad-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 1px 8px var(--orange-light);
  padding: 8px 10px;
  text-decoration: none;
  color: var(--text-main);
  transition: box-shadow 0.18s, transform 0.18s, border 0.18s;
  border: 1.5px solid var(--orange-light);
}
.profil-ad-card:hover {
  box-shadow: 0 4px 18px var(--pink);
  border: 1.5px solid var(--pink);
}
.profil-ad-img img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--orange-light);
}
.profil-ad-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.profil-ad-info h5 {
  margin: 0;
  font-size: 1em;
  color: var(--primary);
  font-weight: 700;
}
.profil-ad-date {
  color: var(--text-secondary);
  font-size: 0.95em;
}
.profil-no-ads {
  color: var(--text-secondary);
  text-align: center;
  margin: 18px 0 0 0;
  font-size: 1.05em;
}
@media (max-width: 900px) {
  .profil-modern-card { max-width: 98vw; padding: 14px 2vw; }
}
@media (max-width: 800px) {
  .profil-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .profil-photo img { width: 70px; height: 70px; }
}
@media (max-width: 600px) {
  .profil-modern-card { padding: 6px 2vw; }
  .profil-ads-list { grid-template-columns: 1fr; }
  .profil-tabs { flex-direction: column; gap: 0; }
  .tab-btn { width: 100%; border-radius: 0; }
}

/* Profil Düzenleme Sayfası Stilleri */

/* Profil kartı genişliği */
.profile-modern-card {
  background: var(--card-bg, #fff);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 var(--primary-dark, #f57c00)22, 0 1.5px 6px 0 var(--secondary, #ffd180)33;
  padding: 32px 28px 24px 28px;
  max-width: 800px;
  width: 100%;
  margin: 32px auto 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-header {
  width: 100%;
  text-align: center;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--orange-light, #ffe0b2);
  padding-bottom: 18px;
}

.profile-photo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.photo-update-form {
  margin: 0;
  padding: 0;
}

.photo-update-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--pink) 100%);
  color: #fff;
  border-radius: 8px;
  padding: 7px 18px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  border: none;
  margin-bottom: 8px;
  transition: background 0.18s;
}
.photo-update-btn:hover {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--pink) 100%);
}

.profile-main-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-group {
  width: 100%;
  max-width: 100%;
  margin-bottom: 12px;
}
.form-label {
  font-weight: 600;
  font-size: 0.95em;
  color: var(--primary, #ff9800);
  margin-bottom: 6px;
  display: block;
}
.form-control, .form-control-file {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.profile-update-btn {
  max-width: 100%;
  width: 100%;
  background: var(--primary, #ff9800);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 28px;
  transition: background 0.18s;
  margin-top: 12px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.profile-update-btn:hover {
  background: var(--primary-dark, #f57c00);
}
.profil-bio {
  width: 100%;
  max-width: 1000px;
  box-sizing: border-box;
}


/* ----------- İlanlar Sayfası Stilleri ----------- */

