/* ============================================
   KJP Transport & Recovery - Stylesheet
   Dark theme with blue accents
   ============================================ */

:root {
    /* Dark Mode Colors Only */
    --bg-primary: #3F3F3F;
    --bg-secondary: #2A2A2A;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: rgba(255, 255, 255, 0.1);
    --navbar-bg: #2A2A2A;
    --navbar-border: #0A3DFF;
    --card-bg: rgba(42, 42, 42, 0.8);
    --input-bg: #2A2A2A;
    --input-border: #444444;
    --accent-color: #0A3DFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   THEME TOGGLE
   ============================================ */

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 20px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    gap: 8px;
}

.theme-toggle:hover {
    background-color: rgba(10, 61, 255, 0.1);
    color: var(--accent-color);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

#notification-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notification {
    min-width: 300px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    animation-duration: 0.3s;
    pointer-events: auto;
    cursor: pointer;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.notification-show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    background: rgba(40, 167, 69, 0.9);
    color: #ffffff;
    border-left: 4px solid #28a745;
}

.notification-error {
    background: rgba(220, 53, 69, 0.9);
    color: #ffffff;
    border-left: 4px solid #dc3545;
}

.notification-warning {
    background: rgba(255, 193, 7, 0.9);
    color: #1a1a1a;
    border-left: 4px solid #ffc107;
}

.notification-info {
    background: rgba(10, 61, 255, 0.9);
    color: #ffffff;
    border-left: 4px solid #0A3DFF;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.notification-icon {
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    font-size: 14px;
}

@media (max-width: 768px) {
    #notification-container {
        right: 10px;
        left: 10px;
        top: 70px;
    }
    
    .notification {
        min-width: unset;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #3F3F3F;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background-color: var(--navbar-bg);
    border-bottom: 3px solid #0A3DFF;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    max-height: 50px;
    width: auto;
    display: block;
    /* render logo normally so its background color shows through */
    mix-blend-mode: normal;
    opacity: 1;
    transition: opacity 180ms ease, transform 180ms ease;
}

/* ensure the logo container background matches the navigation header */
.logo {
    background: transparent;
    padding: 0;
    border-radius: 0;
    gap: 8px;
    text-decoration: none;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #0A3DFF;
    letter-spacing: 1px;
}

.logo-subtext {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    position: relative;
    z-index: 1001;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    cursor: pointer;
    pointer-events: auto;
}

.nav-menu a:hover {
    color: #0A3DFF;
    background-color: rgba(10, 61, 255, 0.1);
}

.nav-menu a.active {
    color: #0A3DFF;
    background-color: rgba(10, 61, 255, 0.15);
    font-weight: 600;
}

.nav-menu button {
    cursor: pointer;
    pointer-events: auto;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav-link:hover {
    color: #0A3DFF;
    background-color: rgba(10, 61, 255, 0.1);
}

.nav-link.active {
    color: #0A3DFF;
    background-color: rgba(10, 61, 255, 0.15);
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    /* gradient overlay on top of the hero photo */
    background: linear-gradient(rgba(10,10,10,0.65), rgba(10,10,10,0.65)), url('hero-photo.png') center/cover no-repeat;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    border-bottom: 3px solid #0A3DFF;
    color: #ffffff;
    background-size: cover;
    position: relative;
}

.hero-with-image {
    background: linear-gradient(rgba(10,10,10,0.65), rgba(10,10,10,0.65)), url('hero-photo.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(10,10,10,0.65), rgba(10,10,10,0.65));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    padding: 20px;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 24px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin: 20px 0 16px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 32px 0;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.hero-trust {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.trust-item svg {
    width: 24px;
    height: 24px;
    color: #00ff88;
    flex-shrink: 0;
}

.section-intro {
    font-size: 18px;
    color: #cccccc;
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
    font-weight: 400;
    line-height: 1.6;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 16px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 20px;
    color: #e6e6e6;
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 13px 32px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 15px rgba(10, 61, 255, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #0A3DFF 0%, #084cc9 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(10, 61, 255, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0027CC 0%, #001a8f 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(10, 61, 255, 0.45);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #0A3DFF;
    color: #0A3DFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(10, 61, 255, 0.3);
}

/* ============================================
   SERVICES PREVIEW SECTION
   ============================================ */

.services-preview {
    padding: 80px 20px;
    background: linear-gradient(180deg, #2A2A2A 0%, #3F3F3F 100%);
    position: relative;
    overflow: hidden;
}

.services-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(10, 61, 255, 0.5) 50%, transparent 100%);
}

.services-preview h2 {
    font-size: 38px;
    margin-bottom: 12px;
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-intro {
    font-size: 18px;
    color: #cccccc;
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
    font-weight: 400;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: linear-gradient(135deg, rgba(74, 74, 74, 0.6) 0%, rgba(66, 66, 66, 0.4) 100%);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border: 2px solid rgba(10, 61, 255, 0.2);
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #0A3DFF 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(10, 61, 255, 0.3);
    border-color: rgba(10, 61, 255, 0.6);
    background: linear-gradient(135deg, rgba(74, 74, 74, 0.8) 0%, rgba(66, 66, 66, 0.6) 100%);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: #0A3DFF;
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.15) 0%, rgba(74, 74, 74, 0.6) 100%);
}

.service-card.featured:hover {
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.25) 0%, rgba(74, 74, 74, 0.8) 100%);
}

.service-card.accent {
    border-color: rgba(10, 61, 255, 0.4);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #0A3DFF;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* SVG icon helper classes */
.icon-svg {
    width: 1.05em;
    height: 1.05em;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    fill: #ffffff;
    color: #ffffff;
    transition: all 0.3s ease;
}

.service-icon {
    font-size: 52px;
    margin: 0 auto 24px;
    display: block;
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.2) 0%, rgba(10, 61, 255, 0.1) 100%);
    width: 90px;
    height: 90px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(10, 61, 255, 0.2);
    border: 2px solid rgba(10, 61, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.35) 0%, rgba(10, 61, 255, 0.2) 100%);
    box-shadow: 0 12px 32px rgba(10, 61, 255, 0.4);
    border-color: rgba(10, 61, 255, 0.5);
    transform: scale(1.1) rotate(5deg);
}

.service-icon .icon-svg {
    width: 52px;
    height: 52px;
    margin-right: 0;
    display: block;
    fill: #ffffff;
}

.service-icon-large .icon-svg {
    width: 80px;
    height: 80px;
}

.quick-icon .icon-svg, .contact-icon .icon-svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.service-card p {
    font-size: 15px;
    color: #cccccc;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    color: #0A3DFF;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0A3DFF;
    transition: width 0.3s ease;
}

.service-link:hover {
    color: #4d7fff;
}

.service-link:hover::after {
    width: 100%;
}

/* Mobile responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   QUICK CONTACT SECTION
   ============================================ */

.quick-contact {
    padding: 70px 20px;
    background-color: #2A2A2A;
}

.quick-contact h2 {
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center;
    color: #ffffff;
    font-weight: 700;
}

.contact-methods {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 35px;
    background: linear-gradient(135deg, #4A4A4A 0%, #424242 100%);
    color: #ffffff;
    text-decoration: none;
    border: 2px solid #0A3DFF;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-btn:hover {
    background: linear-gradient(135deg, #0A3DFF 0%, #084cc9 100%);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(10, 61, 255, 0.3);
}

.contact-btn .icon {
    font-size: 28px;
    color: #0A3DFF;
    transition: color 0.3s ease;
}

.contact-btn:hover .icon {
    color: #ffffff;
}

.contact-btn span:last-child {
    font-size: 14px;
}

/* ============================================
   CONTACT PAGE SECTION
   ============================================ */

.quick-contact-bar {
    background: linear-gradient(135deg, #0A3DFF 0%, #084cc9 100%);
    padding: 20px 20px;
    border-bottom: 4px solid #ffffff;
}

.quick-contact-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ffffff;
}

.quick-icon {
    font-size: 40px;
    display: block;
    min-width: 50px;
    text-align: center;
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.12) 0%, rgba(10, 61, 255, 0.06) 100%);
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A3DFF;
    box-shadow: 0 2px 8px rgba(10, 61, 255, 0.1);
    border: 1.5px solid rgba(10, 61, 255, 0.15);
    margin: 0 auto;
    transition: all 0.3s ease;
}

.quick-icon:hover {
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.2) 0%, rgba(10, 61, 255, 0.12) 100%);
    box-shadow: 0 4px 12px rgba(10, 61, 255, 0.2);
    border-color: rgba(10, 61, 255, 0.25);
    transform: translateY(-2px);
}

.quick-info {
    flex: 1;
}

.quick-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.quick-link:hover {
    opacity: 0.9;
    text-decoration: underline;
}

.contact-section {
    padding: 80px 20px;
    background-color: #3F3F3F;
}

