/* ===========================================
   MASTER.CSS - SINGLE CSS FILE, NO BOOTSTRAP
   Theme: Black/Red/Yellow/White
   Mobile-first, responsive
=========================================== */

/* ===== 1. CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #212529;
    background: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== 2. COLOR VARIABLES ===== */
:root {
    --black: #000000;
    --red: #dc3545;
    --yellow: #fbe200;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
}

/* ===== 3. LOGIN PAGE SPECIFIC ===== */
body.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--black) 0%, var(--red) 100%);
    padding: 20px;
    position: relative;
}

/* Add subtle yellow accent to background */
body.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--red), var(--yellow));
    z-index: 1;
}

.login-container {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 2;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

/* Yellow top border */
.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--yellow);
    z-index: 1;
}

.login-header {
    background: linear-gradient(135deg, var(--black) 0%, var(--red) 100%);
    color: var(--white);
    text-align: center;
    padding: 40px 30px 30px;
    position: relative;
    overflow: hidden;
}

/* Yellow shimmer effect in header */
.login-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(251, 226, 0, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.login-logo {
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 1;
}

.login-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

.login-header p {
    opacity: 0.9;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.login-body {
    padding: 40px 30px;
}

/* ===== 4. FORM ELEMENTS ===== */
.form-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-label i {
    margin-right: 10px;
    color: var(--red); /* Red icons */
}

.form-control {
    width: 100%;
    padding: 16px 18px;
    font-size: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: var(--white);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15);
}

/* Yellow focus effect on form fields */
.form-control:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 4px rgba(251, 226, 0, 0.2);
}

.form-control-lg {
    padding: 18px 20px;
    font-size: 1.1rem;
}

/* ===== 5. INPUT GROUP ===== */
.input-group {
    display: flex;
    width: 100%;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    flex: 1;
}

.input-group button {
    background: var(--light-gray);
    border: 2px solid #e9ecef;
    border-left: none;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 0 20px;
    cursor: pointer;
    color: var(--medium-gray);
    transition: all 0.3s ease;
}

.input-group button:hover {
    background: var(--yellow); /* Yellow on hover */
    color: var(--black);
    border-color: var(--yellow);
}

/* ===== 6. BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-primary:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

.btn-lg {
    padding: 18px 28px;
    font-size: 1.1rem;
}

.btn-outline-secondary {
    background: transparent;
    border: 2px solid #e9ecef;
    color: var(--medium-gray);
}

.btn-outline-secondary:hover {
    background: var(--yellow); /* Yellow on hover */
    color: var(--black);
    border-color: var(--yellow);
}

/* ===== 7. GRID & FLEX UTILITIES ===== */
.d-grid {
    display: grid;
}

.gap-2 {
    gap: 16px;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-4 { margin-bottom: 24px !important; }
.me-2 { margin-right: 8px !important; }

.text-pt-primary {
    color: var(--red) !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

/* ===== 8. ALERT ===== */
.alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    border-left: 4px solid;
    background: #fff5f5;
    color: var(--red);
    border-color: var(--red);
    display: flex;
    align-items: center;
}

.alert i {
    margin-right: 10px;
    color: var(--yellow); /* Yellow warning icon */
}

/* ===== 9. RESPONSIVE LOGIN ===== */
@media (max-width: 480px) {
    .login-card {
        border-radius: 12px;
    }
    
    .login-header {
        padding: 30px 20px 25px;
    }
    
    .login-body {
        padding: 30px 20px;
    }
    
    .login-header h3 {
        font-size: 1.5rem;
    }
    
    .login-logo {
        height: 60px;
    }
    
    .form-control-lg {
        padding: 16px 18px;
    }
    
    .btn-lg {
        padding: 16px 24px;
    }
}

/* ===== 10. FADE IN ANIMATION ===== */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 11. CUSTOM UTILITY CLASSES ===== */
.text-yellow {
    color: var(--yellow) !important;
}

.bg-yellow {
    background-color: var(--yellow) !important;
}

.border-yellow {
    border-color: var(--yellow) !important;
}
/* ===== DASHBOARD STYLES ===== */

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
.col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
.col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
    padding: 0 10px;
    box-sizing: border-box;
}

.col-12 { width: 100%; }
.col-6 { width: 50%; }
.col-lg-3 { width: 25%; }
.col-lg-4 { width: 33.333%; }
.col-lg-6 { width: 50%; }
.col-lg-8 { width: 66.666%; }
.col-lg-12 { width: 100%; }

