/* Generated style bundle. Edit ClientApp sources and run: npm run build:client */

/* Source: ClientApp/css/components/form-tabs.css */
/* Life Insurance Tab Styles */
        .life-tab {
            cursor: pointer;
            border: none;
            outline: none;
        }

        .active-tab {
            background-color: #800000 !important;
            color: white !important;
        }

        .life-tab-content {
            display: none;
        }

        .active-tab-content {
            display: block;
        }

        .maroon-line {
            height: 3px;
            background-color: #800000;
            width: 100%;
            margin: 10px 0;
        }

        .health-tab {
            cursor: pointer;
            border: none;
            outline: none;
        }

        .health-active-tab {
            background-color: #800000 !important;
            color: white !important;
        }

        .health-tab-content {
            display: none;
        }

        .health-active-tab-content {
            display: block;
        }

        .maroon-heading {
            color: #800000;
            font-weight: bold;
            font-size: 1.2rem;
            margin-bottom: 1rem;
        }

        /* Loading and Success Modal Styles */

/* Source: ClientApp/css/components/feedback-modals.css */
.loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 5px solid #f3f3f3;
            border-top: 5px solid #800000;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        .loading-text {
            color: white;
            margin-top: 15px;
            font-size: 18px;
            font-weight: bold;
        }

        .success-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .success-content {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            max-width: 500px;
            width: 90%;
            border: 3px solid #800000;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .success-icon {
            font-size: 48px;
            color: #800000;
            margin-bottom: 15px;
        }

        .success-title {
            color: #800000;
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 15px;
        }

        .success-message {
            color: #333;
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .success-button {
            background-color: #800000;
            color: white;
            border: none;
            padding: 10px 25px;
            border-radius: 5px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s;
        }

            .success-button:hover {
                background-color: #600000;
            }

        /* Language Selector Styles */

/* Source: ClientApp/css/components/language-selector.css */
#languageDropdown, #mobileLanguageDropdown {
            animation: fadeIn 0.2s ease-in-out;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-5px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .language-selector {
            position: relative;
        }

        .language-button {
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 8px 12px;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            background: white;
            color: #333;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
        }

            .language-button:hover {
                border-color: #800000;
                color: #800000;
            }

        .language-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 5px;
            background: white;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            min-width: 140px;
            z-index: 1000;
        }

        .language-option {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 15px;
            width: 100%;
            text-align: left;
            background: none;
            border: none;
            cursor: pointer;
            transition: background 0.2s;
        }

            .language-option:hover {
                background-color: #f3f4f6;
            }

            .language-option.active {
                background-color: #fee2e2;
                color: #800000;
            }

        /* Mobile-specific fixes */

/* Source: ClientApp/css/responsive.css */
/* Cross-browser sizing and overflow safeguards. */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    min-width: 0;
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
}

button,
input,
select,
textarea {
    max-width: 100%;
    font: inherit;
}

.site-header .header-logo-container,
.site-header .header-brand-copy,
.site-header .header-desktop-content {
    min-width: 0;
}

.site-header .header-logo-container img {
    height: auto;
    flex: 0 0 auto;
}

.site-header .header-brand-copy h1,
.site-header .header-brand-copy p {
    overflow-wrap: anywhere;
}

.mobile-menu-toggle {
    min-width: 44px;
    min-height: 44px;
    flex: 0 0 auto;
    border-radius: 0.5rem;
}

.mobile-menu-toggle:focus-visible,
.language-button:focus-visible,
.language-option:focus-visible {
    outline: 3px solid rgba(220, 38, 38, 0.35);
    outline-offset: 2px;
}



/* Footer grid: preserve the current desktop composition while giving the contact
   column enough room for the street address and avoiding narrow tablet columns. */
.footer-address-copy {
    min-width: 0;
    line-height: 1.45;
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr)
            minmax(0, 0.75fr)
            minmax(225px, 1.35fr)
            minmax(0, 0.75fr) !important;
    }

    .footer-address-street {
        white-space: nowrap;
    }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .footer-grid > :first-child {
        grid-column: 1 / -1;
    }
}

