/* Genel Stiller */
:root {
    --primary-color: #e6034b; /* Ana kırmızı */
    --primary-gradient: linear-gradient(90deg, #e6034b 0%, #ff4e7a 100%);
    --secondary-color: #3a4146; /* Logo grisi */
    --text-color: #3a4146;
    --light-bg: #f7f7f7;
    --border-color: #e6034b;
    --category-title-color: #2c3e50;
    --category-font: 'Poppins', sans-serif;
    --description-color: #666666;
    --allergen-color: #dc3545;
    --price-color: #e6034b;
    --price-font: 'Poppins', sans-serif;
    --badge-font: 'Poppins', sans-serif;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: var(--light-bg);
}

/* Navbar Stilleri */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    background: #fff;
}

.navbar-brand img {
    filter: drop-shadow(0 2px 8px rgba(230,3,75,0.08));
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}
.content-section {
    display: none;
}
.content-section.active {
    display: block;
}
/* Butonlar - Bootstrap Override */
.btn-primary,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(230,3,75,0.08);
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #e6034b !important;
    box-shadow: 0 4px 12px rgba(230,3,75,0.2);
    transform: translateY(-1px);
}

.btn-primary:active {
    background: #d1003f !important;
    transform: translateY(0);
}

.btn-outline-primary,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: transparent !important;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-gradient) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(230,3,75,0.2);
}

