/* ========================= */
/* BRAND COLORS - CSF GUIDELINES */
/* ========================= */
:root {
    /* Primary Brand Colors */
    --csf-blue: #2b2c56;           /* Primary Blue - PANTONE 2758 C */
    --csf-blush: #e60065;          /* Primary Blush/Pink - PANTONE 68-8 C */
    
    /* Secondary Brand Colors */
    --csf-lilac: #9d9bc6;          /* Secondary Lilac */
    --csf-purple: #42398e;         /* Secondary Purple */
    --csf-grey: #4a4a49;           /* Secondary Grey - 85% black */
    
    /* Derived Colors for UI */
    --csf-blue-light: #3d4e78;    /* Lighter blue for gradients */
    --csf-blue-dark: #1e1f3a;     /* Darker blue for depth */
    --csf-blush-light: #ff1177;   /* Lighter blush for hovers */
    --csf-blush-dark: #c5005a;    /* Darker blush for active states */
}

/* ========================= */
/* GLOBAL RESET & LAYOUT */
/* ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf4 100%);
    min-height: 100vh;
    line-height: 1.6;
    color: var(--csf-grey);
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    padding: 2rem 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--csf-blush);
}

/* ========================= */
/* LOGIN CONTAINER */
/* ========================= */
.login-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.login-container .card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(43, 44, 86, 0.15);
    overflow: hidden;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.login-container .card-body {
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
}

.login-container .card-title {
    color: var(--csf-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.login-container .text-muted {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--csf-grey);
}

.login-container .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px 18px;
    font-size: 16px;
    transition: all 0.3s ease;
    min-height: 55px;
}

.login-container .form-control:focus {
    border-color: var(--csf-blush);
    box-shadow: 0 0 0 0.2rem rgba(230, 0, 101, 0.25);
}

.login-container .form-label {
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 0.5rem;
    color: var(--csf-blue);
}

.login-container .btn-primary {
    background-color: var(--csf-blush);
    border-color: var(--csf-blush);
    padding: 15px 25px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 18px;
    min-height: 55px;
}

.login-container .btn-primary:hover {
    background-color: var(--csf-blush-dark);
    border-color: var(--csf-blush-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 0, 101, 0.3);
}

.login-container .mb-3 {
    margin-bottom: 25px;
}

.login-container .alert {
    padding: 15px;
    font-size: 15px;
    border-radius: 8px;
}

