/* Login Page Styles */

/* CSS Variables for Login Page */
:root {
    --login-bg: #0b0b0b;
    --login-card: #121212;
    --login-muted: #1d1d1d;
    --login-line: #242424;
    --login-text: #fff;
    --login-sub: #c7c7c7;
    --login-accent: #ff5a1f;
    --login-accent-ink: #0b0b0b;
}

/* Login Wrapper */
.login-wrapper {
  /* Subtract header and footer height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 180px 20px 100px 20px;
    background: radial-gradient(1200px 700px at 80% -10%, #141414 0%, #0b0b0b 55%, #090909 100%);
}

.login-container {
    max-width: 440px;
    width: 100%;
}

/* Logo Section */
.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo img {
    max-width: 200px;
    height: auto;
    margin-bottom: 12px;
}

.login-logo h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--login-text);
}

.login-logo p {
    margin: 8px 0 0;
    color: var(--login-sub);
    font-size: 14px;
}

/* Card */
.login-card {
    background: var(--login-card);
    border: 1px solid var(--login-line);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Alert Messages */
.login-alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid;
}

.login-alert.error {
    background: #1f1214;
    border-color: #dc2626;
    color: #fca5a5;
}

.login-alert.success {
    background: #0f1712;
    border-color: #2b3;
    color: #4ade80;
}

/* Form Fields */
.login-field {
    margin-bottom: 20px;
}

.login-field-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--login-text);
    margin-bottom: 8px;
    display: block;
}

.login-field-input {
    background: var(--login-muted);
    border: 1px solid var(--login-line);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--login-text);
    font-size: 15px;
    width: 100%;
    outline: none;
    transition: border 0.2s;
}

.login-field-input:focus {
    border-color: var(--login-accent);
}

.login-field-input::placeholder {
    color: var(--login-sub);
    opacity: 0.6;
}

/* Button */
.login-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.login-btn:hover {
    text-decoration: none;
    filter: brightness(1.1);
}

.login-btn-primary {
    background: var(--login-accent);
    color: var(--login-accent-ink);
    margin-bottom: 12px;
}

/* Text Utilities */
.login-text-center {
    text-align: center;
    margin-top: 16px;
}

.login-link-muted {
    color: var(--login-sub);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.login-link-muted:hover {
    color: var(--login-text);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-wrapper {
        padding: 40px 20px;
        min-height: calc(100vh - 60px - 150px);
    }

    .login-card {
        padding: 24px;
    }

    .login-logo h1 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .login-wrapper {
        padding: 30px 15px;
    }

    .login-card {
        padding: 20px;
    }

    .login-logo img {
        max-width: 160px;
    }
}
