/* 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 */
@media (max-width: 768px) {
            /* Header mobile adjustments */
            .header-logo-container {
                flex-direction: column;
                text-align: center;
            }
            /* Fix for mobile header buttons */
            .mobile-buttons {
                display: flex;
                flex-direction: column;
                gap: 8px;
                margin-top: 10px;
            }

                .mobile-buttons button {
                    width: 100%;
                }
            /* Language selector mobile */
            #mobileLanguageSelector {
                margin: 10px 0;
            }

            #mobileLanguageDropdown {
                width: 100%;
                right: 0;
                left: 0;
            }
            /* Hero section mobile adjustments */
            .hero-content {
                padding: 0 15px;
            }

            .hero-badge {
                max-width: 200px;
                margin: 0 auto 20px;
            }
            /* Services section mobile adjustments */
            .service-card {
                margin-bottom: 20px;
            }
            /* About section mobile adjustments */
            .about-grid {
                flex-direction: column;
            }
            /* Quote section mobile adjustments */
            .quote-contact-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            /* Footer mobile adjustments */
            .footer-grid {
                grid-template-columns: 1fr;
                text-align: center;
            }
            /* Popup form mobile adjustments */
            .popup-form-grid {
                grid-template-columns: 1fr !important;
            }

            .popup-form-label {
                text-align: left !important;
                margin-bottom: 5px;
            }

            .popup-form-input {
                width: 100% !important;
            }
            /* Fix for form grid on mobile */
            .form-grid-mobile {
                grid-template-columns: 1fr !important;
            }

            .form-label-mobile {
                text-align: left !important;
                margin-bottom: 5px;
            }

            .form-input-mobile {
                width: 100% !important;
            }
            /* Fix for tab navigation on mobile */
            .tab-nav-mobile {
                flex-wrap: wrap;
            }

            .tab-button-mobile {
                flex: 1 0 auto;
                min-width: 45%;
                margin-bottom: 5px;
                font-size: 0.75rem;
                padding: 8px 4px;
            }
            /* Fix for radio button groups on mobile */
            .radio-group-mobile {
                flex-direction: column;
                gap: 5px;
            }
            /* Fix for modal width on mobile */
            .modal-mobile {
                width: 95% !important;
                margin: 10px auto;
            }
            /* Improved radio button group styling */
            .radio-group-mobile {
                flex-direction: column !important;
                gap: 8px !important;
                width: 100%;
            }

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

                .radio-group-mobile input[type="radio"] {
                    margin-right: 8px !important;
                    transform: scale(1.2) !important;
                }
            /* Fix for form grid alignment on mobile */
            .form-grid-mobile {
                grid-template-columns: 1fr !important;
                gap: 8px !important;
            }

            .form-label-mobile {
                text-align: left !important;
                margin-bottom: 4px !important;
                font-weight: 600 !important;
            }

            .form-input-mobile {
                width: 100% !important;
                margin: 0 !important;
            }
            /* Ensure proper spacing in grid layouts */
            .grid.grid-cols-1.md\\:grid-cols-3.gap-2.items-center {
                gap: 12px !important;
            }
            /* Better form section spacing */
            .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: 16px !important;
            }
            /* Improved radio button appearance */
            input[type="radio"] {
                width: 20px !important;
                height: 20px !important;
            }
            /* Better label alignment */
            .text-sm.font-bold.text-gray-700 {
                font-size: 14px !important;
                line-height: 1.4 !important;
            }
            /* Ensure proper button stacking in mobile header menu */
            #mobileMenu .mobile-buttons {
                display: flex !important;
                flex-direction: column !important;
                gap: 10px !important;
                width: 100% !important;
            }

                #mobileMenu .mobile-buttons button {
                    width: 100% !important;
                    margin: 2px 0 !important;
                }
        }

        /* Fix for header buttons in 770-1025px range */
        @media (min-width: 770px) and (max-width: 1025px) {
            /* Header container adjustments */
            .container.mx-auto.px-4.py-2 .flex.items-center.justify-between {
                flex-direction: column;
                align-items: flex-start;
            }
            /* Logo and title adjustments */
            .flex.items-center.space-x-2 {
                margin-bottom: 15px;
                width: 100%;
                justify-content: center;
            }
            /* Desktop contact info and buttons - make them behave like mobile menu */
            .hidden.md\\:flex.items-center.space-x-6 {
                display: flex !important;
                flex-direction: column;
                width: 100%;
                align-items: center;
                gap: 15px;
            }

                .hidden.md\\:flex.items-center.space-x-6 .text-right {
                    text-align: center !important;
                    width: 100%;
                }

                .hidden.md\\:flex.items-center.space-x-6 .flex.flex-col.space-y-2 {
                    width: 100%;
                    gap: 10px;
                }

                .hidden.md\\:flex.items-center.space-x-6 .flex.space-x-2 {
                    width: 100%;
                    gap: 10px;
                }
            /* Language selector for medium screens */
            .language-selector-container {
                width: 100%;
                margin-top: 10px;
            }
            /* Button styling for medium screens */
            .hidden.md\\:flex.items-center.space-x-6 button {
                width: 100% !important;
                padding: 12px 16px !important;
                font-size: 14px !important;
                text-align: center;
            }

            .hidden.md\\:flex.items-center.space-x-6 .flex.space-x-2 {
                display: flex !important;
                flex-direction: column;
                gap: 10px;
            }
            /* Specific button adjustments */
            .bg-united-blue.hover\\:bg-united-dark-blue,
            .bg-united-light-blue.hover\\:bg-united-dark-blue {
                width: 100% !important;
                display: block !important;
                margin: 5px 0 !important;
            }
        }

/* 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: 34px;
            min-height: 34px;
            padding: 0 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: 9px;
            line-height: 1;
            font-weight: 600;
            color: #4b5563;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            justify-self: start;
            align-self: center;
        }

        .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;
        }

        .video-hover-container.is-youtube-paused .youtube-hover-shield::after {
            content: '\f04b';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 58px;
            height: 58px;
            border-radius: 9999px;
            background: rgba(0, 0, 0, 0.48);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
        }

        .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;
        }

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

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

            .video-brand-website {
                font-size: 8px;
            }

            .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: 1120px) {
            .video-brand-website {
                font-size: 7.5px;
            }

            .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;
}
