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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0f;
    color: #fff;
    min-height: 100vh;
}

.auth-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(28, 109, 139, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(51, 129, 158, 0.15) 0%, transparent 50%);
    z-index: -1;
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    gap: 26px;
}

.auth-brand img {
    max-width: 150px;
    height: auto;
    display: block;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px 28px;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 26px;
    line-height: 1.5;
}

.auth-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 7px;
}

.auth-input,
.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 13px 14px;
    font-size: 15px;
    font-family: inherit;
    color: #fff;
    outline: none;
    margin-bottom: 18px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input::placeholder,
.form-control::placeholder {
    color: #6b7280;
}

.auth-input:focus,
.form-control:focus {
    border-color: #1c6d8b;
    box-shadow: 0 0 0 3px rgba(28, 109, 139, 0.15);
}

.auth-check {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    color: #d1d5db;
    margin-bottom: 22px;
    cursor: pointer;
}

.auth-check input {
    width: 16px;
    height: 16px;
    accent-color: #1c6d8b;
    cursor: pointer;
}

.auth-btn,
.btn-primary {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #1c6d8b, #33819e);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.auth-btn:hover,
.btn-primary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.auth-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    text-align: center;
}

.auth-links a,
a {
    color: #33819e;
    font-size: 13.5px;
    text-decoration: none;
}

.auth-links a:hover,
a:hover {
    text-decoration: underline;
}

.auth-alert,
.alert {
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.auth-alert-error,
.alert-danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.auth-alert-success,
.alert-success {
    background: rgba(28, 109, 139, 0.12);
    border: 1px solid rgba(28, 109, 139, 0.35);
    color: #93c5d8;
}

.auth-footnote {
    font-size: 12px;
    color: #6b7280;
}

/* Fallbacks so Shield's remaining stock views stay legible */
.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px;
    max-width: 420px;
    margin: 0 auto;
}

.card-header {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.form-label,
label {
    display: block;
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 6px;
}
