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

/* ===== PAGE ===== */
.auth-page {
    min-height: 100vh;
    background: #f4f7fb;
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== CONTAINER ===== */
.auth-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ===== CARD ===== */
.auth-card {
    width: 720px;
    background: #ededed;
    border-radius: 22px;
    padding: 48px 52px;
    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.18);
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    align-items: center;
}

/* ===== LEFT SIDE ===== */
.auth-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* LOGO (slightly bigger) */
.logo-container {
    width: 68px;
    height: 68px;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* LEFT TEXT */
.auth-header h1 {
    font-size: 14.5px;
    font-weight: 500;
    color: #111;
    line-height: 1.45;
    max-width: 260px;
}

.auth-header p {
    font-size: 12.5px;
    color: #444;
    line-height: 1.55;
    max-width: 260px;
}

/* ===== FORM (RIGHT SIDE) ===== */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* INPUT GROUP */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

/* LABELS */
.input-group label {
    font-size: 12.5px;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.2px;
}

/* INPUT */
.input-group input {
    height: 48px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1.5px solid #2D91DD;
    background: #ffffff;
    font-size: 14px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* PLACEHOLDER */
.input-group input::placeholder {
    color: #a0a0a0;
}

/* FOCUS */
.input-group input:focus {
    border-color: #5b6cff;
    box-shadow: 0 0 0 4px rgba(91, 108, 255, 0.18);
}

/* HELPER TEXT */
.input-group small {
    font-size: 11.5px;
    color: #666;
}

/* ===== ACTIONS ===== */
.form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 4px;
}

/* LINK */
.link-button {
    font-size: 12.5px;
    color: #111;
    text-decoration: none;
    opacity: 0.9;
}

.link-button:hover {
    text-decoration: underline;
    opacity: 1;
}

/* BUTTON */
.btn-primary {
    background: linear-gradient(180deg, #5b6cff 0%, #4f5ff5 100%);
    color: #ffffff;
    border: none;
    border-radius: 16px;
    height: 44px;
    padding: 0 30px;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(91, 108, 255, 0.35);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(91, 108, 255, 0.45);
}

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

/* ===== ALERTS ===== */
.alert {
    grid-column: 1 / -1;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 13px;
}

.alert-error {
    background: #ffe5e5;
    color: #a40000;
}

.alert-success {
    background: #e7f6ec;
    color: #1b7f3b;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 820px) {
    .auth-card {
        width: 95%;
        grid-template-columns: 1fr;
        row-gap: 32px;
        padding: 36px 32px;
    }

    .form-actions {
        justify-content: space-between;
    }
}
