/* =================================
   25SAAT - Yenilənmiş Stil Faylı
   ================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #4a6fa5 0%, #166ab0 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =================================
   HEADER - SADƏ VƏ TƏMİZ
   ================================= */
header {
    background: rgba(74, 111, 165, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

header nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
    min-height: 60px;
}

/* Logo həmişə mərkəzdə */
.logo-section-full {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.header-logo {
    height: 45px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

/* Mobil responsive */
@media (max-width: 768px) {
    header nav {
        min-height: 50px;
        padding: 0.3rem 0;
    }
    
    .header-logo {
        height: 35px;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    header nav {
        min-height: 45px;
    }
    
    .header-logo {
        height: 30px;
        max-width: 120px;
    }
}
/* =================================
   MAIN CONTENT
   ================================= */
main {
    margin-top: 70px;
    padding-bottom: 100px;
}

/* =================================
   SEARCH SECTION
   ================================= */
.search-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.search-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tab-btn.active,
.tab-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.search-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: white;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    background: rgba(255,255,255,0.9);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
    transform: translateY(-1px);
}

.search-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.detailed-search-section {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.detailed-search-section.active {
    max-height: 500px;
    margin-top: 1.5rem;
}

.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-range-separator {
    color: white;
    font-weight: bold;
}

/* =================================
   BUTTONS
   ================================= */
.btn {
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #2d3748;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    background: linear-gradient(45deg, #ffed4a, #ffd700);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 10px 28px;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(45deg, #4a6fa5, #166ab0);
    color: white;
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* =================================
   BRANDS SECTION
   ================================= */
.brands {
    padding: 3rem 0;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

.brands h2 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.brand-card {
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: white;
}

.brand-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.brand-icon img {
    max-width: 80px;
    max-height: 60px;
    object-fit: contain;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.brand-count {
    color: #666;
    font-size: 0.9rem;
}

/* =================================
   LISTINGS SECTION
   ================================= */
.listings {
    padding: 3rem 0;
}

.listings h2 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.listing-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.listing-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #10b981;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
}

.listing-badge.used {
    background: #f59e0b;
}

.listing-image {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.listing-image:hover img {
    transform: scale(1.05);
}

.listing-content {
    padding: 1.5rem;
}

.listing-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4a6fa5;
    margin-bottom: 0.5rem;
}

.listing-title {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.listing-title:hover {
    color: #4a6fa5;
}

.listing-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.listing-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.listing-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
}

.listing-actions button {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

/* =================================
   BOTTOM NAVIGATION
   ================================= */
.bottom-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(74, 111, 165, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255,255,255,0.2);
    z-index: 1000;
}

.bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    max-width: 500px;
    margin: 0 auto;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 10px;
    position: relative;
}

.bottom-nav-item.active {
    color: #ffd700;
    background: rgba(255,255,255,0.1);
}

.bottom-nav-icon {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.bottom-nav-label {
    font-size: 0.7rem;
    font-weight: 500;
}

.nav-badge {
    position: absolute;
    top: -5px;
    right: 5px;
    background: #ef4444;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 0.6rem;
    font-weight: bold;
}

.admin-badge {
    position: absolute;
    top: -5px;
    right: 0px;
    background: #10b981;
    color: white;
    border-radius: 8px;
    padding: 1px 4px;
    font-size: 0.6rem;
    font-weight: bold;
}

/* =================================
   ADD LISTING BUTTON
   ================================= */
.add-listing-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #2d3748;
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.add-listing-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

/* =================================
   BACK TO HOME BUTTON
   ================================= */
.back-to-home {
    position: fixed;
    top: 80px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    color: #4a6fa5;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.back-to-home.show {
    opacity: 1;
    visibility: visible;
}

.back-to-home:hover {
    transform: scale(1.1);
    background: white;
}

/* =================================
   MODALS
   ================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

/* =================================
   IMAGE UPLOAD
   ================================= */
.image-upload-container {
    margin: 1rem 0;
}

.image-upload-area {
    border: 2px dashed #4a6fa5;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.image-upload-area:hover,
.image-upload-area.drag-over {
    border-color: #ffd700;
    background: #fffef7;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #4a6fa5;
}

.upload-text {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.upload-hint {
    font-size: 0.9rem;
    color: #666;
}

.image-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 1rem;
}

.image-preview {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.image-preview img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.remove-image,
.remove-logo {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-index {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
}

/* =================================
   FOOTER
   ================================= */
footer {
    background: rgba(45, 55, 72, 0.95);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
}

/* =================================
   LOADING
   ================================= */
.loading {
    text-align: center;
    color: white;
    font-size: 1.1rem;
    padding: 2rem;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    margin-left: 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =================================
   NOTIFICATIONS
   ================================= */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    z-index: 3000;
    transform: translateX(400px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(45deg, #10b981, #059669);
}

.notification.error {
    background: linear-gradient(45deg, #ef4444, #dc2626);
}

.notification.warning {
    background: linear-gradient(45deg, #f59e0b, #d97706);
}

.notification.info {
    background: linear-gradient(45deg, #3b82f6, #2563eb);
}

/* =================================
   RESPONSIVE - MOBILE
   ================================= */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header mobil optimizasiya */
    .brand-name {
        font-size: 1.5rem;
    }
    
    .brand-slogan {
        font-size: 0.8rem;
    }
    
    .logo img {
        width: 40px;
        height: 40px;
    }
    
    /* Search section mobil */
    .search-section {
        padding: 1.5rem;
        margin: 1rem;
        border-radius: 15px;
    }
    
    .search-form-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .search-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    /* Brands grid mobil */
    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .brand-card {
        padding: 1rem;
    }
    
    .brand-icon {
        font-size: 2.5rem;
        height: 60px;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
    
    /* Listings grid - mobil 2 sütun */
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .listing-card {
        border-radius: 12px;
    }
    
    .listing-image {
        height: 150px;
    }
    
    .listing-content {
        padding: 1rem;
    }
    
    .listing-price {
        font-size: 1.2rem;
    }
    
    .listing-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .listing-details {
        font-size: 0.8rem;
        gap: 0.2rem;
    }
    
    .listing-actions {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .listing-actions button {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    /* Section başlıqları */
    .brands h2,
    .listings h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    /* Modal mobil */
    .modal-content {
        margin: 10px;
        width: calc(100% - 20px);
        padding: 1.5rem;
        border-radius: 12px;
        max-height: calc(100vh - 40px);
    }
    
    /* Footer mobil */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    /* Buttons mobil */
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    /* Add listing button position */
    .add-listing-btn {
        bottom: 90px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}

/* Çox kiçik ekranlar üçün */
@media (max-width: 480px) {
    .search-section {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .listing-image {
        height: 120px;
    }
    
    .listing-content {
        padding: 0.8rem;
    }
    
    .listing-price {
        font-size: 1.1rem;
    }
    
    .listing-title {
        font-size: 0.9rem;
    }
    
    .brands h2,
    .listings h2 {
        font-size: 1.8rem;
    }
    
    .bottom-nav-label {
        font-size: 0.65rem;
    }
    
    .bottom-nav-icon {
        font-size: 1.3rem;
    }
}
/* =================================
   BRANDS PAGE - Ayrı səhifə
   ================================= */
.brands-page {
    padding: 2rem 0 3rem;
    min-height: calc(100vh - 140px);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

.brands-page h2 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.brands-page .brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.brands-page .brand-card {
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.brands-page .brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: white;
}

.brands-page .brand-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.brands-page .brand-icon img {
    max-width: 80px;
    max-height: 60px;
    object-fit: contain;
}

.brands-page .brand-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.brands-page .brand-count {
    color: #666;
    font-size: 0.9rem;
}

/* Brendlər səhifəsində brend seçildikdə ana səhifəyə qayıt */
.brands-page .brand-card.selected {
    background: linear-gradient(45deg, #4a6fa5, #166ab0);
    color: white;
}

.brands-page .brand-card.selected .brand-name,
.brands-page .brand-card.selected .brand-count {
    color: white;
}

/* Mobil responsive */
@media (max-width: 768px) {
    .brands-page {
        padding: 1rem 0 2rem;
    }
    
    .brands-page h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .brands-page .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .brands-page .brand-card {
        padding: 1rem;
    }
    
    .brands-page .brand-icon {
        font-size: 2.5rem;
        height: 60px;
    }
    
    .brands-page .brand-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .brands-page .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .brands-page .brand-card {
        padding: 0.8rem;
    }
    
    .brands-page .brand-icon {
        font-size: 2rem;
        height: 50px;
    }
    
    .brands-page .brand-name {
        font-size: 1rem;
    }
    
    .brands-page .brand-count {
        font-size: 0.8rem;
    }
}
/* =================================
   MODAL ŞƏKİLLƏR OPTİMİZASİYASI
   ================================= */

/* Modal content yeniləndi */
.modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 0;
    border-radius: 15px;
    width: 95%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Modal header */
.modal-header {
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.modal-header h2 {
    margin: 0;
    color: #2d3748;
    font-size: 1.5rem;
}

/* Modal body */
.modal-body {
    padding: 1.5rem 2rem 2rem;
}

/* Close button yeniləndi */
.close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #718096;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 20;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
}

.close:hover {
    color: #e53e3e;
    background: rgba(255,255,255,1);
}

/* Image gallery optimizasiya */
.image-gallery {
    margin-bottom: 1.5rem;
}

.gallery-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #f8f9fa;
}

.gallery-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Çoxlu şəkil üçün grid */
.image-gallery.multiple-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
}

.image-gallery.multiple-images .gallery-image {
    height: 200px;
    object-fit: cover;
    margin-bottom: 0;
}

/* =================================
   WARNING BOX UPDATED STYLES
   ================================= */

/* Warning box yenilənmiş style */
.warning-box {
    background: linear-gradient(135deg, #fff5f5, #ffe0e0);
    border: 2px solid #ff6b6b;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 3px 15px rgba(255, 107, 107, 0.15);
    animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.01); }
}

.warning-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    animation: iconBounce 3s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.warning-box div {
    flex: 1;
    text-align: center;
}

.warning-box strong {
    color: #d63031;
    font-size: 2.1rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.warning-box div br + text,
.warning-box div:not(:first-child) {
    color: #636e72;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .warning-box {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .warning-icon {
        font-size: 1.3rem;
    }
    
    .warning-box strong {
        font-size: 3rem;
        margin-bottom: 0.3rem;
    }
    
    .warning-box div {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .warning-box {
        padding: 0.8rem;
    }
    
    .warning-box strong {
        font-size: 0.95rem;
    }
    
    .warning-box div {
        font-size: 0.85rem;
    }
}

/* Listing details grid */
.listing-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 10px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.detail-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.9rem;
}

.detail-value {
    color: #2d3748;
    font-size: 1rem;
}

/* Listing price styling */
.listing-price-large {
    color: #4a6fa5;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: center;
    padding: 1rem;
    background: linear-gradient(45deg, #edf2f7, #e2e8f0);
    border-radius: 10px;
}

.listing-number {
    color: #4a6fa5;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(74, 111, 165, 0.1);
    border-radius: 8px;
}

/* Contact details */
.contact-details {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
    border-left: 4px solid #4a6fa5;
}

.contact-details h4 {
    margin-bottom: 1rem;
    color: #4a6fa5;
    font-size: 1.2rem;
}

.contact-phone {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e2e8f0;
}

.contact-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.contact-btn:nth-child(1) {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
}

.contact-btn:nth-child(2) {
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white;
}

.contact-btn:nth-child(3) {
    background: linear-gradient(45deg, #4a6fa5, #166ab0);
    color: white;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Location styling */
.listing-location-large {
    margin: 1rem 0;
    color: #666;
    font-size: 1.1rem;
    text-align: center;
    padding: 0.8rem;
    background: rgba(74, 111, 165, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(74, 111, 165, 0.2);
}

/* Description styling */
.listing-description {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 1rem 0;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* Mobile optimizasiya */
@media (max-width: 768px) {
    .modal-content {
        margin: 2% auto;
        width: 98%;
        max-height: 95vh;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .gallery-image {
        max-height: 250px;
    }
    
    .image-gallery.multiple-images {
        grid-template-columns: 1fr;
    }
    
    .image-gallery.multiple-images .gallery-image {
        height: 180px;
    }
    
    .listing-details-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 0.8rem;
    }
    
    .listing-price-large {
        font-size: 1.6rem;
        padding: 0.8rem;
    }
    
    .contact-buttons {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .contact-btn {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    .close {
        right: 10px;
        top: 10px;
        font-size: 1.5rem;
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 1% auto;
        width: 99%;
        border-radius: 10px;
    }
    
    .modal-header,
    .modal-body {
        padding: 0.8rem;
    }
    
    .gallery-image {
        max-height: 200px;
    }
    
    .image-gallery.multiple-images .gallery-image {
        height: 150px;
    }
    
    .listing-price-large {
        font-size: 1.4rem;
        padding: 0.6rem;
    }
    
    .warning-box {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .contact-details {
        padding: 1rem;
    }
}
/* =================================
   TAM EKRAN ŞƏKİL MODAL - DÜZƏLDİLMİŞ
   ================================= */

.fullscreen-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    transition: opacity 0.3s ease;
}

.fullscreen-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 3rem;
}

.fullscreen-image {
    max-width: calc(100vw - 6rem);
    max-height: calc(100vh - 6rem);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: default;
    animation: zoomIn 0.3s ease;
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.fullscreen-image:hover {
    transform: scale(1.02);
}

.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.fullscreen-close:hover {
    color: #ff6b6b;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.fullscreen-close:active {
    transform: rotate(90deg) scale(0.95);
}

/* Animasiyalar */
@keyframes fadeIn {
    from { 
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to { 
        opacity: 1;
        backdrop-filter: blur(5px);
    }
}

@keyframes zoomIn {
    from { 
        transform: scale(0.8);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}

/* Desktop responsive */
@media (min-width: 1200px) {
    .fullscreen-overlay {
        padding: 4rem;
    }
    
    .fullscreen-image {
        max-width: calc(100vw - 8rem);
        max-height: calc(100vh - 8rem);
    }
}

/* Tablet responsive */
@media (max-width: 1024px) {
    .fullscreen-overlay {
        padding: 2rem;
    }
    
    .fullscreen-image {
        max-width: calc(100vw - 4rem);
        max-height: calc(100vh - 4rem);
    }
    
    .fullscreen-close {
        top: 15px;
        right: 20px;
        font-size: 2rem;
        width: 45px;
        height: 45px;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .fullscreen-overlay {
        padding: 1rem;
    }
    
    .fullscreen-image {
        max-width: calc(100vw - 2rem);
        max-height: calc(100vh - 2rem);
        border-radius: 8px;
    }
    
    .fullscreen-close {
        top: 10px;
        right: 15px;
        font-size: 1.8rem;
        width: 40px;
        height: 40px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .fullscreen-overlay {
        padding: 0.5rem;
    }
    
    .fullscreen-image {
        max-width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
        border-radius: 6px;
    }
    
    .fullscreen-close {
        top: 5px;
        right: 10px;
        font-size: 1.6rem;
        width: 35px;
        height: 35px;
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}
/* =================================
   MOBİL UI TƏMİZLƏMƏ
   ================================= */

/* Header user actions mobil versiyada gizlə */
@media (max-width: 768px) {
    .header-actions,
    .user-actions {
        display: none !important;
    }
    
    /* Logo tam mərkəzdə olsun */
    .logo-section-full {
        position: static;
        transform: none;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    header nav {
        justify-content: center;
    }
}

/* Floating add listing button mobil versiyada gizlə */
@media (max-width: 768px) {
    .add-listing-btn {
        display: none !important;
    }
}

/* Tablet versiyada da gizlə */
@media (max-width: 1024px) {
    .add-listing-btn {
        display: none !important;
    }
}

/* Yalnız desktop versiyada göstər */
@media (min-width: 1025px) {
    .add-listing-btn {
        display: block;
    }
}
/* =================================
   DESKTOP-ONLY ELEMENTLƏR
   ================================= */

/* Desktop-only class - mobil və tablet versiyada gizlə */
@media (max-width: 1024px) {
    .desktop-only {
        display: none !important;
    }
}

/* Desktop versiyada göstər */
@media (min-width: 1025px) {
    .desktop-only {
        display: block !important;
    }
}

/* Header layout desktop versiyada */
@media (min-width: 1025px) {
    header nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-section-full {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    .header-actions {
        position: relative;
        z-index: 2;
        margin-left: auto;
    }
}

/* Mobil və tablet - yalnız logo mərkəzdə */
@media (max-width: 1024px) {
    header nav {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    .logo-section-full {
        position: static;
        transform: none;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
}
/* =================================
   HEADER ACTIONS - BÜTÜN VERSİYALARDA GİZLƏ
   ================================= */

/* Bütün ekran ölçülərində header actions gizlə */
.header-actions,
.user-actions {
    display: none !important;
}

/* Logo həmişə mərkəzdə olsun */
.logo-section-full {
    position: static !important;
    transform: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

/* Header nav həmişə mərkəzləşdirilmiş */
header nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
}

/* Desktop-only class-ı da yenilə */
.desktop-only {
    display: none !important;
}
/* =================================
   BREND LOGOLARI OPTİMİZASİYASI
   ================================= */

/* Brands section */
.brands-page {
    padding: 2rem 0 3rem;
    min-height: calc(100vh - 140px);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

.brands-page h2 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.brands-page .brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Brand card optimizasiyası */
.brands-page .brand-card {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.brands-page .brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    background: white;
}

/* Brand icon container optimizasiyası */
.brands-page .brand-icon {
    width: 100px;
    height: 80px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: #f8f9fa;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.brands-page .brand-card:hover .brand-icon {
    background: white;
    border-color: #4a6fa5;
    transform: scale(1.05);
}

/* Logo şəkil optimizasiyası */
.brands-page .brand-icon img {
    max-width: 80px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Emoji/icon optimizasiyası */
.brands-page .brand-icon span {
    font-size: 2.5rem;
    color: #4a6fa5;
    transition: all 0.3s ease;
}

.brands-page .brand-card:hover .brand-icon span {
    transform: scale(1.1);
    color: #166ab0;
}

/* Brand name optimizasiyası */
.brands-page .brand-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.brands-page .brand-count {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.brands-page .brand-card:hover .brand-count {
    color: #4a6fa5;
}

/* Selected state */
.brands-page .brand-card.selected {
    background: linear-gradient(45deg, #4a6fa5, #166ab0);
    color: white;
    transform: translateY(-5px);
}

.brands-page .brand-card.selected .brand-icon {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

.brands-page .brand-card.selected .brand-name,
.brands-page .brand-card.selected .brand-count {
    color: white;
}

.brands-page .brand-card.selected .brand-icon span {
    color: white;
}

/* Loading state */
.brands-page .loading {
    text-align: center;
    color: white;
    font-size: 1.1rem;
    padding: 3rem;
    grid-column: 1/-1;
}

/* Mobil responsive */
@media (max-width: 768px) {
    .brands-page {
        padding: 1.5rem 0 2rem;
    }
    
    .brands-page h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .brands-page .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }
    
    .brands-page .brand-card {
        padding: 1rem;
        min-height: 160px;
    }
    
    .brands-page .brand-icon {
        width: 80px;
        height: 60px;
        margin-bottom: 0.8rem;
    }
    
    .brands-page .brand-icon img {
        max-width: 60px;
        max-height: 45px;
    }
    
    .brands-page .brand-icon span {
        font-size: 2rem;
    }
    
    .brands-page .brand-name {
        font-size: 1rem;
    }
    
    .brands-page .brand-count {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .brands-page .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .brands-page .brand-card {
        padding: 0.8rem;
        min-height: 140px;
    }
    
    .brands-page .brand-icon {
        width: 70px;
        height: 50px;
        margin-bottom: 0.6rem;
    }
    
    .brands-page .brand-icon img {
        max-width: 50px;
        max-height: 35px;
    }
    
    .brands-page .brand-icon span {
        font-size: 1.8rem;
    }
    
    .brands-page .brand-name {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .brands-page .brand-count {
        font-size: 0.75rem;
    }
}
/* =================================
   ADMİN PANEL BREND LOGOLARI
   ================================= */

/* Admin panel brand management */
.brand-management {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
}

.brand-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.brand-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

/* Admin brand logo container - standartlaşdırılmış */
.brand-logo {
    width: 60px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.brand-item:hover .brand-logo {
    border-color: #4a6fa5;
    background: #f1f5f9;
}

/* Admin brand logo image - optimallaşdırılmış */
.brand-logo img {
    max-width: 50px !important;
    max-height: 35px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Admin brand emoji/icon */
.brand-logo span {
    font-size: 1.8rem !important;
    color: #4a6fa5;
    transition: all 0.3s ease;
}

.brand-item:hover .brand-logo span {
    transform: scale(1.1);
    color: #166ab0;
}

/* Brand name və code info */
.brand-info > div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.brand-info strong {
    font-size: 1.1rem;
    color: #2d3748;
    font-weight: 600;
}

.brand-info p {
    margin: 0 !important;
    font-size: 0.85rem;
    color: #666;
}

/* Admin actions */
.admin-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.admin-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reject {
    background: linear-gradient(45deg, #e53e3e, #c53030);
    color: white;
}

.btn-reject:hover {
    background: linear-gradient(45deg, #c53030, #9c2626);
    transform: translateY(-1px);
}

.btn-approve {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
}

.btn-approve:hover {
    background: linear-gradient(45deg, #059669, #047857);
    transform: translateY(-1px);
}

/* Scrollbar styling */
.brand-management::-webkit-scrollbar {
    width: 6px;
}

.brand-management::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.brand-management::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.brand-management::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
}

/* Mobil responsive */
@media (max-width: 768px) {
    .brand-item {
        padding: 0.8rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .brand-info {
        gap: 0.8rem;
        width: 100%;
    }
    
    .brand-logo {
        width: 50px;
        height: 38px;
    }
    
    .brand-logo img {
        max-width: 40px !important;
        max-height: 28px !important;
    }
    
    .brand-logo span {
        font-size: 1.5rem !important;
    }
    
    .brand-info strong {
        font-size: 1rem;
    }
    
    .brand-info p {
        font-size: 0.8rem;
    }
    
    .admin-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .admin-actions .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .brand-management {
        padding: 0.8rem;
    }
    
    .brand-item {
        padding: 0.6rem;
    }
    
    .brand-logo {
        width: 45px;
        height: 35px;
    }
    
    .brand-logo img {
        max-width: 35px !important;
        max-height: 25px !important;
    }
    
    .brand-logo span {
        font-size: 1.3rem !important;
    }
}
/* =================================
   ADMİN PANEL VƏ KABİNET ÇIXIŞ DÜYMƏSİ
   ================================= */

/* Panel header with logout */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
}

.panel-title {
    color: white;
    font-size: 2rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.panel-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4a6fa5, #166ab0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    border: 3px solid rgba(255,255,255,0.3);
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.user-name {
    font-weight: bold;
    font-size: 1.1rem;
}

.user-role {
    font-size: 0.9rem;
    color: #ffd700;
    font-weight: 500;
}

.logout-btn {
    background: linear-gradient(45deg, #e53e3e, #c53030);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.logout-btn:hover {
    background: linear-gradient(45deg, #c53030, #9c2626);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
}

.logout-btn:active {
    transform: translateY(0);
}

/* Admin badge in panel */
.admin-badge-panel {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
}

/* User panel styles */
.user-panel {
    padding: 2rem 0 3rem;
    min-height: calc(100vh - 140px);
}

.user-panel .container {
    max-width: 900px;
}

.user-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.user-stat-card {
    background: rgba(255,255,255,0.9);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.user-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.user-stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #4a6fa5;
    margin-bottom: 0.5rem;
}

.user-stat-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Quick actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.quick-action-card {
    background: rgba(255,255,255,0.9);
    padding: 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quick-action-card:hover {
    background: white;
    border-color: #4a6fa5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.quick-action-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #4a6fa5, #166ab0);
    color: white;
    border-radius: 50%;
}

.quick-action-info h4 {
    margin: 0 0 0.5rem 0;
    color: #2d3748;
    font-size: 1.1rem;
}

.quick-action-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Mobil responsive */
@media (max-width: 768px) {
    .panel-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }
    
    .panel-title {
        font-size: 1.6rem;
    }
    
    .panel-user-info {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .user-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .logout-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .user-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .user-stat-card {
        padding: 1rem;
    }
    
    .user-stat-number {
        font-size: 1.5rem;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .quick-action-card {
        padding: 1rem;
    }
    
    .quick-action-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .panel-header {
        padding: 0.8rem;
    }
    
    .panel-title {
        font-size: 1.4rem;
    }
    
    .user-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .user-stat-card {
        padding: 0.8rem;
    }
    
    .quick-action-card {
        padding: 0.8rem;
        gap: 0.8rem;
    }
}
/* =================================
   MODAL FORM ELEMENTLƏRİ DÜZƏLİŞİ
   ================================= */

/* Modal içindəki form elementləri */
.modal-content .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.modal-content .form-group label {
    color: #2d3748 !important;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.modal-content .form-group input,
.modal-content .form-group select,
.modal-content .form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white !important;
    color: #2d3748 !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.modal-content .form-group input:focus,
.modal-content .form-group select:focus,
.modal-content .form-group textarea:focus {
    outline: none;
    border-color: #4a6fa5 !important;
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
    background: #f8fafc !important;
}

/* Select dropdown styling */
.modal-content select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.modal-content select:hover {
    border-color: #4a6fa5;
    background-color: #f8fafc;
}

/* Select option styling */
.modal-content select option {
    background: white !important;
    color: #2d3748 !important;
    padding: 0.5rem;
    font-size: 1rem;
}

.modal-content select option:hover,
.modal-content select option:selected {
    background: #4a6fa5 !important;
    color: white !important;
}

/* Textarea styling */
.modal-content textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

/* Input placeholder styling */
.modal-content input::placeholder,
.modal-content textarea::placeholder {
    color: #a0aec0 !important;
    font-style: italic;
}

/* Price range inputs */
.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.price-range-inputs input {
    flex: 1;
    margin-bottom: 0 !important;
}

.price-range-separator {
    color: #666 !important;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Required field indicator */
.modal-content .form-group label.required::after {
    content: " *";
    color: #e53e3e;
    font-weight: bold;
}

/* Error state */
.modal-content .form-group input.error,
.modal-content .form-group select.error,
.modal-content .form-group textarea.error {
    border-color: #e53e3e !important;
    background-color: #fed7d7 !important;
}

.modal-content .form-group input.error:focus,
.modal-content .form-group select.error:focus,
.modal-content .form-group textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

/* Success state */
.modal-content .form-group input.success,
.modal-content .form-group select.success {
    border-color: #10b981 !important;
    background-color: #d1fae5 !important;
}

/* Modal form buttons */
.modal-content .btn {
    background: linear-gradient(45deg, #4a6fa5, #166ab0);
    color: white !important;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.modal-content .btn:hover {
    background: linear-gradient(45deg, #166ab0, #0f4c75);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 111, 165, 0.3);
}

.modal-content .btn:active {
    transform: translateY(0);
}

.modal-content .btn:disabled {
    background: #cbd5e0 !important;
    color: #a0aec0 !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form validation messages */
.form-error-message {
    color: #e53e3e;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
}

.form-error-message.show {
    display: block;
}

/* Image upload area styling */
.modal-content .image-upload-area {
    border: 2px dashed #4a6fa5;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fafc;
    margin: 1rem 0;
}

.modal-content .image-upload-area:hover,
.modal-content .image-upload-area.drag-over {
    border-color: #166ab0;
    background: #e6f3ff;
}

.modal-content .upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #4a6fa5;
}

.modal-content .upload-text {
    font-size: 1.1rem;
    color: #2d3748 !important;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.modal-content .upload-hint {
    font-size: 0.9rem;
    color: #666 !important;
    font-style: italic;
}

/* Modal responsive */
@media (max-width: 768px) {
    .modal-content .form-group input,
    .modal-content .form-group select,
    .modal-content .form-group textarea {
        padding: 0.7rem;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .modal-content .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .price-range-inputs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .price-range-separator {
        transform: rotate(90deg);
    }
}

/* Login/Register modal specific */
#loginModal .form-group label,
#registerModal .form-group label {
    color: #2d3748 !important;
}

#loginModal .form-group input,
#registerModal .form-group input {
    background: white !important;
    color: #2d3748 !important;
}

/* Links in modals */
.modal-content a {
    color: #4a6fa5 !important;
    text-decoration: underline;
    font-weight: 500;
}

.modal-content a:hover {
    color: #166ab0 !important;
}

/* Text in modals */
.modal-content p,
.modal-content span {
    color: #2d3748 !important;
}
/* =================================
   MODAL BAŞLIQ VƏ ÜMUMİ DÜZƏLİŞLƏR
   ================================= */

/* Modal content yenilənmiş */
.modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 0;
    border-radius: 15px;
    width: 95%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    color: #2d3748 !important;
}

/* Modal başlıqları */
.modal-content h2 {
    color: #2d3748 !important;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 15px 15px 0 0;
}

/* Modal body */
.modal-content > div:not(.modal-header) {
    padding: 1.5rem 2rem 2rem;
}

/* Close button */
.modal-content .close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #718096;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
}

.modal-content .close:hover {
    color: #e53e3e;
    background: rgba(255,255,255,1);
    transform: rotate(90deg);
}

/* Modal mətn elementləri */
.modal-content p {
    color: #4a5568 !important;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-content strong {
    color: #2d3748 !important;
    font-weight: 600;
}

/* Messages modal specific */
.messages-modal-content {
    max-width: 500px;
    max-height: 80vh;
}

.messages-modal-content h2 {
    font-size: 1.3rem;
    padding: 1rem 1.5rem 0.8rem;
}

/* Specific modal adjustments */
#addListingModal .modal-content,
#brandModal .modal-content {
    max-width: 700px;
}

#addListingModal h2,
#brandModal h2 {
    color: #2d3748 !important;
    text-align: center;
}

#loginModal .modal-content,
#registerModal .modal-content {
    max-width: 400px;
}

#loginModal h2,
#registerModal h2 {
    text-align: center;
    color: #2d3748 !important;
}

/* Modal overlay */
.modal {
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

/* Mobil responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 5% auto;
        width: 98%;
        max-height: 95vh;
    }
    
    .modal-content h2 {
        font-size: 1.3rem;
        padding: 1rem 1.5rem 0.8rem;
    }
    
    .modal-content > div:not(.modal-header) {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .modal-content .close {
        right: 10px;
        top: 10px;
        font-size: 1.5rem;
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 2% auto;
        width: 99%;
        border-radius: 10px;
    }
    
    .modal-content h2 {
        font-size: 1.2rem;
        padding: 0.8rem 1rem 0.6rem;
    }
    
    .modal-content > div:not(.modal-header) {
        padding: 0.8rem 1rem 1rem;
    }
}

/* =================================
   MESAJLAR SƏHİFƏSİ - DÜZƏLDİLMİŞ
   ================================= */

.messages-page {
    padding: 1rem 0 2rem;
    min-height: calc(100vh - 140px);
}

.messages-page .container {
    max-width: 1400px;
}

.messages-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.messages-header h2 {
    color: white;
    margin: 0;
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.messages-stats {
    color: #ffd700;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Ana mesajlar layout - Flexbox istifadə edək */
.messages-layout {
    display: flex;
    height: 75vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Sol tərəf - Söhbətlər */
.conversations-sidebar {
    width: 380px;
    background: #f8f9fa;
    border-right: 2px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.conversations-header {
    padding: 1rem;
    border-bottom: 2px solid #e2e8f0;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conversations-header h3 {
    margin: 0;
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 600;
}

.refresh-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.6rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #4a6fa5;
}

.refresh-btn:hover {
    background: #4a6fa5;
    color: white;
    transform: rotate(180deg);
}

.conversations-search {
    padding: 1rem;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.conversations-search input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.conversations-search input:focus {
    outline: none;
    border-color: #4a6fa5;
    background: white;
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
}

.conversations-list {
    flex: 1;
    overflow-y: auto;
    background: #f8f9fa;
}

/* Söhbət itemləri */
.conversation-item {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    background: white;
    margin: 0.3rem 0.5rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.conversation-item:hover {
    background: #f1f5f9;
    border-color: #4a6fa5;
    transform: translateX(3px);
}

.conversation-item.active {
    background: linear-gradient(45deg, #4a6fa5, #166ab0);
    color: white;
    border-color: #4a6fa5;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(74, 111, 165, 0.3);
}

.conversation-item.active .conversation-title,
.conversation-item.active .conversation-user,
.conversation-item.active .conversation-price,
.conversation-item.active .last-message,
.conversation-item.active .conversation-time {
    color: white !important;
}

.conversation-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4a6fa5, #166ab0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.3rem;
    flex-shrink: 0;
    border: 3px solid rgba(74, 111, 165, 0.2);
}

.conversation-item.active .conversation-avatar {
    border-color: rgba(255,255,255,0.3);
}

.conversation-content {
    flex: 1;
    min-width: 0;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.conversation-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.conversation-time {
    font-size: 0.75rem;
    color: #a0aec0;
    flex-shrink: 0;
    font-weight: 500;
}

.conversation-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.conversation-user {
    font-size: 0.85rem;
    color: #4a6fa5;
    font-weight: 600;
}

.conversation-price {
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

.last-message {
    font-size: 0.85rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.unread-badge {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: linear-gradient(45deg, #e53e3e, #c53030);
    color: white;
    border-radius: 12px;
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(229, 62, 62, 0.3);
}

/* Sağ tərəf - Chat sahəsi */
.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    min-width: 0;
}

.chat-header {
    padding: 1rem 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    background: #f8f9fa;
}

.chat-welcome {
    text-align: center;
    padding: 3rem 2rem;
}

.welcome-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.chat-welcome h3 {
    margin: 0 0 0.5rem 0;
    color: #2d3748;
    font-size: 1.3rem;
}

.chat-welcome p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

.active-chat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4a6fa5, #166ab0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.4rem;
    border: 3px solid rgba(74, 111, 165, 0.2);
}

.chat-info {
    flex: 1;
}

.chat-info h3 {
    margin: 0 0 0.3rem 0;
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 600;
}

.chat-info p {
    margin: 0;
    color: #4a6fa5;
    font-size: 0.9rem;
    font-weight: 500;
}

.chat-actions {
    display: flex;
    gap: 0.5rem;
}

.chat-action-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.chat-action-btn:hover {
    background: #e53e3e;
    color: white;
    border-color: #e53e3e;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f5f9 100%);
    min-height: 400px;
}

/* Mesaj itemləri */
.message-item {
    margin-bottom: 1.5rem;
    display: flex;
    animation: fadeInMessage 0.3s ease;
}

@keyframes fadeInMessage {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message-item.sent {
    justify-content: flex-end;
}

.message-item.received {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 65%;
    padding: 1rem 1.2rem;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.message-item.sent .message-bubble {
    background: linear-gradient(45deg, #4a6fa5, #166ab0);
    color: white;
    border-bottom-right-radius: 6px;
}

.message-item.received .message-bubble {
    background: white;
    color: #2d3748;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 6px;
}

.message-text {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: 500;
}

/* Sistem mesajı */
.system-message {
    justify-content: center;
    margin: 2rem 0;
}

.system-message-content {
    background: linear-gradient(45deg, #fff3cd, #ffeaa7);
    border: 2px solid #ffd700;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    max-width: 80%;
    box-shadow: 0 3px 15px rgba(255, 215, 0, 0.2);
}

.system-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.system-text {
    color: #856404;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.system-time {
    font-size: 0.75rem;
    color: #856404;
    opacity: 0.8;
}

/* Chat input sahəsi */
.chat-input-area {
    padding: 1.5rem;
    border-top: 2px solid #e2e8f0;
    background: white;
}

.message-input-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.message-input-wrapper input {
    flex: 1;
    padding: 1rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.message-input-wrapper input:focus {
    outline: none;
    border-color: #4a6fa5;
    background: white;
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
}

.message-input-wrapper button {
    background: linear-gradient(45deg, #4a6fa5, #166ab0);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(74, 111, 165, 0.3);
}

.message-input-wrapper button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(74, 111, 165, 0.4);
}

.message-input-wrapper button:active {
    transform: scale(0.95);
}

.message-info {
    margin-top: 0.8rem;
    text-align: center;
}

.message-info small {
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Empty states */
.empty-conversations,
.no-messages,
.no-conversation-selected {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-conversations h4,
.no-messages h4 {
    margin: 0 0 1rem 0;
    color: #4a5568;
    font-size: 1.2rem;
}

.empty-conversations p,
.no-messages p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.error-state {
    text-align: center;
    padding: 3rem 2rem;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #e53e3e;
}

.retry-btn {
    background: linear-gradient(45deg, #4a6fa5, #166ab0);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 111, 165, 0.3);
}

.loading-conversations {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    font-size: 1.1rem;
}

/* Scrollbar üçün custom style */
.conversations-list::-webkit-scrollbar,
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.conversations-list::-webkit-scrollbar-track,
.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.conversations-list::-webkit-scrollbar-thumb,
.chat-messages::-webkit-scrollbar-thumb {
    background: #4a6fa5;
    border-radius: 3px;
}

.conversations-list::-webkit-scrollbar-thumb:hover,
.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #166ab0;
}

/* Mobile Responsive - Mobil üçün təkmilləşdirilmiş */
@media (max-width: 1024px) {
    .conversations-sidebar {
        width: 300px;
    }
    
    .conversation-title {
        max-width: 130px;
    }
}

/* Tablet versiya */
@media (max-width: 768px) {
    .messages-page {
        padding: 0.5rem 0 1rem;
    }
    
    .messages-page .container {
        padding: 0 10px;
    }
    
    .messages-header {
        padding: 0.8rem 1rem;
        margin-bottom: 1rem;
    }
    
    .messages-header h2 {
        font-size: 1.4rem;
    }
    
    .messages-stats {
        font-size: 0.8rem;
    }
    
    /* Mobil üçün stack layout */
    .messages-layout {
        flex-direction: column;
        height: 85vh;
    }
    
    /* Söhbətlər üst hissədə */
    .conversations-sidebar {
        width: 100%;
        height: 40vh;
        border-right: none;
        border-bottom: 2px solid #e2e8f0;
        order: 1;
    }
    
    .conversations-header {
        padding: 0.8rem;
    }
    
    .conversations-header h3 {
        font-size: 1rem;
    }
    
    .conversations-search {
        padding: 0.8rem;
    }
    
    .conversations-search input {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .conversation-item {
        padding: 0.8rem;
        margin: 0.2rem 0.3rem;
        gap: 0.8rem;
    }
    
    .conversation-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .conversation-title {
        font-size: 0.9rem;
        max-width: 200px;
    }
    
    .conversation-time {
        font-size: 0.7rem;
    }
    
    .conversation-user,
    .conversation-price {
        font-size: 0.75rem;
    }
    
    .last-message {
        font-size: 0.75rem;
    }
    
    /* Chat alt hissədə */
    .chat-area {
        height: 45vh;
        order: 2;
    }
    
    .chat-header {
        padding: 0.8rem 1rem;
    }
    
    .active-chat-header {
        gap: 0.8rem;
    }
    
    .chat-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .chat-info h3 {
        font-size: 1rem;
    }
    
    .chat-info p {
        font-size: 0.8rem;
    }
    
    .chat-messages {
        padding: 1rem;
        min-height: 200px;
    }
    
    .message-bubble {
        max-width: 80%;
        padding: 0.8rem 1rem;
    }
    
    .message-text {
        font-size: 0.9rem;
    }
    
    .chat-input-area {
        padding: 1rem;
    }
    
    .message-input-wrapper input {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .message-input-wrapper button {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .message-info small {
        font-size: 0.75rem;
    }
}

/* Kiçik mobil telefonlar */
@media (max-width: 480px) {
    .messages-page .container {
        padding: 0 5px;
    }
    
    .messages-header {
        padding: 0.6rem 0.8rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .messages-header h2 {
        font-size: 1.2rem;
    }
    
    .messages-layout {
        height: 82vh;
    }
    
    /* Söhbətlər daha kiçik */
    .conversations-sidebar {
        height: 35vh;
    }
    
    .conversations-header {
        padding: 0.6rem;
    }
    
    .conversations-header h3 {
        font-size: 0.9rem;
    }
    
    .refresh-btn {
        padding: 0.4rem;
        font-size: 1rem;
    }
    
    .conversations-search {
        padding: 0.6rem;
    }
    
    .conversations-search input {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .conversation-item {
        padding: 0.6rem;
        margin: 0.1rem 0.2rem;
        gap: 0.6rem;
    }
    
    .conversation-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .conversation-title {
        font-size: 0.85rem;
        max-width: 150px;
    }
    
    .conversation-time {
        font-size: 0.65rem;
    }
    
    .conversation-user,
    .conversation-price,
    .last-message {
        font-size: 0.7rem;
    }
    
    .conversation-price {
        padding: 0.1rem 0.3rem;
    }
    
    .unread-badge {
        padding: 0.2rem 0.4rem;
        font-size: 0.65rem;
        top: 0.6rem;
        right: 0.6rem;
    }
    
    /* Chat sahəsi */
    .chat-area {
        height: 47vh;
    }
    
    .chat-header {
        padding: 0.6rem 0.8rem;
    }
    
    .chat-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .chat-info h3 {
        font-size: 0.9rem;
    }
    
    .chat-info p {
        font-size: 0.75rem;
    }
    
    .chat-action-btn {
        padding: 0.4rem;
        font-size: 0.9rem;
    }
    
    .chat-messages {
        padding: 0.8rem;
        min-height: 150px;
    }
    
    .message-bubble {
        max-width: 85%;
        padding: 0.6rem 0.8rem;
    }
    
    .message-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .message-time {
        font-size: 0.65rem;
    }
    
    .system-message-content {
        padding: 1rem;
        max-width: 90%;
    }
    
    .system-text {
        font-size: 0.85rem;
    }
    
    .system-icon {
        font-size: 1.5rem;
    }
    
    .chat-input-area {
        padding: 0.8rem;
    }
    
    .message-input-wrapper {
        gap: 0.6rem;
    }
    
    .message-input-wrapper input {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .message-input-wrapper button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .message-info {
        margin-top: 0.5rem;
    }
    
    .message-info small {
        font-size: 0.7rem;
    }
    
    /* Empty states mobil üçün */
    .chat-welcome {
        padding: 2rem 1rem;
    }
    
    .welcome-icon {
        font-size: 3rem;
    }
    
    .chat-welcome h3 {
        font-size: 1.1rem;
    }
    
    .chat-welcome p {
        font-size: 0.9rem;
    }
    
    .empty-conversations,
    .no-messages {
        padding: 2rem 1rem;
    }
    
    .empty-icon {
        font-size: 2.5rem;
    }
    
    .empty-conversations h4,
    .no-messages h4 {
        font-size: 1rem;
    }
    
    .empty-conversations p,
    .no-messages p {
        font-size: 0.85rem;
    }
}

/* Çox kiçik ekranlar */
@media (max-width: 360px) {
    .messages-layout {
        height: 80vh;
    }
    
    .conversations-sidebar {
        height: 32vh;
    }
    
    .chat-area {
        height: 48vh;
    }
    
    .conversation-title {
        max-width: 120px;
    }
    
    .message-bubble {
        max-width: 90%;
        padding: 0.5rem 0.7rem;
    }
    
    .message-text {
        font-size: 0.8rem;
    }
    
    .system-message-content {
        padding: 0.8rem;
    }
}

/* =================================
   NOTİFİKASİYA SİSTEMİ CSS
   =================================

/* Notification Bell */
.notification-bell-container {
    position: relative;
    margin-right: 1rem;
}

.notification-bell {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.8rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.notification-bell:hover {
    background: rgba(255,255,255,0.3);
    border-color: #ffd700;
    transform: scale(1.05);
}

.notification-bell.has-notifications {
    animation: bellRing 2s infinite;
}

@keyframes bellRing {
    0%, 50%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(45deg, #e53e3e, #c53030);
    color: white;
    border-radius: 12px;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(229, 62, 62, 0.4);
    border: 2px solid white;
}

/* /* styles.css faylına əlavə edin - Notification modal düzəlişi */

/* Permission modal - DÜZƏLDİLMİŞ */
.notification-permission-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.permission-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.permission-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
}

.permission-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: bellRing 2s infinite;
}

.permission-content h3 {
    margin: 0 0 1rem 0;
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 600;
}

.permission-content p {
    margin: 0 0 2rem 0;
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.permission-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Permission button-ları - DÜZƏLDİLMİŞ */
.permission-actions .btn,
.permission-actions .btn-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
    
    /* Mətn görsənməməsi problemini həll edir */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: inherit !important;
    text-decoration: none !important;
}

.permission-allow,
.permission-actions .btn {
    background: linear-gradient(45deg, #4a6fa5, #166ab0) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(74, 111, 165, 0.3);
}

.permission-allow:hover,
.permission-actions .btn:hover {
    background: linear-gradient(45deg, #166ab0, #0f4c75) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 111, 165, 0.4);
}

.permission-deny,
.permission-actions .btn-secondary {
    background: #f8f9fa !important;
    color: #666 !important;
    border: 2px solid #e2e8f0 !important;
}

.permission-deny:hover,
.permission-actions .btn-secondary:hover {
    background: #e2e8f0 !important;
    color: #2d3748 !important;
    transform: translateY(-1px);
}

/* Bell animation */
@keyframes bellRing {
    0%, 50%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
}

/* Modal açıldıqda body scroll-u gizlə */
body.modal-open {
    overflow: hidden !important;
}

/* Mobil responsive */
@media (max-width: 768px) {
    .permission-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .permission-icon {
        font-size: 3rem;
    }
    
    .permission-content h3 {
        font-size: 1.3rem;
    }
    
    .permission-content p {
        font-size: 0.9rem;
    }
    
    .permission-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .permission-actions .btn,
    .permission-actions .btn-secondary {
        width: 100%;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .permission-content {
        padding: 1.5rem 1rem;
    }
    
    .permission-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .permission-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .permission-content p {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
}

/* =================================
   CHECKBOX STYLES - Remember Me üçün
   ================================= */

/* Custom checkbox container */
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    color: #2d3748;
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Custom checkbox */
.checkmark {
    position: relative;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-color: white;
    border: 2px solid #4a6fa5;
    border-radius: 4px;
    margin-right: 0.8rem;
    transition: all 0.3s ease;
}

/* On hover */
.checkbox-container:hover input ~ .checkmark {
    background-color: #f0f4f8;
    border-color: #166ab0;
}

/* When checked */
.checkbox-container input:checked ~ .checkmark {
    background-color: #4a6fa5;
    border-color: #4a6fa5;
}

/* Checkmark/tick */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Checkbox text */
.checkbox-container span:not(.checkmark) {
    margin-left: 0.5rem;
    color: #4a5568;
}

/* =================================
   ADMIN PANEL STYLES
   ================================= */

.admin-panel {
    padding: 2rem 0 3rem;
    min-height: calc(100vh - 140px);
}

.admin-panel .container {
    max-width: 1400px;
}

.panel-title-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-badge {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding-bottom: 0;
    overflow-x: auto;
}

.admin-tab-btn {
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px 10px 0 0;
    font-weight: 500;
    white-space: nowrap;
}

.admin-tab-btn.active {
    background: rgba(255,255,255,0.2);
    border-bottom: 3px solid #ffd700;
}

.admin-tab-btn:hover {
    background: rgba(255,255,255,0.25);
}

/* Admin Tab Content */
.admin-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.admin-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-section {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.admin-section h3 {
    margin: 0 0 1.5rem 0;
    color: #2d3748;
    font-size: 1.3rem;
}

/* Admin Listings Grid */
.admin-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.admin-listing-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.admin-listing-card.pending {
    border-color: #f59e0b;
}

.admin-listing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.admin-listing-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f59e0b;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: bold;
}

.admin-listing-content h4 {
    margin: 0 0 1rem 0;
    color: #2d3748;
    font-size: 1.1rem;
}

.admin-listing-content p {
    margin: 0.5rem 0;
    color: #4a5568;
    font-size: 0.9rem;
}

/* Admin Actions */
.admin-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.admin-actions button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-approve {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
}

.btn-approve:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
}

.btn-reject {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
}

.btn-reject:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.3);
}

.btn-view {
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    color: white;
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.3);
}

.btn-warn {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    color: white;
}

/* Admin Users Grid */
.admin-users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.admin-user-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.admin-user-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.admin-user-content {
    flex: 1;
}

.admin-user-content h4 {
    margin: 0 0 0.5rem 0;
    color: #2d3748;
}

.admin-user-content p {
    margin: 0.3rem 0;
    color: #4a5568;
    font-size: 0.85rem;
}

/* Admin Brands Grid */
.admin-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.admin-brand-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.admin-brand-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.admin-brand-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #4a6fa5;
}

.admin-brand-content h4 {
    margin: 0 0 0.5rem 0;
    color: #2d3748;
}

.admin-brand-content p {
    margin: 0.3rem 0;
    color: #4a5568;
    font-size: 0.85rem;
}

.admin-actions-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    margin: 0 0 0.5rem 0;
    color: #4a5568;
    font-size: 1.3rem;
}

.empty-state p {
    margin: 0 0 1.5rem 0;
    color: #718096;
}

.error-state {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #ef4444;
}

.retry-btn {
    background: linear-gradient(45deg, #4a6fa5, #166ab0);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 111, 165, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .admin-tabs {
        flex-direction: column;
    }
    
    .admin-tab-btn {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 0.5rem;
    }
    
    .admin-listings-grid,
    .admin-users-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-section {
        padding: 1rem;
    }
}