/* Halaman isolir SuteraLink - CSS mandiri, tanpa CDN */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --red-400: #f87171;
    --red-500: #ef4444;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --emerald-500: #10b981;
    --emerald-600: #059669;
}

html { -webkit-text-size-adjust: 100%; }

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--slate-900);
    color: #f1f5f9;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
}

svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* Header */
.header {
    width: 100%;
    padding: 1.5rem 2rem;
    background: var(--slate-950);
    border-bottom: 1px solid var(--slate-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { height: 2.5rem; width: auto; object-fit: contain; }
.brand h1 { font-size: 1.25rem; font-weight: 800; letter-spacing: 0.025em; color: #fff; line-height: 1.4; }
.brand p { font-size: 0.75rem; color: var(--slate-400); }
.help { display: none; font-size: 0.875rem; color: var(--slate-400); align-items: center; gap: 0.4rem; }
.help svg { color: var(--blue-400); }

/* Kartu utama */
.main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 42rem;
    margin: 0 auto;
    padding: 2.5rem 1rem;
}
.card {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 2rem;
    background: var(--slate-800);
    border: 1px solid rgba(51, 65, 85, 0.6);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.card-accent {
    position: absolute; top: 0; left: 0; right: 0; height: 0.375rem;
    background: linear-gradient(to right, var(--red-500), var(--amber-500), var(--blue-500));
}

.alert-wrap { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.alert-icon {
    width: 5rem; height: 5rem;
    display: flex; align-items: center; justify-content: center;
    color: var(--amber-400);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 9999px;
}
.alert-icon svg { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 50% { opacity: 0.5; } }
@media (prefers-reduced-motion: reduce) { .alert-icon svg { animation: none; } }

.title-block { text-align: center; margin-bottom: 2rem; }
.title-block h2 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; line-height: 1.3; }
.title-block p { font-size: 0.875rem; color: var(--slate-300); line-height: 1.625; }

/* Detail */
.details {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.4);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}
.row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--slate-800);
}
.row:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.label { color: var(--slate-400); flex-shrink: 0; }
.value { font-weight: 500; color: var(--slate-200); text-align: right; }
.value.info { color: var(--blue-400); }
.badge {
    align-self: flex-start;
    font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--red-400);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
}

/* Tombol */
.btn {
    width: 100%;
    display: flex; align-items: center; justify-content: center; gap: 0.625rem;
    padding: 0.875rem 1.5rem;
    font-weight: 600; font-size: 1rem;
    color: #fff; text-decoration: none;
    background: var(--emerald-600);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(6, 78, 59, 0.3);
    transition: background-color 0.2s;
}
.btn:hover, .btn:focus-visible { background: var(--emerald-500); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.note { text-align: center; font-size: 0.75rem; color: var(--slate-400); padding-top: 0.5rem; margin-top: 0.75rem; }

/* Footer */
.footer {
    width: 100%;
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--slate-500);
    border-top: 1px solid rgba(30, 41, 59, 0.6);
}

@media (min-width: 768px) {
    .help { display: flex; }
    .title-block h2 { font-size: 1.875rem; }
    .title-block p { font-size: 1rem; }
}

@media (max-width: 480px) {
    .header { padding: 1rem; }
    .card { padding: 1.5rem 1.25rem; }
    .row { flex-direction: column; gap: 0.25rem; }
    .value { text-align: left; }
}
