/* login.css - Minimalist Branded Login */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand-red: #b70716;
    --brand-red-deep: #b30412;
    --brand-yellow: #ffcc00;
    --ink: #1a1a1a;
    --paper: #ffffff;
    --canvas: #f7f7f8;
    --line: #e6e6e6;
    --font-display: 'Oswald', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: var(--font-body);
    background: var(--brand-red);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
}


.login-card {
    background: var(--paper);
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    padding: 44px 40px 40px;
    display: flex;
    flex-direction: column;
}

.brand-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    align-self: center;
    margin-bottom: 28px;
}

.welcome-text {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--ink);
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 4px;
    text-align: center;
    width: 100%;
}

.subtitle {
    color: #8a8a8a;
    font-size: 13.5px;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
}

.form-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(253, 7, 27, 0.08);
    border-left: 3px solid var(--brand-red);
    color: var(--brand-red-deep);
    font-size: 13px;
    font-weight: 600;
    padding: 11px 14px;
    margin-bottom: 22px;
    border-radius: 4px;
}


.input-group-alt {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.input-group-alt label {
    font-weight: 700;
    color: #444;
    font-size: 11.5px;
    margin-bottom: 8px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.input-group-alt input {
    border: none;
    border-bottom: 1.5px solid var(--line);
    padding: 9px 0;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    background: transparent;
    width: 100%;
    color: var(--ink);
    font-family: var(--font-body);
}

.input-group-alt input:focus {
    border-color: var(--brand-red);
    padding-bottom: 11px;
}

.input-group-alt input::placeholder {
    color: #bbb;
    font-weight: 400;
    font-size: 13.5px;
}

.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-btn {
    position: absolute;
    right: 0;
    bottom: 9px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 10.5px;
    color: var(--brand-red);
    padding: 0;
    transition: opacity 0.2s;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.toggle-btn:hover {
    opacity: 0.7;
    color: var(--brand-red-deep);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 28px;
    color: #555;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #555;
}

.checkbox-container input {
    accent-color: var(--brand-red);
}

.forgot-pass {
    color: var(--brand-red);
    text-decoration: none;
    font-weight: 600;
}

.forgot-pass:hover {
    text-decoration: underline;
}

/* Primary CTA */
.submit-btn-yellow {
    background-color: var(--brand-yellow);
    color: var(--ink);
    border: none;
    padding: 14px 0;
    width: 100%;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.06em;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(255, 204, 0, 0.28);
    transition: all 0.2s ease;
    text-align: center;
}

.submit-btn-yellow:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255, 204, 0, 0.36);
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-top: 4px;
}

.signup-hint {
    text-align: center;
    font-size: 13px;
    color: #777;
}

.signup-hint a {
    color: var(--brand-red);
    font-weight: 700;
    text-decoration: none;
}

.signup-hint a:hover {
    text-decoration: underline;
}

.page-foot {
    margin-top: 22px;
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b3b3b3;
    text-align: center;
}

/* ============ Responsive ============ */
@media (max-width: 480px) {
    body {
        padding: 0;
        justify-content: flex-start;
    }

    .login-card {
        max-width: 100%;
        min-height: 100vh;
        border: none;
        border-radius: 0;
        box-shadow: none;
        justify-content: center;
        padding: 40px 26px;
    }

    .page-foot {
        display: none;
    }
}