/* Asosiy CSS sozlamalari */
:root {
    --primary: #2c3e50;
    --primary-dark: #1a252f;
    --primary-light: #3498db;
    --accent: #e74c3c;
    --accent-light: #ff6b6b;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray: #7f8c8d;
    --light-gray: #ecf0f1;
    --success: #27ae60;
    --warning: #f39c12;
    --error: #c0392b;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    --gradient-accent: linear-gradient(135deg, #e74c3c 0%, #ff6b6b 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    background: #f5f7fa;
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 14px;
}

/* Loading sahifasi */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.loader-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img-large {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.loader-text {
    color: var(--primary);
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.loader-subtext {
    color: var(--gray);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Header */
header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding: 25px 30px;
        gap: 20px;
        flex-wrap: wrap;
    }

    .logo {
        flex: 0 0 auto;
    }

    .header-actions {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .nav-categories {
        flex-basis: 100%;
        width: 100%;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: translateX(5px);
}

.logo-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.logo-img-header {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.logo-text-content {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 34px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
    letter-spacing: 1px;
}

.logo-subtext {
    font-size: 13px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-top: 6px;
    text-transform: uppercase;
}

/* Kategoriyalar */
.nav-categories {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
}

.nav-categories::-webkit-scrollbar {
    height: 5px;
}

.nav-categories::-webkit-scrollbar-track {
    background: transparent;
}

.nav-categories::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

.category-btn {
    background: white;
    border: 2px solid var(--light-gray);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    font-size: 14px;
    color: var(--dark);
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.category-btn:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.1);
}

.category-btn.active {
    background: var(--gradient-accent);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.2);
}

/* Asosiy kontent */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

@media (min-width: 768px) {
    .main-content {
        padding: 50px 30px;
    }
}

.section-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--dark);
    font-weight: 900;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* Mahsulotlar gridi */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 480px) {
    .products-grid {
        gap: 25px;
    }
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 35px;
    }
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

@media (hover: none) {
    .product-card:hover {
        transform: none;
    }
}

.product-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

@media (min-width: 768px) {
    .product-image {
        height: 220px;
    }
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    will-change: transform;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

@media (hover: none) {
    .product-card:hover .product-image img {
        transform: none;
    }
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 50px;
}

.product-description {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
    margin: 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 24px;
    font-weight: 900;
    color: var(--accent);
    margin-top: auto;
}

/* Rasm ko'rish modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 37, 47, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.image-modal.active {
    display: flex;
}

.image-modal-content {
    width: 100%;
    max-width: 700px;
    position: relative;
    animation: zoomIn 0.3s ease;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-modal-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.modal-product-info {
    padding: 30px;
    background: white;
}

.modal-product-name {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.modal-product-description {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.modal-product-price {
    font-size: 32px;
    font-weight: 900;
    color: var(--accent);
}

.close-image-modal {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(44, 62, 80, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.close-image-modal:hover {
    background: var(--accent);
    transform: rotate(90deg);
}

/* Mobile responsive for modal */
@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95%;
        margin: 0 auto;
    }

    .image-modal-img {
        height: 300px;
    }

    .modal-product-info {
        padding: 20px;
    }

    .modal-product-name {
        font-size: 22px;
    }

    .modal-product-description {
        font-size: 14px;
    }

    .modal-product-price {
        font-size: 26px;
    }

    .close-image-modal {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
}

/* Admin panel */
.admin-panel {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

@media (min-width: 768px) {
    .admin-panel {
        bottom: 40px;
        right: 40px;
    }
}

.admin-btn {
    background: var(--gradient);
    color: white;
    border: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.3);
    transition: var(--transition);
    font-size: 28px;
}

.admin-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.4);
}

/* Login sahifasi */
.login-page {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 37, 47, 0.98);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.login-container {
    background: white;
    border-radius: 25px;
    padding: 50px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.logo-img-login {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.login-title {
    font-size: 28px;
    margin-bottom: 35px;
    color: var(--dark);
    font-weight: 900;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.login-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    padding: 18px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 16px;
    transition: var(--transition);
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
}

.login-btn {
    width: 100%;
    padding: 20px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.3);
}

.login-demo {
    margin-top: 30px;
    color: var(--gray);
    font-size: 14px;
    text-align: center;
    font-weight: 600;
}

/* Admin sahifasi */
.admin-page {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light);
    z-index: 1500;
    overflow-y: auto;
}

.admin-header {
    background: white;
    padding: 25px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .admin-header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.admin-title {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--dark);
    font-size: 26px;
    font-weight: 900;
}

.admin-title i {
    color: var(--accent);
    font-size: 28px;
}

.admin-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-username {
    background: var(--gradient);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.2);
    min-width: 200px;
    text-align: center;
}

