/* Import Google Fonts for multilingual support (Arabic: Cairo/Tajawal, English/Turkish: Montserrat/Poppins) */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&family=Tajawal:wght@300;400;500;700;800;900&family=Montserrat:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Core Variable Declarations (Customizable by Settings) */
:root {
    --primary-color: #c5a880;
    --secondary-color: #1a2530;
    --bg-color: #ffffff;
    --text-color: #2b2b2b;
    
    /* Default Fonts (English/Turkish LTR) */
    --font-body: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-family: var(--font-body);
    
    --light-bg: #f8f9fa;
    --border-color: #e5e7eb;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* RTL Support - Override for Arabic */
html[dir="rtl"] body {
    text-align: right;
}

/* Typography Custom Styling */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    cursor: pointer;
    font-family: var(--font-heading);
    border: none;
    outline: none;
    transition: var(--transition);
}

/* Header & Navbar Styling */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.12rem;
    font-family: var(--font-heading);
    color: var(--secondary-color);
    user-select: none;
    cursor: pointer;
    white-space: nowrap;
}

.nav-logo img {
    height: 50px;
    object-fit: contain;
    border-radius: 6px;
}

.logo-fallback {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.92rem;
}

.nav-item:hover, .nav-item.active {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Dropdown Selections for Language & Currency */
.select-styled {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
    outline: none;
}

.select-styled:focus {
    border-color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-cart {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    position: relative;
    height: 45vh;
    min-height: 350px;
    background: linear-gradient(rgba(26, 37, 48, 0.7), rgba(26, 37, 48, 0.4)), url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.hero-content h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 25px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* Floor Section Layout */
.floor-section {
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.floor-header {
    padding: 0 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.floor-title-wrapper {
    position: relative;
}

.floor-badge {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 30px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 5px;
}

.floor-title {
    font-size: 2rem;
    position: relative;
}

.floor-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

html[dir="rtl"] .floor-title::after {
    left: auto;
    right: 0;
}

/* Category Slider Styling */
.slider-container {
    position: relative;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
}

.slider-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 0;
    scrollbar-width: none; /* Firefox */
}

.slider-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Category Card */
.category-card {
    flex: 0 0 260px;
    height: 160px;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(26, 37, 48, 0.85));
    z-index: 1;
    transition: var(--transition);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    z-index: 2;
    color: #fff;
    text-align: center;
}

.category-info h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    transition: var(--transition);
}

/* Category Hover and Active State */
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-card.active {
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.4);
}

.category-card.active::before {
    background: linear-gradient(transparent, rgba(197, 168, 128, 0.9));
}

/* Product Section (Inside Floor) */
.products-panel {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 0 2rem;
    min-height: 100px;
    transition: var(--transition);
}

.products-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.products-panel-title {
    font-size: 1.25rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Product Card */
.product-card {
    flex: 0 0 280px;
    background: #fff;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.product-image-wrapper {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 5;
}

html[dir="rtl"] .product-badge {
    left: auto;
    right: 10px;
}

.product-details {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-details h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-desc {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-container {
    display: flex;
    flex-direction: column;
}

.original-price {
    font-size: 0.8rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.current-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
    color: var(--secondary-color);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.slider-btn.prev {
    left: -15px;
}

.slider-btn.next {
    right: -15px;
}

/* Elegant Separator Line */
.elegant-divider {
    max-width: 800px;
    margin: 2rem auto;
    position: relative;
    text-align: center;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.elegant-divider::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-color);
    padding: 0 15px;
    color: var(--primary-color);
    font-size: 1rem;
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 37, 48, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-card {
    background: #fff;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    animation: modalEnter 0.3s ease-out;
}

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

.modal-header {
    background: var(--secondary-color);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #fff;
    font-size: 1.25rem;
}

.modal-close {
    background: transparent;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-body {
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto;
}

/* Specifications Table styling */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.specs-table th, .specs-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

html[dir="rtl"] .specs-table th, html[dir="rtl"] .specs-table td {
    text-align: right;
}

.specs-table th {
    font-weight: 600;
    color: var(--secondary-color);
    background: var(--light-bg);
    width: 35%;
}

/* Footer Section */
.footer {
    background: var(--secondary-color);
    color: #d1d5db;
    padding: 4rem 2rem 2rem;
    border-top: 5px solid var(--primary-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

html[dir="rtl"] .footer-col h3::after {
    left: auto;
    right: 0;
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 12px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

html[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 0.85rem;
}

/* Forms styling */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    font-family: var(--font-family);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

/* Admin Dashboard CSS Setup */
.admin-body {
    background: #f3f4f6;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

.admin-sidebar {
    width: 260px;
    background: var(--secondary-color);
    color: #fff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: var(--transition);
}

.admin-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-menu {
    list-style: none;
    padding: 20px 0;
    overflow-y: auto;
    flex-grow: 1;
}

.admin-menu-item a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 25px;
    font-weight: 500;
    color: #9ca3af;
    border-left: 4px solid transparent;
}

html[dir="rtl"] .admin-menu-item a {
    border-left: none;
    border-right: 4px solid transparent;
}

.admin-menu-item.active a, .admin-menu-item a:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
    border-left-color: var(--primary-color);
}

html[dir="rtl"] .admin-menu-item.active a, html[dir="rtl"] .admin-menu-item a:hover {
    border-right-color: var(--primary-color);
}

.admin-content-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-topbar {
    height: 70px;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    flex-shrink: 0;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-role-badge {
    background: rgba(197, 168, 128, 0.15);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.admin-main-content {
    padding: 30px;
    overflow-y: auto;
    flex-grow: 1;
}

/* Stats Widgets Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(197, 168, 128, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-details h4 {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 4px;
}

.stat-details span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Charts / Reporting Panel */
.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.chart-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.chart-card h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Data Tables */
.data-table-card {
    background: #fff;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 30px;
}

.table-header-row {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th, .admin-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

html[dir="rtl"] .admin-table th, html[dir="rtl"] .admin-table td {
    text-align: right;
}

.admin-table th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--secondary-color);
}

.admin-table tbody tr:hover {
    background: rgba(0,0,0,0.01);
}

.badge-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-status.pending { background: #fef3c7; color: #d97706; }
.badge-status.processing { background: #dbeafe; color: #2563eb; }
.badge-status.completed { background: #d1fae5; color: #059669; }
.badge-status.cancelled { background: #fee2e2; color: #dc2626; }
.badge-status.open { background: #fee2e2; color: #dc2626; }
.badge-status.resolved { background: #d1fae5; color: #059669; }

/* Action Buttons */
.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: #fff;
    margin-right: 5px;
    color: #4b5563;
}

html[dir="rtl"] .action-btn {
    margin-right: 0;
    margin-left: 5px;
}

.action-btn:hover {
    background: var(--light-bg);
}

.action-btn.edit:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.action-btn.delete:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.action-btn.resolve:hover {
    border-color: #10b981;
    color: #10b981;
}

/* Admin settings visual visualizer */
.theme-picker-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.color-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-input-wrapper input[type="color"] {
    width: 50px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    background: transparent;
}

/* responsive mobile settings */
.nav-toggle {
    display: none;
    font-size: 1.5rem;
    background: transparent;
    color: var(--secondary-color);
}

/* Search bar styling */
.search-container {
    max-width: 500px;
    width: 100%;
    margin: 1.5rem auto;
    padding: 0 2rem;
}

.search-wrapper {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    padding-inline-start: 45px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    background: var(--light-bg);
    font-family: var(--font-family);
    font-size: 0.95rem;
    transition: var(--transition);
}

.search-input:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    color: #9ca3af;
}

html[dir="rtl"] .search-icon {
    left: auto;
    right: 20px;
}

/* Settings Checkboxes and Radios */
.checkbox-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
}

/* responsive breakpoints */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        display: none; /* Can be toggled on mobile */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .floor-section {
        padding: 2rem 0;
    }
    
    .slider-container, .products-panel {
        margin: 0;
        padding: 1rem;
    }

    .admin-body {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
    }

    .admin-menu {
        display: flex;
        overflow-x: auto;
        padding: 10px 0;
    }

    .admin-menu-item a {
        padding: 10px 15px;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    html[dir="rtl"] .admin-menu-item a {
        border-right: none;
        border-bottom: 3px solid transparent;
    }

    .admin-menu-item.active a {
        border-left-color: transparent;
        border-bottom-color: var(--primary-color);
    }
    
    .charts-container {
        grid-template-columns: 1fr;
    }
}
