/**
 * RedSKY Login Page Stylesheet
 */

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background: #0f172a;
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(59, 130, 246, 0.35), transparent 55%),
        radial-gradient(ellipse 80% 50% at 100% 100%, rgba(15, 23, 42, 0.9), transparent 50%),
        linear-gradient(165deg, #0f172a 0%, #1e293b 45%, #0f172a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.login-box {
    background: #ffffff;
    border-radius: 16px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 24px 80px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.25);
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 42%, #1d4ed8 100%);
    color: #f8fafc;
    padding: 36px 30px 32px;
    text-align: center;
}

.logo-eyebrow {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.72);
}

.logo h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.logo-tagline {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(248, 250, 252, 0.82);
    font-weight: 400;
}

.login-form {
    padding: 36px 30px 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #334155;
    font-size: 13px;
}

.form-group input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    background: #f8fafc;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-block {
    width: 100%;
    display: block;
}

.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.login-footer {
    padding: 18px 30px 22px;
    background: #f1f5f9;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.login-footer-copy {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.login-footer-meta {
    margin: 8px 0 0;
    font-size: 12px;
}

.login-footer-meta a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.login-footer-meta a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .login-container {
        padding: 10px;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .login-form {
        padding: 30px 20px;
    }
    
    .login-footer {
        padding: 15px 20px;
    }
}