:root {
    --bg: #09090b;
    --card: #18181b;
    --text: #fafafa;
    --muted: #a1a1aa;
    --border: #27272a;
    --primary: #10b981;
    --primary-hover: #059669;
    --danger: #ef4444;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background: var(--bg); color: var(--text); line-height: 1.6; min-height: 100vh; }
a { color: inherit; text-decoration: none; }

.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(9,9,11,0.9); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 1.1em; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 8px; }

.container { max-width: 800px; margin: 0 auto; padding: 30px 20px; }

.hero { text-align: center; margin-bottom: 40px; }
.hero h1 { font-size: 2.2em; font-weight: 800; margin-bottom: 10px; }
.hero h1 span { color: var(--primary); }
.hero p { color: var(--muted); font-size: 1.05em; max-width: 500px; margin: 0 auto; }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; margin-bottom: 8px;
    font-size: 0.85em; color: var(--muted); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.form-group select {
    width: 100%; padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    color: var(--text);
    font-family: inherit; font-size: 0.95em;
    outline: none; cursor: pointer;
    transition: 0.2s;
}
.form-group select:focus { border-color: var(--primary); }

.btn {
    padding: 14px 24px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    font-family: inherit;
    font-size: 0.95em;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: 0.2s;
    width: 100%;
}
.btn-primary { background: var(--primary); color: #000; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-sm { padding: 8px 16px; font-size: 0.85em; width: auto; }

/* NUMBER CARD */
.number-display {
    background: linear-gradient(135deg, rgba(16,185,129,0.15), transparent);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 20px;
    display: none;
}
.number-display.active { display: block; animation: slideDown 0.3s; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.num-label { font-size: 0.8em; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.num-value { font-size: 2em; font-weight: 800; color: var(--primary); letter-spacing: 1px; margin-bottom: 15px; word-break: break-all; }
.num-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* SMS INBOX */
.inbox-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.inbox-header h2 { font-size: 1.1em; display: flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.sms-item {
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    border-left: 3px solid var(--primary);
    animation: slideDown 0.3s;
}
.sms-from { font-size: 0.8em; color: var(--muted); margin-bottom: 5px; display: flex; justify-content: space-between; }
.sms-text { font-size: 0.95em; word-break: break-word; }

.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-state i { font-size: 3em; opacity: 0.3; margin-bottom: 15px; display: block; }

.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 0.9em; display: none; }
.alert.show { display: block; }
.alert-error { background: rgba(239,68,68,0.1); color: var(--danger); border: 1px solid rgba(239,68,68,0.2); }

/* FOOTER */
.footer { text-align: center; padding: 30px; color: var(--muted); font-size: 0.85em; border-top: 1px solid var(--border); margin-top: 40px; }

@media(max-width: 600px) {
    .hero h1 { font-size: 1.6em; }
    .num-value { font-size: 1.4em; }
}