/* --- Sidebar (Sol Navbar) Modern Tasarım --- */
.sidebar {
    background: #f7f7f7 !important;
    border-right: 1.5px solid #ececec;
    min-height: 100vh;
    box-shadow: 2px 0 16px rgba(58,65,70,0.04);
    padding-top: 1.5rem;
}
.sidebar .nav-link {
    color: #3a4146 !important;
    font-weight: 500;
    font-size: 1.08rem;
    border-radius: 8px 0 0 8px;
    margin-bottom: 6px;
    padding: 0.7rem 1.2rem 0.7rem 1.5rem;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar .nav-link.active, .sidebar .nav-link:focus, .sidebar .nav-link:hover {
    color: #e6034b !important;
    background: linear-gradient(90deg, #ffe3eb 0%, #fff 100%) !important;
    box-shadow: 0 2px 12px rgba(230,3,75,0.06);
}
.sidebar .nav-link.active::before, .sidebar .nav-link:focus::before, .sidebar .nav-link:hover::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    border-radius: 4px;
    background: #e6034b;
}
.sidebar .nav-link i {
    margin-right: 0.7rem;
    font-size: 1.2rem;
    color: #bdbdbd;
    transition: color 0.18s;
}
.sidebar .nav-link.active i, .sidebar .nav-link:focus i, .sidebar .nav-link:hover i {
    color: #e6034b;
}
.sidebar .nav-link:hover:not(.active),
.sidebar .nav-link:focus:not(.active) {
    color: #e6034b !important;
    background: linear-gradient(90deg, #fff0f5 0%, #fff 100%) !important;
    box-shadow: 0 2px 12px rgba(230,3,75,0.03);
}
.sidebar .nav-link:hover:not(.active) i,
.sidebar .nav-link:focus:not(.active) i {
    color: #e6034b;
}
@media (max-width: 991px) {
    .sidebar {
        display: none !important;
    }
    .sidebar .nav-link {
        font-size: 0.92rem;
        padding: 0.5rem 0.7rem 0.5rem 1rem;
        white-space: nowrap;
    }
    /* Navbar menüleri mobilde gösterilecek */
    .navbar-nav.mobile-menu {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 1000;
        border-top: 1px solid #eee;
        box-shadow: 0 4px 24px rgba(230,3,75,0.07);
    }
    .navbar-nav.mobile-menu .nav-item {
        width: 100%;
    }
    .navbar-nav.mobile-menu .nav-link {
        font-size: 1rem;
        padding: 0.9rem 1.2rem;
        border-radius: 0;
        border-bottom: 1px solid #f3f3f3;
        color: #e6034b !important;
        background: none !important;
        white-space: nowrap;
        text-align: left;
    }
    .navbar-nav.mobile-menu .nav-link.active {
        background: #ffe3eb !important;
        color: #e6034b !important;
    }
}

/* --- Dashboard Modern Tasarım --- */
body, .dashboard-bg {
    background: #f7f7f7 !important;
}

/* İstatistik Kartları */
.card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(230,3,75,0.07);
    border: none;
    transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
    box-shadow: 0 8px 32px rgba(230,3,75,0.13);
    transform: translateY(-2px) scale(1.01);
}
.card-title {
    color: #e6034b;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}
.card-text {
    color: #3a4146;
    font-size: 2.1rem;
    font-weight: 800;
}

/* Dashboard Başlıkları ve Ayraçlar */
.dashboard-section-title, .fw-bold.fs-4 {
    color: #3a4146;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
}
.dashboard-subtitle, h4, h3 {
    color: #e6034b;
    font-weight: 700;
    margin-bottom: 0.7rem;
}
hr.section-divider {
    border: none;
    border-top: 2px solid #e6034b;
    margin: 1.5rem 0;
    opacity: 0.18;
}

/* Kategori/Kart Alanı */
.card.mb-4 {
    border: 1.5px solid #ffe3eb;
    box-shadow: 0 2px 12px rgba(230,3,75,0.04);
    border-radius: 16px;
}

/* Tablo ve Satırlar */
.table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(58,65,70,0.04);
}
.table thead th {
    background: #665d6028 !important;
    color: #111011d8 !important;
    font-weight: 800;
    font-size: 1.08rem;
    border: none;
    letter-spacing: 0.2px;
    text-transform: none;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background: #fdf6f8;
}
.table tbody tr:hover {
    background: #fff0f5;
    transition: background 0.18s;
}
.table td, .table th {
    border: none;
    vertical-align: middle;
}

/* Butonlar */
.btn-success {
    background: linear-gradient(90deg, #c521659c 0%, #e6034b 100%) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(230,3,75,0.08);
    transition: all 0.2s;
}
.btn-success:hover {
    background: #e6034b !important;
    color: #fff !important;
}
.btn-outline-secondary {
    border: 2px solid #e6034b !important;
    color: #e6034b !important;
    background: #fff !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-outline-secondary:hover {
    background: #ffe3eb !important;
    color: #e6034b !important;
}
.btn-danger {
    background: #e6034b !important;
    border: none !important;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}
.btn-danger:hover {
    background: #b80036 !important;
}

/* Form Elemanları Stilleri */
.form-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.form-label .text-danger {
    font-size: 1rem;
    vertical-align: middle;
}

.form-control,
.form-select {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 3, 75, 0.1);
}

.form-control::placeholder {
    color: #adb5bd;
    font-size: 0.9rem;
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23e6034b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-select:hover {
    border-color: #ccc;
}

.form-control:hover,
.form-select:hover {
    border-color: #ccc;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Form Container Stilleri */
.card {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    overflow: hidden;
}

.card-body {
    background: linear-gradient(to bottom, #ffffff, #fafafa);
}

/* Alert Stilleri */
.alert {
    border: none;
    border-radius: 12px;
    padding: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
}

.alert-info {
    background-color: rgba(230, 3, 75, 0.05);
    color: var(--primary-color);
}

.alert-info i {
    color: var(--primary-color);
}

/* Checkbox Stilleri */
.form-check {
    padding-left: 1.8rem;
    margin-bottom: 1rem;
}

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-left: -1.8rem;
    margin-top: 0.2rem;
    border: 2px solid #e0e0e0;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(230, 3, 75, 0.1);
    border-color: var(--primary-color);
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Submit Button Hover Effect */
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 3, 75, 0.2);
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1.2rem;
    height: 1.2rem;
    border-width: 0.15em;
}

/* Success Message Styles */
.text-success {
    color: #10b981 !important;
}

/* Form Row Spacing */
.row {
    margin-left: -10px;
    margin-right: -10px;
}

.row > [class^="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.65rem 0.9rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    .form-label {
        font-size: 0.85rem;
    }
}

/* Kategori başlıkları ve oklar */
#productCategoryList h5[data-cat] {
    color: #e6034b !important;
    font-weight: 800;
    font-size: 1.18rem;
    letter-spacing: 0.2px;
    margin-bottom: 0.2rem;
    background: none;
    border: none;
    padding: 0.2rem 0.3rem;
    display: inline-block;
    border-radius: 6px;
    transition: background 0.18s, color 0.18s;
}
#productCategoryList h5[data-cat]:hover {
    background: #ffe3eb;
    color: #e6034b !important;
}
#productCategoryList .btn-light {
    border-radius: 6px;
    border: 1.5px solid #ffe3eb;
    color: #e6034b;
    background: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.18s, color 0.18s;
}
#productCategoryList .btn-light:hover {
    background: #ffe3eb;
    color: #e6034b;
}

/* Modal başlıkları ve içerik */
.modal-content {
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(230,3,75,0.10);
    border: none;
}
.modal-title {
    color: #e6034b;
    font-weight: 800;
    font-size: 1.3rem;
}

/* Responsive Dashboard */
@media (max-width: 991px) {
    .dashboard-section-title, .fw-bold.fs-4 {
        font-size: 1.3rem;
    }
    .card {
        border-radius: 12px;
        padding: 1rem 0.7rem;
    }
    .table {
        border-radius: 8px;
    }
}