/* Responsive adjustments for login */
@media (max-width: 768px) {
    .login-container .card {
        margin: 20px;
        max-width: none;
    }
    
    .login-container .card-body {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .login-container .card-body {
        padding: 30px 20px;
    }
    
    .login-container .card-title {
        font-size: 1.5rem;
    }
}

/* ========================= */
/* DASHBOARD STYLES */
/* ========================= */
.welcome-section {
    background: linear-gradient(135deg, var(--csf-blue) 0%, var(--csf-blue-light) 50%, var(--csf-blush) 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 20px 60px rgba(43, 44, 86, 0.15);
    position: relative;
    overflow: hidden;
    text-align:center;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.welcome-section h1 {
    font-weight: 300;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.welcome-section .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.welcome-section p {
    margin-bottom: 0.5rem;
    opacity: 0.85;
}

.dashboard-top-box {
    min-height: 340px;
    height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center !important;
}

.dashboard-top-box h2,
.dashboard-top-box p,
.dashboard-top-box .lead,
.dashboard-top-box .customer-name,
.dashboard-top-box .customer-address-line,
.dashboard-top-box .customer-branch {
    text-align: center !important;
    width: 100%;
}

.customer-name {
    font-size: 1.55rem;
    line-height: 1.35;
}

.customer-address-line {
    font-size: 1.28rem;
    line-height: 1.35;
}

.customer-branch {
    font-size: 1.05rem;
    opacity: 0.95;
}

.account-balance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.balance-item {
    background: rgba(14, 23, 64, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    min-height: 62px;
    text-align: center;
}

.balance-label {
    font-size: 0.86rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    margin-right: 0.15rem;
}

.balance-value {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.balance-item-total {
    background: rgba(255, 0, 127, 0.2);
}

.balance-due-box {
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(14, 23, 64, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.balance-due-label {
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.balance-due-days {
    font-size: 1.02rem;
    font-weight: 700;
}

.balance-due-amount {
    font-size: 0.95rem;
    opacity: 0.95;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(43, 44, 86, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(43, 44, 86, 0.15);
}

.dashboard-card .card-header {
    background: linear-gradient(135deg, var(--csf-blue) 0%, var(--csf-blue-light) 100%);
    border: none;
    border-radius: 15px 15px 0 0 !important;
    padding: 1.5rem;
    color: white;
}

.dashboard-card.border-danger .card-header {
    background: linear-gradient(135deg, var(--csf-blush) 0%, var(--csf-blush-light) 100%);
}

.dashboard-card .card-body {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
}

/* ========================= */
/* HEADER */
/* ========================= */
.csf-header {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(43, 44, 86, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.csf-header-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 2rem;
    max-width: none;
    margin: 0;
    width: 100%;
}

/* Logo styles - aligned to far left */
.csf-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 0;
}

.csf-logo img {
    height: 132px;
    width: auto;
    transition: transform 0.3s ease;
}

.csf-logo:hover img {
    transform: scale(1.02);
}

/* Header right section - push to far right */
.csf-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: auto;
    flex: 1;
    justify-content: flex-end;
}

.csf-contact {
    font-size: 12px;
    color: var(--csf-grey);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    text-align: right;
}

.csf-contact a {
    color: var(--csf-blush);
    text-decoration: none;
    font-weight: 500;
}

.csf-contact a:hover {
    color: var(--csf-blush-light);
    text-decoration: underline;
}

/* ========================= */
/* NAVIGATION STYLES */
/* ========================= */
.csf-nav {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.csf-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.csf-nav a {
    color: var(--csf-grey);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.4rem 0.8rem;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.csf-nav a:hover,
.csf-nav a.active {
    background-color: var(--csf-blush);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(230, 0, 101, 0.3);
}

.btn-contact {
    background: var(--csf-blush) !important;
    border: none;
    color: white !important;
    padding: 0.4rem 1rem !important;
    border-radius: 3px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-contact:hover {
    background: var(--csf-blush-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(230, 0, 101, 0.4);
}

/* User Section - align to right */
.user-section {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    justify-content: flex-end;
    position: relative;
}

.user-info {
    color: var(--csf-grey);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 3px;
}

.user-info:hover {
    color: #fff;
    background-color: var(--csf-blush);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(230, 0, 101, 0.3);
}

.logout-link {
    color: var(--csf-grey);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.4rem 0.8rem;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.logout-link:hover {
    background-color: var(--csf-blush);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(230, 0, 101, 0.3);
}

/* ========================= */
/* MOBILE NAVIGATION */
/* ========================= */
.csf-mobile-nav {
    display: none;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    display: flex;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--csf-grey);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--csf-blue);
    min-width: 280px;
    box-shadow: 0 5px 20px rgba(43, 44, 86, 0.3);
    border-radius: 0 0 10px 10px;
    list-style: none;
    padding: 1rem 0;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu li {
    margin: 0;
}

.mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-menu a:hover {
    background-color: rgba(230, 0, 101, 0.1);
    border-left-color: var(--csf-blush);
    padding-left: 2rem;
}

.mobile-submenu-header {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--csf-blush);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-submenu-items {
    list-style: none;
    padding-left: 1rem;
}

.mobile-submenu-items a {
    padding-left: 2.5rem;
    font-size: 14px;
    color: var(--csf-lilac);
}

.user-mobile {
    padding: 1rem 1.5rem;
    color: var(--csf-lilac);
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-mobile {
    color: var(--csf-blush) !important;
    font-weight: 600;
}

/* ========================= */
/* HERO SECTION */
/* ========================= */
.hero-section {
    background: linear-gradient(135deg, var(--csf-blue) 0%, var(--csf-blue-light) 100%), 
                url('/images/hero-bg.jpg') center/cover;
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: shimmer 4s infinite;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* ========================= */
/* MARKETING SECTION */
/* ========================= */
.marketing-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.8);
}

.marketing-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(43, 44, 86, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.marketing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(43, 44, 86, 0.15);
}

.marketing-card-header {
    background: linear-gradient(135deg, var(--csf-blue) 0%, var(--csf-blue-light) 100%);
    color: white;
    padding: 1rem;
    text-align: center;
}

.marketing-card-header.bargain-deals {
    background: linear-gradient(135deg, var(--csf-blush) 0%, var(--csf-blush-light) 100%);
}

.marketing-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.marketing-card-body {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Full marketing image display for dashboard */
.marketing-image {
    height: 300px; /* Increased height for full preview display */
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.full-marketing-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Show entire image */
    object-position: center;
    background: white;
    transition: transform 0.3s ease;
}

.marketing-card:hover .full-marketing-image {
    transform: scale(1.02);
}

.placeholder-marketing-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--csf-grey);
    position: relative;
    width: 100%;
    height: 100%;
}

.csf-logo-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--csf-blush);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
}

.marketing-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.marketing-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--csf-blue);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.marketing-description {
    color: var(--csf-grey);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.marketing-card-footer {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.btn-marketing-primary {
    background: var(--csf-blush);
    border: none;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-marketing-primary:hover {
    background: var(--csf-blush-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 0, 101, 0.3);
    color: white;
}

/* Responsive adjustments for marketing cards */
@media (max-width: 992px) {
    .marketing-image {
        height: 250px;
    }
    
    .marketing-section {
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
    .marketing-image {
        height: 200px;
    }
    
    .marketing-section {
        padding: 1.5rem 0;
    }
    
    .marketing-content {
        padding: 1rem;
    }
    
    .marketing-card-footer {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .marketing-image {
        height: 180px;
    }
    
    .marketing-subtitle {
        font-size: 1rem;
    }
    
    .marketing-description {
        font-size: 0.85rem;
    }
}

/* ========================= */
/* SUPPLIERS SECTION */
/* ========================= */
.suppliers-section {
    padding: 3rem 0;
    background: white;
    text-align: center;
}

.suppliers-section h2 {
    color: var(--csf-blue);
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.suppliers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.supplier-logo {
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.supplier-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* ========================= */
/* FOOTER STYLES */
/* ========================= */
.csf-footer {
    background: linear-gradient(135deg, var(--csf-blue) 0%, var(--csf-blue-light) 100%);
    color: #fff;
    margin-top: auto;
}

.footer-content {
    padding: 3rem 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-sections {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p,
.footer-section li {
    color: var(--csf-lilac);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: var(--csf-blush);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--csf-blush-light);
    text-decoration: underline;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--csf-lilac);
    font-size: 0.9rem;
}

.footer-separator {
    height: 3px;
    background: linear-gradient(45deg, var(--csf-blush), var(--csf-blush-light));
    margin: 0;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 2rem;
    text-align: center;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-address {
    color: var(--csf-lilac);
    font-size: 0.8rem;
}

.footer-copyright {
    color: var(--csf-lilac);
    font-size: 0.8rem;
    margin: 0;
}

.footer-powered-by {
    color: #888;
    font-size: 0.75rem;
}

.footer-powered-by a {
    color: var(--csf-blush);
    text-decoration: none;
}

/* ========================= */
/* ADMIN PAGES STYLES */
/* ========================= */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

.table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: rgba(43, 44, 86, 0.02);
}

.table-hover > tbody > tr:hover > td {
    background-color: rgba(230, 0, 101, 0.05);
}

.btn-group-sm > .btn, .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

.badge {
    font-size: 0.75em;
    font-weight: 500;
    padding: 0.4em 0.6em;
}

.badge.bg-primary {
    background: linear-gradient(135deg, var(--csf-blue) 0%, var(--csf-blue-light) 100%) !important;
}

.badge.bg-danger {
    background: linear-gradient(135deg, var(--csf-blush) 0%, var(--csf-blush-light) 100%) !important;
}

.badge.bg-success {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%) !important;
}

.badge.bg-secondary {
    background: linear-gradient(135deg, var(--csf-grey) 0%, #6c757d 100%) !important;
}

/* Card improvements */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(43, 44, 86, 0.1);
    border-radius: 10px;
}

.card-header {
    border-bottom: none;
    border-radius: 10px 10px 0 0 !important;
    padding: 1rem 1.25rem;
    font-weight: 600;
}

.table-container .card-header h5,
.table-container .card-header .form-check-label,
.table-container .card-header .btn-sm {
    font-size: 1.05rem;
    font-weight: 700;
}

/* Form improvements */
.form-control:focus {
    border-color: var(--csf-blush);
    box-shadow: 0 0 0 0.2rem rgba(230, 0, 101, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--csf-blue);
    margin-bottom: 0.5rem;
}

/* Button improvements */
.btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: var(--csf-blush);
    border-color: var(--csf-blush);
}

.btn-primary:hover {
    background-color: var(--csf-blush-dark);
    border-color: var(--csf-blush-dark);
}

.btn-secondary {
    background-color: var(--csf-grey);
    border-color: var(--csf-grey);
}

.btn-outline-secondary {
    color: var(--csf-grey);
    border-color: var(--csf-grey);
}

.btn-outline-secondary:hover {
    background-color: var(--csf-grey);
    border-color: var(--csf-grey);
    color: #fff;
}

/* Alert improvements */
.alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alert-info {
    background: linear-gradient(135deg, rgba(66, 57, 142, 0.1) 0%, rgba(66, 57, 142, 0.05) 100%);
    color: var(--csf-purple);
    border-left: 4px solid var(--csf-purple);
}

.alert-success {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(25, 135, 84, 0.05) 100%);
    color: #0a5d2a;
    border-left: 4px solid #198754;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(230, 0, 101, 0.1) 0%, rgba(230, 0, 101, 0.05) 100%);
    color: var(--csf-blush-dark);
    border-left: 4px solid var(--csf-blush);
}

/* File input styling */
.form-control[type="file"] {
    padding: 0.75rem;
    border: 2px dashed #e9ecef;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.form-control[type="file"]:hover {
    border-color: var(--csf-blush);
    background: rgba(230, 0, 101, 0.05);
}

.form-control[type="file"]:focus {
    border-color: var(--csf-blush);
    border-style: solid;
    box-shadow: 0 0 0 0.2rem rgba(230, 0, 101, 0.25);
}

/* Upload modal improvements */
.modal-content {
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(43, 44, 86, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, var(--csf-blue) 0%, var(--csf-blue-light) 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 2rem;
}

/* Form text improvements */
.form-text {
    font-size: 0.85rem;
    color: var(--csf-grey);
    margin-top: 0.5rem;
}

.form-text strong {
    color: var(--csf-blue);
}

.form-text .text-muted {
    color: var(--csf-grey) !important;
}

/* Validation styling */
.text-danger {
    color: var(--csf-blush) !important;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.is-invalid {
    border-color: var(--csf-blush);
}

.is-invalid:focus {
    border-color: var(--csf-blush);
    box-shadow: 0 0 0 0.2rem rgba(230, 0, 101, 0.25);
}

/* Preview image styling */
.preview-thumbnail {
    max-width: 100%;
    max-height: 60px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(43, 44, 86, 0.1);
    transition: transform 0.2s ease;
}

.preview-thumbnail:hover {
    transform: scale(1.1);
}

/* ========================= */
/* PAGE CONTAINERS */
/* ========================= */
.container,
.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ========================= */
/* RESPONSIVE DESIGN */
/* ========================= */
@media (max-width: 992px) {
    .csf-header-inner {
        padding: 0 1rem;
        justify-content: space-between;
    }

    .csf-nav {
        display: none;
    }

    .csf-mobile-nav {
        display: block;
        position: relative;
    }

    .csf-contact {
        font-size: 11px;
    }

    .csf-logo img {
        height: 100px;
    }

    .csf-header-right {
        margin-left: auto;
        flex: 0;
    }

    .footer-sections {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .marketing-section {
        padding: 2rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .csf-header-inner {
        justify-content: space-between;
        gap: 0.5rem;
        align-items: center;
        padding: 0.5rem 1rem;
    }

    .csf-header-right {
        align-items: flex-end;
        margin-left: auto;
    }

    .csf-logo img {
        height: 80px;
    }

    .csf-contact {
        font-size: 10px;
        text-align: right;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .marketing-section {
        padding: 1.5rem 0;
    }

    .suppliers-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 1rem;
    }

    .supplier-logo {
        height: 40px;
    }

    .login-container {
        padding: 1rem;
    }

    .login-container .card {
        margin: 20px;
        max-width: none;
    }

    .login-container .card-body {
        padding: 40px 30px;
    }

    .welcome-section {
        padding: 1.5rem;
        text-align: center;
    }

    .welcome-section h1 {
        font-size: 2rem;
    }

    .mobile-menu {
        min-width: 100vw;
        right: -1rem;
    }

    .page-header {
        padding: 1rem;
        text-align: center;
    }

    .container,
    .container-fluid {
        padding: 0 0.5rem;
    }
}

@media (max-width: 576px) {
    .csf-logo img {
        height: 70px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .marketing-title {
        font-size: 0.9rem;
    }

    .marketing-subtitle {
        font-size: 1rem;
    }

    .footer-content {
        padding: 2rem 1rem;
    }

    .login-container .card-body {
        padding: 30px 20px;
    }
    
    .login-container .card-title {
        font-size: 1.5rem;
    }

    .csf-contact {
        display: none;
    }
}

@media (max-width: 480px) {
    .login-container .card-body {
        padding: 30px 20px;
    }
    
    .login-container .card-title {
        font-size: 1.5rem;
    }

    .csf-logo img {
        height: 60px;
    }
}

/* ========================= */
/* PRODUCTS PAGE STYLES */
/* ========================= */

/* Products Hero Section */
.products-hero-section {
    background: linear-gradient(135deg, var(--csf-blue) 0%, var(--csf-blue-light) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.products-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: shimmer 4s infinite;
}

.products-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: white;
}

/* Products Grid Section */
.products-grid-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Product Category Cards */
.product-category-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(43, 44, 86, 0.1);
    cursor: pointer;
}

.product-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(43, 44, 86, 0.2);
}

/* Product Image Container */
.product-image-container {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.3s ease;
}

.product-category-card:hover .product-image {
    transform: scale(1.05);
}

/* Product Title Container */
.product-title-container {
    background: white;
    padding: 1rem;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--csf-blue);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Products Actions Section */
.products-actions-section {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive Design for Products */
@media (max-width: 992px) {
    .products-hero-title {
        font-size: 2.5rem;
    }
    
    .products-grid-section {
        padding: 3rem 0;
    }
    
    .product-image-container {
        height: 180px;
    }
    
    .product-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .products-hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .products-hero-section {
        padding: 2rem 0;
    }
    
    .products-grid-section {
        padding: 2rem 0;
    }
    
    .product-image-container {
        height: 160px;
    }
    
    .product-title {
        font-size: 0.8rem;
    }
    
    .product-title-container {
        padding: 0.75rem;
    }
}

@media (max-width: 576px) {
    .products-hero-title {
        font-size: 1.75rem;
    }
    
    .product-image-container {
        height: 140px;
    }
    
    .product-image {
        padding: 15px;
    }
    
    .product-title {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

/* Fallback styles for missing images */
.product-image[src*="jpg"]:not([src]) {
    background: linear-gradient(135deg, var(--csf-lilac) 0%, var(--csf-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* ========================= */
/* SUPPLIERS PAGE STYLES */
/* ========================= */

/* Suppliers Hero Section */
.suppliers-hero-section {
    background: linear-gradient(135deg, var(--csf-blue) 0%, var(--csf-blue-light) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.suppliers-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: shimmer 4s infinite;
}

.suppliers-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: white;
}

.suppliers-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Suppliers Content Section */
.suppliers-content-section {
    padding: 4rem 0 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.suppliers-info-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(43, 44, 86, 0.1);
    overflow: hidden;
}

.suppliers-info-card .card-body {
    padding: 3rem;
}

/* Suppliers Logos Section */
.suppliers-logos-section {
    padding: 2rem 0 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.suppliers-logos-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(43, 44, 86, 0.1);
    padding: 3rem;
    min-height: 400px;
}

/* Suppliers Logos Grid */
.suppliers-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    align-items: stretch;
    padding: 0;
}

/* Supplier logo cards styled closer to main website */
.supplier-logo {
    width: 100%;
    height: 92px;
    object-fit: contain;
    display: block;
    background: #fff;
    border: 1px solid #e6e9f2;
    border-radius: 8px;
    padding: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.supplier-logo:hover {
    transform: translateY(-2px);
    border-color: #cdd4ea;
    box-shadow: 0 6px 16px rgba(33, 44, 86, 0.12);
}

/* Suppliers Actions Section */
.suppliers-actions-section {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive Design for Suppliers */
@media (max-width: 992px) {
    .suppliers-hero-title {
        font-size: 2.5rem;
    }
    
    .suppliers-content-section {
        padding: 3rem 0 1.5rem 0;
    }
    
    .suppliers-logos-section {
        padding: 1.5rem 0 3rem 0;
    }
    
    .suppliers-info-card .card-body {
        padding: 2rem;
    }
    
    .suppliers-logos-container {
        padding: 2rem;
    }
    
    .suppliers-logos-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.9rem;
    }

    .supplier-logo {
        height: 86px;
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .suppliers-hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .suppliers-hero-section {
        padding: 2rem 0;
    }
    
    .suppliers-content-section {
        padding: 2rem 0 1rem 0;
    }
    
    .suppliers-logos-section {
        padding: 1rem 0 2rem 0;
    }
    
    .suppliers-info-card .card-body {
        padding: 1.5rem;
    }
    
    .suppliers-logos-container {
        padding: 1.5rem;
    }
    
    .suppliers-logos-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.75rem;
    }

    .supplier-logo {
        height: 76px;
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .suppliers-hero-title {
        font-size: 1.75rem;
    }
    
    .suppliers-hero-subtitle {
        font-size: 1rem;
    }
    
    .suppliers-logos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .supplier-logo {
        height: 68px;
        padding: 8px;
    }
}

/* Force suppliers page logo formatting (high-specificity override) */
.suppliers-logos-section .suppliers-logos-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
    gap: 12px !important;
    align-items: stretch !important;
}

.suppliers-logos-section .suppliers-logos-grid .supplier-logo {
    width: 100% !important;
    height: 96px !important;
    object-fit: contain !important;
    display: block !important;
    background: #ffffff !important;
    border: 1px solid #e4e8f2 !important;
    border-radius: 8px !important;
    padding: 12px !important;
    box-shadow: 0 1px 4px rgba(33, 44, 86, 0.06) !important;
    filter: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

.suppliers-logos-section .suppliers-logos-grid .supplier-logo:hover {
    transform: translateY(-2px) !important;
    border-color: #c8d1e9 !important;
    box-shadow: 0 8px 18px rgba(33, 44, 86, 0.14) !important;
}

@media (max-width: 768px) {
    .suppliers-logos-section .suppliers-logos-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
        gap: 9px !important;
    }

    .suppliers-logos-section .suppliers-logos-grid .supplier-logo {
        height: 78px !important;
        padding: 9px !important;
    }
}

@media (max-width: 576px) {
    .suppliers-logos-section .suppliers-logos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .suppliers-logos-section .suppliers-logos-grid .supplier-logo {
        height: 70px !important;
        padding: 8px !important;
    }
}

/* ========================= */
/* MARKETING MANAGEMENT PREVIEW STYLES */
/* ========================= */

/* Full Preview Container */
.preview-container {
    position: relative;
    width: 280px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(43, 44, 86, 0.15);
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.preview-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 44, 86, 0.25);
}

/* Full Preview Image */
.full-preview-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: white;
    transition: transform 0.3s ease;
}

.preview-container:hover .full-preview-image {
    transform: scale(1.02);
}

/* Preview Overlay */
.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(43, 44, 86, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-container:hover .preview-overlay {
    opacity: 1;
}

/* Preview Placeholder */
.preview-placeholder {
    width: 280px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
}

/* MARKETING MANAGEMENT TABLE PREVIEW STYLES */
/* ========================= */

/* Marketing Management Table Adjustments */
.table td {
    vertical-align: middle;
    padding: 1rem 0.75rem;
}

.table th {
    background: linear-gradient(135deg, var(--csf-blue) 0%, var(--csf-blue-light) 100%);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: none;
    padding: 1rem 0.75rem;
}

/* Simple preview thumbnail for management table */
.preview-thumbnail {
    max-width: 80px;
    max-height: 60px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(43, 44, 86, 0.1);
    transition: transform 0.2s ease;
}

.preview-thumbnail:hover {
    transform: scale(1.1);
}

/* Action buttons styling */
.btn-group-sm .btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Badge improvements */
.badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.4em 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ========================= */
/* CUSTOMER DETAILS STYLING */
/* ========================= */

.customer-details-section {
    margin-bottom: 3rem;
}

.customer-info-card,
.customer-financial-card,
.customer-address-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(43, 44, 86, 0.1);
    overflow: hidden;
    border: 1px solid #e9ecef;
    height: 100%;
}

.customer-info-card .card-header,
.customer-financial-card .card-header,
.customer-address-card .card-header {
    background: linear-gradient(135deg, var(--csf-blue) 0%, var(--csf-blue-light) 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
}

.customer-info-card .card-body,
.customer-financial-card .card-body,
.customer-address-card .card-body {
    padding: 1.5rem;
}

.customer-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.customer-detail-item:last-child {
    border-bottom: none;
}

.customer-detail-item label {
    font-weight: 600;
    color: var(--csf-blue);
    margin-bottom: 0;
    min-width: 140px;
}

.customer-detail-item span {
    color: var(--csf-grey);
    text-align: right;
    flex: 1;
}

.customer-detail-item a {
    color: var(--csf-blush);
    text-decoration: none;
}

.customer-detail-item a:hover {
    color: var(--csf-blush-dark);
    text-decoration: underline;
}

/* Account Balance Display */
.account-balance-display {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.account-balance-display label {
    font-size: 0.9rem;
    color: var(--csf-grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.balance-amount.positive {
    color: #198754;
}

.balance-amount.negative {
    color: var(--csf-blush);
}

.credit-limit {
    font-weight: 600;
    color: var(--csf-purple);
}

/* Customer Details Badges */
.customer-detail-item .badge {
    font-size: 0.75rem;
    padding: 0.4em 0.8em;
}

/* ========================= */
/* ACCOUNT BALANCE CARD */
/* ========================= */

.account-balance-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(43, 44, 86, 0.1);
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.account-balance-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(43, 44, 86, 0.15);
}

.balance-header {
    background: linear-gradient(135deg, var(--csf-blue) 0%, var(--csf-blue-light) 100%);
    color: white;
    padding: 1rem 1.5rem;
    text-align: center;
}

.balance-header h5 {
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-display {
    padding: 2rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    display: block;
}

.balance-amount.positive {
    color: #198754;
}

.balance-amount.negative {
    color: var(--csf-blush);
}

.loading-balance {
    color: var(--csf-grey);
    font-size: 1.1rem;
}

.loading-balance .fa-spinner {
    color: var(--csf-blue);
}

.balance-footer {
    padding: 1rem 1.5rem;
    background: white;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.balance-footer small {
    font-size: 0.8rem;
    color: var(--csf-grey);
}

/* Responsive Account Balance */
@media (max-width: 768px) {
    .balance-amount {
        font-size: 2rem;
    }
    
    .balance-display {
        padding: 1.5rem;
    }
    
    .balance-header,
    .balance-footer {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 576px) {
    .balance-amount {
        font-size: 1.75rem;
    }

    .balance-header h5 {
        font-size: 1rem;
    }
}

/* ========================= */
/* USER DROPDOWN MENU */
/* ========================= */
