/* IPTV Claim Portal Design System - Matching Admin Brand Colors */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-main: #f8fafc;
    --card-bg: #ffffff;
    --primary-teal: #00c4a7;
    --primary-teal-hover: #00b398;
    --burgundy-red: #801424;
    --burgundy-light: rgba(128, 20, 36, 0.08);
    --accent-orange: #f59e0b;
    --accent-coral: #ef4444;
    --accent-green: #10b981;
    --text-primary: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 196, 167, 0.06) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(128, 20, 36, 0.06) 0px, transparent 50%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 560px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    text-align: center;
    position: relative;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.badge-trial {
    background: rgba(0, 196, 167, 0.12);
    color: #00a38b;
    border: 1px solid rgba(0, 196, 167, 0.3);
}

.badge-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-coral);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-success {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.icon-header {
    font-size: 48px;
    margin-bottom: 16px;
}

h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--burgundy-red);
    margin-bottom: 12px;
    line-height: 1.3;
}

p.subtitle {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.client-box {
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 28px;
    word-break: break-all;
}

.client-box strong {
    color: var(--burgundy-red);
    font-weight: 600;
}

.btn-activate {
    display: block;
    width: 100%;
    background: var(--primary-teal);
    color: #ffffff;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 10px 20px -5px rgba(0, 196, 167, 0.4);
}

.btn-activate:hover {
    background: var(--primary-teal-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 24px -5px rgba(0, 196, 167, 0.5);
}

.btn-activate:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.footer-note {
    margin-top: 24px;
    font-size: 12px;
    color: var(--text-muted);
}

.hidden {
    display: none !important;
}
