/* ========================================
   Thank You Page Styles
   ======================================== */

.thankyou-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #fefbf5 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.5s ease-in;
    position: relative;
    overflow: hidden;
}

/* Background decorative elements */
.thankyou-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(34, 197, 94, 0.05);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
}

.thankyou-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: rgba(34, 197, 94, 0.03);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.thankyou-container {
    max-width: 800px;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.6s ease-out;
    position: relative;
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thankyou-content {
    padding: 3rem 2rem;
    text-align: center;
}

/* Success Icon */
.thankyou-icon {
    margin-bottom: 2rem;
}

.thankyou-checkmark {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.3);
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.thankyou-checkmark i {
    font-size: 3rem;
    color: #ffffff;
}

/* Typography */
.thankyou-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.thankyou-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.thankyou-course {
    color: #16a34a;
    font-weight: 700;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

.thankyou-greeting {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 2rem;
}

.thankyou-greeting strong {
    color: #1e293b;
}

/* Message Section */
.thankyou-message {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(22, 163, 74, 0.05) 100%);
    border: 2px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.thankyou-message p {
    margin: 1rem 0;
    color: #475569;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.thankyou-message i {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.thankyou-message strong {
    color: #1e293b;
}

/* Next Steps */
.thankyou-next-steps {
    margin: 2rem 0;
    text-align: left;
}

.thankyou-next-steps h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.thankyou-steps {
    display: grid;
    gap: 1rem;
}

.thankyou-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(22, 163, 74, 0.08) 100%);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.thankyou-step:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(22, 163, 74, 0.12) 100%);
    transform: translateX(5px);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.25);
    line-height: 1;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.step-content p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* Action Buttons */
.thankyou-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.thankyou-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thankyou-btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.thankyou-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    color: #ffffff;
}

.thankyou-btn-secondary {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.15) 100%);
    color: #16a34a;
    border-color: #16a34a;
    border: 2px solid #16a34a;
    box-shadow: none;
}

.thankyou-btn-secondary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(22, 163, 74, 0.25) 100%);
    color: #16a34a;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.25);
}

.thankyou-btn-outline {
    background: transparent;
    color: #475569;
    border-color: #cbd5e1;
}

.thankyou-btn-outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
}

/* Additional Info - Professional Support Section */
.thankyou-info {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 2px solid #e2e8f0;
}

.thankyou-support-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1.5rem;
    text-align: center;
}

.thankyou-support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.thankyou-support-item {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(22, 163, 74, 0.05) 100%);
    border: 2px solid rgba(34, 197, 94, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.08);
}

.thankyou-support-item:hover {
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.15);
    transform: translateY(-2px);
}

.support-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.support-label {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.thankyou-phone,
.thankyou-email {
    color: #16a34a;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-block;
    margin: 0.5rem 0;
}

.thankyou-phone:hover,
.thankyou-email:hover {
    color: #22c55e;
    text-decoration: underline;
}

.support-hours {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0.5rem 0 0;
    line-height: 1.4;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ── Enrollment Guide Section ── */
.thankyou-enrollment-guide {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
    border: 2px solid rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    margin: 2rem 0;
}

.enrollment-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
}

.enrollment-timeline {
    position: relative;
}

.enrollment-timeline::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #10b981 0%, rgba(16, 185, 129, 0.3) 100%);
}

.enrollment-step {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.enrollment-step:last-child .step-marker {
    position: relative;
}

.enrollment-step:last-child .marker-line {
    display: none;
}

.step-marker {
    flex-shrink: 0;
    width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.marker-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    border: 3px solid #ffffff;
}

.step-details {
    flex: 1;
    padding-left: 2rem;
    padding-top: 0.5rem;
}

.step-details h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.step-details p {
    font-size: 0.9375rem;
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.step-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #374151;
}

.step-checklist li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.2);
    color: #059669;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Enrollment Summary */
.enrollment-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(16, 185, 129, 0.1);
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border-left: 4px solid #10b981;
}

.summary-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.summary-text {
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.5;
}

/* Responsive Enrollment Guide */
@media (max-width: 768px) {
    .thankyou-enrollment-guide {
        padding: 1.5rem 1rem;
    }

    .enrollment-timeline::before {
        left: 25px;
    }

    .marker-circle {
        width: 50px;
        height: 50px;
        font-size: 1.125rem;
    }

    .step-details {
        padding-left: 1rem;
    }

    .step-details h4 {
        font-size: 1rem;
    }

    .step-details p {
        font-size: 0.875rem;
    }

    .enrollment-summary {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .enrollment-title {
        font-size: 1.25rem;
    }

    .marker-circle {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .step-marker {
        width: 50px;
    }

    .step-details {
        padding-left: 0.75rem;
    }

    .step-details h4 {
        font-size: 0.95rem;
    }

    .step-checklist li {
        font-size: 0.8125rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .thankyou-wrapper {
        padding: 1rem;
    }

    .thankyou-content {
        padding: 2rem 1.5rem;
    }

    .thankyou-title {
        font-size: 1.5rem;
    }

    .thankyou-subtitle {
        font-size: 1rem;
    }

    .thankyou-checkmark {
        width: 80px;
        height: 80px;
    }

    .thankyou-checkmark i {
        font-size: 2.5rem;
    }

    .thankyou-actions {
        gap: 0.75rem;
    }

    .thankyou-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .thankyou-support-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .support-icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .thankyou-title {
        font-size: 1.25rem;
    }

    .thankyou-subtitle {
        font-size: 0.9375rem;
    }

    .thankyou-message {
        padding: 1rem;
    }

    .thankyou-message p {
        font-size: 0.875rem;
    }
}

/* Print Styles */
@media print {
    .thankyou-wrapper {
        background: #ffffff;
    }

    .thankyou-actions,
    .thankyou-info {
        display: none;
    }
}
