/* ───── id.by.digital — auth UI ───── */
* { box-sizing: border-box; }
html, body {
    margin: 0; padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    color: #1f2937;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
}

.auth-card {
    background: #fff;
    width: 100%;
    max-width: 420px;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
}

.brand {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 32px;
}
.brand span { color: #FF6B00; }

h1 { font-size: 24px; margin: 0 0 8px; font-weight: 600; }
.muted { color: #6b7280; font-size: 14px; }
small.muted { display: block; margin-top: 4px; font-size: 12px; }

form { margin-top: 24px; }
label {
    display: block;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}
input {
    display: block; width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #111;
    transition: border-color .15s, box-shadow .15s;
}
input:focus {
    outline: none;
    border-color: #FF6B00;
    box-shadow: 0 0 0 3px rgba(255,107,0,0.15);
}

button[type=submit] {
    display: block; width: 100%;
    padding: 12px;
    font-size: 15px; font-weight: 600;
    color: #fff;
    background: #FF6B00;
    border: 0; border-radius: 8px;
    cursor: pointer;
    transition: background .15s, transform .05s;
}
button[type=submit]:hover { background: #e85f00; }
button[type=submit]:active { transform: translateY(1px); }
button[type=submit]:disabled { opacity: .6; cursor: wait; }

.divider {
    margin: 24px 0;
    text-align: center;
    position: relative;
    color: #9ca3af;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.divider::before, .divider::after {
    content: ''; position: absolute; top: 50%;
    width: calc(50% - 30px); height: 1px;
    background: #e5e7eb;
}
.divider::before { left: 0; }
.divider::after { right: 0; }
.divider span { background: #fff; padding: 0 8px; position: relative; }

.social { display: flex; flex-direction: column; gap: 8px; }
.btn-social {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 14px; font-weight: 500;
    background: #fff;
    transition: background .15s, border-color .15s;
}
.btn-social:hover { background: #f9fafb; border-color: #9ca3af; }

.auth-links {
    margin-top: 28px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}
.auth-links a {
    color: #FF6B00;
    text-decoration: none;
    font-weight: 500;
}
.auth-links a:hover { text-decoration: underline; }
.auth-links .dot { margin: 0 8px; color: #d1d5db; }

.error {
    background: #fef2f2; border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}
.info {
    background: #eff6ff; border: 1px solid #bfdbfe;
    color: #1e40af;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}

@media (max-width: 480px) {
    .auth-card { padding: 32px 20px; border-radius: 12px; }
    h1 { font-size: 20px; }
}
