﻿/* Layout shell */
.login-wrap {
    min-height: calc(100vh - 120px); /* leave room if you have a top nav */
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
}

/* Card */
.login-card {
    width: 100%;
    max-width: 520px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,.4);
    overflow: hidden;
    border: 1px solid #2a2a2a;
}

/* Header with logo */
.login-header {
    background: #222;
    padding: 24px 24px 8px 24px;
    text-align: center;
    border-bottom: 1px solid #2a2a2a;
}

.login-logo {
    max-width: 240px;
    height: auto;
}

/* Form body */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
}

/* Inputs */
.input-label {
    font-size: .95rem;
    margin-bottom: 4px;
}

.input {
    width: 100%;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 12px 14px;
    outline: none;
}

    .input:focus {
        border-color: #5aa7ff;
        box-shadow: 0 0 0 3px rgba(90,167,255,.15);
    }

.mt {
    margin-top: 8px;
}

/* Validation */
.validation-summary, .field-validation {
    color: #ff8a8a;
    font-size: .9rem;
}

/* Remember me */
.remember-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 2px 0;
    user-select: none;
}

.checkbox {
    width: 18px;
    height: 18px;
    accent-color:#222;
}

.checkbox-label {
    color: #222;
}

/* Primary button */
.btn-login {
    margin-top: 10px;
    color:white;
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 14px 16px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #333333, #111111);
    cursor: pointer;
}

    .btn-login:hover {
        filter: brightness(0.98);
    }

    .btn-login:active {
        transform: translateY(1px);
    }

/* Helper links */
.helper-links {
    margin-top: 14px;
    display: grid;
    gap: 6px;
    text-align: center;
}

    .helper-links a {
        color: #222;
        text-decoration: none;
    }

        .helper-links a:hover {
            text-decoration: underline;
        }

/* Make it feel tight on mobile */
@media (max-width: 480px) {
    .login-card {
        border-radius: 16px;
    }

    .login-form {
        padding: 20px;
    }
}