/* Dashboard kartları hizalama ve yükseklik */
.dashboard-row-equal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 0.8rem;
}
.dashboard-row-equal > [class^='col-'] {
    display: flex;
    flex-direction: column;
}
.dashboard-row-equal .card {
    flex: 1 1 100%;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}
/* QR kod kutusu */
#qrCodeGen {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}
#qrCodeGen canvas, #qrCodeGen img {
    width: 120px !important;
    height: 120px !important;
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(230,3,75,0.10);
    background: #fff;
}
.card .btn, .card .btn-sm {
    margin-top: 0.5rem;
}
/* Kart başlıkları ve içerik */
.card-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #3a4146;
    margin-bottom: 0.7rem;
}
.card-text, .fs-3, .fs-5 {
    font-size: 2.1rem !important;
    font-weight: 800;
    color: #e6034b;
}
/* Responsive düzenleme */
@media (max-width: 991px) {
    .dashboard-row-equal {
        flex-direction: column;
        gap: 1rem 0;
    }
    .dashboard-row-equal .card {
        min-height: 100px;
        padding: 1rem 0.7rem;
    }
    #qrCodeGen canvas, #qrCodeGen img {
        width: 80px !important;
        height: 80px !important;
    }
}

/* Navbar yazı rengi siyah */
.navbar-nav .nav-link {
    color: #000 !important;
}

/* Active olanın fontu düzeltildi */
.navbar-nav .nav-link.active {
    font-weight: 700;
    color: #e6034b !important;
}

/* Dashboard sayısal değerlerin fontu aynı */
.card-text, .fs-3, .fs-5 {
    font-size: 2.1rem !important;
    font-weight: 800;
    color: #e6034b;
}

/* Ürün Ekleme Formu ve Görsel Önizleme */
#addProductForm input[type="text"],
#addProductForm input[type="number"],
#addProductForm input[type="file"] {
    font-size: 1.05rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    margin-bottom: 0.2rem;
}
#addProductForm .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(230,3,75,0.12);
}
#productImagePreview {
    display: block;
    margin-top: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(58,65,70,0.10);
    border: 1px solid #eee;
    max-width: 120px;
    max-height: 80px;
    object-fit: cover;
}
@media (max-width: 768px) {
    #addProductForm input[type="text"],
    #addProductForm input[type="number"],
    #addProductForm input[type="file"] {
        font-size: 1rem;
        padding: 0.6rem 0.8rem;
    }
    #productImagePreview {
        max-width: 90px;
        max-height: 60px;
    }
}

.product-image-upload-box {
    width: 60px;
    height: 40px;
    border: 2px dashed var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}
