/* Specific overrides for the download page to fit the split layout within the theme */
        body {
            /* styles.css sets the background, we just ensure flex is off or handled */
            /* We want to keep the split layout but use the theme's background */
            display: flex;
            background-image: url("{{ url_for('static', filename='MORPHLING.jpg') }}");
            background-size: cover;
            background-position: center;
            margin: 0;
            height: 110vh;
            overflow: hidden;
            color: #d4d4d4;
            font-family: 'Cascadia Code', sans-serif;
        }

        /* Overlay to darken background like in styles.css body::before */
        .bg-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background-color: rgba(0, 0, 0, 0.5);
            /* Lighter opacity as requested (was 0.7) */
        }

        /* Container for the split view */
        .split-container {
            display: flex;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        /* Left Column: Action Area */
        .split-left {
            width: 50%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 40px;
            /* Use theme container style */
            background-color: rgba(5, 5, 5, 0.6);
            border-right: 1px solid #2d2d30;
            backdrop-filter: blur(5px);
        }

        /* Right Column: Info Area */
        .split-right {
            width: 50%;
            overflow-y: auto;
            padding: 40px;
            /* Transparent or slight tint */
            background: rgba(0, 0, 0, 0.2);
            display: flex;
            flex-direction: column;
        }

        /* Mobile Responsive */
        @media (max-width: 900px) {
            body {
                height: auto;
                overflow-y: auto;
            }

            .split-container {
                flex-direction: column;
            }

            .split-left,
            .split-right {
                width: 100%;
                padding: 5px;
                border: none;
            }

            .split-left {
                min-height: 60vh;
                border-bottom: 1px solid #2d2d30;
            }
        }

        /* Auth Card - Matches .filters-form style */
        .auth-card {
            background-color: rgba(5, 5, 5, 0.84);
            border: 1px solid #2d2d30;
            border-radius: 8px;
            padding: 45px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
            width: 100%;
            max-width: 400px;
            text-align: center;
        }

        .auth-card h1 {
            border-bottom: 2px solid rgba(255, 255, 255, 0.1);
            padding-bottom: 15px;
            margin-bottom: 20px;
            color: #d4d4d4;
            font-size: 2em;
            text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
            box-shadow: none;
            /* Reset styles.css h1 box-shadow if needed */
            background: transparent;
            backdrop-filter: none;
        }

        .auth-card p {
            color: #aaa;
            margin-bottom: 19px;
        }

        .form-group {
            margin-bottom: 20px;
            text-align: left;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-size: 0.9em;
            color: #9cdcfe;
            /* Light Blue for labels */
        }

        /* Input styling matching .hero-input */
        .form-group input {
            width: 100%;
            padding: 10px;
            background-color: rgba(0, 0, 0, 0.4);
            border: 1px solid #404040;
            color: #d4d4d4;
            border-radius: 4px;
            font-family: 'Cascadia Code', sans-serif;
            font-size: 1em;
            box-sizing: border-box;
            /* Fix overflow */
        }

        .form-group input:focus {
            outline: none;
            border-color: #007acc;
            box-shadow: 0 0 5px rgba(0, 122, 204, 0.5);
        }

        /* Buttons matching styles.css button */
        .btn-primary {
            background-color: #2d2d30;
            color: #ffffff;
            padding: 7px;
            border: none;
            border-radius: 4px;
            font-family: 'Cascadia Code', sans-serif;
            font-size: 1.1em;
            font-weight: bold;
            cursor: pointer;
            width: 100%;
            transition: background-color 0.3s ease;
            /* margin-top: 10px; */
        }

        .btn-primary:hover {
            background-color: #007acc;
        }

        /* Download Button - Special Green */
        .btn-download {
            background-color: #4CAF50;
            /* Keep green for download action */
            color: white;
            font-size: 1.3em;
            margin-top: 20px;
            display: block;
            text-decoration: none;
            padding: 5px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
            text-align: center;
            font-weight: bold;
            font-family: 'Cascadia Code', sans-serif;
            transition: all 0.2s;
        }

        .btn-download:hover {
            background-color: #45a049;
            transform: translateY(-2px);
        }

        /* Renew Button */
        .btn-renew {
            background-color: #085488;
            /* Theme Blue */
            border: 1px solid #569cd6;
        }

        .btn-renew:hover {
            background-color: #007acc;
        }

        .links {
            margin-top: 20px;
            font-size: 0.9em;
            display: flex;
            justify-content: space-between;
        }

        .links a {
            color: #888;
            text-decoration: none;
            cursor: pointer;
            transition: color 0.2s;
        }

        .links a:hover {
            color: #569cd6;
            text-decoration: underline;
        }

        .trial-link {
            margin-top: 30px;
            border-top: 1px solid #333;
            padding-top: 20px;
            font-size: 0.9em;
            color: #888;
        }

        .trial-link a {
            color: #9cdcfe;
            text-decoration: underline;
        }

        /* Right Column Headers */
        .info-section h2 {
            color: #9cdcfe;
            border-bottom: 2px solid #2d2d30;
            padding-bottom: 5px;
            margin-bottom: 20px;
            font-family: 'Cascadia Code', sans-serif;
        }

        /* Video Container - Responsive Aspect Ratio 16:9 */
        .video-container {
            position: relative;
            padding-bottom: 56.25%;
            /* 16:9 */
            height: 0;
            overflow: hidden;
            border: 1px solid #2d2d30;
            background: #000;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        /* Lists */
        .req-list li::before {
            color: #569cd6;
            /* Blue bullet */
        }

        .req-warning {
            color: #ff4444;
            /* Bright Red for warnings */
            font-weight: bold;
            text-shadow: 0 0 5px rgba(255, 68, 68, 0.3);
        }

        .faq-item {
            margin-bottom: 25px;
            /* Add spacing between items */
        }

        .faq-question {
            color: #9cdcfe;
            /* Theme Light Blue */
            font-weight: bold;
            margin-bottom: 8px;
            /* Add spacing between question and answer */
            font-size: 1.1em;
        }

        .faq-answer {
            color: #e0e0e0;
            line-height: 1.5;
            font-size: 0.93em;
            margin-left: 10px;
        }

        .error-msg {
            color: #ff4444;
            /* Theme Red */
            margin-bottom: 15px;
            display: none;
            border: 1px solid #ff4444;
            padding: 10px;
            background: rgba(255, 68, 68, 0.1);
            border-radius: 4px;
        }

        /* Plan Selector */
        .plan-selector {
            display: flex;
            /* gap: 10px; */
            margin-bottom: 20px;
            justify-content: center;
        }

        .plan-option {
            border: 1px solid #404040;
            background: rgba(0, 0, 0, 0.4);
            padding: 5px;
            border-radius: 4px;
            cursor: pointer;
            flex: 1;
            text-align: center;
            transition: all 0.2s;
        }

        .plan-option:hover {
            background: #2d2d30;
        }

        .plan-option.selected {
            border-color: #569cd6;
            background: rgba(86, 156, 214, 0.1);
        }

        .plan-name {
            display: block;
            font-weight: bold;
            margin-bottom: 5px;
            color: #fff;
        }

        .plan-price {
            display: block;
            font-size: 0.9em;
            color: #ccc;
        }

        /* Carousel Styles */
        .carousel-container {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            margin: auto;
            border: 1px solid #2d2d30;
            border-radius: 8px 8px 0 0;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
            background-color: #0c0c0c;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .carousel-slide {
            display: none;
            width: 100%;
            height: 100%;
        }

        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }

        .prev:hover,
        .next:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }

        .caption-container {
            background-color: #020202;
            padding: 7px;
            border: 1px solid #2d2d30;
            border-top: none;
            border-radius: 0 0 8px 8px;
            text-align: center;
            min-height: 20px;
        }

        .carousel-caption {
            color: #9cdcfe;
            font-size: 14px;
            font-family: 'Cascadia Code', monospace;
            font-weight: bold;
        }

        .dot-container {
            text-align: center;
            /* margin-top: 10px; */
            margin-bottom: 20px;
        }

        .dot {
            cursor: pointer;
            height: 10px;
            width: 10px;
            margin: 0 2px;
            background-color: #2d2d30;
            border-radius: 50%;
            display: inline-block;
            transition: background-color 0.6s ease;
        }

        .dot.active,
        .dot:hover {
            background-color: #569cd6;
        }

        .fade {
            animation-name: fade;
            animation-duration: 1.5s;
        }

        @keyframes fade {
            from {
                opacity: .4
            }

            to {
                opacity: 1
            }
        }

        .btn-action-secondary {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 10px 12px;
            background-color: rgba(0, 0, 0, 0.4);
            border: 1px solid #404040;
            border-radius: 4px;
            color: #d4d4d4;
            text-decoration: none;
            font-family: 'Cascadia Code', sans-serif;
            font-size: 0.9em;
            transition: all 0.2s ease;
            text-align: center;
        }
        .btn-action-secondary:hover {
            border-color: #007acc;
            background-color: rgba(0, 122, 204, 0.1);
            color: #9cdcfe;
            text-decoration: none;
        }

        .provider-footer {
            text-align: center;
            padding: 20px 0 10px 0;
            border-top: 1px solid #2d2d30;
            margin-top: 20px;
            opacity: 0.7;
            font-size: 0.75em;
        }
        .provider-label {
            color: #888;
            margin-bottom: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.85em;
        }
        .provider-icons {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        .provider-badge {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #aaa;
            background: rgba(0,0,0,0.3);
            border: 1px solid #333;
            border-radius: 4px;
            padding: 4px 10px;
        }
        .badge-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            display: inline-block;
        }
        .provider-secure {
            text-align: center;
            margin-top: 12px;
            color: #4CAF50;
            font-size: 0.9em;
            opacity: 0.8;
        }
        #renew-btn {
            border: 1px solid rgb(227, 189, 54);
            color: rgb(224, 187, 55);
        }
