/* Thank You For Registering - Page styles */

#thank_you_for_registering{
    display: flex;
    justify-content: space-around;
}

div.thank-you-registering{
    max-width: 57em;
}


/* Layout Container */
.thank-you-registering .page-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 15px;
}

.thank-you-registering .brand-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 30px;
    letter-spacing: -0.025em;
}

/* Modern Card Component */
.thank-you-registering .modern-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #f3f4f6;
    margin-bottom: 32px;
    overflow: hidden;
}

.thank-you-registering .modern-card-body {
    padding: 40px;
}

@media (max-width: 768px) {
    .thank-you-registering .modern-card-body {
        padding: 24px;
    }
}

/* Flexbox Utilities (BS3 doesn't have these built-in) */
.thank-you-registering .flex-row-center {
    display: flex;
    align-items: center;
}

/* Header Section */
.thank-you-registering .success-icon-wrapper {
    background-color: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    padding: 12px;
    flex-shrink: 0;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-registering .success-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.thank-you-registering .header-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

.thank-you-registering .header-subtitle {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

/* Primary Message Box */
.thank-you-registering .primary-msg-box {
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    margin-top: 24px;
}

.thank-you-registering .primary-msg-text {
    color: #1e3a8a;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.thank-you-registering .email-badge {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    padding: 8px 12px;
    color: #1d4ed8;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.thank-you-registering .email-badge svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

/* Secondary Info */
.thank-you-registering .secondary-info {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

/* Same design as .alert-custom (download page) */
.thank-you-registering .info-callout {
    display: flex;
    align-items: flex-start;
    background-color: #f8f9fa;
    border-left: 4px solid #2b78e4;
    border-radius: 4px;
    padding: 10px 15px;
    margin-top: 20px;
    font-size: 15px;
    color: #555;
}

.thank-you-registering .info-callout svg {
    width: 20px;
    height: 20px;
    color: #2b78e4;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.thank-you-registering .info-callout p {
    margin: 0;
}

.thank-you-registering .support-link {
    color: #2563eb;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s;
}

.thank-you-registering .support-link:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* Video Section */
.thank-you-registering .video-header {
    padding: 24px;
    border-bottom: 1px solid #f3f4f6;
}

.thank-you-registering .video-title {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
}

.thank-you-registering .video-title svg {
    width: 20px;
    height: 20px;
    color: #dc2626;
    margin-right: 8px;
}

.thank-you-registering .video-subtitle {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.thank-you-registering .video-wrapper {
    background-color: #111827;
}

/* 16:9 aspect ratio from CSS so container has correct size before JS runs */
.thank-you-registering .video-embed-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.thank-you-registering .video-embed-container::before {
    content: '';
    display: block;
    padding-bottom: 56.25%; /* 9/16 */
}

.thank-you-registering .video-embed-container .embed-responsive-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    visibility: hidden;
}

.thank-you-registering .video-embed-container .embed-responsive-item.iframe-loaded {
    visibility: visible;
}

.thank-you-registering .video-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2em;
    background-color: #111827;
}

.thank-you-registering .video-loading .loading-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 1em;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: thank-you-video-spin 1s linear infinite;
}

.thank-you-registering .video-loading p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}

.thank-you-registering .video-loading.hidden {
    display: none;
}

@keyframes thank-you-video-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.thank-you-registering .video-footer {
    padding: 16px;
    background-color: #f9fafb;
    text-align: center;
}

.thank-you-registering .footer-link {
    color: #2563eb;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.thank-you-registering .footer-link:hover {
    color: #1e40af;
    text-decoration: underline;
}
