:root {
    --header-color: #06b6d4;
    --primary-color: var(--header-color);
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #2d3748;
    --dark-color: #1a202c;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: #e2e8f0;
}

.navbar {
    background: rgba(45, 55, 72, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: 700;
    color: #e2e8f0 !important;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 20px;
    margin: 0 5px;
    padding: 8px 16px !important;
    color: #e2e8f0;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    background-color: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: white !important;
}

.header-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.header-section .container {
    position: relative;
    z-index: 1;
}

.header-title {
    font-weight: 300;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-subtitle {
    opacity: 0.9;
    font-size: 1.1rem;
}

.main-container {
    flex: 1;
}

.content-card {
    background: rgba(45, 55, 72, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 3rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: #e2e8f0;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.blank-message {
    color: #cbd5e0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.welcome-section h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

#customer-content .card{
    margin-top: 10px;
}
.vertical {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.vertical li {
    display: flex;
    flex: 0 0 auto;
    min-width: 200px;
    max-width: 300px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f8f9fa;
    box-sizing: border-box;
}

.vertical li a {
    display: block;
    text-decoration: none;
    width: 100%;
    color: inherit;
}

.vertical li a:hover {
    background-color: #e9ecef;
    border-radius: 4px;
}

.vertical li .highlight {
    padding: 5px;
}

.vertical li .small {
    font-size: 0.875em;
    color: #6c757d;
    margin-top: 2px;
}

.vertical li .notranslate {
    font-weight: bold;
    color: #007bff;
}
.features-list {
    text-align: left;
    max-width: 500px;
    margin: 2rem auto;
}

.features-list h3 {
    color: #e2e8f0;
    font-weight: 600;
    margin-bottom: 1rem;
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
}

.features-list a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(10px);
}

.features-list a i {
    margin-right: 10px;
    width: 20px;
}

.footer {
    background: rgba(33, 37, 41, 0.9);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    backdrop-filter: blur(10px);
}

/* Sidebar Styles */
.sidebar {
    top: 0;
    left: -600px;
    height: 100vh;
    background: rgba(45, 55, 72, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 1050;
    transition: left 0.3s ease;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar.open {
    left: 0;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    color: white;
}

.sidebar-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.sidebar-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.sidebar-show-button{
    position: fixed;
    top: 20px;
    left: 20px;
    width: 48px;
    z-index: 1060;
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
}
.sidebar-show-button.show{
    display: block;
}

.sidebar-content {
    padding: 1rem 0;
}

.sidebar-category {
    margin-bottom: 1.5rem;
}

.category-label {
    padding: 1rem 1.5rem 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, rgba(var(--primary-color), 0.1) 0%, transparent 100%);
}

.category-buttons {
    padding: 0 0.5rem;
}

.sidebar-btn {
    display: block;
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
    color: #cbd5e0;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.sidebar-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.sidebar-btn:hover::before {
    left: 100%;
}

.sidebar-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar-btn.logout-btn:hover {
    background-color: var(--danger-color);
    color: white;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

.sidebar-mobile-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1060;
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
}

.sidebar-mobile-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Adjust main content when sidebar is open */
.main-container.sidebar-open {
    /* Dark theme - no additional styles needed */
}

.dat-table tbody td.small{
    max-width: 100px;
    word-wrap: break-word;
    overflow: auto;
    max-height: 50px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-section {
        padding: 2rem 0;
    }
    
    .content-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
        border-radius: 15px;
    }    
    
    .sidebar-mobile-toggle {
        display: block;
    }
    
    .sidebar {
        width: 280px;
        left: -280px;
    }
    
    .main-container.sidebar-open {
        margin-left: 0;
    }
    
    .navbar {
        padding-left: 70px;
    }
}

@media (min-width: 1200px) {
    .sidebar {
        position: relative;
        height: auto;
        min-height: calc(100vh - 76px);
    }
    
    .sidebar-mobile-toggle {
        display: none;
    }
    
    .sidebar-overlay {
        display: none;
    }    
}

/* Animations for category expansion */
.category-buttons {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sidebar-category.collapsed .category-buttons {
    max-height: 0;
}

.category-label {
    cursor: pointer;
    position: relative;
}

.category-label::after {
    content: '\F282';
    font-family: 'bootstrap-icons';
    position: absolute;
    right: 1.5rem;
    transition: transform 0.3s ease;
}

.sidebar-category.collapsed .category-label::after {
    transform: rotate(-90deg);
}
