@import url(./../fonts/font.css);

/* Modern Dashboard White Theme */
:root {
    --primary-color: #1a73e8;
    --primary-hover: #1557b0;
    --primary-light: #e8f0fe;
    --secondary-color: #34a853;
    --secondary-light: #e6f4ea;
    --danger-color: #ea4335;
    --danger-light: #fce8e6;
    --warning-color: #fbbc04;
    --warning-light: #fef7e0;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --surface: #ffffff;
    --surface-hover: #f8f9fa;
    --text-primary: #000000;
    --text-secondary: #242424;
    --text-muted: #9aa0a6;
    --border-color: #dadce0;
    --border-light: #e8eaed;
    --shadow-sm: 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
    --shadow-md: 0 2px 6px 2px rgba(60,64,67,.15), 0 1px 2px 0 rgba(60,64,67,.3);
    --shadow-lg: 0 4px 8px 3px rgba(60,64,67,.15), 0 1px 3px 0 rgba(60,64,67,.3);
}

.bgColorBlack{ 
    background-color: var(--bg-primary) !important; 
    box-shadow: var(--shadow-sm);
}
.dashboardNavigation,
.loginNavigation {
    border-bottom: 1px solid var(--border-color);
    height: 72px;
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1000;
}

.dashboardNavigation .navbar-header {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.dashboardNavigation .navbar-brand {
    border-radius: 12px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    height: 48px;
    width: 48px;
    padding: 6px;
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dashboardNavigation .navbar-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dashboardNavigation .navbar-brand img, 
.loginNavigation .navbar-brand img {
    max-height: 32px;
    max-width: 32px;
    object-fit: contain;
}

.dashboardNavigation .navbar-nav {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0; 
    min-height: 71px;
}

.dashboardNavigation .navbar-nav li {
    display: flex;
    align-items: center;
    height: 100%;
}

.dashboardNavigation .navbar-nav li a {
    color: var(--text-primary) !important;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px !important;
    border-radius: 8px;
    margin: 0 4px;
    display: flex;
    align-items: center;
    height: 36px;
}

.dashboardNavigation .navbar-nav li a:hover {
    color: var(--primary-color) !important;
    background-color: var(--primary-light);
    transform: translateY(-1px);
}

.dashboardNavigation .navbar-nav li a i {
    color: var(--text-primary) !important;
    margin-right: 6px;
    font-size: 14px;
}

.dashboardNavigation .navbar-nav li a:hover i {
    color: var(--primary-color) !important;
}

/* Profile Dropdown Menu */
.profile-dropdown {
    position: relative;
    margin-left: 12px;
    height: 100%;
    display: flex;
    align-items: center;
}

.profile-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: transparent;
    border: 1px solid transparent;
    height: 40px;
}

.profile-dropdown .dropdown-toggle:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.15);
}

.profile-dropdown .dropdown-toggle i.fa-user-circle {
    font-size: 22px;
    color: var(--primary-color);
}

.profile-dropdown .dropdown-toggle .profile-text {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.profile-dropdown .dropdown-toggle .dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
    margin-left: 4px;
    color: var(--text-muted);
}

.profile-dropdown.open .dropdown-toggle .dropdown-arrow {
    transform: rotate(180deg);
}

.profile-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    margin-top: 8px;
    list-style: none;
    z-index: 1000;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s, transform 0.2s;
}

.profile-dropdown.open .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.profile-dropdown .dropdown-menu li {
    margin: 0;
    padding: 0;
}

.profile-dropdown .dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-primary) !important;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 14px;
}

.profile-dropdown .dropdown-menu li a:hover {
    background-color: var(--surface-hover);
    color: var(--primary-color) !important;
}

.profile-dropdown .dropdown-menu li a i {
    width: 18px;
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
}

.profile-dropdown .dropdown-menu li a:hover i {
    color: var(--primary-color);
}

.profile-dropdown .dropdown-menu li.divider {
    height: 1px;
    margin: 8px 0;
    background-color: var(--border-light);
    padding: 0;
}

.profile-dropdown .dropdown-menu li.divider:hover {
    background-color: var(--border-light);
}

/* Override any other header text colors */
.dashboardNavigation,
.dashboardNavigation * {
    color: var(--text-primary) !important;
}

.dashboardNavigation .navbar-nav,
.dashboardNavigation .navbar-nav li,
.dashboardNavigation .navbar-nav li a {
    color: var(--text-primary) !important;
}

.dashboardNavigation .navbar-main-collapse {
    display: flex;
    align-items: center;
    height: 100%;
    padding-right: 20px;
}

