/* ==========================================
   CHECKOUTFAILURE
   ========================================== */

.failure-container {
        max-width: 700px;
        margin: 4rem auto;
        padding: 2rem;
    }

    .failure-card {
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 3rem;
        text-align: center;
    }

    .failure-icon {
        font-size: 5rem;
        margin-bottom: 1rem;
    }

    .failure-message {
        font-size: 1.2rem;
        color: #666;
        margin: 1.5rem 0;
    }

    .error-details {
        background: #ffe7e7;
        border: 2px solid #dc3545;
        border-radius: 8px;
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .help-section {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 1.5rem;
        margin: 2rem 0;
        text-align: left;
    }

    .help-section h3 {
        color: #1a4d6f;
        margin-bottom: 1rem;
    }

    .help-section ul {
        list-style: none;
        padding: 0;
    }

    .help-section ul li {
        padding: 0.75rem 0;
        border-bottom: 1px solid #e0e0e0;
    }

    .help-section ul li:last-child {
        border-bottom: none;
    }

    .failure-actions {
        display: flex;
        gap: 1rem;
        justify-content: center;
        margin: 2rem 0;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        font-weight: bold;
    }

    .support-box {
        background: #fff3cd;
        border-left: 4px solid #ffc107;
        padding: 1rem;
        border-radius: 4px;
        margin-top: 2rem;
    }

    @@media (max-width: 768px) {
        .failure-actions {
            flex-direction: column;
        }
    }

/* ==========================================
   CHECKOUTPAYMENTPAYPAL
   ========================================== */

.payment-mock-container {
        max-width: 600px;
        margin: 4rem auto;
        padding: 2rem;
    }

    .payment-mock-card {
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 3rem;
        text-align: center;
    }

    .payment-icon {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .mock-notice {
        background: #fff3cd;
        border: 1px solid #ffc107;
        border-radius: 8px;
        padding: 1rem;
        margin: 1.5rem 0;
        font-style: italic;
    }

    .payment-info {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .debug-info {
        background: #ffe7e7;
        border: 2px solid #dc3545;
        border-radius: 8px;
        padding: 1rem;
        margin: 1rem 0;
        font-size: 0.9rem;
        text-align: left;
        word-break: break-word;
    }

    .processing-indicator {
        background: #e7f3ff;
        border: 2px solid #0066cc;
        border-radius: 8px;
        padding: 1.5rem;
        margin: 2rem 0;
        font-size: 1.1rem;
        font-weight: bold;
    }

    .mock-actions {
        display: flex;
        gap: 1rem;
        justify-content: center;
        margin: 2rem 0;
    }

    .info-box {
        background: #e7f3ff;
        border-left: 4px solid #0066cc;
        padding: 1rem;
        border-radius: 4px;
        margin-top: 2rem;
        text-align: left;
    }

/* ==========================================
   CHECKOUTPAYMENTSTRIPE
   ========================================== */

.payment-mock-container {
        max-width: 600px;
        margin: 4rem auto;
        padding: 2rem;
    }

    .payment-mock-card {
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 3rem;
        text-align: center;
    }

    .payment-icon {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .mock-notice {
        background: #fff3cd;
        border: 1px solid #ffc107;
        border-radius: 8px;
        padding: 1rem;
        margin: 1.5rem 0;
        font-style: italic;
    }

    .payment-info {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .debug-info {
        background: #ffe7e7;
        border: 2px solid #dc3545;
        border-radius: 8px;
        padding: 1rem;
        margin: 1rem 0;
        font-size: 0.9rem;
        text-align: left;
        word-break: break-word;
    }

    .processing-indicator {
        background: #e7f3ff;
        border: 2px solid #0066cc;
        border-radius: 8px;
        padding: 1.5rem;
        margin: 2rem 0;
        font-size: 1.1rem;
        font-weight: bold;
    }

    .mock-actions {
        display: flex;
        gap: 1rem;
        justify-content: center;
        margin: 2rem 0;
    }

    .info-box {
        background: #e7f3ff;
        border-left: 4px solid #0066cc;
        padding: 1rem;
        border-radius: 4px;
        margin-top: 2rem;
        text-align: left;
    }

/* ==========================================
   CHECKOUTSUCCESS
   ========================================== */

.success-container {
        max-width: 700px;
        margin: 4rem auto;
        padding: 2rem;
    }

    .success-card {
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 3rem;
        text-align: center;
    }

    .success-icon {
        font-size: 5rem;
        margin-bottom: 1rem;
        animation: bounce 1s ease-in-out;
    }

    @@keyframes bounce {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-20px); }
    }

    .success-message {
        font-size: 1.2rem;
        color: #666;
        margin: 1.5rem 0;
    }

    .refresh-indicator {
        background: #e7f3ff;
        border: 2px solid #0066cc;
        border-radius: 8px;
        padding: 1rem;
        margin: 1.5rem 0;
        font-weight: bold;
        animation: pulse 1.5s ease-in-out infinite;
    }

    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.7; }
    }

    .order-details {
        background: #e7f8f0;
        border: 2px solid #27ae60;
        border-radius: 8px;
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .badge-success {
        background: #27ae60;
        color: white;
        padding: 0.25rem 0.75rem;
        border-radius: 12px;
        font-size: 0.9rem;
    }

    .next-steps {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 1.5rem;
        margin: 2rem 0;
        text-align: left;
    }

    .next-steps h3 {
        color: #1a4d6f;
        margin-bottom: 1rem;
    }

    .next-steps ul {
        list-style: none;
        padding: 0;
    }

    .next-steps ul li {
        padding: 0.75rem 0;
        border-bottom: 1px solid #e0e0e0;
    }

    .next-steps ul li:last-child {
        border-bottom: none;
    }

    .success-actions {
        display: flex;
        gap: 1rem;
        justify-content: center;
        margin: 2rem 0;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        font-weight: bold;
    }

    .support-box {
        background: #e7f3ff;
        border-left: 4px solid #0066cc;
        padding: 1rem;
        border-radius: 4px;
        margin-top: 2rem;
    }

    .mock-notice {
        background: #fff3cd;
        border: 2px solid #ffc107;
        border-radius: 8px;
        padding: 1rem;
        margin: 1.5rem 0;
        text-align: left;
    }

    .mock-notice p {
        color: #856404;
        margin: 0;
    }

    @@media (max-width: 768px) {
        .success-actions {
            flex-direction: column;
        }
    }

/* ==========================================
   LESSONDETAIL
   ========================================== */

.loading-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 400px;
    }

    .spinner {
        border: 4px solid #ecf0f1;
        border-top: 4px solid #1a4d6f;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: spin 1s linear infinite;
        margin-bottom: 1rem;
    }

    .lesson-detail-container {
        max-width: 900px;
        margin: 0 auto;
        padding: 2rem;
    }

    .lesson-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .back-button {
        background: none;
        border: 1px solid #ddd;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        cursor: pointer;
        color: #555;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

    .back-button:hover {
        background: #f5f5f5;
        border-color: #1a4d6f;
        color: #1a4d6f;
    }

    .header-badges {
        display: flex;
        gap: 0.75rem;
        align-items: center;
        flex-wrap: wrap;
    }

    .week-badge {
        background: #1a4d6f;
        color: white;
        padding: 0.5rem 1.5rem;
        border-radius: 25px;
        font-weight: bold;
    }

    .status-badge {
        padding: 0.5rem 1.25rem;
        border-radius: 25px;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .status-completed {
        background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
        color: white;
    }

    .status-unlocked {
        background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
        color: white;
    }

    .status-locked {
        background: linear-gradient(135deg, #95a5a6 0%, #bdc3c7 100%);
        color: white;
    }

    .title-section {
        margin-bottom: 2rem;
    }

    .title-section h1 {
        font-size: 2.5rem;
        color: #1a4d6f;
        margin-bottom: 1rem;
    }

    .lead {
        font-size: 1.25rem;
        color: #555;
        line-height: 1.6;
    }

    .objectives-box {
        background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
        padding: 1.5rem;
        border-radius: 12px;
        border-left: 4px solid #ff6b35;
        margin-bottom: 2rem;
    }

    .objectives-box h3 {
        color: #d35400;
        margin-bottom: 1rem;
    }

    .objectives-box ul {
        list-style: none;
        padding: 0;
    }

    .objectives-box li {
        padding: 0.5rem 0;
        padding-left: 1.5rem;
        position: relative;
    }

    .objectives-box li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: #27ae60;
        font-weight: bold;
    }

    .section-card {
        background: white;
        padding: 2rem;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 2rem;
    }

    .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        margin: 0;
        color: #2c3e50;
    }

    .duration {
        background: #ecf0f1;
        padding: 0.25rem 0.75rem;
        border-radius: 15px;
        font-size: 0.875rem;
        color: #555;
    }

    .video-container {
        position: relative;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        height: 0;
        overflow: hidden;
        border-radius: 8px;
        margin-bottom: 1rem;
    }

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 8px;
    }

    .video-placeholder {
        background: #ecf0f1;
        padding: 4rem 2rem;
        border-radius: 8px;
        text-align: center;
        margin-bottom: 1rem;
    }

    .video-icon {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .video-path {
        font-size: 0.875rem;
        color: #888;
        font-family: monospace;
    }

    .transcript {
        margin-top: 1rem;
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 8px;
    }

    .transcript summary {
        cursor: pointer;
        font-weight: bold;
        color: #1a4d6f;
        user-select: none;
    }

    .transcript summary:hover {
        color: #ff6b35;
    }

    .transcript-content {
        margin-top: 1rem;
        line-height: 1.8;
    }

    .transcript-content p {
        margin-bottom: 1rem;
        text-align: justify;
    }

    .concepts-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .concept-card {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        padding: 1.5rem;
        border-radius: 8px;
        text-align: center;
    }

    .concept-icon {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }

    .concept-card h4 {
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }

    .concept-card p {
        font-size: 0.95rem;
        color: #555;
        line-height: 1.5;
    }

    .practice-description p {
        line-height: 1.8;
        margin-bottom: 1rem;
        white-space: pre-line;
    }

    .audio-player {
        background: #f0f9f4;
        padding: 1.5rem;
        border-radius: 8px;
        margin-top: 1.5rem;
    }

    .audio-player h4 {
        margin-bottom: 1rem;
        color: #27ae60;
        text-align: center;
    }

    .audio-player audio {
        width: 100%;
        margin-top: 0.5rem;
    }

    .audio-note {
        font-size: 0.875rem;
        color: #666;
        text-align: center;
        margin: 0;
    }

    .audio-version {
        background: #f0f9f4;
        padding: 1.5rem;
        border-radius: 8px;
        margin-top: 1rem;
    }

    .audio-version h4 {
        margin-bottom: 1rem;
        color: #27ae60;
        text-align: center;
    }

    .audio-version audio {
        width: 100%;
    }

    .worksheet-box {
        background: linear-gradient(135deg, #fff9f0 0%, #ffe6cc 100%);
        padding: 1.5rem;
        border-radius: 8px;
        text-align: center;
    }

    .worksheet-box p {
        margin-bottom: 1rem;
        color: #2c3e50;
    }

    .download-button {
        display: inline-block;
        background: #ff6b35;
        color: white;
        padding: 1rem 2rem;
        border-radius: 8px;
        text-decoration: none;
        font-weight: bold;
        transition: all 0.3s ease;
    }

    .download-button:hover {
        background: #e55a26;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    }

    .integration-box {
        background: linear-gradient(135deg, #fff5f7 0%, #ffe6eb 100%);
        padding: 1.5rem;
        border-radius: 8px;
        border-left: 4px solid #ff6b35;
    }

    .integration-box p {
        font-size: 1.1rem;
        line-height: 1.7;
        margin: 0;
        color: #2c3e50;
    }

    .resources-list {
        margin-top: 1rem;
    }

    .resource-item {
        display: flex;
        gap: 1rem;
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 1rem;
    }

    .resource-icon {
        font-size: 2rem;
    }

    .resource-content {
        flex: 1;
    }

    .resource-content h4 {
        margin-bottom: 0.25rem;
        color: #2c3e50;
    }

    .resource-content p {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 0.5rem;
    }

    .resource-link {
        color: #1a4d6f;
        text-decoration: none;
        font-weight: bold;
        font-size: 0.95rem;
    }

    .resource-link:hover {
        color: #ff6b35;
    }

    .badges-list {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        margin: 1rem 0;
    }

    .badge-item {
        background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
        padding: 0.75rem 1.5rem;
        border-radius: 25px;
        font-size: 1.1rem;
        border: 2px solid #ff6b35;
    }

    .points-box {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        justify-content: center;
        padding: 1rem;
        background: linear-gradient(135deg, #f0f9f4 0%, #e8f5ed 100%);
        border-radius: 8px;
        margin-top: 1rem;
    }

    .points-value {
        font-size: 2rem;
        font-weight: bold;
        color: #27ae60;
    }

    .points-label {
        font-size: 1.1rem;
        color: #555;
    }

    .action-buttons {
        display: flex;
        gap: 1rem;
        margin-top: 3rem;
        flex-wrap: wrap;
    }

    .complete-button {
        flex: 1;
        background: #27ae60;
        color: white;
        border: none;
        padding: 1.25rem 2rem;
        border-radius: 8px;
        font-size: 1.2rem;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .complete-button:hover {
        background: #229954;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(39, 174, 96, 0.3);
    }

    .completed-message {
        flex: 1;
        background: #f0f9f4;
        color: #27ae60;
        padding: 1.25rem 2rem;
        border-radius: 8px;
        font-size: 1.2rem;
        font-weight: bold;
        text-align: center;
        border: 2px solid #27ae60;
    }

    .retry-quiz-button {
        flex: 1;
        background: #3498db;
        color: white;
        border: none;
        padding: 1.25rem 2rem;
        border-radius: 8px;
        font-size: 1.2rem;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .retry-quiz-button:hover {
        background: #2980b9;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(52, 152, 219, 0.3);
    }

    .view-results-button {
        flex: 1;
        background: #9b59b6;
        color: white;
        border: none;
        padding: 1.25rem 2rem;
        border-radius: 8px;
        font-size: 1.2rem;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .view-results-button:hover {
        background: #8e44ad;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(155, 89, 182, 0.3);
    }

    .next-button {
        flex: 1;
        background: #1a4d6f;
        color: white;
        border: none;
        padding: 1.25rem 2rem;
        border-radius: 8px;
        font-size: 1.2rem;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .next-button:hover {
        background: #2c5f7f;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(26, 77, 111, 0.3);
    }

    .quiz-optional-button {
        flex: 1;
        background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
        color: white;
        border: none;
        padding: 1.25rem 2rem;
        border-radius: 8px;
        font-size: 1.2rem;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .quiz-optional-button:hover {
        background: linear-gradient(135deg, #8e44ad 0%, #7d3c98 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(155, 89, 182, 0.3);
    }

    @@media (max-width: 768px) {
        .lesson-detail-container {
            padding: 1rem;
        }

        .title-section h1 {
            font-size: 1.75rem;
        }

        .concepts-grid {
            grid-template-columns: 1fr;
        }

        .action-buttons {
            flex-direction: column;
        }
    }

    /* Auth Prompt Styles */
    .auth-prompt {
        background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
        color: white;
        padding: 2rem;
        border-radius: 12px;
        margin: 2rem 0;
        text-align: center;
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    }

    .auth-prompt-content h3 {
        color: white;
        margin-bottom: 1rem;
    }

    .auth-prompt-content p {
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 1.5rem;
    }

    .auth-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .auth-buttons .btn {
        padding: 0.75rem 2rem;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s;
    }

    .btn-primary {
        background: white;
        color: #ff6b35;
    }

    .btn-primary:hover {
        background: #f5f5f5;
        transform: translateY(-2px);
    }

    .btn-secondary {
        background: #ffffff;
        color: #1a4d6f;
        border: 2px solid #1a4d6f;
    }

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

    /* Blur Effect for Unauthenticated Users */
    .content-blurred {
        filter: blur(8px);
        user-select: none;
        pointer-events: none;
        position: relative;
    }

    .content-blurred::after {
        content: 'ðŸ”’ Registriere dich, um diesen Inhalt zu sehen';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(255, 107, 53, 0.95);
        color: white;
        padding: 1rem 2rem;
        border-radius: 8px;
        font-weight: 600;
        white-space: nowrap;
        filter: none;
        pointer-events: all;
        cursor: not-allowed;
    }

    .media-disabled {
        pointer-events: none;
        opacity: 0.5;
        position: relative;
    }

    .media-disabled::before {
        content: 'ðŸ"' Nur für registrierte Nutzer';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(26, 77, 111, 0.95);
        color: white;
        padding: 1rem 2rem;
        border-radius: 8px;
        font-weight: 600;
        z-index: 10;
        white-space: nowrap;
    }

    /* Countdown Banner Extensions for LessonDetail */
    .countdown-banner-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .countdown-banner-content {
        text-align: center;
    }

/* ==========================================
   LESSONS
   ========================================== */

.lessons-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;
    }

    .lessons-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .lessons-header h1 {
        font-size: 3rem;
        color: #1a4d6f;
        margin-bottom: 0.5rem;
    }

    .lead {
        font-size: 1.25rem;
        color: #666;
    }

    .loading-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 400px;
    }

    .spinner {
        border: 4px solid #ecf0f1;
        border-top: 4px solid #1a4d6f;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: spin 1s linear infinite;
        margin-bottom: 1rem;
    }

    @@keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .empty-state {
        text-align: center;
        padding: 4rem 2rem;
    }

    .empty-icon {
        font-size: 5rem;
        margin-bottom: 1rem;
    }

    .info-banner {
        background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
        color: white;
        padding: 2rem;
        border-radius: 12px;
        text-align: center;
        margin-bottom: 3rem;
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    }

    .info-banner p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .banner-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .banner-buttons .btn {
        padding: 0.75rem 2rem;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s;
    }

    .btn-primary {
        background: white;
        color: #ff6b35;
    }

    .btn-primary:hover {
        background: #f5f5f5;
        transform: translateY(-2px);
    }

    .btn-secondary {
        background: #ffffff;
        color: #1a4d6f;
        border: 2px solid #1a4d6f;
    }

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

    .filter-section {
        background: white;
        border-radius: 16px;
        padding: 2rem;
        margin-bottom: 3rem;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }

    .filter-controls {
        display: flex;
        gap: 2rem;
        flex-wrap: wrap;
        margin-bottom: 2rem;
    }

    .filter-group {
        flex: 1;
        min-width: 250px;
    }

    .filter-label {
        display: block;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }

    .filter-buttons {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 0.6rem 1.25rem;
        border: 2px solid #e0e0e0;
        background: white;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 500;
        color: #555;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .filter-btn:hover {
        border-color: #1a4d6f;
        color: #1a4d6f;
        background: #f0f9ff;
    }

    .filter-btn.active {
        background: linear-gradient(135deg, #1a4d6f 0%, #2c5f7f 100%);
        color: white;
        border-color: #1a4d6f;
    }

    .filter-icon {
        font-size: 1.1rem;
    }

    .next-lesson-container {
        border-top: 1px solid #e0e0e0;
        padding-top: 2rem;
    }

    .next-lesson-btn {
        width: 100%;
        padding: 1.5rem;
        border: none;
        border-radius: 12px;
        background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
        color: white;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 1rem;
        box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
    }

    .next-lesson-btn:not(:disabled):hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
    }

    .next-lesson-btn:disabled {
        cursor: not-allowed;
        opacity: 0.9;
    }

    .next-lesson-btn.countdown-btn {
        background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    }

    .next-lesson-btn.completed-btn {
        background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
        box-shadow: 0 4px 12px rgba(155, 89, 182, 0.3);
    }

    .next-lesson-btn.subscription-btn {
        background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
        box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
        cursor: pointer;
    }

    .next-lesson-btn.subscription-btn:hover {
        background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    }

    .btn-content {
        display: flex;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .btn-icon {
        font-size: 2rem;
        flex-shrink: 0;
    }

    .btn-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        flex: 1;
    }

    .btn-title {
        font-size: 1.1rem;
        font-weight: 600;
    }

    .btn-subtitle {
        font-size: 0.9rem;
        opacity: 0.9;
        font-weight: 400;
    }

    .btn-countdown {
        font-size: 1.3rem;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .no-results {
        text-align: center;
        padding: 4rem 2rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .no-results-icon {
        font-size: 4rem;
        margin-bottom: 1rem;
        opacity: 0.5;
    }

    .no-results h3 {
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }

    .no-results p {
        color: #666;
    }

    .quarter-section {
        margin-bottom: 4rem;
    }

    .quarter-title {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
        font-size: 2rem;
        color: #2c3e50;
    }

    .quarter-badge {
        background: linear-gradient(135deg, #1a4d6f 0%, #2c5f7f 100%);
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        font-size: 1.2rem;
        font-weight: bold;
    }

    .lessons-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
    }

    .lesson-card {
        background: white;
        border-radius: 12px;
        padding: 1.5rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .lesson-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }

    .lesson-card.locked {
        opacity: 0.7;
    }

    .lesson-card.completed {
        border: 2px solid #27ae60;
    }

    .lesson-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .week-number {
        background: #ecf0f1;
        color: #2c3e50;
        padding: 0.25rem 0.75rem;
        border-radius: 15px;
        font-size: 0.875rem;
        font-weight: 600;
    }

    .status-badge {
        padding: 0.25rem 0.75rem;
        border-radius: 15px;
        font-size: 0.875rem;
        font-weight: 600;
    }

    .status-badge.completed {
        background: #27ae60;
        color: white;
    }

    .status-badge.locked {
        background: #95a5a6;
        color: white;
    }

    .lesson-title {
        font-size: 1.25rem;
        color: #2c3e50;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }

    .lesson-description {
        color: #666;
        line-height: 1.6;
        margin-bottom: 1rem;
        flex-grow: 1;
    }

    .lesson-meta {
        display: flex;
        gap: 1rem;
        margin-bottom: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #ecf0f1;
    }

    .meta-item {
        font-size: 0.875rem;
        color: #666;
    }

    .meta-item.points {
        color: #27ae60;
        font-weight: bold;
    }

    .lesson-button {
        width: 100%;
        padding: 0.75rem;
        border: none;
        border-radius: 8px;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .lesson-card:not(.locked) .lesson-button {
        background: linear-gradient(135deg, #1a4d6f 0%, #2c5f7f 100%);
        color: white;
    }

    .lesson-card:not(.locked) .lesson-button:hover {
        background: linear-gradient(135deg, #2c5f7f 0%, #3d6f8f 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(26, 77, 111, 0.3);
    }

    .lesson-card.completed .lesson-button {
        background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    }

    .lesson-card.completed .lesson-button:hover {
        background: linear-gradient(135deg, #229954 0%, #27ae60 100%);
    }

    .lesson-card.locked .lesson-button {
        background: #95a5a6;
        color: white;
        cursor: not-allowed;
    }

    @@media (max-width: 768px) {
        .lessons-container {
            padding: 1rem;
        }

        .lessons-header h1 {
            font-size: 2rem;
        }

        .lessons-grid {
            grid-template-columns: 1fr;
        }

        .quarter-title {
            font-size: 1.5rem;
        }

        /* Mobile filter adjustments */
        .filter-section {
            padding: 1.5rem;
        }

        .filter-controls {
            flex-direction: column;
            gap: 1.5rem;
        }

        .filter-group {
            min-width: 100%;
        }

        .filter-buttons {
            justify-content: flex-start;
        }

        .filter-btn {
            padding: 0.5rem 1rem;
            font-size: 0.9rem;
        }

        .next-lesson-btn {
            padding: 1.25rem;
            font-size: 1rem;
        }

        .btn-icon {
            font-size: 1.5rem;
        }

        .btn-title {
            font-size: 1rem;
        }

        .btn-subtitle {
            font-size: 0.85rem;
        }

        .btn-countdown {
            font-size: 1.1rem;
        }
    }

    @@media (max-width: 480px) {
        .filter-btn {
            flex: 1;
            justify-content: center;
            min-width: calc(50% - 0.25rem);
        }

        .next-lesson-container {
            padding-top: 1.5rem;
        }
    }

/* ==========================================
   LOGIN
   ========================================== */

.login-container {
        min-height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem 1rem;
    }

    .login-card {
        background: white;
        padding: 3rem;
        border-radius: 12px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-width: 450px;
        width: 100%;
    }

    .login-card h1 {
        color: #1a4d6f;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .subtitle {
        text-align: center;
        color: #666;
        margin-bottom: 2rem;
    }

    .alert {
        padding: 1rem;
        border-radius: 8px;
        margin-bottom: 1.5rem;
    }

    .alert-error {
        background-color: #fee;
        color: #c33;
        border: 1px solid #fcc;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: #333;
    }

    .form-control {
        width: 100%;
        padding: 0.75rem;
        border: 2px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        transition: border-color 0.3s;
    }

    .form-control:focus {
        outline: none;
        border-color: #ff6b35;
    }

    .btn {
        width: 100%;
        padding: 1rem;
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
    }

    .btn-primary {
        background-color: #ff6b35;
        color: white;
    }

    .btn-primary:hover:not(:disabled) {
        background-color: #e55a26;
        transform: translateY(-2px);
    }

    .btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .register-link {
        text-align: center;
        margin-top: 1.5rem;
        color: #666;
    }

    .register-link a {
        color: #ff6b35;
        text-decoration: none;
        font-weight: 600;
    }

    .register-link a:hover {
        text-decoration: underline;
    }

    .validation-message {
        color: #c33;
        font-size: 0.875rem;
        margin-top: 0.25rem;
        display: block;
    }

    .validation-errors {
        color: #c33;
        font-size: 0.875rem;
        margin-top: 0.5rem;
    }

    .form-control.invalid,
    .form-control.validation-error {
        border-color: #c33;
    }

/* ==========================================
   PROFILE
   ========================================== */

.profile-card {
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        padding: 2rem;
        margin-top: 1.5rem;
    }

    .form-section {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid #e9ecef;
    }

    .form-section:last-of-type {
        border-bottom: none;
    }

    .form-section h3 {
        margin-top: 0;
        margin-bottom: 1.5rem;
        color: #1a4d6f;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: #333;
    }

    .form-input {
        width: 100%;
        padding: 0.75rem;
        border: 2px solid #dee2e6;
        border-radius: 6px;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .form-input:focus {
        outline: none;
        border-color: #ff6b35;
    }

    .form-actions {
        display: flex;
        gap: 1rem;
        margin-top: 2rem;
    }

    .account-info {
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid #e9ecef;
    }

    .account-info h3 {
        margin-top: 0;
        margin-bottom: 1rem;
        color: #1a4d6f;
    }

    .info-row {
        display: flex;
        justify-content: space-between;
        padding: 0.75rem 0;
        border-bottom: 1px solid #f8f9fa;
    }

    .info-label {
        font-weight: 600;
        color: #666;
    }

    .info-value {
        color: #333;
    }

    .status-badge {
        padding: 0.25rem 0.75rem;
        border-radius: 12px;
        font-size: 0.875rem;
        font-weight: 600;
    }

    .status-badge.active {
        background: #d4edda;
        color: #155724;
    }

    .status-badge.inactive {
        background: #fff3cd;
        color: #856404;
    }

    .alert {
        padding: 1rem;
        border-radius: 6px;
        margin-bottom: 1rem;
    }

    .alert-error {
        background: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

    .alert-success {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .badges-section {
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        padding: 2rem;
        margin-top: 2rem;
    }

    .badges-section h2 {
        margin-top: 0;
        margin-bottom: 1.5rem;
        color: #1a4d6f;
    }

/* ==========================================
   QUIZRESULTS
   ========================================== */

.loading-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 400px;
    }

    .spinner {
        border: 4px solid #ecf0f1;
        border-top: 4px solid #1a4d6f;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: spin 1s linear infinite;
        margin-bottom: 1rem;
    }

    @@keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .results-container {
        max-width: 1000px;
        margin: 0 auto;
        padding: 2rem;
    }

    .results-header {
        margin-bottom: 2rem;
    }

    .results-header h1 {
        color: #1a4d6f;
        margin: 1rem 0 0.5rem 0;
        font-size: 2.5rem;
    }

    .lesson-title {
        color: #666;
        font-size: 1.2rem;
        margin: 0;
    }

    .back-button {
        background: none;
        border: 1px solid #ddd;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        cursor: pointer;
        color: #555;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

    .back-button:hover {
        background: #f5f5f5;
        border-color: #1a4d6f;
        color: #1a4d6f;
    }

    .stats-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .stat-card {
        background: white;
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
        transition: all 0.3s ease;
    }

    .stat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

    .stat-card.stat-passed {
        background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
        border: 2px solid #27ae60;
    }

    .stat-card.stat-failed {
        background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
        border: 2px solid #e74c3c;
    }

    .stat-icon {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .stat-value {
        font-size: 2rem;
        font-weight: bold;
        color: #1a4d6f;
        margin-bottom: 0.25rem;
    }

    .stat-label {
        color: #666;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .results-list h2 {
        color: #2c3e50;
        margin-bottom: 1.5rem;
    }

    .result-card {
        background: white;
        border-radius: 12px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .result-card:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

    .result-card.result-passed {
        border-left: 4px solid #27ae60;
    }

    .result-card.result-failed {
        border-left: 4px solid #e74c3c;
    }

    .result-header-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .result-status {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .status-icon {
        font-size: 1.5rem;
    }

    .status-text {
        font-weight: 600;
        font-size: 1.1rem;
        color: #2c3e50;
    }

    .result-date {
        color: #666;
        font-size: 0.9rem;
    }

    .result-score {
        display: flex;
        gap: 2rem;
        align-items: center;
        flex-wrap: wrap;
    }

    .score-circle {
        min-width: 120px;
        height: 120px;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    .score-circle.passed {
        background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
        color: white;
    }

    .score-circle.failed {
        background: linear-gradient(135deg, #e74c3c 0%, #ec7063 100%);
        color: white;
    }

    .percentage {
        font-size: 2rem;
        line-height: 1;
    }

    .fraction {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    .result-details {
        flex: 1;
    }

    .detail-row {
        display: flex;
        justify-content: space-between;
        padding: 0.5rem 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .detail-row:last-child {
        border-bottom: none;
    }

    .detail-label {
        color: #666;
        font-weight: 500;
    }

    .detail-value {
        color: #2c3e50;
        font-weight: 600;
    }

    .best-badge {
        background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
        color: #ff6b35;
        padding: 0.75rem 1.5rem;
        border-radius: 25px;
        margin-top: 1rem;
        text-align: center;
        font-weight: bold;
        border: 2px solid #ff6b35;
    }

    .no-results {
        text-align: center;
        padding: 4rem 2rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .no-results-icon {
        font-size: 5rem;
        margin-bottom: 1rem;
    }

    .no-results h3 {
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }

    .no-results p {
        color: #666;
        margin-bottom: 2rem;
    }

    .action-buttons {
        display: flex;
        gap: 1rem;
        margin-top: 3rem;
        flex-wrap: wrap;
    }

    .btn {
        flex: 1;
        padding: 1rem 2rem;
        border: none;
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 200px;
    }

    .btn-primary {
        background: #1a4d6f;
        color: white;
    }

    .btn-primary:hover {
        background: #2c5f7f;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(26, 77, 111, 0.3);
    }

    .btn-secondary {
        background: #ffffff;
        color: #1a4d6f;
        border: 2px solid #1a4d6f;
    }

    .btn-secondary:hover {
        background: #1a4d6f;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(26, 77, 111, 0.3);
    }

    .auth-prompt {
        background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
        color: white;
        padding: 3rem 2rem;
        border-radius: 12px;
        text-align: center;
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    }

    .auth-prompt h3 {
        color: white;
        margin-bottom: 1rem;
    }

    .auth-prompt p {
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 2rem;
    }

    .auth-prompt .btn {
        background: white;
        color: #ff6b35;
    }

    .auth-prompt .btn:hover {
        background: #f5f5f5;
    }

    @@media (max-width: 768px) {
        .results-container {
            padding: 1rem;
        }

        .results-header h1 {
            font-size: 2rem;
        }

        .stats-cards {
            grid-template-columns: repeat(2, 1fr);
        }

        .result-score {
            flex-direction: column;
            align-items: flex-start;
        }

        .action-buttons {
            flex-direction: column;
        }

        .btn {
            width: 100%;
        }
    }

/* ==========================================
   REGISTER
   ========================================== */

.register-container {
        min-height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem 1rem;
    }

    .register-card {
        background: white;
        padding: 3rem;
        border-radius: 12px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-width: 500px;
        width: 100%;
    }

    .register-card h1 {
        color: #1a4d6f;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .subtitle {
        text-align: center;
        color: #666;
        margin-bottom: 2rem;
    }

    .alert {
        padding: 1rem;
        border-radius: 8px;
        margin-bottom: 1.5rem;
    }

    .alert-error {
        background-color: #fee;
        color: #c33;
        border: 1px solid #fcc;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: #333;
    }

    .form-control {
        width: 100%;
        padding: 0.75rem;
        border: 2px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        transition: border-color 0.3s;
    }

    .form-control:focus {
        outline: none;
        border-color: #ff6b35;
    }

    .btn {
        width: 100%;
        padding: 1rem;
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
    }

    .btn-primary {
        background-color: #ff6b35;
        color: white;
    }

    .btn-primary:hover:not(:disabled) {
        background-color: #e55a26;
        transform: translateY(-2px);
    }

    .btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .login-link {
        text-align: center;
        margin-top: 1.5rem;
        color: #666;
    }

    .login-link a {
        color: #ff6b35;
        text-decoration: none;
        font-weight: 600;
    }

    .login-link a:hover {
        text-decoration: underline;
    }

    .validation-message {
        color: #c33;
        font-size: 0.875rem;
        margin-top: 0.25rem;
        display: block;
    }

    .validation-errors {
        color: #c33;
        font-size: 0.875rem;
        margin-top: 0.5rem;
    }

    .form-control.invalid,
    .form-control.validation-error {
        border-color: #c33;
    }

/* ==========================================
   SUBSCRIPTION
   ========================================== */

.subscription-status {
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        padding: 2rem;
        margin-top: 1.5rem;
    }

    .subscription-status.active {
        border: 2px solid #27ae60;
    }

    .subscription-status.inactive {
        border: 2px solid #ffc107;
    }

    .subscription-status.paused {
        border: 2px solid #ff9800;
        background: #fff8e1;
    }

    .status-header {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .status-icon {
        font-size: 3rem;
    }

    .status-header h2 {
        margin: 0;
        color: #1a4d6f;
    }

    .status-text {
        margin: 0.5rem 0 0 0;
        color: #666;
    }

    .subscription-details {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .detail-item {
        display: flex;
        justify-content: space-between;
        padding: 0.75rem 0;
        border-bottom: 1px solid #dee2e6;
    }

    .detail-item:last-child {
        border-bottom: none;
    }

    .detail-label {
        font-weight: 600;
        color: #666;
    }

    .detail-value {
        color: #333;
        font-weight: 600;
    }

    .subscription-actions {
        text-align: center;
        margin-top: 1.5rem;
    }

    .access-info {
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        padding: 2rem;
        margin-top: 2rem;
    }

    .access-info h3 {
        margin-top: 0;
        color: #1a4d6f;
    }

    .access-list {
        list-style: none;
        padding: 0;
    }

    .access-list li {
        padding: 0.75rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid #f8f9fa;
    }

    .access-list li:last-child {
        border-bottom: none;
    }

    .packages-preview {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .package-preview {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 1.5rem;
        text-align: center;
        border: 2px solid #dee2e6;
        transition: all 0.3s ease;
    }

    .package-preview:hover {
        border-color: #ff6b35;
        transform: translateY(-4px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .package-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .package-preview h4 {
        margin: 0.5rem 0;
        color: #1a4d6f;
    }

    .package-preview p {
        margin: 0.5rem 0 0 0;
        color: #666;
        font-size: 0.9rem;
    }

    .package-preview.featured {
        background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
        border: 2px solid #ff6b35;
        position: relative;
    }

    .package-badge {
        position: absolute;
        top: -12px;
        right: 10px;
        background: #ff6b35;
        color: white;
        padding: 0.25rem 0.75rem;
        border-radius: 12px;
        font-size: 0.75rem;
        font-weight: bold;
    }

    .package-price {
        font-size: 1.5rem;
        font-weight: bold;
        color: #1a4d6f;
        margin: 1rem 0 0.5rem 0;
    }

    .package-savings {
        color: #27ae60;
        font-weight: bold;
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }

    /* Modal Styles */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }

    .modal-content {
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        max-width: 600px;
        width: 90%;
        max-height: 90vh;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem;
        border-bottom: 1px solid #e0e0e0;
        flex-shrink: 0;
    }

    .modal-header h2 {
        margin: 0;
        color: #1a4d6f;
        font-size: 1.5rem;
    }

    .modal-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #666;
        padding: 0;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-close:hover {
        color: #1a4d6f;
    }

    .modal-body {
        padding: 1.5rem;
        flex: 1;
        overflow-y: auto;
    }

    .modal-footer {
        display: flex;
        justify-content: flex-end;
        gap: 1rem;
        padding: 1.5rem;
        border-top: 1px solid #e0e0e0;
        flex-shrink: 0;
    }

    /* Cancellation Modal Specific Styles */
    .cancellation-type-section,
    .reasons-section,
    .feedback-section {
        margin-bottom: 2rem;
    }

    .cancellation-type-section h3,
    .reasons-section h3,
    .feedback-section h3 {
        font-size: 1.25rem;
        color: #1a4d6f;
        margin-bottom: 1rem;
        margin-top: 0;
    }

    .cancellation-option {
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        padding: 1rem;
        margin-bottom: 1rem;
        cursor: pointer;
        transition: all 0.2s;
        display: flex;
        align-items: flex-start;
        gap: 1rem;
    }

    .cancellation-option:hover {
        border-color: #ff6b35;
        background-color: rgba(255, 107, 53, 0.05);
    }

    .cancellation-option input[type="radio"] {
        margin-top: 0.25rem;
        flex-shrink: 0;
        cursor: pointer;
    }

    .option-details h4 {
        margin: 0 0 0.5rem 0;
        font-size: 1.1rem;
        color: #333;
    }

    .option-details p {
        margin: 0;
        color: #666;
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .reasons-checkboxes {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .checkbox-label {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    .checkbox-label:hover {
        background-color: #f5f5f5;
    }

    .checkbox-label input[type="checkbox"] {
        flex-shrink: 0;
        cursor: pointer;
    }

    .checkbox-label span {
        font-size: 1rem;
        color: #333;
    }

    .feedback-textarea {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-family: inherit;
        font-size: 1rem;
        resize: vertical;
        min-height: 100px;
        box-sizing: border-box;
    }

    .feedback-textarea:focus {
        outline: none;
        border-color: #ff6b35;
    }

    .hint {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 1rem;
        margin-top: 0;
    }

    /* Button Styles */
    .btn {
        padding: 0.75rem 1.5rem;
        border: none;
        border-radius: 6px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-align: center;
    }

    .btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .btn-secondary {
        background-color: #f5f5f5;
        color: #333;
        border: 1px solid #ddd;
    }

    .btn-secondary:hover:not(:disabled) {
        background-color: #e9e9e9;
    }

    .btn-danger {
        background-color: #ff6b35;
        color: white;
    }

    .btn-danger:hover:not(:disabled) {
        background-color: #e55a26;
    }

/* ==========================================
   TERMS
   ========================================== */

.last-updated {
        color: #666;
        font-style: italic;
        margin-bottom: 2rem;
    }

    .terms-section {
        margin-bottom: 2.5rem;
    }

    .terms-section h2 {
        color: #1a4d6f;
        font-size: 1.5rem;
        margin-bottom: 1rem;
        border-bottom: 2px solid #ff6b35;
        padding-bottom: 0.5rem;
    }

    .terms-section h3 {
        color: #1a4d6f;
        font-size: 1.2rem;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .terms-section p {
        line-height: 1.8;
        margin-bottom: 1rem;
        text-align: justify;
    }

    .terms-section ul {
        margin-left: 2rem;
        margin-bottom: 1rem;
    }

    .terms-section ul li {
        margin-bottom: 0.5rem;
        line-height: 1.6;
    }

    .highlight-box {
        background: #fff3cd;
        border-left: 4px solid #ffc107;
        padding: 1rem 1.5rem;
        margin: 1.5rem 0;
        border-radius: 4px;
    }

    .contact-section {
        background: #f8f9fa;
        padding: 2rem;
        border-radius: 8px;
        margin-top: 3rem;
    }

    .contact-section h2 {
        color: #1a4d6f;
        margin-bottom: 1rem;
    }

    .contact-section p {
        line-height: 1.8;
        margin: 0;
    }

    .action-buttons {
        text-align: center;
        margin-top: 3rem;
        padding-top: 2rem;
        border-top: 1px solid #dee2e6;
    }

    @@media print {
        .action-buttons {
            display: none;
        }
    }


