.ctc-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.10);
    padding: 32px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.ctc-group { margin-bottom: 18px; }
.ctc-group label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: #374151; }
.ctc-group input {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-sizing: border-box;
    background: #fff;
}
.ctc-group input:focus { outline: none; border-color: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .12); }

#ctc-submit {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
#ctc-submit:disabled { background: #9ca3af; cursor: not-allowed; }
.ctc-spin::after { content: '…'; margin-left: 8px; }

.ctc-message { margin-top: 14px; padding: 12px 14px; border-radius: 8px; font-size: 14px; }
.ctc-message.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

.ctc-thankyou { text-align: center; }
.ctc-status-icon {
    width: 56px; height: 56px; margin: 0 auto 12px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 999px; background: #ecfdf5; color: #047857; font-size: 26px; font-weight: 700;
}
.ctc-thankyou h1 { margin: 0 0 6px; font-size: 26px; color: #111827; }
.ctc-thankyou > p { margin: 0 0 22px; color: #4b5563; font-size: 15px; }

.ctc-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px; text-align: left; }
.ctc-details div { border: 1px solid #eef2f7; border-radius: 8px; padding: 12px 14px; background: #f9fafb; }
.ctc-details dt { margin: 0 0 4px; color: #6b7280; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.ctc-details dd { margin: 0; color: #111827; font-size: 14px; overflow-wrap: anywhere; }
.ctc-ref { color: #6b7280; font-size: 12px; overflow-wrap: anywhere; }

.ctc-badge { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.status-completed { background: #e8f5e9; color: #2e7d32; }
.status-pending, .status-processing { background: #fff4e5; color: #e67e22; }
.status-failed, .status-expired { background: #ffebee; color: #c62828; }

@media (max-width: 480px) {
    .ctc-card { padding: 24px; }
    .ctc-details { grid-template-columns: 1fr; }
}
