/*
 * Aikons Auth Pages — Professional Light theme
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box }

body {
    font-family: Inter, system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    margin: 0;
    background-color: #f1f5f9;
    background-image:
        radial-gradient(ellipse 70% 50% at 50% -10%, rgba(20,184,166,.10) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 90% 100%, rgba(20,184,166,.07) 0%, transparent 50%);
}

/* ─── Centered wrapper ──────────────────── */
.auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

/* ─── Auth card ─────────────────────────── */
.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow:
        0 1px 3px rgba(15,23,42,.06),
        0 8px 32px rgba(15,23,42,.08),
        0 24px 64px rgba(15,23,42,.04);
    padding: 36px 32px 32px;
}

/* ─── Header (logo + headings, centered) ── */
.auth-header {
    text-align: center;
    margin-bottom: 4px;
}

.auth-logo-wrap {
    margin-bottom: 16px;
}

.auth-logo {
    height: 48px;
    width: auto;
    display: inline-block;
    object-fit: contain;
}

.auth-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -.02em;
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: .875rem;
    color: #64748b;
    margin-bottom: 0;
}

/* ─── Section separator ─────────────────── */
.auth-sep {
    border: none;
    border-top: 1px solid #e8edf3;
    margin: 24px 0 20px;
}

/* ─── Form labels ───────────────────────── */
.auth-card .form-label {
    font-size: .82rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 7px;
    letter-spacing: .01em;
}

/* ─── Inputs ────────────────────────────── */
.auth-card .form-control {
    background: #f8fafc;
    border: 1.5px solid #dde3ec;
    border-radius: 10px !important;
    padding: .72rem 1rem;
    color: #0f172a;
    font-size: .9rem;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.auth-card .form-control::placeholder {
    color: #a8b4c2;
}

.auth-card .form-control:focus {
    background: #fff;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20,184,166,.14);
    color: #0f172a;
    outline: none;
}

/* ─── Input group (icon prefix) ─────────── */
.auth-card .input-group-text {
    background: #f1f5f9;
    border: 1.5px solid #dde3ec;
    border-radius: 10px 0 0 10px !important;
    color: #0d9488;
    font-size: .95rem;
    padding: .72rem .85rem;
}

.auth-card .input-group .form-control {
    border-left: none;
    border-radius: 0 10px 10px 0 !important;
}

.auth-card .input-group:focus-within .input-group-text {
    border-color: #14b8a6;
}

/* password toggle button */
.auth-card .input-group .btn-outline-secondary {
    background: #f1f5f9;
    border: 1.5px solid #dde3ec;
    border-left: none;
    border-radius: 0 10px 10px 0 !important;
    color: #94a3b8;
    transition: color .15s, background-color .15s, border-color .15s;
}

.auth-card .input-group .btn-outline-secondary:hover {
    background: #e8eef5;
    color: #0d9488;
}

.auth-card .input-group:focus-within .btn-outline-secondary {
    border-color: #14b8a6;
}

.auth-card .input-group .form-control:not(:last-child) {
    border-radius: 0 !important;
}

/* ─── Primary button ────────────────────── */
.auth-card .btn-primary {
    background: linear-gradient(135deg, #14b8a6, #0d9488) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: .70rem 1rem !important;
    font-weight: 700 !important;
    font-size: .875rem;
    letter-spacing: .01em;
    box-shadow: 0 4px 14px rgba(20,184,166,.28) !important;
    transition: all .15s ease !important;
    color: #fff !important;
}

.auth-card .btn-primary:hover {
    background: linear-gradient(135deg, #0d9488, #0f766e) !important;
    box-shadow: 0 6px 20px rgba(20,184,166,.38) !important;
    transform: translateY(-1px) !important;
}

.auth-card .btn-primary:active {
    transform: translateY(0) !important;
}

/* ─── Links ─────────────────────────────── */
.link-brand {
    color: #0d9488;
    text-decoration: none;
    font-weight: 500;
    transition: color .15s;
}

.link-brand:hover {
    color: #0f766e;
    text-decoration: underline;
}

.link-light2 {
    color: #0d9488;
    text-decoration: none;
}

.link-light2:hover {
    color: #0f766e;
    text-decoration: underline;
}

/* ─── Divider ───────────────────────────── */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #94a3b8;
    font-size: .75rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

/* ─── Validation text ───────────────────── */
.text-danger {
    color: #dc2626 !important;
    font-size: .78rem;
}

/* ─── Small note ────────────────────────── */
.small-note {
    font-size: .82rem;
    color: #94a3b8;
}

/* ─── Checkbox ──────────────────────────── */
.auth-card .form-check-input {
    background-color: #fff;
    border-color: #d1d5db;
}

.auth-card .form-check-input:checked {
    background-color: #14b8a6;
    border-color: #14b8a6;
}

.auth-card .form-check-label {
    color: #64748b;
    font-size: .82rem;
}

/* ─── Footer note ───────────────────────── */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: .8rem;
    color: #94a3b8;
}

/* ─── Responsive ────────────────────────── */
@media (max-width: 480px) {
    .auth-card { padding: 28px 20px 24px }
}