/* Phones and tablets use the compact navigation. The desktop header remains unchanged at lg+. */
@media (max-width: 1023.98px) {
    .site-header > .container {
        width: 100%;
        max-width: none;
    }

    .site-header .header-logo-container {
        flex: 1 1 auto;
        gap: 0.625rem;
    }

    #mobileMenu {
        width: 100%;
        max-height: calc(100vh - 5rem);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    @supports (height: 100dvh) {
        #mobileMenu {
            max-height: calc(100dvh - 5rem);
        }
    }

    #mobileLanguageSelector {
        width: 100%;
        justify-content: center;
        margin: 0.625rem 0;
        min-height: 44px;
    }

    #mobileLanguageDropdown {
        left: 0;
        right: 0;
        width: 100%;
        max-height: min(18rem, 55vh);
        overflow-y: auto;
    }

    #mobileMenu .mobile-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.625rem !important;
        width: 100% !important;
        margin-top: 1rem !important;
    }

    #mobileMenu .mobile-buttons button {
        width: 100% !important;
        min-height: 44px;
        margin: 0 !important;
        white-space: normal;
        line-height: 1.3;
    }
}

@media (max-width: 767.98px) {
    .site-header .header-logo-container {
        text-align: left;
    }

    .site-header .header-logo-container img {
        width: clamp(5.5rem, 25vw, 8rem);
    }

    .site-header .header-brand-copy h1 {
        font-size: clamp(0.8rem, 3.5vw, 1.05rem);
        line-height: 1.2;
    }

    .site-header .header-brand-copy p {
        font-size: clamp(0.68rem, 2.8vw, 0.8rem);
        line-height: 1.25;
    }

    .hero-content {
        padding-inline: 0.25rem;
    }

    .hero-badge {
        width: min(12rem, 62vw);
        max-width: 100%;
        margin: 0 auto 1.25rem;
    }

    .service-card,
    .feature-card,
    .video-card,
    .quote-contact-card {
        width: 100%;
        min-width: 0;
    }

    .quote-contact-grid,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .quote-contact-grid {
        gap: 0.9375rem !important;
    }

    .popup-form-grid,
    .form-grid-mobile {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0.5rem !important;
    }

    .popup-form-label,
    .form-label-mobile {
        text-align: left !important;
        margin-bottom: 0.25rem !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
    }

    .popup-form-input,
    .form-input-mobile,
    .form-grid-mobile > input,
    .form-grid-mobile > select,
    .form-grid-mobile > textarea {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .tab-nav-mobile {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.375rem !important;
        border-bottom: 0 !important;
    }

    .tab-button-mobile {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        margin: 0 !important;
        padding: 0.625rem 0.375rem !important;
        border-radius: 0.5rem !important;
        white-space: normal;
        line-height: 1.25;
    }

    .radio-group-mobile {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0.375rem !important;
        width: 100% !important;
    }

    .radio-group-mobile label {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 40px;
        margin: 0 !important;
        padding: 0.375rem 0 !important;
    }

    .radio-group-mobile input[type="radio"],
    .radio-group-mobile input[type="checkbox"] {
        width: 20px !important;
        height: 20px !important;
        margin-right: 0.5rem !important;
        flex: 0 0 auto;
    }

    .modal-mobile {
        width: calc(100% - 1rem) !important;
        max-width: calc(100vw - 1rem) !important;
        max-height: calc(100vh - 1rem) !important;
        margin: 0.5rem auto !important;
        padding: 1rem !important;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    @supports (height: 100dvh) {
        .modal-mobile {
            max-height: calc(100dvh - 1rem) !important;
        }
    }

    .modal-mobile h2 {
        padding-inline: 2rem;
        font-size: clamp(1.25rem, 5vw, 1.5rem);
        line-height: 1.25;
    }

    .modal-mobile input,
    .modal-mobile select,
    .modal-mobile textarea,
    .modal-mobile button {
        min-width: 0;
    }

    .life-tab-content .space-y-4,
    .life-tab-content .space-y-6,
    .health-tab-content .space-y-4,
    .health-tab-content .space-y-6 {
        gap: 1rem !important;
    }
}

@media (max-width: 374.98px) {
    .site-header > .container {
        padding-inline: 0.625rem;
    }

    .site-header .header-logo-container img {
        width: 5rem;
    }

    .site-header .header-brand-copy p {
        display: none;
    }

    .tab-nav-mobile {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Keep the desktop header polished at narrower laptop widths without changing its layout. */
@media (min-width: 1024px) and (max-width: 1279.98px) {
    .site-header .header-logo-container img {
        width: 8rem;
    }

    .site-header .header-brand-copy h1 {
        font-size: 1rem;
        line-height: 1.2;
    }

    .site-header .header-brand-copy p,
    .site-header .header-desktop-content p,
    .site-header .header-button {
        font-size: 0.75rem;
    }

    .site-header .header-desktop-content {
        gap: 0.625rem;
    }

    .site-header .header-button {
        padding-inline: 0.75rem;
        white-space: normal;
        line-height: 1.2;
    }
}

/* Source: ClientApp/css/components/layout-and-forms.css */
:root {
            --united-blue: #1e40af;
            --united-light-blue: #3b82f6;
            --united-dark-blue: #1e3a8a;
            --site-card-border-width: 2px;
            --site-card-border-color: #dc2626;
            --site-card-radius: 0.75rem;
            --site-card-shadow: 0 1px 3px rgba(15, 23, 42, 0.12), 0 1px 2px rgba(15, 23, 42, 0.08);
            --site-card-hover-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.16), 0 4px 6px -4px rgba(15, 23, 42, 0.12);
        }

        /* Shared bordered-card language used across services, features, videos, and quote contacts. */
        .service-card,
        .feature-card,
        .video-card,
        .quote-contact-card {
            box-sizing: border-box;
            border-radius: var(--site-card-radius);
            transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .service-card,
        .feature-card,
        .video-card {
            border: var(--site-card-border-width) solid var(--site-card-border-color) !important;
            box-shadow: var(--site-card-shadow) !important;
        }

        .service-card:hover,
        .feature-card:hover,
        .video-card:hover {
            box-shadow: var(--site-card-hover-shadow) !important;
        }

        .quote-contact-card {
            border: var(--site-card-border-width) solid rgba(255, 255, 255, 0.45);
            box-shadow: var(--site-card-shadow);
        }

        .quote-contact-card:hover {
            background-color: rgba(255, 255, 255, 0.15) !important;
            box-shadow: var(--site-card-hover-shadow);
        }

        #help {
            resize: none;
            overflow-y: hidden;
            min-height: 60px;
        }

        #quotePopup {
            align-items: flex-start;
            padding: 20px 0;
        }

            #quotePopup > div {
                max-height: 90vh;
                overflow-y: auto;
                margin: auto;
            }

        /* Animation for language change feedback */
        .animate-fadeIn {
            animation: fadeIn 0.3s ease-out;
        }

        .animate-fadeOut {
            animation: fadeOut 0.3s ease-in;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeOut {
            from {
                opacity: 1;
                transform: translateY(0);
            }

            to {
                opacity: 0;
                transform: translateY(-20px);
            }
        }

/* Source: ClientApp/css/components/video-player.css */
/* Guinee YouTube Video Section - Safe Risk/Daisy style with red Play Video badge, hover play icon, duration row, and Watch Video button */
        .video-hover-container {
            position: relative;
            z-index: 0;
            isolation: isolate;
            contain: paint;
            overflow: hidden;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            aspect-ratio: 16 / 9;
            background: #000;
        }

            .video-hover-container:hover {
                transform: translateY(-5px);
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            }

        .video-thumbnail {
            width: 100%;
            height: 100% !important;
            min-height: 0 !important;
            object-fit: cover;
            object-position: center center;
            display: block;
            transition: transform 0.5s ease;
        }

        .video-hover-container:hover .video-thumbnail {
            transform: scale(1.04);
        }

        .video-hover-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.70);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 10;
            pointer-events: none;
        }

        .video-hover-container:hover .video-hover-overlay {
            opacity: 1;
        }

        .video-play-icon {
            font-size: 48px;
            color: white;
            background: rgba(229, 62, 62, 0.8);
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease, background 0.3s ease;
        }

        .video-hover-container:hover .video-play-icon {
            transform: scale(1.1);
            background: rgba(229, 62, 62, 1);
        }

        .video-youtube-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: #FF0000;
            color: white;
            font-size: 12px;
            font-weight: bold;
            padding: 4px 8px;
            border-radius: 4px;
            z-index: 15;
        }

        /* Branding strip - normal view shows website, number, and logo without spoiling thumbnail */
        .video-brand-strip {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 60;
            height: 38px;
            min-height: 38px;
            padding: 1px 10px;
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(3px);
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto minmax(54px, 0.7fr);
            align-items: center;
            gap: 7px;
            border-bottom-left-radius: 0.45rem;
            border-bottom-right-radius: 0.45rem;
            pointer-events: none;
            box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.08);
        }

        .video-brand-website {
            font-size: 10px;
            line-height: 1.35;
            font-weight: 600;
            color: #4b5563;
            white-space: nowrap;
            overflow: visible;
            text-overflow: clip;
            justify-self: start;
            align-self: center;
            padding-block: 2px;
        }

        .video-brand-phone {
            background: #dc2626;
            color: #ffffff;
            font-size: 10px;
            line-height: 1;
            font-weight: 700;
            min-width: 105px;
            height: 24px;
            padding: 0 12px;
            border-radius: 9999px;
            white-space: nowrap;
            justify-self: center;
            align-self: center;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
        }

        .video-brand-logo {
            height: 21px;
            width: auto;
            max-width: 74px;
            object-fit: contain;
            justify-self: end;
            align-self: center;
        }

        .video-hover-container .youtube-education-video {
            position: absolute;
            inset: 0;
            width: 100% !important;
            height: 100% !important;
            background: #000;
            border: none;
            z-index: 20;
            pointer-events: none !important;
        }

        .youtube-hover-shield {
            position: absolute;
            inset: 0;
            z-index: 45;
            border: 0;
            padding: 0;
            margin: 0;
            background: transparent;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }

        .video-control-feedback {
            width: 58px;
            height: 58px;
            border-radius: 9999px;
            background: rgba(17, 24, 39, 0.96);
            color: #fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
            opacity: 0;
            visibility: hidden;
            transform: scale(0.92);
            transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
            pointer-events: none;
        }

        .video-hover-container.is-youtube-paused .video-control-feedback {
            opacity: 1;
            visibility: visible;
            transform: scale(1);
        }

        .video-hover-container.is-video-playing {
            background: #000;
        }

            .video-hover-container.is-video-playing .video-thumbnail,
            .video-hover-container.is-video-playing .video-hover-overlay,
            .video-hover-container.is-video-playing .video-play-icon,
            .video-hover-container.is-video-playing .video-youtube-badge {
                display: none !important;
                opacity: 0 !important;
                visibility: hidden !important;
            }

            .video-hover-container.is-video-playing .video-brand-strip {
                z-index: 60;
                pointer-events: none;
            }

        .video-fullscreen-toggle {
            position: absolute;
            top: 10px;
            right: 10px;
            z-index: 80;
            width: 38px;
            height: 38px;
            border: 0;
            border-radius: 8px;
            background: rgba(0, 0, 0, 0.72);
            color: #ffffff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
        }

            .video-fullscreen-toggle:hover {
                background: rgba(0, 0, 0, 0.9);
            }

        .video-hover-container:fullscreen,
        .video-hover-container:-webkit-full-screen {
            width: 100vw !important;
            max-width: none !important;
            min-width: 100vw !important;
            height: 100vh !important;
            min-height: 100vh !important;
            border-radius: 0 !important;
            background: #000;
            overflow: hidden;
        }

            .video-hover-container:fullscreen .youtube-education-video,
            .video-hover-container:-webkit-full-screen .youtube-education-video {
                width: 100vw !important;
                height: 100vh !important;
                background: #000;
            }

            .video-hover-container:fullscreen .youtube-hover-shield,
            .video-hover-container:-webkit-full-screen .youtube-hover-shield {
                z-index: 99970;
            }

            .video-hover-container:fullscreen .video-brand-strip,
            .video-hover-container:-webkit-full-screen .video-brand-strip {
                left: 50%;
                right: auto;
                bottom: 24px;
                width: min(92vw, 720px);
                height: 54px;
                min-height: 54px;
                padding: 0 20px;
                border-radius: 14px;
                transform: translateX(-50%);
                z-index: 99999;
                grid-template-columns: 1fr auto 1fr;
            }

            .video-hover-container:fullscreen .video-brand-website,
            .video-hover-container:-webkit-full-screen .video-brand-website {
                font-size: 15px;
            }

            .video-hover-container:fullscreen .video-brand-phone,
            .video-hover-container:-webkit-full-screen .video-brand-phone {
                font-size: 16px;
                min-width: 170px;
                height: 38px;
            }

            .video-hover-container:fullscreen .video-brand-logo,
            .video-hover-container:-webkit-full-screen .video-brand-logo {
                height: 34px;
                max-width: 115px;
            }

            .video-hover-container:fullscreen .video-fullscreen-toggle,
            .video-hover-container:-webkit-full-screen .video-fullscreen-toggle {
                top: 24px;
                right: 24px;
                z-index: 99999;
                width: 46px;
                height: 46px;
                font-size: 18px;
            }

        .watch-video-btn {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            min-width: 120px !important;
            white-space: nowrap !important;
        }

        .video-duration-text {
            min-width: 80px !important;
            text-align: center !important;
            white-space: nowrap !important;
        }

        .watch-video-btn[hidden] {
            display: none !important;
        }

        .watch-video-btn,
        .video-hover-container,
        .video-fullscreen-toggle {
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }

        @media (hover: none), (pointer: coarse) {
            .video-hover-container:hover {
                transform: none;
                box-shadow: none;
            }

            .video-hover-container:hover .video-thumbnail {
                transform: none;
            }
        }

        @media (max-width: 768px) {
            #videos .grid.md\:grid-cols-3 {
                grid-template-columns: 1fr;
            }

            .video-brand-strip {
                height: 34px;
                min-height: 34px;
                padding: 1px 8px;
                gap: 5px;
            }

            .video-brand-website {
                font-size: 8.5px;
                line-height: 1.35;
            }

            .video-brand-phone {
                font-size: 9px;
                min-width: 96px;
                height: 24px;
                padding: 0 10px;
            }

            .video-brand-logo {
                height: 18px;
                max-width: 62px;
            }

            .watch-video-btn {
                min-width: 110px !important;
                width: auto !important;
                font-size: 14px;
            }
        }

        @media (min-width: 769px) and (max-width: 1023.98px) {
            #videos .grid.md\:grid-cols-3 {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (min-width: 769px) and (max-width: 1120px) {
            .video-brand-website {
                font-size: 8px;
                line-height: 1.35;
            }

            .video-brand-phone {
                min-width: 96px;
                font-size: 9px;
                padding: 0 9px;
            }

            .video-brand-logo {
                height: 18px;
                max-width: 58px;
            }
        }

/* Source: ClientApp/css/components/header.css */
.site-header {
    isolation: isolate;
    z-index: 100;
}