/* Admin kontent */
.admin-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

@media (min-width: 768px) {
    .admin-content {
        padding: 50px 30px;
    }
}

.admin-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 40px;
    background: white;
    padding: 8px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

@media (min-width: 768px) {
    .admin-tabs {
        flex-direction: row;
    }
}

.admin-tab {
    padding: 20px 30px;
    background: none;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 800;
    transition: var(--transition);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 16px;
}

.admin-tab.active {
    background: var(--gradient-accent);
    color: white;
}

.admin-tab:hover:not(.active) {
    background: var(--light-gray);
    color: var(--dark);
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.section-title-small {
    font-size: 24px;
    color: var(--dark);
    font-weight: 900;
    position: relative;
    padding-bottom: 12px;
}

.section-title-small::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 37, 47, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 25px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    padding: 30px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    border-radius: 25px 25px 0 0;
}

.modal-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--dark);
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    padding: 25px 30px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    background: #f8f9fa;
    border-radius: 0 0 25px 25px;
}

/* Rasm yuklash */
.image-upload {
    width: 100%;
    height: 180px;
    border: 3px dashed var(--light-gray);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    transition: var(--transition);
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.image-upload:hover {
    border-color: var(--primary-light);
    background: #e8f4fc;
}

.image-upload i {
    font-size: 48px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.image-upload-text {
    color: var(--dark);
    font-weight: 800;
    margin-bottom: 8px;
    font-size: 18px;
}

.image-upload-subtext {
    color: var(--gray);
    font-size: 14px;
}

#imagePreview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    border-radius: 12px;
}

/* Admin jadval */
.admin-table-container {
    overflow-x: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-top: 20px;
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    min-width: 700px;
}

.admin-table th {
    background: var(--gradient);
    padding: 20px;
    text-align: left;
    font-weight: 800;
    color: white;
    font-size: 15px;
    border: none;
}

.admin-table th:first-child {
    border-radius: 20px 0 0 0;
}

.admin-table th:last-child {
    border-radius: 0 20px 0 0;
}

.admin-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--light-gray);
    vertical-align: middle;
    font-weight: 500;
}

.admin-table tr {
    transition: var(--transition);
}

.admin-table tr:hover {
    background: rgba(52, 152, 219, 0.05);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.product-image-small {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    border: 3px solid var(--light-gray);
    transition: var(--transition);
    cursor: pointer;
}

.product-image-small:hover {
    transform: scale(2.5);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    z-index: 100;
    position: relative;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.action-btn {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.edit-btn {
    background: var(--gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.edit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.delete-btn {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.2);
}

.delete-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

/* Tugmalar */
.btn {
    padding: 18px 35px;
    border-radius: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 2px solid var(--light-gray);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.btn-secondary:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
}

.btn-logout {
    background: var(--gradient-accent);
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.2);
}

.btn-logout:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 20px 30px;
    margin-top: 80px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-accent);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (min-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
    }
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 900;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 2px;
}

.footer-section p {
    margin-bottom: 20px;
    color: #bdc3c7;
    font-size: 15px;
    line-height: 1.7;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #bdc3c7;
    transition: var(--transition);
}

.contact-item:hover {
    color: white;
    transform: translateX(10px);
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover i {
    background: var(--accent);
    transform: rotate(10deg) scale(1.1);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
    font-size: 14px;
}

/* Notification */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: var(--success);
    color: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    font-weight: 800;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: var(--error);
}

.notification i {
    font-size: 20px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-accent);
}

/* Til almashtirish tugmalari */
.language-switcher {
    display: flex;
    gap: 5px;
    background: var(--light-gray);
    padding: 5px;
    border-radius: 10px;
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: var(--gray);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
    letter-spacing: 0.5px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.lang-btn:hover {
    background: white;
    color: var(--primary);
}

@media (hover: none) {
    .lang-btn:hover {
        background: transparent;
        color: var(--gray);
    }
}

.lang-btn.active {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* Admin tugmasi (header) */
.admin-btn-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: none;
    background: var(--gradient);
    color: white;
    font-weight: 700;
    font-size: 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.admin-btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

@media (hover: none) {
    .admin-btn-header:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
    }
}

.admin-btn-header:active {
    transform: translateY(0);
}

.admin-btn-header i {
    font-size: 16px;
}

/* Mobil uchun */
@media (max-width: 767px) {
    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .language-switcher {
        order: 1;
        flex: 0 0 auto;
    }

    .admin-btn-header {
        order: 2;
        flex: 0 0 auto;
        padding: 8px 16px;
        font-size: 13px;
        gap: 8px;
    }

    .admin-btn-header i {
        font-size: 14px;
    }

    .admin-btn-header span {
        display: inline;
    }
}

/* Animatsiyalar */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}