/* Footer Section Styles */
.footerSection {
    background-color: var(--bg-primary) !important;
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 0;
    margin-top: 0;
}

.footerSection .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footerSection p {
    color: var(--text-secondary);
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.6;
}

.footerSection a {
    color: var(--text-secondary) !important;
    text-decoration: none;
    transition: color 0.2s;
}

.footerSection a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

.footerSection .row {
    margin: 0;
}

.footerSection .col-md-12,
.footerSection .col-lg-12 {
    padding: 0;
    text-align: center;
}

/* Footer for login page */
.loginPageSection + .footerSection,
body.loginPageSection .footerSection {
    background-color: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(10px);
}

/* Footer for dashboard */
.dashboardPageSection + .footerSection,
body.dashboardPageSection .footerSection {
    background-color: var(--bg-primary) !important;
}

/* Hide contact info and Privacy Policy in dashboard footer */
.dashboardPageSection .footerSection .footerText,
.dashboardPageSection .footerSection p:first-of-type {
    display: none !important;
}

.loginPageSection {
    position: relative;
    background: url(../img/bg.png) center top;
    z-index: 1;
    padding-top: 120px;
    padding-bottom: 60px;
}

.loginPage {
    height: calc(100vh - 211px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loginPage .login-header {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 36px;
    color: white;
}

.loginForm {
    list-style: none;
    margin: 0;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 50px;
}

.loginForm li {
    list-style: none;
    margin-bottom: 32px;
}

.loginForm li input,
.loginForm li textarea {
    border: 0 solid #999;
    height: 50px;
    padding: 3px 5px;
    width: 100%;
    border-radius: 4px;
}

.loginForm li button {
    padding: 6px 20px;
    border: none;
    cursor: pointer;
    /* margin-left: 157px; */
    border-radius: 4px;
    height: 44px;
}

.loginForm li button,
.loginForm li input,
.loginForm li textarea {
    background: url(../img/bg.png) center top;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}

.loginForm li:last-child {
    display: flex;
    justify-content: right;
    align-items: center;
    margin-bottom: 0px;
    text-align: right;
}
.loginForm li:last-child button[type="submit"] {color: #fff;}
.loginForm li:last-child button[type="reset"] { color: rgb(213, 188, 188);}
.loginForm li input::-ms-input-placeholder,
.loginForm li textarea::-ms-input-placeholder {color: #fff}
.loginForm li input::placeholder,
.loginForm li textarea::placeholder {color: #fff}

.dashboardPageSection{ 
    position: relative;
    background: var(--bg-secondary);
    z-index: 1; 
    padding-bottom: 0px;
    min-height: 100vh;
}

.dashboardPage {
    height: calc(100vh - 128px);
}

.dashboardPage .dashboardContainer{ 
    padding: 0px;
    border-radius: 0px; 
    display: flex; 
    justify-content: space-between; 
    align-items: start; 
    
}
.dashboardPage  .dashboardContentSectionContainer{
    padding: 24px; 
    overflow: auto;
    max-height: calc(100vh - 128px);
}

.dashboardPage .container { 
    padding: 0px; 
    width: calc(100% - 0px);
    max-width: 100%; 
    background: transparent;
}

.dashboardPage .container .row { 
    padding: 0px; 
    margin: 0px;
}

.leftMenuSection{
    position: relative; 
    width: 100%; 
    max-width: 250px; 
    list-style: none;
    padding: 0px;
    margin: 0px; 
    background-color: var(--surface); 
    height: calc(100vh - 128px); 
    border-right: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.leftMenuSection li{
    cursor: pointer; 
    color: var(--text-secondary);
    font-weight: 500; 
    font-size: 16px; 
    border-bottom: 1px solid var(--border-light); 
    padding: 16px; 
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.leftMenuSection li i {
    font-size: 18px;
    width: 20px;
    text-align: center;
    color: var(--text-muted);
    opacity: 0.7;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.leftMenuSection li span {
    flex: 1;
}

.leftMenuSection li.activeMenu,
.leftMenuSection li:hover{
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.leftMenuSection li.activeMenu i,
.leftMenuSection li:hover i {
    color: var(--primary-color);
    opacity: 1;
}

.leftMenuSection li:last-child{
    border-bottom: none;
    position: absolute;
    bottom: 0;
    width: 100%; 
}

.leftMenuSection li.last{
    position: absolute;
    bottom: 0;
    width: 100%; 
    border-top: 1px solid var(--border-color); 
}

.leftMenuSection li a{
    color: var(--text-secondary);
    font-weight: 500;
    text-decoration: none;  
    display: flex; 
    align-items: center; 
    justify-content: flex-start;
    transition: color 0.2s;
    gap: 12px;
    width: 100%;
}

.leftMenuSection li a i {
    font-size: 18px;
    width: 20px;
    text-align: center;
    color: var(--text-muted);
    opacity: 0.7;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.leftMenuSection li a span {
    flex: 1;
}

.leftMenuSection li:hover a,
.leftMenuSection li.activeMenu a {
    color: var(--primary-color);
}

.leftMenuSection li:hover a i,
.leftMenuSection li.activeMenu a i {
    color: var(--primary-color);
    opacity: 1;
}

.dashboardContentSection{ 
    max-width: calc(100% - 250px); 
    width: 100%; 
    padding: 0px; 
    color: var(--text-primary); 
    min-height: calc(100vh - 128px);
    background: rgba(0, 0, 0, 0.5);
}

.dashboardNavOverlay{ 
    display: none;
}

.dashboardNavOverlay #dashboardNavOverlay {
    color: var(--text-primary) !important;
}

.dashboardNavOverlay #dashboardNavOverlayIcon {
    color: var(--text-primary) !important;
}

/* Dashboard Page Title in Header */
.dashboardPageTitle {
    position: absolute;
    left: 255px;
    transform: translateX(-50%);
    top: 0;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.dashboardPageTitle h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.2px;
    padding: 0 20px;
    white-space: nowrap;
}

.ordersContainer{ 
    margin-top: 0px; 
}

.ordersContainer h2{ 
    font-size: 28px; 
    font-weight: 600; 
    margin-bottom: 24px; 
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.customTableWrapper{ 
    overflow-x: auto; 
    border-radius: 12px; 
    overflow: hidden; 
    background-color: var(--surface);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.customTableWrapper .customTable{
    border: 0px; 
    width: 100%; 
    border-collapse: collapse; 
    background-color: var(--surface); 
    border-radius: 12px; 
}

.customTableWrapper .customTable thead tr:last-child,
.customTableWrapper .customTable tr { 
    border-bottom: 1px solid var(--border-light); 
}

.customTableWrapper .customTable tr:last-child{ 
    border-bottom: 0px; 
}

.customTableWrapper .customTable th, 
.customTableWrapper .customTable td { 
    text-align: left; 
    padding: 12px 20px; 
}
.customTableWrapper .customTable td{padding: 8px 20px;}

.customTableWrapper .customTable th {
    overflow: hidden; 
    white-space: nowrap; 
    text-overflow: ellipsis; 
    background-color: var(--bg-tertiary); 
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.customTableWrapper .customTable .actionButtons{ display: flex; align-items: center; gap: 4px;justify-content: space-between; }
.customTableWrapper .customTable td{overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.customTableWrapper .customTable td button,
.customTableWrapper .customTable td .viewOrderButton{ 
    border: 1px solid var(--primary-color); 
    background-color: transparent; 
    color: var(--primary-color); 
    text-decoration: none; 
    font-weight: 500; 
    border-radius: 6px; 
    padding: 4px 12px; 
    width: auto; 
    min-width: 70px; 
    font-size: 13px; 
    text-align: center; 
    cursor: pointer;
    transition: all 0.2s ease;
}

.customTableWrapper .customTable td button:hover,
.customTableWrapper .customTable td .viewOrderButton:hover {
    background-color: var(--primary-color);
    color: var(--primary-light);
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
    transform: translateY(-1px);
}
.customTableWrapper .customTable td .moreIcon{padding-left: 16px; font-size: 24px; }
.customTableWrapper .customTable td {
    color: var(--text-primary);
}

.customTableWrapper .customTable td:first-child { 
    font-weight: 600; 
    max-width: 60px; 
    color: var(--primary-color);
}

.customTableWrapper .customTable td.received,
.customTableWrapper .customTable td.delivered,
.customTableWrapper .customTable td.delivery,
.customTableWrapper .customTable td.confirmed,
.customTableWrapper .customTable td.invoiced,
.customTableWrapper .customTable td.refunded { 
    color: #34a853 !important; 
    font-weight: 500; 
    text-transform: capitalize; 
}

.customTableWrapper .customTable td.returned,
.customTableWrapper .customTable td.cancelled { 
    color: #ea4335 !important; 
    font-weight: 500; 
    text-transform: capitalize; 
}

.customTableWrapper .customTable td.processing,
.customTableWrapper .customTable td.pending,
.customTableWrapper .customTable td.shipped,
.customTableWrapper .customTable td.inprogress,
.customTableWrapper .customTable td.in-progress,
.customTableWrapper .customTable td.out-for-delivery,
.customTableWrapper .customTable td.packed,
.customTableWrapper .customTable td.outfordelivery { 
    color: var(--warning-color) !important; 
    font-weight: 500; 
    text-transform: capitalize; 
}

/* Default style for unmatched status values (e.g., N/A) */
.customTableWrapper .customTable td[class*="n/a"],
.customTableWrapper .customTable td.na,
.customTableWrapper .customTable td.n-a {
    color: var(--text-muted); 
    font-weight: 500; 
    text-transform: uppercase; 
    font-size: 12px;
}

.customTableWrapper .customTable tbody tr:hover { 
    background-color: var(--surface-hover); 
}    

.customTableWrapper .customTable tfoot tr{
    background-color: var(--bg-tertiary); 
}

.customTableWrapper .customTable tfoot tr td{
    font-weight: 500; 
    color: var(--text-secondary);
}

.customTableWrapper .customTable tfoot tr:last-child{
    border-top: 1px solid var(--border-color);
}

.customTableWrapper .customTable td .price,
.customTableWrapper .customTable td .hasId{
    color: var(--text-muted); 
    margin-right: 2px;
}

.customTableWrapper .customTable tbody {  display: block; height: 68vh; overflow: auto; width: 100%; }
.customTableWrapper .customTable.orderItemsTable tbody{ height: 60vh; overflow: auto; width: 100%; }
.customTableWrapper .customTable tbody td { font-size: 14px; }
.customTableWrapper .customTable tfoot,
.customTableWrapper .customTable thead,
.customTableWrapper .customTable tfoot tr,
.customTableWrapper .customTable tbody tr { display: table; width: 100%; table-layout: fixed; }

.orderDetailsHeading{
    font-size: 18px;
    background-color: var(--surface); 
    border-bottom: 1px solid var(--border-color); 
    border-top-left-radius: 12px; 
    border-top-right-radius: 12px; 
    padding: 20px 24px; 
    color: var(--text-primary); 
    list-style: none; 
    margin: 0px; 
    display: flex; 
    gap: 24px; 
    align-items: center; 
    justify-content: space-between; 
    box-shadow: var(--shadow-sm);
}

.orderDetailsHeading li{ 
    font-size: 16px; 
    font-weight: 500; 
    color: var(--text-primary);
}

.orderDetailsHeading li .invoiced,
.orderDetailsHeading li .delivered,
.orderDetailsHeading li .confirmed,
.orderDetailsHeading li .received { 
    color: #34a853; 
    font-weight: 500; 
    text-transform: capitalize;
}

.orderDetailsHeading li .returned,
.orderDetailsHeading li .cancelled { 
    color: #ea4335; 
    font-weight: 500; 
    text-transform: capitalize;
}

.orderDetailsHeading li .processing,
.orderDetailsHeading li .packed,
.orderDetailsHeading li .delivery,
.orderDetailsHeading li .shipped,
.orderDetailsHeading li .inprogress { 
    color: #fbbc04; 
    font-weight: 500; 
    text-transform: capitalize;
}







.customTitle{ 
    font-size: 28px; 
    font-weight: 600; 
    margin-bottom: 16px; 
    color: #ffffff !important;
    letter-spacing: -0.5px;
    display: none; /* Hide page titles as they're now in header */
}

.profileDetails{ 
    font-size: 18px; 
    background-color: var(--surface); 
    border-radius: 12px; 
    padding: 24px; 
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

/* Profile Edit Form Styles */
.profileWrapper {
    width: 100%;
    animation: fadeInUp 0.5s ease-out;
}

.profileContainer {
    max-width: 100%;
    margin: 0 auto;
}

.profileHeader {
    text-align: center;
    margin-bottom: 32px;
}

.profileIconWrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
    animation: scaleIn 0.5s ease-out;
}

.profileIconWrapper i {
    font-size: 28px;
    color: #ffffff;
}

.profileDescription {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 8px;
    line-height: 1.6;
}

.profileFormContainer {
    background-color: var(--surface);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.6s ease-out 0.2s both;
    min-height: 79vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.formRow {
    gap: 20px;
    margin-bottom: 10px;
    justify-content: space-between;
    width: 100%; 
    gap: 16px;
    display: flex;
}
.profileForm{width: 100%;}
.profileForm .profileFormStatus{ width: 100%;}
.profileForm .formGroup {
    margin-bottom: 20px;
    width: 100%;
    
}

.profileForm .formLabel {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
}

.profileForm .formLabel i {
    color: var(--primary-color);
    font-size: 14px; 
    width: 18px;
    text-align: center;
}

.profileForm .formInput {
    width: 100%; 
    padding: 10px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.profileForm .formInput:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
    transform: translateY(-1px);
}

.profileForm .formInput::placeholder {
    color: var(--text-muted);
}

.profileForm .formActions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    justify-content: flex-end;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

/* Responsive Profile Form */
@media (max-width: 767px) {
    .profileContainer {
        max-width: 100%;
        padding: 0 8px;
    }
    .profileFormContainer {
        padding: 16px;
    }
    
    .profileHeader {
        margin-bottom: 24px;
    }
    
    .profileIconWrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .profileIconWrapper i {
        font-size: 24px;
    }
    
    .profileForm {
        padding: 16px 0px;
    }
    
    .formRow {
        gap: 0px;
        margin-bottom: 0px;
        flex-direction: column;
    }
    
    .profileForm .formActions {
        flex-direction: column;
        margin-top: 24px;
        padding-top: 20px;
    }
    
    .profileForm .btnPrimary,
    .profileForm .btnSecondary {
    width: 100%; 
        justify-content: center;
    }
}


.orderDetailsContent .orderDetailsBody { 
    font-size: 18px;
    color: var(--text-primary);
} 
.orderDetailsContent .orderDetailsBody .customTableWrapper{border-top-left-radius: 0px; border-top-right-radius: 0px; }

/* Enhanced Change Password Form Styles - Compact Design */
.resetPasswordWrapper {
    width: 100%;
    animation: fadeInUp 0.5s ease-out;
}

.resetPasswordContainer {
    max-width: 100%;
    margin: 0 auto;
}

.passwordHeader {
    text-align: center;
    margin-bottom: 24px;
}

.passwordIconWrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
    animation: scaleIn 0.5s ease-out;
}

.passwordIconWrapper i {
    font-size: 28px;
    color: #ffffff;
}

.resetPasswordDescription {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 0;
    line-height: 1.5;
}

.changePasswordForm {
    background-color: var(--surface);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.formGroup {
    margin-bottom: 20px;
    position: relative;
}

.formLabel {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
}

.formLabel i {
    color: var(--primary-color);
    font-size: 14px; 
    width: 18px;
    text-align: center;
}

.inputWrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.formInput {
    width: 100%; 
    padding: 10px 42px 10px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.formInput:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
    transform: translateY(-1px);
}

.formInput::placeholder {
    color: var(--text-muted);
}

.togglePassword {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.togglePassword:hover {
    color: var(--primary-color);
    background-color: var(--surface-hover);
}

.togglePassword i {
    font-size: 14px;
}

/* Password Strength Indicator */
.passwordStrength {
    margin-top: 8px;
}

.strengthBar {
    width: 100%;
    height: 3px;
    background-color: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}

.strengthFill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strengthFill.weak {
    background-color: var(--danger-color);
}

.strengthFill.fair {
    background-color: var(--warning-color);
}

.strengthFill.good {
    background-color: #fbbc04;
}

.strengthFill.strong {
    background-color: var(--secondary-color);
}

.strengthText {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.strengthText.weak {
    color: var(--danger-color);
}

.strengthText.fair {
    color: var(--warning-color);
}

.strengthText.good {
    color: #fbbc04; 
}

.strengthText.strong {
    color: var(--secondary-color);
}

/* Password Requirements */
.passwordRequirements {
    margin-top: 12px;
    padding: 12px;
    background-color: var(--bg-secondary);
    border-radius: 6px;
    border: 1px solid var(--border-light);
}

.requirementItem {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.requirementItem:last-child {
    margin-bottom: 0;
}

.requirementItem i {
    font-size: 10px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.requirementItem.met {
    color: var(--secondary-color);
}

.requirementItem.met i {
    color: var(--secondary-color);
}

/* Password Match Indicator */
.passwordMatchIndicator {
    display: none;
        align-items: center; 
    gap: 6px;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500; 
    animation: slideDown 0.3s ease-out;
}

.passwordMatchIndicator.success {
    background-color: var(--secondary-light);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.passwordMatchIndicator.error {
    background-color: var(--danger-light);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.passwordMatchIndicator i {
    font-size: 12px;
}

.formActions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.btnPrimary,
.btnSecondary {
    padding: 10px 20px;
    border: none;
    border-radius: 8px; 
    font-size: 14px;
        font-weight: 600; 
        cursor: pointer; 
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 140px;
    justify-content: center;
}

.btnPrimary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
}

.btnPrimary:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #0f4a8a 100%);
    box-shadow: 0 6px 16px rgba(26, 115, 232, 0.5);
    transform: translateY(-2px);
}

.btnPrimary:active:not(:disabled) {
    transform: translateY(0);
}

.btnPrimary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.btnPrimary.enabled {
    opacity: 1;
    animation: pulse 2s infinite;
}

.btnSecondary {
    background-color: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
}

.btnSecondary:hover {
    background-color: var(--surface-hover);
    border-color: var(--border-color);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.btnPrimary i,
.btnSecondary i {
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
    }
    50% {
        box-shadow: 0 4px 16px rgba(26, 115, 232, 0.6);
    }
}

/* Dashboard Overview Styles */
.dashboardOverview {
    width: 100%;
    animation: fadeInUp 0.5s ease-out;
}

.dashboardOverviewContainer {
    width: 100%;
}

.statsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.statCard {
    background-color: var(--surface);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
        display: flex; 
        align-items: center; 
    gap: 16px;
    transition: all 0.3s ease;
        cursor: pointer; 
}

.statCard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.statCardIcon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.statCardIcon i {
    font-size: 24px; 
    color: #ffffff;
}

.statCardContent {
    flex: 1;
    min-width: 0;
}

.statCardLabel {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.statCardValue {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.2;
}

.statCardChange {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.statCardChange.positive {
    color: var(--secondary-color);
}

.statCardChange i {
    font-size: 10px;
}

/* Pulse animation for loaders */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Status Breakdown */
.statusBreakdown {
    background-color: var(--surface);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.sectionTitle {
    font-size: 18px;
    font-weight: 600; 
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.statusGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    gap: 16px;
}

.statusCard {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid var(--border-light);
}

.statusCardHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px; 
}

.statusBadge {
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
    padding: 4px 8px;
    border-radius: 4px;
}

.statusCount {
    font-size: 18px; 
    font-weight: 700;
    color: var(--text-primary);
}

.statusCardBar {
        width: 100%;
    height: 4px;
    background-color: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
}

.statusCardFill {
    height: 100%;
    transition: width 0.5s ease;
    border-radius: 2px;
}

.statusCardFill.completed,
.statusCardFill.delivered,
.statusCardFill.confirmed,
.statusCardFill.refunded {
    background-color: #34a853;
}

.statusCardFill.returned,
.statusCardFill.cancelled {
    background-color: #ea4335;
}

.statusCardFill.processing,
.statusCardFill.pending,
.statusCardFill.delivery,
.statusCardFill.shipped,
.statusCardFill.inprogress {
    background-color: #fbbc04;
}

.statusBadge.completed,
.statusBadge.delivered,
.statusBadge.invoiced,
.statusBadge.confirmed,
.statusBadge.refunded {
    color: #34a853;;
    background-color: #dcf8e4;
   
}

.statusBadge.unknown,
.statusBadge.returned,
.statusBadge.cancelled {
    color: #ea4335;
    background-color: var(--danger-light);
}

.statusBadge.processing,
.statusBadge.pending,
.statusBadge.delivery,
.statusBadge.shipped,
.statusBadge.packed,
.statusBadge.received,
.statusBadge.inprogress {
    color: #fbbc04;
    background-color: var(--warning-light);
}

/* Quick Actions */
.quickActions {
    background-color: var(--surface);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.actionsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.actionButton {
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px; 
    padding: 16px; 
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
        flex-direction: column; 
    align-items: center;
    gap: 8px;
    text-align: center;
}

.actionButton i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.actionButton span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.actionButton:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.actionButton:hover i {
    color: var(--primary-color);
}

@media (max-width: 767px) {
    .navbar-toggle{ position: fixed; right: 0px;}
    .dashboardNavigation.bgColorBlack{background-color: #000000 !important;}
    .dashboardNavigation .navbar-main-collapse{display: none; padding-right: 0px !important; align-items: flex-start;}
    .dashboardNavigation .navbar-main-collapse.in{display: flex !important;}
    .dashboardNavBar{padding: 0px 0px; background: white; box-shadow: var(--shadow-sm); }
    .dashboardNavBar .navbar-nav{ padding: 0px !important; flex-direction: column;
        height: auto;
        width: 100%;
        text-align: left;
        align-items: flex-start;}
    .dashboardNavBar .navbar-custom ul.nav li a{ border-bottom: 0px  !important;  margin: 0px !important; font-size: 14px;}
    .dashboardNavigation .navbar-nav li{border-bottom: 1px solid var(--border-color) !important;}
    .dashboardNavigation .navbar-nav li a{border-bottom: 0px !important; padding: 10px 10px !important; margin: 0px !important; font-size: 14px;}
    .dashboardNavigation .navbar-nav,
    .dashboardNavigation .navbar-nav li{
            color: var(--text-primary) !important;
            padding: 5px 0px !important;
            flex-direction: column;
        height: auto;
        width: 100%;
        text-align: left;
        align-items: flex-start;
        }
    .customTitle {display: none;}
    .navbar-collapse{z-index: 9999;}
    
    /* Dashboard Page Title Mobile */
    .dashboardPageTitle {
        left: 0;
        transform: none;
        padding-left: 70px;
        width: calc(100% - 70px);
        justify-content: flex-start;
    }
    
    .dashboardPageTitle h2 {
        font-size: 18px;
        display: none;
    }
    .loginNavigation .navbar-brand img,
    .dashboardNavigation .navbar-brand img { height: 53px; width: auto;}
    .dashboardNavOverlay {
        padding: 16px; 
        border-bottom: 1px solid var(--border-color); 
        background-color: var(--surface); 
        display: flex; 
        align-items: center; 
        justify-content: space-between; 
        margin: 0px; 
        width: 100%;  
        position: absolute; 
        top: 68px;  
        left: 0px; 
        color: var(--text-primary); 
        font-size: 18px; 
        font-weight: 600; 
        cursor: pointer; 
        z-index: 1001;
        box-shadow: var(--shadow-sm);
        border-top: 1px solid #ddd;
    }
    .footerText{display: none;}
    .dashboardNavOverlay i{ 
        font-size: 32px;
        color: var(--text-secondary);
    }
    .loginPage { height: calc(100vh - 230px);}
    .loginPage .login-header {font-size: 24px;}
    .loginPage .container, .loginForm{padding: 16px; width: 100%;}
    .loginForm li { margin-bottom: 16px;}
    .loginForm li button { width: 45%;margin-left: 0;}
    .dashboardPage {height: calc(100vh - 160px);}
    .dashboardPage .dashboardContainer {flex-direction: column; position: relative; padding: 30px 0px 0px 0px;}
    .leftMenuSection { 
        z-index: 99;
        display: none; 
        background: var(--surface); 
        position: absolute; 
        top: 32px; 
        left: 0px;  
        max-width: 100%; 
        width: 100%; 
        height: auto; 
        border-right: none; 
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }
    
    .leftMenuSection.active {
        display: block;
    }
    
    .leftMenuSection li.last {
        position: static;
    }
    
    .leftMenuSection li.activeMenu {
        background-color: var(--primary-light);
        color: var(--primary-color);
    }
    .dashboardPage .dashboardContentSectionContainer {
        padding: 8px 4px;
        max-height: calc(100vh - 198px);
    }
    .dashboardContentSection { max-width: 100%; width: 100%; padding: 8px; min-height: calc(100vh - 187px);}
    .customTableWrapper .customTable tbody {height: 68vh; }
    .customTableWrapper .customTable th{font-size: 14px;padding: 10px 8px;}
    .customTableWrapper .customTable td{padding: 10px 8px; font-size: 12px;}
    .customTableWrapper .customTable.orderItemsTable tbody {height: auto; }
    .customTableWrapper .customTable.orderItemsTable tfoot tr{ display: flex; align-items: center; justify-content: space-between}
    .customTableWrapper .customTable.orderItemsTable tfoot tr td{ font-size: 14px; min-width: 50%;}
    .orderDetailsHeading{ padding: 10px;}
    .orderDetailsHeading li{ font-size: 16px; }
    .orderDetailsHeading li.orderId { display: none;}
    
    /* Change Password Form Responsive */
    .resetPasswordContainer {
        max-width: 100%; 
        padding: 0 8px;
    }
    
    .passwordHeader {
        margin-bottom: 16px;
    }
    
    .passwordIconWrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 8px;
    }
    
    .passwordIconWrapper i {
        font-size: 24px;
    }
    
    .resetPasswordDescription {
        font-size: 12px;
    }
    
    .changePasswordForm {
        padding: 20px 16px;
    }
    
    .formGroup {
        margin-bottom: 16px;
    }
    
    .formLabel {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .formInput {
        padding: 9px 38px 9px 10px;
        font-size: 13px;
    }
    
    .togglePassword {
        right: 6px;
        padding: 4px;
    }
    
    .togglePassword i {
        font-size: 12px;
    }
    
    .passwordStrength {
        margin-top: 6px;
    }
    
    .strengthBar {
        height: 2px;
        margin-bottom: 4px;
    }
    
    .strengthText {
        font-size: 10px;
    }
    
    .passwordRequirements {
        margin-top: 10px;
        padding: 10px;
    }
    
    .requirementItem {
        margin-bottom: 4px;
        font-size: 11px;
    }
    
    /* Profile Dropdown Mobile Styles */
    .profile-dropdown .dropdown-toggle .profile-text {
        display: none; 
    }
    
    .profile-dropdown .dropdown-toggle {
        padding: 8px 12px;
    }
    
    .profile-dropdown .dropdown-menu {
        right: 0;
        min-width: 180px;
    }
    
    .profile-dropdown .dropdown-menu li a {
        padding: 10px 16px;
        font-size: 13px;
        gap: 6px;
    }
    
    .requirementItem i {
        font-size: 9px;
    }
    
    .passwordMatchIndicator {
        margin-top: 6px;
        padding: 6px 8px;
        font-size: 11px;
    }
    
    .formActions {
        flex-direction: column; 
        margin-top: 20px;
        padding-top: 16px;
        gap: 8px;
    }
    
    .btnPrimary,
    .btnSecondary {
        width: 100%;
        justify-content: center;
        min-width: auto;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    /* Dashboard Overview Responsive */
    .statsGrid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .statCard {
        padding: 16px;
    }
    
    .statCardIcon {
        width: 48px;
        height: 48px;
    }
    
    .statCardIcon i {
        font-size: 20px;
    }
    
    .statCardValue {
        font-size: 24px;
    }
    
    .statusGrid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .statusBreakdown,
    .quickActions {
        padding: 16px;
    }
    
    .actionsGrid {
        grid-template-columns: 1fr;
    }
}

/* Logout Confirmation Modal */
.logoutModal {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.logoutModal[style*="display: block"] {
    display: flex !important;
}

.logoutModalOverlay {
        position: absolute; 
    top: 0;
    left: 0;
        width: 100%; 
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.logoutModalContent {
    position: relative;
    background-color: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    max-width: 480px;
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
    border: 1px solid var(--border-color);
    margin: auto;
    display: flex;
    flex-direction: column;
}

.logoutModalHeader {
    padding: 24px 24px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.logoutModalHeader i {
    font-size: 48px;
    color: var(--warning-color);
    margin-bottom: 12px;
        display: block;
    }
    
.logoutModalHeader h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.logoutModalBody {
    padding: 24px;
    text-align: center;
}

.logoutModalBody p {
    margin: 0;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.logoutModalFooter {
    padding: 20px 24px 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
    border-top: 1px solid var(--border-light);
}

.logoutModalFooter .btnPrimary {
    min-width: 140px;
    padding: 12px 24px;
    font-size: 15px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive for Modal */
@media (max-width: 767px) {
    .logoutModal {
        padding: 10px;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .logoutModalContent {
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - 20px);
        margin: 0;
        border-radius: 12px;
    }
    
    .logoutModalHeader {
        padding: 20px 16px 16px;
    }
    
    .logoutModalHeader i {
        font-size: 36px;
        margin-bottom: 10px;
    }
    
    .logoutModalHeader h3 {
        font-size: 18px;
    }
    
    .logoutModalBody {
        padding: 16px;
    }
    
    .logoutModalBody p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .logoutModalFooter {
        padding: 16px;
        flex-direction: column;
        gap: 10px;
    }
    
    .logoutModalFooter .btnPrimary {
        width: 100%;
        min-width: auto;
        padding: 14px 20px;
        font-size: 14px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .logoutModal {
        padding: 5px;
        padding-top: 15px;
    }
    
    .logoutModalContent {
        max-height: calc(100vh - 10px);
        border-radius: 10px;
    }
    
    .logoutModalHeader {
        padding: 16px 12px 12px;
    }
    
    .logoutModalHeader i {
        font-size: 32px;
        margin-bottom: 8px;
    }
    
    .logoutModalHeader h3 {
        font-size: 16px;
    }
    
    .logoutModalBody {
        padding: 12px;
    }
    
    .logoutModalBody p {
        font-size: 13px;
    }
    
    .logoutModalFooter {
        padding: 12px;
    }
}