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

body {
    background: #f5f6f8;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1a1a2e;
}

.card {
    background: #ffffff;
    border: 1px solid #e2e4e9;
    border-radius: 12px;
    padding: 2rem 2rem 1.75rem;
    width: 100%;
    max-width: 400px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #6b7280;
}

.brand-icon {
    width: 20px;
    height: 20px;
    border: 1.5px solid #9ca3af;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #6b7280;
}

.breadcrumb {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: #4caf82;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.breadcrumb::before { content: "● "; }

h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.sub {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-size: 0.78rem;
    color: #374151;
    margin-bottom: 0.3rem;
    margin-top: 1rem;
    font-weight: 500;
}

input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    color: #111827;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s;
}

input::placeholder { color: #9ca3af; }
input:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,0.08); }

.error-banner {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    font-size: 0.82rem;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.btn-primary {
    margin-top: 1.5rem;
    width: 100%;
    background: #111827;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.72rem;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-primary:hover { background: #1f2937; }

.footer-link {
    margin-top: 1.1rem;
    text-align: center;
    font-size: 0.82rem;
    color: #6b7280;
}

.success-banner {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    font-size: 0.82rem;
    color: #16a34a;
    margin-bottom: 0.5rem;
}

.footer-link a { color: #6366f1; text-decoration: none; }
.footer-link a:hover { text-decoration: underline; }