@media (max-width: 768px) {
    .col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8 {
        width: 100%;
    }
}

/* Dashboard Cards */
.card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    margin-bottom: 24px;
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, var(--black) 0%, var(--red) 100%);
    color: var(--white);
    padding: 20px;
    border-bottom: 2px solid var(--yellow);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.card-title i {
    margin-right: 10px;
    color: var(--yellow);
}

.card-body {
    padding: 24px;
}

/* Stats Boxes (small-box) */
.small-box {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    position: relative;
    transition: transform 0.3s ease;
}

.small-box:hover {
    transform: translateY(-5px);
}

.small-box .inner {
    padding: 24px;
    color: var(--white);
}

.small-box h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 8px 0;
}

.small-box p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

.small-box .icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.2;
}

.small-box-footer {
    background: rgba(0, 0, 0, 0.1);
    padding: 12px 24px;
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.small-box-footer:hover {
    background: rgba(0, 0, 0, 0.2);
    color: var(--white);
    text-decoration: none;
}

/* Color variants for stats boxes */
.bg-info { background: linear-gradient(135deg, #17a2b8 0%, #138496 100%); }
.bg-success { background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%); }
.bg-warning { background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%); }
.bg-danger { background: linear-gradient(135deg, var(--red) 0%, #c82333 100%); }
.bg-primary { background: linear-gradient(135deg, #007bff 0%, #0069d9 100%); }

/* Job Cards Info Boxes */
.info-box {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 16px;
}

.info-box-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-right: 16px;
}

.info-box-content {
    flex: 1;
}

.info-box-text {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.info-box-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--black);
    display: block;
}

/* List Groups */
.list-group {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-group-item {
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.list-group-item:hover {
    background: #f8f9fa;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-flush .list-group-item {
    border-left: none;
    border-right: none;
}

/* Badges */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.bg-warning { background: #ffc107; color: #212529; }
.bg-secondary { background: #6c757d; color: white; }
.bg-info { background: #17a2b8; color: white; }
.bg-success { background: #28a745; color: white; }
.bg-primary { background: #007bff; color: white; }

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.table thead th {
    background: var(--yellow);
    color: var(--black);
    padding: 16px;
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.table tbody td {
    padding: 16px;
    border-bottom: 1px solid #e9ecef;
}

.table tbody tr:hover {
    background: #f8f9fa;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table-responsive {
    overflow-x: auto;
}

/* Alert */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    border-left: 4px solid;
}

.alert-warning {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.alert i {
    margin-right: 12px;
    font-size: 1.25rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
}

.btn-primary:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

.btn-warning {
    background: var(--yellow);
    color: var(--black);
}

.btn-warning:hover {
    background: #e6c700;
}

/* Grid utilities */
.d-grid {
    display: grid;
}

.gap-2 {
    gap: 16px;
}

.ms-1 { margin-left: 4px; }
.ms-2 { margin-left: 8px; }
.me-1 { margin-right: 4px; }
.me-2 { margin-right: 8px; }
.text-center { text-align: center; }
.text-muted { color: #6c757d !important; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 16px;
    }
    
    .small-box h3 {
        font-size: 2rem;
    }
    
    .small-box .icon {
        font-size: 2.5rem;
    }
    
    .info-box {
        padding: 16px;
    }
    
    .info-box-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .info-box-number {
        font-size: 1.5rem;
    }
    
    .table thead th,
    .table tbody td {
        padding: 12px;
    }
}
/* ===== ADMINLTE-STYLE NAVBAR ===== */

.adminlte-navbar {
    background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
    border-bottom: 2px solid var(--red);
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.4rem;
}

.brand-logo {
    height: 35px;
    filter: brightness(1.2);
}

.brand-text {
    background: linear-gradient(90deg, var(--white), var(--yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--yellow);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background: rgba(251, 226, 0, 0.1);
    border-color: var(--yellow);
}

.navbar-right {
    display: flex;
    align-items: center;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--yellow);
    background: rgba(220, 53, 69, 0.1);
}

.nav-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.nav-label {
    display: inline-block;
}

/* User Menu */
.user-menu .nav-link {
    padding: 5px 12px;
    gap: 10px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--yellow);
    object-fit: cover;
}

.user-name {
    font-weight: 600;
    color: var(--white);
}

/* Dropdowns */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--black);
    border: 1px solid var(--red);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    display: none;
    z-index: 1001;
    margin-top: 5px;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    color: var(--white);
    padding: 10px 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--red);
    color: var(--white);
}

.dropdown-divider {
    border-top: 1px solid var(--red);
    margin: 8px 0;
}

.text-danger {
    color: var(--red) !important;
}

/* Wrapper for content */
.wrapper {
    margin-top: 60px; /* Navbar height */
    min-height: calc(100vh - 60px);
}

.content-wrapper {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-label {
        display: none;
    }
    
    .nav-link {
        padding: 10px;
    }
    
    .user-name {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar-right {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--black);
        border-top: 1px solid var(--red);
        padding: 10px;
        display: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .navbar-right.show {
        display: block;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 15px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .dropdown-menu {
        position: static;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
    }
    
    .content-wrapper {
        padding: 15px;
    }
}
/* ===== QUICK QUOTE SPECIFIC STYLES ===== */

.quickquote-main {
    padding: 20px;
}

.quickquote-container {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

.quickquote-header {
    background: linear-gradient(135deg, var(--black) 0%, var(--red) 100%);
    color: var(--white);
    padding: 25px 20px;
    margin: -20px -20px 25px -20px;
    position: relative;
    overflow: hidden;
}

.quickquote-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--yellow);
}

.quickquote-title {
    color: var(--white); 
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quickquote-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 5px 0 0 0;
}

.quickquote-section {
    color: var(--red);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--yellow);
    display: flex;
    align-items: center;
    gap: 10px;
}

.quickquote-form-label {
    font-weight: 600;
    color: var(--black);
    font-size: 0.9rem;
    margin-bottom: 6px;
    display: block;
}

.quickquote-required::after {
    content: " *";
    color: var(--red);
}

.parts-table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.autocomplete-container {
    position: relative;
}

.autocomplete-suggestions { 
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 200px; 
    overflow-y: auto; 
    background: var(--white);
    position: absolute;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    bottom: 100%;
    margin-bottom: 5px;
    display: none;
}

.autocomplete-suggestion { 
    padding: 12px 15px; 
    cursor: pointer; 
    border-bottom: 1px solid #f8f9fa;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.autocomplete-suggestion:hover { 
    background-color: #f8f9fa; 
}

.autocomplete-selected { 
    background-color: #e3f2fd; 
}

.total-display {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid var(--red);
}

.action-buttons {
    position: sticky;
    bottom: 0;
    background: var(--white);
    padding: 15px 0;
    border-top: 1px solid #e9ecef;
    margin: 20px -20px -20px -20px;
}

/* Mobile optimizations for quick quote */
@media (max-width: 768px) {
    .quickquote-main {
        padding: 10px;
    }
    
    .quickquote-container {
        border-radius: 10px;
    }
    
    .quickquote-header {
        padding: 20px 15px;
        margin: -15px -15px 20px -15px;
    }
    
    .quickquote-title {
        font-size: 1.3rem;
    }
    
    .btn-group-mobile {
        display: flex;
        gap: 8px;
    }
    
    .btn-group-mobile .btn {
        flex: 1;
    }
    
    .autocomplete-suggestions {
        width: calc(100% - 20px);
        left: 10px;
    }
}

@media (max-width: 576px) {
    .quickquote-header {
        text-align: center;
    }
    
    .quickquote-section {
        font-size: 1rem;
    }
}

/* Loading states */
.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Update the Quick Quote container styles */

.quickquote-container {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
    
    /* ADD THIS: Internal padding so content doesn't touch edges */
    padding: 20px; /* This creates space inside the container */
}

/* If you have specific inner containers that also need spacing */
.quickquote-main .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* Mobile card inside quick quote */
.quickquote-main .mobile-card {
    background: var(--white);
    border-radius: 10px;
    padding: 20px; /* Ensure cards also have internal padding */
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}
/* ===== FIX: SHOW NAV LABELS ON MOBILE ===== */
@media (max-width: 992px) {

    /* FORCE labels to appear */
    .nav-label {
        display: inline !important;
        color: var(--yellow) !important;
        font-weight: 700;
        font-size: 0.95rem;
        letter-spacing: 0.03em;
        margin-left: 10px;
        white-space: nowrap;
    }

    /* Improve nav row layout */
    .nav-link {
        justify-content: flex-start;
        gap: 12px;
    }

    /* Icon styling */
    .nav-link i {
        color: var(--yellow);
        font-size: 1.1rem;
        min-width: 22px;
        text-align: center;
    }

    /* Active item */
    .nav-link.active {
        background: rgba(251, 226, 0, 0.15);
    }

    .nav-link.active .nav-label {
        color: #ffffff !important;
    }
}