.product-image-upload-box:hover {
    border-color: #ff4e7a;
    background: #f7f7f7;
}
.product-image-upload-box .plus-icon {
    font-size: 1.7rem;
    color: var(--primary-color);
    pointer-events: none;
    transition: color 0.2s;
}
.product-image-upload-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.product-image-upload-input {
    display: none;
}
.product-image-upload-box input,
.product-image-upload-box img {
    margin: 0;
    padding: 0;
}
.table td .form-control.form-control-sm {
    margin: 0;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    height: 40px;
    box-sizing: border-box;
}
.table td {
    vertical-align: middle !important;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

/* Banner Stilleri */
.banner-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.banner-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.banner-item:hover {
    transform: translateY(-2px);
}

.banner-preview {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.banner-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-preview.text-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}

.banner-info {
    padding: 1rem;
}

.banner-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner-item:hover .banner-actions {
    opacity: 1;
}

.banner-action-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-action-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

/* Toast Mesajı */
.toast-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toast-message.show {
    opacity: 1;
}

.toast-message.error {
    background: #dc3545;
}

/* --- MODERN DASHBOARD EK CSS --- */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: #f7f7f7;
}
.sidebar {
    width: 260px;
    background: #fff;
    border-right: 1.5px solid #ececec;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 0 1rem 0;
    box-shadow: 2px 0 16px rgba(58,65,70,0.04);
    z-index: 10;
}
.sidebar-header {
    text-align: center;
    margin-bottom: 2rem;
}
.sidebar .logo {
    width: 80px;
    margin-bottom: 0.5rem;
}
.sidebar h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}
.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-nav li {
    margin-bottom: 8px;
}
.sidebar-nav a {
    display: flex;
    align-items: center;
    color: #3a4146;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.08rem;
    border-radius: 8px 0 0 8px;
    padding: 0.7rem 1.2rem 0.7rem 1.5rem;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    position: relative;
}
.sidebar-nav li.active a,
.sidebar-nav a:hover {
    color: #e6034b;
    background: linear-gradient(90deg, #ffe3eb 0%, #fff 100%);
    box-shadow: 0 2px 12px rgba(230,3,75,0.06);
}
.sidebar-nav a i {
    margin-right: 0.7rem;
    font-size: 1.2rem;
    color: #bdbdbd;
    transition: color 0.18s;
}
.sidebar-nav li.active a i,
.sidebar-nav a:hover i {
    color: #e6034b;
}
.sidebar-footer {
    margin-top: auto;
    text-align: center;
    padding: 1rem 0 0 0;
}
.logout-btn {
    color: #e6034b;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    transition: background 0.18s;
}
.logout-btn:hover {
    background: #ffe3eb;
}
.main-content {
    flex: 1;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    min-width: 0;
    background: #f7f7f7;
}
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.top-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #3a4146;
    margin: 0;
}
.license-info {
    font-size: 1rem;
}
.trial-badge, .subscription-badge, .expired-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.3rem 0.8rem;
}
.trial-badge { background: #fffbe3; color: #e6034b; }
.subscription-badge { background: #e6fff3; color: #1abc9c; }
.expired-badge { background: #ffe3eb; color: #e6034b; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(230,3,75,0.07);
    padding: 1.5rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: box-shadow 0.2s, transform 0.2s;
}
.stat-card:hover {
    box-shadow: 0 8px 32px rgba(230,3,75,0.13);
    transform: translateY(-2px) scale(1.01);
}
.stat-icon {
    font-size: 2.2rem;
    color: #e6034b;
    background: #ffe3eb;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-content h3 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #3a4146;
}
.stat-content p {
    margin: 0;
    font-size: 1.1rem;
    color: #666;
}
.stat-content small {
    color: #bdbdbd;
    font-size: 0.95rem;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.dashboard-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(230,3,75,0.07);
    padding: 1.5rem 1.2rem;
}
.dashboard-card h3 {
    color: #e6034b;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.recent-actions, .hidden-products {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.action-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}
.action-icon {
    color: #e6034b;
    font-size: 1.1rem;
    margin-top: 2px;
}
.action-content p {
    margin: 0;
    font-weight: 500;
}
.action-content small {
    color: #bdbdbd;
    font-size: 0.92rem;
}
.product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7f7f7;
    border-radius: 8px;
    padding: 0.7rem 1rem;
}
.product-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}
.product-info p {
    margin: 0;
    color: #bdbdbd;
    font-size: 0.95rem;
}
.btn-activate {
    background: #e6034b;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s;
}
.btn-activate:hover {
    background: #b9003a;
}
.categories-grid, .products-grid, .banners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.category-card, .product-card, .banner-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(230,3,75,0.07);
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    position: relative;
}
.category-header, .product-content, .banner-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.category-actions, .product-actions, .banner-actions {
    display: flex;
    gap: 0.5rem;
}
.btn-edit, .btn-delete {
    background: none;
    border: none;
    color: #bdbdbd;
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.18s;
}
.btn-edit:hover { color: #e6034b; }
.btn-delete:hover { color: #e6034b; }
.category-stats, .price-info {
    display: flex;
    gap: 1.2rem;
    font-size: 0.98rem;
    color: #bdbdbd;
}
.product-image {
    width: 100%;
    height: 120px;
    background: #f7f7f7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    position: relative;
    overflow: hidden;
}
.product-image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
}
.no-image {
    color: #bdbdbd;
    font-size: 2.5rem;
}
.inactive-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ffe3eb;
    color: #e6034b;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 6px;
    padding: 2px 10px;
}
.old-price {
    text-decoration: line-through;
    color: #bdbdbd;
    margin-right: 0.5rem;
}
.current-price {
    color: #e6034b;
    font-weight: 700;
    font-size: 1.1rem;
}
.discount {
    background: #e6034b;
    color: #fff;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.92rem;
    margin-left: 0.5rem;
}
/* Responsive */
@media (max-width: 1200px) {
    .main-content, .theme-settings, .settings-content {
        padding: 1.2rem;
        gap: 1.2rem;
    }
    .sidebar {
        width: 200px;
        padding: 1rem 0 0.5rem 0;
    }
}
@media (max-width: 900px) {
    .dashboard-container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        min-height: unset;
        border-right: none;
        border-bottom: 1.5px solid #ececec;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.7rem 1.2rem;
    }
    .main-content {
        padding: 1rem;
    }
    .stats-grid, .categories-grid, .products-grid, .banners-grid, .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .theme-settings, .settings-content {
        flex-direction: column;
        gap: 1rem;
    }
}
@media (max-width: 600px) {
    .main-content {
        padding: 0.5rem;
    }
    .modal-content {
        padding: 1rem 0.5rem;
        min-width: 90vw;
    }
}
.modal { display: none; }
.modal.active { display: flex; }