.contact-intro {
    text-align: center;
    margin-bottom: 30px;
}

.contact-intro h2 {
    font-size: 40px;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.contact-intro p {
    font-size: 17px;
    color: #cccccc;
    font-weight: 400;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.contact-card {
    background: linear-gradient(135deg, #4A4A4A 0%, #424242 100%);
    padding: 32px 24px;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid #0A3DFF;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.contact-card:hover {
    transform: translateY(-10px);
    border-top-color: #ffffff;
    box-shadow: 0 15px 40px rgba(10, 61, 255, 0.3);
}

.contact-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.15) 0%, rgba(10, 61, 255, 0.08) 100%);
    border-radius: 14px;
    color: #0A3DFF;
    box-shadow: 0 4px 16px rgba(10, 61, 255, 0.15);
    border: 2px solid rgba(10, 61, 255, 0.2);
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.contact-icon:hover {
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.25) 0%, rgba(10, 61, 255, 0.15) 100%);
    box-shadow: 0 8px 24px rgba(10, 61, 255, 0.25);
    border-color: rgba(10, 61, 255, 0.35);
    transform: translateY(-3px);
}

.contact-icon .icon-svg {
    width: 32px;
    height: 32px;
    margin-right: 0;
}

.contact-card h3 {
    font-size: 26px;
    color: #0A3DFF;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.contact-icon {
    font-size: 52px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.15) 0%, rgba(10, 61, 255, 0.08) 100%);
    border-radius: 14px;
    border: 2px solid rgba(10, 61, 255, 0.25);
    margin: 0 auto 16px;
}

.contact-link {
    font-weight: 600;
    padding: 12px 20px;
    border: 2px solid #0A3DFF;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.contact-link:hover {
    background-color: #0A3DFF;
    color: #ffffff;
}

.contact-link.btn {
    border: none;
    padding: 15px 30px;
    margin-bottom: 20px;
}

.contact-link-full {
    width: 100%;
    text-align: center;
    display: block;
}

.email-link {
    color: #0A3DFF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.email-link:hover {
    text-decoration: underline;
}

.coverage-note {
    margin-top: 25px;
}

.contact-hours {
    font-size: 12px;
    color: #999999;
    margin: 12px 0 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hours p {
    margin: 4px 0;
    color: #999999;
}

.contact-hours strong {
    color: #cccccc;
    display: block;
    margin-bottom: 2px;
}

.contact-hours em {
    color: #0A3DFF;
    font-style: italic;
}

@media (max-width: 1200px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 30px 22px;
    }
}

/* ============================================
   COVERAGE SECTION
   ============================================ */

.coverage {
    padding: 70px 20px;
    background-color: #3F3F3F;
    text-align: center;
}

.coverage h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 700;
}

