﻿
:root {
    --primary-color: #9333ea;
    --secondary-color: #4f46e5;
    --accent-color: #a855f7;
    --light-color: #f8f9fa;
    --text-dark: #333;
    --text-light: #fff;
    --border-radius: 10px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: "Poppins", sans-serif;
 
    background-color: #fff;
    overflow-y: scroll !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
    font-size: 14px;
}

/* Header Styles */
.header-section {
    background: linear-gradient(135deg, #005496 0%, #002F52 100%);
    color: white;
    padding: 6px;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
}

.welcome-text {
    font-size: 14px;
    margin: 0;
    text-align: right;
    cursor: pointer;
    color:white!important;
    padding:1px;
}

/* Navigation Styles */
.nav-bar {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding: 13px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #4b5563;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 5px;
    padding-right:8px; 
    padding-left:8px;
}

    .nav-link:hover {
        background: #f3f4f6;
        color: #00345c;
    }



.nav-link.has-submenu::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
}

.submenu {
    position: absolute;
    top: 100%;
    right:0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-link {
    display: block;
    padding: 0.55rem 0.55rem;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

    .submenu-link:hover {
        background: #f9fafb;
        color: #667eea;
    }

/* Mobile Navigation Toggle */
.mobile-menu-trigger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #4b5563;
    cursor: pointer;
}

/* Mobile Panel Styles */
.mobile-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width:100%;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1050;
    transition: right 0.3s ease;
    overflow-y: auto;
}

    .mobile-panel.active {
        right: 0;
    }

.panel-header {
    background: linear-gradient(135deg, #005496 0%, #002F52 100%);
    color: white;
    padding:10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.panel-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.panel-body {
    padding: 0;
}

.panel-item {
    border-bottom: 1px solid #e9ecef;
}

.panel-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.3s;
}

    .panel-link:hover {
        background: #f8f9fa;
        color: #005496;
    }

    .panel-link.current {
        background: #e9ecef;
        color: #005496;
        font-weight: 600;
    }

/* Panel Dropdown Styles */
.panel-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 0.75rem 1rem;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.3s;
    font-size:14px;
}

    .panel-toggle:after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        transition: transform 0.3s;
    }

    .panel-toggle.expanded:after {
        transform: rotate(180deg);
    }

.panel-submenu {
    background: #f8f9fa;
    border-radius: 0;
    border: none;
    padding: 0;
}

.panel-option {
    padding: 0.75rem 1.5rem;
    color: #4b5563;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s;
}

    .panel-option:hover {
        background: #e9ecef;
        color: #005496;
    }

    .panel-option:last-child {
        border-bottom: none;
    }

/* Backdrop for mobile panel */
.panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .panel-overlay.visible {
        opacity: 1;
        visibility: visible;
    }

/* Footer Styles */
.footer {
    background: #1f2937 !important;
    color: white;
    padding: 1.5rem 0;
}

.footer-content {
    text-align: center;
}

.footer-text {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.copyright {
    color: var(--light);
    background-color: #002F52;
}

    .copyright a {
        color: #DFE4FD;
    }

        .copyright a:hover {
            color: #DFE4FD;
        }

a {
    color: white;
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-menu-trigger {
        display: block;
    }

    .nav-container {
        justify-content: space-between;
    }

    .company-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .header-section .mx-5,
    .nav-bar .mx-3,
    .copyright .mx-5 {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }

    .company-name {
        font-size: 1.3rem;
    }

    .welcome-text {
        font-size: 14px;
    }


:root {
    --primary: #355EFC;
    --secondary: #E93C05;
    --tertiary: #555555;
    --light: #DFE4FD;
    --dark: #011A41;
}

.sales-count {
    color: #fff;
    font-weight: unset !important;
    background: #02aca3;
    padding: 6px 24px;
    font-family: 'ITC-AVANT-GARDE-GOTHIC-STD-DEMI-589572A199962';
    letter-spacing: 1px;
    font-size: 17px;
}

.Brand-Bg {
    display: flex;
    flex-direction: row;
    text-align: center;
    background: #e7f5f5;
    border-bottom-left-radius: 2px;
}

#tableGetdata th {
    text-align: center;
}

/*#tableGetdata tr:nth-child(even) {
    background-color: #f2f2f2;
}*/

#tableGetdata tr:nth-child(add) {
    background-color: #f2f2f2;
}

#tableGetdata {
    counter-reset: serial-number; /* Set the serial number counter to 0 */
}

    #tableGetdata td:first-child:before {
        counter-increment: serial-number; /* Increment the serial number counter */
        content: counter(serial-number); /* Display the counter */
        text-align: center;
    }