.coverage p {
    font-size: 16px;
    color: #bbbbbb;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* ============================================
   TRUST BADGES
   ============================================ */

.trust-badges {
    padding: 70px 20px;
    background: linear-gradient(180deg, #2A2A2A 0%, #3A3A3A 100%);
}

.trust-badges--compact {
    padding: 50px 20px;
}

.trust-badges h2 {
    font-size: 34px;
    margin-bottom: 12px;
    text-align: center;
    color: #ffffff;
    font-weight: 700;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.badge-card {
    background: linear-gradient(135deg, rgba(60, 60, 60, 0.5) 0%, rgba(50, 50, 50, 0.35) 100%);
    border: 1.5px solid rgba(10, 61, 255, 0.2);
    border-radius: 12px;
    padding: 26px 22px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.badge-card:hover {
    border-color: rgba(10, 61, 255, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(10, 61, 255, 0.2);
}

.badge-icon {
    font-size: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: rgba(10, 61, 255, 0.12);
    color: #0A3DFF;
    margin-bottom: 14px;
    box-shadow: inset 0 0 12px rgba(10, 61, 255, 0.2);
}

.badge-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 700;
}

.badge-card p {
    font-size: 13px;
    color: #cfcfcf;
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-section {
    padding: 75px 20px;
    background: linear-gradient(180deg, #262626 0%, #343434 100%);
}

.testimonials-section h2 {
    font-size: 36px;
    margin-bottom: 12px;
    text-align: center;
    color: #ffffff;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 35px;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.12) 0%, rgba(10, 61, 255, 0.05) 100%);
    border: 1.5px solid rgba(10, 61, 255, 0.2);
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 10px 28px rgba(10, 61, 255, 0.15);
    position: relative;
}

.testimonial-card blockquote {
    font-size: 15px;
    color: #e5e5e5;
    line-height: 1.6;
    margin: 10px 0 16px;
}

.testimonial-card figcaption {
    font-size: 13px;
    color: #bdbdbd;
    font-weight: 600;
}

.testimonial-rating {
    font-size: 18px;
    color: #FFD54F;
    letter-spacing: 2px;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    padding: 70px 20px;
    background: linear-gradient(180deg, #2A2A2A 0%, #3F3F3F 100%);
}

.faq-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-section h2 {
    font-size: 36px;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
}

.faq-intro {
    font-size: 16px;
    color: #cccccc;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.08) 0%, rgba(10, 61, 255, 0.03) 100%);
    padding: 28px;
    border-radius: 12px;
    border: 2px solid rgba(10, 61, 255, 0.2);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(10, 61, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(10, 61, 255, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.faq-question svg {
    width: 24px;
    height: 24px;
    color: #0A3DFF;
    flex-shrink: 0;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.faq-answer {
    font-size: 15px;
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
    padding-left: 36px;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .faq-item {
        padding: 22px;
    }
    
    .faq-answer {
        padding-left: 0;
    }
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    background: linear-gradient(135deg, #2A2A2A 0%, #3F3F3F 100%);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 4px solid #0A3DFF;
}

.page-header--no-accent {
    border-bottom: none;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 6px;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 15px;
    color: #cccccc;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ============================================
   SERVICES DETAIL PAGE
   ============================================ */

.services-detail {
    padding: 60px 20px;
    background: linear-gradient(180deg, #2A2A2A 0%, #3F3F3F 100%);
    position: relative;
}

.services-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(10, 61, 255, 0.5) 0%, rgba(10, 61, 255, 0.2) 100%);
}

.services-detail .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 24px;
    align-items: stretch;
}

.service-item {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    padding-left: 0;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(10, 61, 255, 0) 0%, rgba(10, 61, 255, 0.5) 50%, rgba(10, 61, 255, 0) 100%);
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover::before {
    opacity: 1;
}

.service-item:hover {
    border-color: rgba(10, 61, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(10, 61, 255, 0.2);
    transform: translateY(-8px);
}

.service-item.featured-service {
    border-color: rgba(10, 61, 255, 0.4);
    background: rgba(10, 61, 255, 0.08);
    box-shadow: 0 8px 32px rgba(10, 61, 255, 0.2);
}

.service-item.featured-service:hover {
    box-shadow: 0 16px 48px rgba(10, 61, 255, 0.3);
}

.service-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.cta-section {
    grid-column: 1 / -1;
}

.service-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 0;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    display: none;
}

/* Service illustration styling */
.service-illustration {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 25px;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(10, 61, 255, 0.15);
    transition: all 0.3s ease;
    object-fit: cover;
}

.service-illustration:hover {
    box-shadow: 0 8px 24px rgba(10, 61, 255, 0.25);
    transform: translateY(-3px);
}

.service-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.2) 0%, rgba(10, 61, 255, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 2px solid rgba(10, 61, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #0A3DFF;
    flex-shrink: 0;
}

.service-item:hover .service-icon-circle {
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.3) 0%, rgba(10, 61, 255, 0.2) 100%);
    border-color: rgba(10, 61, 255, 0.5);
    transform: rotate(5deg) scale(1.08);
    box-shadow: 0 8px 24px rgba(10, 61, 255, 0.25);
}

.service-icon-circle svg {
    width: 44px;
    height: 44px;
    display: block;
}

.service-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.9) 0%, rgba(15, 90, 255, 0.8) 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(10, 61, 255, 0.3);
}

.service-item h2 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.3;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover h2 {
    color: #4A9EFF;
}

.service-item p {
    font-size: 14px;
    color: #d8d8d8;
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 400;
    max-width: 900px;
}

.service-list {
    list-style: none;
    margin: 0;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: auto;
}

.service-item.featured-service .service-list {
    grid-template-columns: repeat(3, 1fr);
}

.service-list li {
    padding-left: 24px;
    position: relative;
    color: #c8d5ff;
    line-height: 1.4;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-item:hover .service-list li {
    color: #e0e8ff;
}

.service-list li:before {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%230A3DFF' d='M9 16.2l-3.5-3.5L4 14l5 5 12-12-1.5-1.5L9 16.2z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.3s ease;
}

.service-item:hover .service-list li:before {
    transform: scale(1.15);
}

.cta-section {
    padding: 40px 20px;
    background-color: #2A2A2A;
    text-align: center;
    border-top: 4px solid #0A3DFF;
}

.cta-section h3 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 700;
}

.cta-section p {
    color: #bbbbbb;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 400;
}

/* ============================================
   QUOTE SECTION
   ============================================ */

.quote-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 25%, #2A2A2A 50%, #1a1a1a 75%, #0f0f0f 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(10, 61, 255, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(230, 57, 70, 0.08) 0%, transparent 45%),
                radial-gradient(circle at 50% 10%, rgba(10, 150, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
    animation: ambientGlow 15s ease-in-out infinite;
}

@keyframes ambientGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 1.2; }
}

.quote-section .container {
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.quote-container {
    width: 100%;
    margin: 0 auto;
    background: rgba(40, 40, 40, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 48px 42px 38px;
    border-radius: 24px;
    border: 1px solid rgba(10, 61, 255, 0.5);
    box-shadow: 0 0 60px rgba(10, 61, 255, 0.25), 
                0 20px 80px rgba(10, 61, 255, 0.15),
                0 0 30px rgba(10, 61, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
    box-sizing: border-box;
    position: relative;
    top: 10px;
    animation: containerFloat 3s ease-in-out infinite;
}

@keyframes containerFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-2px); }
}

.quote-intro {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(10, 61, 255, 0.25);
}

.quote-intro p {
    font-size: 17px;
    color: #e8e8e8;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.4px;
    line-height: 1.5;
}

.form-section {
    margin: 0 0 18px 0;
    background: rgba(30, 30, 30, 0.3);
    backdrop-filter: blur(10px);
    padding: 24px 24px 22px;
    border-radius: 16px;
    border: 1px solid rgba(10, 61, 255, 0.3);
    box-shadow: 0 8px 32px rgba(10, 61, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-section:hover {
    border-color: rgba(10, 61, 255, 0.5);
    background: rgba(30, 30, 30, 0.4);
    box-shadow: 0 12px 40px rgba(10, 61, 255, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                inset 0 0 20px rgba(10, 61, 255, 0.05);
}


.form-section:last-of-type {
    margin-bottom: 0;
}

.form-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #f0f0f0;
    margin: 0 0 12px 0;
    padding: 0;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    letter-spacing: 0.4px;
}

.form-section-title svg {
    width: 28px;
    height: 28px;
    color: #0A3DFF;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(10, 61, 255, 0.5));
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(10, 61, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 12px rgba(10, 61, 255, 0.8)); }
}

.form-section-desc {
    font-size: 13px;
    color: #cccccc;
    margin-bottom: 10px;
    font-style: italic;
    margin-top: 0;
    line-height: 1.4;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    box-sizing: border-box;
}

.form-row .form-group {
    margin-bottom: 0;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 12px;
    box-sizing: border-box;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background-color: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.form-group select::-ms-expand {
    display: none;
}

.form-group input:hover,
.form-group select:hover {
    border-color: #0A3DFF;
    filter: brightness(1.1);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0A3DFF;
    box-shadow: 0 0 0 4px rgba(10, 61, 255, 0.2);
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 12px;
    font-size: 15px;
    font-weight: 500;
}

.form-group input::placeholder {
    color: #888888;
}

.form-group small {
    display: block;
    margin-top: 8px;
    color: #999999;
    font-size: 12px;
    line-height: 1.3;
}

.result-box {
    background: rgba(10, 61, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(10, 61, 255, 0.4);
    margin-bottom: 14px;
    box-shadow: 0 10px 35px rgba(10, 61, 255, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.08),
                inset 0 0 15px rgba(10, 61, 255, 0.05);
    box-sizing: border-box;
}

.result-value {
    font-size: 32px;
    font-weight: 800;
    color: #0A3DFF;
    margin-top: 8px;
    text-shadow: 0 0 20px rgba(10, 61, 255, 0.4),
                 0 2px 8px rgba(10, 61, 255, 0.2);
    word-break: break-word;
    animation: valueGlow 2s ease-in-out infinite;
}

@keyframes valueGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(10, 61, 255, 0.4), 0 2px 8px rgba(10, 61, 255, 0.2); }
    50% { text-shadow: 0 0 30px rgba(10, 61, 255, 0.6), 0 2px 12px rgba(10, 61, 255, 0.3); }
}

.result-box.highlight {
    border: 1.5px solid #0A3DFF;
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.2) 0%, rgba(10, 61, 255, 0.12) 100%);
    backdrop-filter: blur(14px);
    box-shadow: 0 0 40px rgba(10, 61, 255, 0.3),
                0 20px 60px rgba(10, 61, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                inset 0 0 30px rgba(10, 61, 255, 0.08);
    padding: 32px 28px;
    margin-top: 50px;
    margin-bottom: 24px;
    animation: highlightPulse 2.5s ease-in-out infinite;
}

.result-box.highlight .result-value {
    font-size: 48px;
    animation: priceGlow 2.5s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% { box-shadow: 0 0 40px rgba(10, 61, 255, 0.3), 0 20px 60px rgba(10, 61, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 30px rgba(10, 61, 255, 0.08); }
    50% { box-shadow: 0 0 50px rgba(10, 61, 255, 0.4), 0 20px 70px rgba(10, 61, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 40px rgba(10, 61, 255, 0.12); }
}

@keyframes priceGlow {
    0%, 100% { text-shadow: 0 0 30px rgba(10, 61, 255, 0.5), 0 0 60px rgba(10, 61, 255, 0.3); }
    50% { text-shadow: 0 0 40px rgba(10, 61, 255, 0.7), 0 0 80px rgba(10, 61, 255, 0.4); }
}

.price-disclaimer {
    display: block;
    margin-top: 15px;
    font-size: 12px;
    color: #b0b0b0;
}

.quote-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.quote-actions .btn {
    flex: 1;
    font-size: 16px;
    padding: 16px 32px;
    letter-spacing: 0.6px;
    font-weight: 800;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.quote-actions .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    border-radius: 50%;
}

.quote-actions .btn:hover::before {
    width: 300px;
    height: 300px;
}

.quote-actions .btn:active {
    transform: scale(0.98);
}

.quote-actions .btn-primary {
    order: 2;
}

.quote-actions .btn-secondary {
    order: 1;
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.extra-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 24px;
    background: rgba(25, 25, 25, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(85, 85, 85, 0.6);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    gap: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
    min-height: 170px;
    justify-content: center;
    overflow: hidden;
}

.extra-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(10, 61, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.extra-card:hover {
    border-color: #0A3DFF;
    background: rgba(10, 61, 255, 0.15);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 30px rgba(10, 61, 255, 0.4), 
                0 18px 45px rgba(10, 61, 255, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                inset 0 0 25px rgba(10, 61, 255, 0.12);
    transform: translateY(-10px) scale(1.02);
}

.extra-card:hover::before {
    opacity: 1;
}

.extra-card:hover .extra-icon {
    transform: scale(1.25) rotate(-8deg);
    filter: drop-shadow(0 0 12px rgba(10, 61, 255, 0.6));
}

.extra-icon {
    display: block;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.extra-card input[type="checkbox"] {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #0A3DFF;
}

.extra-card input[type="checkbox"]:checked {
    accent-color: #0A3DFF;
}

.extra-card input[type="checkbox"]:checked ~ .extra-icon,
.extra-card input[type="checkbox"]:checked ~ .extra-name,
.extra-card input[type="checkbox"]:checked ~ .extra-desc {
    color: #0A3DFF;
}

.extra-icon {
    display: block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.extra-card:hover .extra-icon {
    transform: scale(1.15) rotate(-5deg);
}

.extra-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.extra-desc {
    font-size: 12px;
    color: #b0b0b0;
    transition: color 0.3s ease;
    font-weight: 500;
    line-height: 1.35;
}

.share-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 45px;
    padding-top: 30px;
    border-top: 2px solid rgba(10, 61, 255, 0.2);
}

.share-buttons .btn {
    flex: 1;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
}

.disclaimer {
    background: rgba(10, 61, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 26px 30px;
    border-left: 4px solid #0A3DFF;
    border-radius: 14px;
    margin: 45px 0 0 0;
    border: 1px solid rgba(10, 61, 255, 0.3);
    box-shadow: 0 8px 32px rgba(10, 61, 255, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.08),
                inset 0 0 20px rgba(10, 61, 255, 0.06);
}

.disclaimer p {
    font-size: 14px;
    color: #e0e0e0;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-section {
    padding: 40px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background-color: #4A4A4A;
    padding: 30px 25px;
    border-radius: 4px;
    text-align: center;
    border-left: 4px solid #0A3DFF;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.contact-card h3 {
    font-size: 20px;
    color: #0A3DFF;
    margin-bottom: 10px;
}

.contact-card p {
    color: #cccccc;
    margin-bottom: 12px;
}

.contact-card .btn {
    margin-top: 10px;
    display: block;
    width: 100%;
}

.contact-card small {
    display: block;
    color: #999999;
    font-size: 12px;
    margin-top: 8px;
}

.emergency-bar {
    background: linear-gradient(135deg, #e63946 0%, #d62828 50%, #a01818 100%);
    padding: 45px 30px;
    border-top: 8px solid #ffff00;
    border-bottom: 8px solid #ffff00;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.emergency-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
    );
    pointer-events: none;
}

.emergency-bar .container {
    position: relative;
    z-index: 1;
}

.emergency-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.emergency-content h3 {
    font-size: 32px;
    color: #ffffff;
    margin: 0;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
}

.emergency-content h3 .icon-svg {
    font-size: 38px;
    width: 42px;
    height: 42px;
    animation: pulse-warning 1.5s infinite;
}

.emergency-content p {
    color: rgba(255, 255, 255, 1);
    font-size: 16px;
    margin: 8px 0 0 0;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.emergency-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.emergency-buttons .btn {
    min-width: 180px;
    font-weight: 800;
    padding: 14px 28px;
}

/* ============================================
   WHY CONTACT US SECTION
   ============================================ */

.why-contact-section {
    padding: 50px 20px;
    background: linear-gradient(135deg, #2A2A2A 0%, #3F3F3F 100%);
}

.why-contact-section h2 {
    font-size: 32px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 35px;
    font-weight: 700;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    background: linear-gradient(135deg, #4A4A4A 0%, #424242 100%);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 5px solid #0A3DFF;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(10, 61, 255, 0.15);
    border-left-color: #ffffff;
}

.why-icon {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.12) 0%, rgba(10, 61, 255, 0.06) 100%);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(10, 61, 255, 0.12);
    border: 1.5px solid rgba(10, 61, 255, 0.15);
    transition: all 0.3s ease;
}

.why-icon:hover {
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.2) 0%, rgba(10, 61, 255, 0.12) 100%);
    box-shadow: 0 6px 16px rgba(10, 61, 255, 0.2);
    border-color: rgba(10, 61, 255, 0.25);
    transform: translateY(-2px);
}

.why-card h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
}

.why-card p {
    font-size: 13px;
    color: #bbbbbb;
    line-height: 1.5;
}

/* About Section Styling */
.about-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: block;
}

.about-content h3 {
    font-size: 24px;
    color: #0A3DFF;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-content p {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
}

.about-content {
    max-width: 720px;
    margin: 0 auto;
}

.about-section .service-list {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .quote-section .container {
        padding: 0 20px;
    }
    
    .quote-container {
        padding: 35px 30px;
    }
    
    .extras-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }

    .hero {
        min-height: 400px;
        padding: 50px 20px;
    }

    .hero-content h1,
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-trust {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        padding: 15px 24px;
        font-size: 15px;
    }

    .services-preview h2,
    .page-header h1 {
        font-size: 26px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .emergency-bar {
        padding: 30px 18px;
    }

    .emergency-content h3 {
        font-size: 20px;
    }

    .emergency-buttons .btn {
        min-width: unset;
        width: 100%;
        padding: 15px 20px;
    }

    .quote-container {
        padding: 25px 18px;
    }
    
    .form-section {
        padding: 18px 18px 18px;
    }
    
    .result-box {
        padding: 20px;
    }
    
    .result-box.highlight {
        padding: 25px;
    }
    
    .result-value {
        font-size: 30px;
    }
    
    .result-box.highlight .result-value {
        font-size: 36px;
    }

    .form-group input,
    .form-group select {
        padding: 14px;
        font-size: 16px;
    }

    .form-section-title {
        font-size: 17px;
    }
    
    .extras-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-actions {
        flex-direction: column;
    }
    
    .quote-actions .btn {
        order: initial;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-buttons .btn {
        width: 100%;
        min-width: unset;
    }
}

.coverage-detail {
    padding: 50px 20px;
    background-color: #3F3F3F;
    border-radius: 0;
    margin: 0;
}

.coverage-detail h2 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.coverage-content {
    max-width: 800px;
    margin: 0 auto;
}

.coverage-text h3 {
    font-size: 20px;
    color: #0A3DFF;
    margin-bottom: 10px;
    font-weight: 700;
}

.coverage-text p {
    color: #cccccc;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Coverage map styling */
.coverage-map {
    width: 100%;
    height: 250px;
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(10,61,255,0.10);
    box-shadow: 0 8px 30px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.02);
}

/* Slight base background for Leaflet so tiles blend on dark theme */
.leaflet-container {
    background: #2A2A2A;
}

/* ============================================
   PRIVACY POLICY & LEGAL PAGES
   ============================================ */

.policy-section {
    padding: 80px 20px;
    background-color: #3F3F3F;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.policy-content h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 700;
}

.last-updated {
    font-size: 14px;
    color: #999999;
    margin-bottom: 40px;
    font-style: italic;
}

.policy-content h3 {
    font-size: 22px;
    color: #0A3DFF;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.policy-content h4 {
    font-size: 16px;
    color: #ffffff;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.policy-content p {
    color: #cccccc;
    margin-bottom: 15px;
    font-size: 15px;
}

.policy-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.policy-list li {
    color: #cccccc;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    font-size: 15px;
    line-height: 1.6;
}

.policy-list li:before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #0A3DFF;
    font-size: 18px;
    font-weight: 700;
}

.policy-content a {
    color: #0A3DFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-content a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.social-section {
    padding: 40px 20px;
    text-align: center;
}

.social-section h2 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 700;
}

.social-section p {
    color: #bbbbbb;
    margin-bottom: 25px;
    font-size: 15px;
    font-weight: 400;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 40px 20px;
    background-color: #2A2A2A;
    text-align: center;
    border-top: 4px solid #0A3DFF;
}

.cta-section h3 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 700;
}

.cta-section p {
    color: #bbbbbb;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 400;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: #2A2A2A;
    border-top: 4px solid #0A3DFF;
    padding: 30px 20px;
    text-align: center;
    color: #aaaaaa;
}

.footer p {
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 1.3;
}

.footer a {
    color: #0A3DFF;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        background-color: #2A2A2A;
        border-bottom: 3px solid #0A3DFF;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        gap: 0;
        z-index: 1000;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 16px 20px;
        width: 100%;
        font-size: 17px;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 450px;
        padding: 60px 25px;
    }

    .hero-content h1,
    .hero-title {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 18px;
    }

    .hero-subtitle {
        font-size: 17px;
        margin-bottom: 28px;
        line-height: 1.5;
    }

    .hero-trust {
        gap: 25px;
        margin-top: 35px;
    }

    .trust-item {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
    }

    .services-preview h2,
    .page-header h1,
    .quick-contact h2,
    .coverage h2,
    .social-section h2 {
        font-size: 28px;
    }

    .section-intro {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 25px;
    }

    .contact-methods {
        flex-direction: column;
    }

    .container {
        padding: 0 25px;
    }

    .contact-btn {
        width: 100%;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .why-card {
        padding: 30px 20px;
    }

    .nav-link {
        font-size: 15px;
        padding: 10px 14px;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-buttons .btn {
        width: 100%;
        min-width: unset;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .quick-contact-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .emergency-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .emergency-content h3 {
        font-size: 24px;
    }

    .emergency-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .emergency-buttons .btn {
        width: 100%;
    }

    .services-detail > .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-item {
        padding: 35px;
    }

    .service-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-item h2 {
        font-size: 24px;
    }

    .service-item p {
        font-size: 14px;
    }

    .service-illustration {
        max-width: 250px;
        margin-bottom: 20px;
    }

    .service-icon-large {
        font-size: 56px;
        width: 80px;
        height: 80px;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 44px;
    }

    .contact-icon {
        width: 75px;
        height: 75px;
        font-size: 50px;
    }

    .quick-icon {
        width: 52px;
        height: 52px;
        font-size: 32px;
    }

    .why-icon {
        width: 48px;
        height: 48px;
        font-size: 28px;
    }

    .cta-section {
        padding: 50px 30px;
        grid-column: 1 / -1;
    }

    .cta-section h3 {
        font-size: 26px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .extras-grid {
        grid-template-columns: 1fr;
    }

    .form-group input[type="text"] {
        font-size: 16px; /* Prevent iOS zoom on input focus */
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card {
        padding: 25px 20px;
    }

    .why-icon {
        font-size: 32px;
    }

    .why-card h4 {
        font-size: 16px;
    }

    .policy-content h2 {
        font-size: 28px;
    }

    .policy-content h3 {
        font-size: 18px;
        margin-top: 30px;
    }

    .policy-content h4 {
        font-size: 14px;
    }

    .policy-content p,
    .policy-list li {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        min-height: 400px;
        padding: 50px 15px;
    }

    .hero-content h1 {
        font-size: 28px;
        letter-spacing: -0.3px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .logo {
        font-size: 24px;
        font-weight: 700;
    }

    .nav-container {
        padding: 0 15px;
        height: 65px;
    }

    .quote-container {
        padding: 35px 20px;
    }

    .extras-grid {
        grid-template-columns: 1fr;
    }

    .extra-card {
        padding: 20px 15px;
        gap: 8px;
    }

    .extra-icon {
        font-size: 28px;
    }

    .extra-name {
        font-size: 15px;
    }

    .extra-desc {
        font-size: 12px;
    }

    .quick-contact-bar {
        padding: 20px 15px;
    }

    .quick-contact-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .quick-icon {
        font-size: 32px;
        width: 48px;
        height: 48px;
    }

    .service-illustration {
        max-width: 200px;
        margin-bottom: 15px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 40px;
    }

    .service-icon-large {
        width: 70px;
        height: 70px;
        font-size: 50px;
    }

    .contact-icon {
        width: 65px;
        height: 65px;
        font-size: 45px;
    }

    .why-icon {
        width: 42px;
        height: 42px;
        font-size: 24px;
    }

    .quick-label {
        font-size: 12px;
    }

    .quick-link {
        font-size: 15px;
    }

    .emergency-bar {
        padding: 35px 20px;
    }

    .emergency-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .emergency-content h3 {
        font-size: 24px;
        justify-content: center;
    }

    .emergency-content p {
        font-size: 15px;
        line-height: 1.5;
    }

    .emergency-buttons {
        flex-direction: column;
        width: 100%;
    }

    .emergency-buttons .btn {
        width: 100%;
        font-size: 14px;
    }

    .service-card {
        padding: 28px 18px;
    }

    .services-preview h2,
    .quick-contact h2,
    .page-header h1,
    .coverage h2,
    .social-section h2 {
        font-size: 28px;
    }

    .service-card h3 {
        font-size: 17px;
    }

    .btn {
        padding: 11px 22px;
        font-size: 14px;
    }

    .result-value {
        font-size: 28px;
    }

    .result-box.highlight .result-value {
        font-size: 24px;
    }

    /* Services Page Mobile Responsive */
    .services-detail .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-item {
        padding: 28px 20px;
    }

    .service-item h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .service-item p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .service-list {
        gap: 10px;
    }

    .service-list li {
        font-size: 12px;
        padding-left: 24px;
    }

    .cta-section {
        padding: 40px 20px;
        margin-top: 20px;
    }

    .cta-section h3 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .cta-section .btn {
        padding: 12px 28px;
        font-size: 14px;
    }
}

/* Tablet/Medium Screens */
@media (max-width: 1024px) {
    .services-detail .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-item {
        padding: 36px;
    }
}

/* Animation for emergency warning icon */
@keyframes pulse-warning {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* ============================================
   TRADE PORTAL STYLES
   ============================================ */

/* Trade Login Section */
.trade-login-section {
    padding: 80px 20px;
    min-height: 80vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.trade-login-container {
    max-width: 600px;
    margin: 0 auto;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.trade-icon {
    color: #0A3DFF;
    margin-bottom: 20px;
    animation: iconPulse 3s ease-in-out infinite;
}

.login-header h1 {
    font-size: 36px;
    margin-bottom: 16px;
    color: #ffffff;
}

.login-header p {
    font-size: 18px;
    color: #b0b0b0;
}

.login-form {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(10, 61, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ffffff;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(63, 63, 63, 0.8);
    border: 2px solid rgba(10, 61, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0A3DFF;
    box-shadow: 0 0 20px rgba(10, 61, 255, 0.4);
}

.login-error {
    display: none;
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #ff6b6b;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 14px;
}

.trade-benefits-preview {
    margin-top: 60px;
    text-align: center;
}

.trade-benefits-preview h3 {
    font-size: 28px;
    margin-bottom: 32px;
    color: #ffffff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.benefit-item {
    background: rgba(42, 42, 42, 0.6);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(10, 61, 255, 0.2);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    border-color: #0A3DFF;
    box-shadow: 0 8px 24px rgba(10, 61, 255, 0.3);
}

.benefit-item svg {
    color: #0A3DFF;
    margin-bottom: 16px;
}

.benefit-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #ffffff;
}

.benefit-item p {
    font-size: 14px;
    color: #b0b0b0;
}

.trade-info {
    margin-top: 60px;
    text-align: center;
    padding: 32px;
    background: rgba(42, 42, 42, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(10, 61, 255, 0.2);
}

.trade-info h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #ffffff;
}

.trade-info p {
    font-size: 16px;
    color: #b0b0b0;
    margin-bottom: 24px;
}

/* Trade Dashboard Section */
.trade-dashboard-section {
    padding: 60px 20px;
    min-height: 80vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid rgba(10, 61, 255, 0.3);
}

.welcome-section h1 {
    font-size: 36px;
    margin-bottom: 8px;
    color: #ffffff;
}

.welcome-section p {
    font-size: 18px;
    color: #b0b0b0;
}

/* Discount Banner */
.discount-banner {
    background: linear-gradient(135deg, #0A3DFF 0%, #0829a8 100%);
    padding: 32px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
    box-shadow: 0 8px 32px rgba(10, 61, 255, 0.4);
    animation: ambientGlow 4s ease-in-out infinite;
}

.discount-banner svg {
    color: #ffffff;
    animation: iconPulse 3s ease-in-out infinite;
}

.discount-info h2 {
    font-size: 28px;
    margin-bottom: 4px;
    color: #ffffff;
}

.discount-info p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* Quick Actions */
.quick-actions {
    margin-bottom: 60px;
}

.quick-actions h2 {
    font-size: 32px;
    margin-bottom: 24px;
    color: #ffffff;
}

.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.action-card {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(10, 61, 255, 0.3);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.action-card:hover {
    transform: translateY(-8px);
    border-color: #0A3DFF;
    box-shadow: 0 12px 40px rgba(10, 61, 255, 0.4);
}

.action-card svg {
    color: #0A3DFF;
    margin-bottom: 16px;
}

.action-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #ffffff;
}

.action-card p {
    font-size: 14px;
    color: #b0b0b0;
}

/* Trade Benefits Full */
.trade-benefits-full {
    margin-bottom: 60px;
}

.trade-benefits-full h2 {
    font-size: 32px;
    margin-bottom: 32px;
    color: #ffffff;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.benefit-card {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(10, 61, 255, 0.3);
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
}

.benefit-card:hover {
    border-color: #0A3DFF;
    box-shadow: 0 8px 32px rgba(10, 61, 255, 0.3);
}

.benefit-icon {
    flex-shrink: 0;
}

.benefit-icon svg {
    color: #0A3DFF;
}

.benefit-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #ffffff;
}

.benefit-content p {
    font-size: 15px;
    color: #b0b0b0;
    line-height: 1.6;
}

/* Trade Pricing Info */
.trade-pricing-info {
    margin-bottom: 60px;
}

.trade-pricing-info h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #ffffff;
}

.trade-pricing-info > p {
    font-size: 16px;
    color: #b0b0b0;
    margin-bottom: 32px;
}

.pricing-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.pricing-card {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(10, 61, 255, 0.3);
}

.pricing-card h3 {
    font-size: 20px;
    margin-bottom: 24px;
    color: #ffffff;
    text-align: center;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-row.highlight {
    background: rgba(10, 61, 255, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(10, 61, 255, 0.3);
    margin: 8px 0;
}

.price-label {
    font-size: 14px;
    color: #b0b0b0;
}

.price-standard {
    font-size: 18px;
    color: #888;
    text-decoration: line-through;
}

.price-trade {
    font-size: 24px;
    font-weight: bold;
    color: #0A3DFF;
}

.savings {
    text-align: center;
    margin-top: 16px;
    padding: 8px;
    background: rgba(40, 167, 69, 0.2);
    border-radius: 8px;
    color: #28a745;
    font-weight: 600;
}

/* Dashboard CTA */
.dashboard-cta {
    text-align: center;
    padding: 48px 32px;
    background: rgba(42, 42, 42, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(10, 61, 255, 0.3);
}

.dashboard-cta h2 {
    font-size: 32px;
    margin-bottom: 12px;
    color: #ffffff;
}

.dashboard-cta p {
    font-size: 18px;
    color: #b0b0b0;
    margin-bottom: 24px;
}

/* Trade Customer Badge (on quote page) */
.trade-customer-badge {
    background: linear-gradient(135deg, #0A3DFF 0%, #0829a8 100%);
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    box-shadow: 0 4px 16px rgba(10, 61, 255, 0.4);
    animation: containerFloat 4s ease-in-out infinite;
}

.trade-customer-badge svg {
    color: #ffffff;
    flex-shrink: 0;
}

.trade-customer-badge span {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    flex: 1;
}

.badge-link {
    color: #ffffff;
    text-decoration: underline;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.badge-link:hover {
    opacity: 1;
}

/* Trade Discount Indicator */
.trade-discount-indicator {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.discount-label {
    font-size: 14px;
    color: #b0b0b0;
}

.discount-value {
    font-size: 18px;
    font-weight: bold;
    color: #28a745;
}

/* Mobile Responsive - Trade Portal */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .discount-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .discount-info h2 {
        font-size: 24px;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pricing-comparison {
        grid-template-columns: 1fr;
    }

    .action-cards {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .trade-customer-badge {
        flex-direction: column;
        text-align: center;
    }

    .login-form {
        padding: 24px;
    }

    .stats-overview {
        grid-template-columns: 1fr;
    }

    .action-cards-grid {
        grid-template-columns: 1fr;
    }

    .register-form .form-row {
        flex-direction: column;
    }
}

/* ============================================
   TRADE DASHBOARD ENHANCED STYLES
   ============================================ */

/* Trade Registration Form */
.trade-register-section {
    padding: 60px 20px;
    min-height: 80vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.register-container {
    max-width: 800px;
    margin: 0 auto;
}

.register-header {
    text-align: center;
    margin-bottom: 40px;
}

.invite-notice {
    margin-top: 20px;
    padding: 16px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    font-size: 14px;
    color: #ffc107;
    text-align: center;
}

.invite-notice a {
    color: #0A3DFF;
    text-decoration: none;
    font-weight: 600;
}

.invite-notice a:hover {
    text-decoration: underline;
}

.register-form {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(10, 61, 255, 0.3);
}

.form-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #0A3DFF;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ffffff;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(63, 63, 63, 0.8);
    border: 2px solid rgba(10, 61, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0A3DFF;
    box-shadow: 0 0 15px rgba(10, 61, 255, 0.3);
}

.form-group small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #888;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.form-actions {
    text-align: center;
    margin-top: 32px;
}

.login-link,
.register-link {
    margin-top: 16px;
    font-size: 14px;
    color: #b0b0b0;
}

.login-link a,
.register-link a {
    color: #0A3DFF;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover,
.register-link a:hover {
    text-decoration: underline;
}

.register-message {
    display: none;
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.register-message.success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #28a745;
}

.register-message.error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #ff6b6b;
}

/* Stats Overview Cards */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(10, 61, 255, 0.3);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(10, 61, 255, 0.3);
}

.stat-card.highlight {
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.2) 0%, rgba(10, 61, 255, 0.1) 100%);
    border-color: #0A3DFF;
}

.stat-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 61, 255, 0.2);
    border-radius: 8px;
}

.stat-icon svg {
    color: #0A3DFF;
}

.stat-content h3 {
    font-size: 14px;
    color: #b0b0b0;
    margin-bottom: 8px;
    font-weight: 600;
}

.stat-value {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #888;
}

.stat-label strong {
    color: #0A3DFF;
}

.stat-label a {
    color: #0A3DFF;
    text-decoration: none;
}

.stat-label a:hover {
    text-decoration: underline;
}

/* Dashboard Tabs */
.dashboard-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 2px solid rgba(10, 61, 255, 0.3);
    overflow-x: auto;
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: #b0b0b0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: #0A3DFF;
}

.tab-btn.active {
    color: #0A3DFF;
    border-bottom-color: #0A3DFF;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 24px;
    color: #ffffff;
}

.stat-info {
    font-size: 14px;
    color: #b0b0b0;
}

/* Action Cards Grid */
.action-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Location Cards */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.location-card {
    background: rgba(42, 42, 42, 0.8);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(10, 61, 255, 0.3);
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.location-header h3 {
    font-size: 18px;
    color: #ffffff;
}

.location-badge {
    padding: 4px 12px;
    background: rgba(10, 61, 255, 0.2);
    color: #0A3DFF;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.location-postcode {
    font-size: 16px;
    font-weight: bold;
    color: #0A3DFF;
    margin-bottom: 8px;
}

.location-address {
    font-size: 14px;
    color: #b0b0b0;
    margin-bottom: 16px;
}

.location-actions {
    display: flex;
    gap: 8px;
}

.btn-use {
    flex: 1;
    padding: 8px 16px;
    background: #0A3DFF;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-use:hover {
    background: #0829a8;
    transform: translateY(-2px);
}

.btn-delete {
    padding: 8px 16px;
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    border: 1px solid #dc3545;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-delete:hover {
    background: rgba(220, 53, 69, 0.4);
}

/* Job History Table */
.jobs-table-display {
    width: 100%;
    background: rgba(42, 42, 42, 0.8);
    border-radius: 12px;
    overflow: hidden;
}

.jobs-table-display thead {
    background: rgba(10, 61, 255, 0.2);
}

.jobs-table-display th,
.jobs-table-display td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.jobs-table-display th {
    font-weight: 600;
    color: #0A3DFF;
}

.jobs-table-display td {
    color: #ffffff;
}

.savings-cell {
    color: #28a745;
    font-weight: 600;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.completed {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

/* Fleet Cards */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.vehicle-card {
    background: rgba(42, 42, 42, 0.8);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(10, 61, 255, 0.3);
}

.vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.vehicle-header h3 {
    font-size: 18px;
    color: #ffffff;
    font-weight: bold;
}

.btn-delete-small {
    width: 28px;
    height: 28px;
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    border: 1px solid #dc3545;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-delete-small:hover {
    background: rgba(220, 53, 69, 0.4);
}

.vehicle-info {
    font-size: 16px;
    color: #0A3DFF;
    margin-bottom: 8px;
}

.vehicle-detail {
    font-size: 14px;
    color: #b0b0b0;
    margin-bottom: 4px;
}

.vehicle-notes {
    font-size: 13px;
    color: #888;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Referral Banner */
.referral-banner {
    background: rgba(42, 42, 42, 0.8);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(10, 61, 255, 0.3);
    display: flex;
    gap: 32px;
    align-items: center;
}

.referral-banner svg {
    color: #0A3DFF;
    flex-shrink: 0;
}

.referral-content {
    flex: 1;
}

.referral-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #ffffff;
}

.referral-content p {
    font-size: 16px;
    color: #b0b0b0;
    margin-bottom: 24px;
}

.referral-code-box {
    background: rgba(63, 63, 63, 0.6);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.referral-code-box span {
    font-size: 14px;
    color: #b0b0b0;
    display: block;
    margin-bottom: 8px;
}

.code-display {
    display: flex;
    align-items: center;
    gap: 12px;
}

.code-display strong {
    font-size: 24px;
    color: #0A3DFF;
    letter-spacing: 2px;
}

.btn-copy,
.share-btn {
    padding: 8px 16px;
    background: #0A3DFF;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-copy:hover,
.share-btn:hover {
    background: #0829a8;
}

.referral-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.referral-stats p {
    margin: 0;
    font-size: 14px;
    color: #b0b0b0;
}

.referral-stats strong {
    color: #0A3DFF;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #2A2A2A;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(10, 61, 255, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 32px;
    color: #b0b0b0;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-content h2 {
    margin-bottom: 24px;
    color: #ffffff;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 16px;
}

/* ============================================
   ADMIN PORTAL & DASHBOARD STYLES
   ============================================ */

/* Admin Login Section */
.admin-login-section {
    padding: 80px 20px;
    min-height: 80vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-container {
    max-width: 500px;
    width: 100%;
}

.admin-login-header {
    text-align: center;
    margin-bottom: 40px;
}

.admin-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(10, 61, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-icon svg {
    color: #0A3DFF;
}

.admin-login-header h1 {
    font-size: 32px;
    margin-bottom: 8px;
    color: #ffffff;
}

.admin-login-header p {
    font-size: 16px;
    color: #888;
}

.admin-login-form {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(10, 61, 255, 0.3);
}

.login-message {
    display: none;
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.login-message.success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #28a745;
}

.login-message.error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #ff6b6b;
}

.admin-info {
    margin-top: 24px;
    padding: 20px;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 8px;
    font-size: 14px;
    color: #ff6b6b;
}

/* Admin Dashboard Section */
.admin-dashboard-section {
    padding: 40px 20px;
    min-height: 80vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px 0 24px 0;
    border-bottom: 2px solid rgba(10, 61, 255, 0.3);
    gap: 20px;
    flex-wrap: wrap;
}

.dashboard-header > div:first-child {
    flex: 1;
    min-width: 0;
}

.dashboard-header h1 {
    font-size: 32px;
    margin-bottom: 4px;
    color: #ffffff;
    line-height: 1.2;
}

.admin-subtitle {
    font-size: 16px;
    color: #b0b0b0;
}

.admin-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(10, 61, 255, 0.15);
    border: 1px solid rgba(10, 61, 255, 0.5);
    border-radius: 8px;
    color: #0A3DFF;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 14px;
}

.admin-badge svg {
    color: #0A3DFF;
}

/* Admin Stats Grid */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.admin-stat-card {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(10, 61, 255, 0.3);
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
}

.admin-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(10, 61, 255, 0.3);
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 2px solid rgba(10, 61, 255, 0.3);
    overflow-x: auto;
    position: relative;
    z-index: 10;
}

.admin-tab-btn {
    padding: 14px 28px;
    background: transparent;
    border: none;
    color: #b0b0b0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.admin-tab-btn:hover {
    color: #0A3DFF;
    background: rgba(10, 61, 255, 0.05);
}

.admin-tab-btn.active {
    color: #0A3DFF;
    border-bottom-color: #0A3DFF;
}

.admin-tab-content {
    display: none;
    position: relative;
    z-index: 5;
}

.admin-tab-content.active {
    display: block !important;
}

/* Admin Tables */
.customers-table-wrapper,
.invoices-table-wrapper,
.invitations-table-wrapper {
    background: rgba(42, 42, 42, 0.8);
    border-radius: 12px;
    overflow: hidden;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.admin-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;
    padding: 0 20px;
}

.admin-table thead {
    background: rgba(10, 61, 255, 0.2);
}

.admin-table th,
.admin-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table th {
    font-weight: 600;
    color: #0A3DFF;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    color: #ffffff;
    font-size: 14px;
}

.admin-table tbody tr:hover {
    background: rgba(10, 61, 255, 0.1);
}

.admin-table code {
    background: rgba(10, 61, 255, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    color: #0A3DFF;
    font-size: 12px;
    font-family: 'Courier New', monospace;
}

/* Status Badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.status-badge.active {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.status-badge.suspended {
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
}

.status-badge.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-badge.sent {
    background: rgba(0, 123, 255, 0.2);
    color: #0A3DFF;
}

.status-badge.used {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.status-badge.inactive {
    background: rgba(108, 117, 125, 0.2);
    color: #888;
}

/* Button Styles */
.btn-small {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: 4px;
}

.btn-small.btn-primary {
    background: #0A3DFF;
    color: #ffffff;
}

.btn-small.btn-primary:hover {
    background: #0829a8;
}

.btn-small.btn-secondary {
    background: rgba(108, 117, 125, 0.3);
    color: #ffffff;
    border: 1px solid #6c757d;
}

.btn-small.btn-secondary:hover {
    background: rgba(108, 117, 125, 0.5);
}

.btn-small.btn-warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.btn-small.btn-warning:hover {
    background: rgba(255, 193, 7, 0.4);
}

.btn-small.btn-success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
}

.btn-small.btn-success:hover {
    background: rgba(40, 167, 69, 0.4);
}

.btn-danger-outline {
    padding: 10px 20px;
    background: transparent;
    color: #ff6b6b;
    border: 2px solid #dc3545;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-danger-outline:hover {
    background: rgba(220, 53, 69, 0.2);
}

/* Announcements Grid */
.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.announcement-card {
    background: rgba(42, 42, 42, 0.8);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(10, 61, 255, 0.3);
    position: relative;
}

.announcement-card.priority-high {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.announcement-card.priority-normal {
    border-color: #0A3DFF;
}

.announcement-card.priority-low {
    border-color: #28a745;
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.announcement-priority {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 8px;
}

.announcement-type {
    font-size: 12px;
    color: #888;
    text-transform: capitalize;
}

.announcement-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #ffffff;
}

.announcement-card p {
    font-size: 14px;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 16px;
}

.announcement-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #888;
}

/* Responsive Design - Admin */
@media (max-width: 768px) {
    .admin-dashboard-section {
        padding: 30px 16px;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .dashboard-header h1 {
        font-size: 24px;
        margin-bottom: 4px;
    }
    
    .dashboard-header > div:last-child {
        display: flex;
        justify-content: flex-start;
    }
    
    .admin-badge {
        align-self: flex-start;
        font-size: 13px;
        padding: 8px 16px;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .announcements-grid {
        grid-template-columns: 1fr;
    }

    .admin-table {
        font-size: 11px;
        min-width: 500px;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px 6px;
    }

    .admin-table-wrapper {
        margin: 0 -15px;
        padding: 0 15px;
    }

    .btn-small {
        padding: 4px 8px;
        font-size: 11px;
    }

    .admin-login-form {
        padding: 24px;
    }

    .referral-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   NOTIFICATION CENTER STYLES
   ============================================ */

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: #ffffff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.notification-center {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
    width: 90vw;
}

.notification-panel {
    background: rgba(42, 42, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(10, 61, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    max-height: 500px;
    overflow-y: auto;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notification-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
}

.notification-list {
    padding: 0;
}

.notification-item {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.notification-item.unread {
    background: rgba(10, 61, 255, 0.1);
}

.notification-item:hover {
    background: rgba(10, 61, 255, 0.15);
}

.notification-type {
    font-size: 20px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content strong {
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.notification-content p {
    color: #b0b0b0;
    margin: 4px 0;
    font-size: 13px;
    line-height: 1.4;
}

.notification-time {
    color: #888;
    font-size: 12px;
}

/* Hidden admin portal link */
.hidden-link {
    font-size: 0;
    padding: 0;
    margin: 0;
    border: 0;
    width: 0;
    height: 0;
    overflow: hidden;
}

.hidden-link:focus {
    font-size: 12px;
    padding: 0 4px;
    width: auto;
    height: auto;
    color: #0A3DFF;
    outline: 2px solid #0A3DFF;
}

/* ============================================
   NEW TRADE FEATURES STYLING
   ============================================ */

/* Documents Grid */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.document-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.document-card:hover {
    border-color: #0A3DFF;
    transform: translateY(-2px);
}

.document-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.document-info {
    flex: 1;
}

.document-info h3 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 8px;
}

.document-type {
    font-size: 13px;
    color: #0A3DFF;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.document-date {
    font-size: 12px;
    color: #888;
}

.document-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-download {
    padding: 8px 16px;
    background: #0A3DFF;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: #0829B8;
}

/* Messages Container */
.messages-container {
    margin-top: 24px;
}

.messages-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.message-card.unread {
    border-left: 4px solid #0A3DFF;
    background: #1a1a2a;
}

.message-card:hover {
    border-color: #0A3DFF;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.message-header h3 {
    font-size: 16px;
    color: #ffffff;
    margin: 0;
}

.message-date {
    font-size: 12px;
    color: #888;
}

.message-body {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 12px;
}

.message-attachment {
    color: #0A3DFF;
    font-size: 13px;
    margin-top: 8px;
}

.message-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #333;
}

.message-from {
    font-size: 13px;
    color: #888;
}

/* Reports Grid */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.report-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 24px;
}

.report-card h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 16px;
}

.report-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.report-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.stat-value.savings {
    color: #00ff88;
}

.report-card .btn-primary,
.report-card .btn-secondary {
    width: 100%;
    margin-top: 8px;
}

.agreement-item,
.booking-item {
    background: #0f0f0f;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.empty-state-small {
    color: #888;
    font-size: 13px;
    font-style: italic;
}

/* Emergency Contact Banner */
.emergency-contact-banner {
    background: linear-gradient(135deg, #ff3333 0%, #cc0000 100%);
    border-radius: 12px;
    padding: 32px;
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 4px 20px rgba(255, 51, 51, 0.3);
}

.emergency-contact-banner svg {
    color: #ffffff;
    flex-shrink: 0;
}

.emergency-contact-banner h3 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 8px;
}

.emergency-number {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 8px 0;
    letter-spacing: 1px;
}

.emergency-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* Settings Grid */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.settings-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 24px;
}

.settings-card h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #b0b0b0;
    margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    background: #0f0f0f;
    border: 1px solid #333;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0A3DFF;
}

.form-group input[type="file"] {
    padding: 8px 0;
}

.checkbox-group {
    margin-bottom: 12px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #b0b0b0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Billing Options */
.billing-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.billing-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #0f0f0f;
    border: 2px solid #333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.billing-option:hover {
    border-color: #0A3DFF;
}

.billing-option input[type="radio"] {
    margin-top: 2px;
    cursor: pointer;
}

.billing-option label {
    flex: 1;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.billing-option strong {
    color: #ffffff;
    font-size: 15px;
}

.billing-option span {
    color: #888;
    font-size: 13px;
}

/* Driver List */
.driver-item {
    background: #0f0f0f;
    padding: 16px;
    border-radius: 4px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.driver-item strong {
    color: #ffffff;
    font-size: 15px;
}

.driver-notes {
    color: #888;
    font-size: 13px;
    margin-top: 4px;
}

.btn-delete-small {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #ff3333;
    color: #ff3333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-delete-small:hover {
    background: #ff3333;
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .reports-grid {
        grid-template-columns: 1fr;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .emergency-contact-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .emergency-number {
        font-size: 28px;
    }
    
    .report-stats {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ADMIN PORTAL - NEW FEATURES STYLING
   ============================================ */

/* Admin Message Cards */
.admin-message-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.admin-message-card.unread {
    border-left: 4px solid #0A3DFF;
    background: #1a1a2a;
}

.admin-message-card:hover {
    border-color: #0A3DFF;
}

.message-header-admin {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.message-header-admin h3 {
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.message-from-customer {
    font-size: 14px;
    color: #0A3DFF;
    font-weight: 600;
    margin: 0;
}

.message-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.unread-badge {
    background: #ff3333;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.message-content {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 12px;
    padding: 12px;
    background: #0f0f0f;
    border-radius: 4px;
}

.message-actions {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #333;
}

/* Filter Buttons */
.filter-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-filter {
    padding: 8px 16px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #b0b0b0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-filter:hover {
    border-color: #0A3DFF;
    color: #0A3DFF;
}

.btn-filter.active {
    background: #0A3DFF;
    border-color: #0A3DFF;
    color: #ffffff;
}

.filter-group select {
    padding: 8px 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #ffffff;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: #0A3DFF;
}

/* Document Type Badge */
.doc-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.doc-type-badge.insurance {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
}

.doc-type-badge.license {
    background: rgba(10, 61, 255, 0.1);
    color: #0A3DFF;
}

.doc-type-badge.contract {
    background: rgba(255, 187, 0, 0.1);
    color: #ffbb00;
}

.doc-type-badge.other {
    background: rgba(176, 176, 176, 0.1);
    color: #b0b0b0;
}

/* Original Message Display */
.original-message-display {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.original-message p {
    margin: 8px 0;
    color: #b0b0b0;
    line-height: 1.6;
}

.original-message strong {
    color: #ffffff;
}

/* Admin Table Enhancements */
.admin-table tbody tr:hover {
    background: rgba(10, 61, 255, 0.05);
}

.admin-table .status-badge {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.reserved {
    background: rgba(255, 187, 0, 0.1);
    color: #ffbb00;
}

.status-badge.confirmed {
    background: rgba(10, 61, 255, 0.1);
    color: #0A3DFF;
}

.status-badge.completed {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
}

.status-badge.cancelled {
    background: rgba(255, 51, 51, 0.1);
    color: #ff3333;
}

.status-badge.active {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
}

.status-badge.pending {
    background: rgba(255, 187, 0, 0.1);
    color: #ffbb00;
}

.status-badge.expired {
    background: rgba(255, 51, 51, 0.1);
    color: #ff3333;
}

.status-badge.status-overdue {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    font-weight: 600;
}

.status-badge.status-paid {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.status-badge.status-pending {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

/* Section Header Flex */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 24px;
    color: #ffffff;
    margin: 0;
}

/* Search and Filter Bar */
.search-filter-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.search-input {
    padding: 10px 16px;
    background: rgba(42, 42, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    min-width: 250px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #0A3DFF;
    background: rgba(42, 42, 42, 1);
}

.search-input::placeholder {
    color: #888888;
}

.filter-select {
    padding: 12px 16px;
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

.filter-select::-ms-expand {
    display: none;
}

.filter-select:hover {
    border-color: #0A3DFF;
    filter: brightness(1.1);
}

.filter-select:focus {
    outline: none;
    border-color: #0A3DFF;
    box-shadow: 0 0 0 4px rgba(10, 61, 255, 0.2);
}

.filter-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 12px;
    font-size: 15px;
    font-weight: 500;
}

.section-header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

/* Modal Enhancements */
.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Empty State Styling */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.empty-state p {
    font-size: 16px;
    margin: 0;
}

/* Responsive Design for Admin Features */
@media (max-width: 768px) {
    .message-header-admin {
        flex-direction: column;
        gap: 12px;
    }
    
    .message-meta {
        align-items: flex-start;
    }
    
    .filter-group {
        flex-wrap: wrap;
    }
    
    .filter-group select {
        width: 100%;
    }
    
    .message-actions {
        flex-direction: column;
    }
    
    .message-actions button {
        width: 100%;
    }
}

/* ============================================
   ANALYTICS DASHBOARD
   ============================================ */

.analytics-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.analytics-card {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.analytics-card:hover {
    transform: translateY(-2px);
    border-color: rgba(10, 61, 255, 0.3);
    box-shadow: 0 4px 12px rgba(10, 61, 255, 0.1);
}

.analytics-card h3 {
    font-size: 14px;
    color: #b0b0b0;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.analytics-value {
    font-size: 32px;
    font-weight: 700;
    color: #0A3DFF;
    margin-bottom: 8px;
}

.analytics-value.analytics-success {
    color: #28a745;
}

.analytics-value.analytics-warning {
    color: #ffc107;
}

.analytics-value.analytics-danger {
    color: #dc3545;
}

.analytics-subtitle {
    font-size: 12px;
    color: #888888;
}

.charts-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.chart-container {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-container h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 20px;
}

.chart-container-full {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 24px;
}

.chart-container-full h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 20px;
}

.pie-chart {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
}

.pie-chart-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pie-chart-color {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.pie-chart-info {
    flex: 1;
}

.pie-chart-label {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 4px;
}

.pie-chart-value {
    font-size: 20px;
    font-weight: 600;
    color: #0A3DFF;
}

.pie-chart-percentage {
    font-size: 12px;
    color: #888888;
    margin-left: 8px;
}

@media (max-width: 768px) {
    .charts-row {
        grid-template-columns: 1fr;
    }
    
    .analytics-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PRICING MANAGEMENT
   ============================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.pricing-card {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: rgba(10, 61, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.pricing-card h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-description {
    font-size: 14px;
    color: #888888;
    margin-bottom: 24px;
    line-height: 1.5;
}

.pricing-service-group {
    background: rgba(30, 30, 30, 0.6);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.pricing-service-group:last-child {
    margin-bottom: 0;
}

.pricing-service-group h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-input-group {
    margin-bottom: 16px;
}

.pricing-input-group:last-child {
    margin-bottom: 0;
}

.pricing-input-group label {
    display: block;
    font-size: 14px;
    color: #b0b0b0;
    margin-bottom: 8px;
    font-weight: 500;
}

.pricing-input-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.pricing-input-group input:focus {
    outline: none;
    border-color: #0A3DFF;
    background: rgba(20, 20, 20, 0.95);
    box-shadow: 0 0 0 3px rgba(10, 61, 255, 0.1);
}

.pricing-addon-group {
    margin-bottom: 20px;
}

.pricing-addon-group:last-child {
    margin-bottom: 0;
}

.pricing-addon-group label {
    display: block;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 500;
}

.pricing-addon-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.pricing-addon-group input:focus {
    outline: none;
    border-color: #0A3DFF;
    background: rgba(20, 20, 20, 0.95);
    box-shadow: 0 0 0 3px rgba(10, 61, 255, 0.1);
}

.pricing-config-group {
    margin-bottom: 24px;
}

.pricing-config-group:last-child {
    margin-bottom: 0;
}

.pricing-config-group label {
    display: block;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 500;
}

.pricing-config-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.pricing-config-group input:focus {
    outline: none;
    border-color: #0A3DFF;
    background: rgba(20, 20, 20, 0.95);
    box-shadow: 0 0 0 3px rgba(10, 61, 255, 0.1);
}

.pricing-config-group small {
    display: block;
    font-size: 12px;
    color: #888888;
    margin-top: 6px;
    line-height: 1.4;
}

.pricing-preview {
    background: linear-gradient(135deg, rgba(10, 61, 255, 0.1) 0%, rgba(42, 42, 42, 0.8) 100%);
    border-color: rgba(10, 61, 255, 0.2);
}

.pricing-preview-inputs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.pricing-preview-inputs select,
.pricing-preview-inputs input {
    flex: 1;
    padding: 12px 16px;
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pricing-preview-inputs select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

.pricing-preview-inputs select::-ms-expand {
    display: none;
}

.pricing-preview-inputs select:hover,
.pricing-preview-inputs input:hover {
    border-color: #0A3DFF;
    filter: brightness(1.1);
}

.pricing-preview-inputs select:focus,
.pricing-preview-inputs input:focus {
    outline: none;
    border-color: #0A3DFF;
    box-shadow: 0 0 0 3px rgba(10, 61, 255, 0.2);
}

.pricing-preview-inputs select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 12px;
    font-size: 15px;
    font-weight: 500;
}

.pricing-preview-inputs button {
    padding: 12px 24px;
    white-space: nowrap;
}

.pricing-preview-result {
    background: rgba(20, 20, 20, 0.6);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(10, 61, 255, 0.2);
}

.preview-label {
    display: block;
    font-size: 14px;
    color: #888888;
    margin-bottom: 8px;
}

.preview-price {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #0A3DFF;
    text-shadow: 0 0 20px rgba(10, 61, 255, 0.3);
}

.pricing-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-preview-inputs {
        flex-direction: column;
    }
    
    .pricing-actions {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
}
