/* =========================
   LOGIN PAGE
   ========================= */

.login-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 20px;
}

.login-card {
    width: 100%;
    max-width: 460px;
}

.login-heading {
    text-align: center;
    margin-bottom: 35px;
}

.login-heading .eyebrow {
    display: inline-block;
    margin-bottom: 12px;
}

.login-heading h1 {
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.login-heading p {
    margin: 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.6;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.login-field label {
    font-size: 14px;
    font-weight: 600;
    color: #344054;
}

.login-field input {
    width: 100%;
    box-sizing: border-box;
    min-height: 50px;
    padding: 0 15px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #ffffff;
    font: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.login-field input:focus {
    outline: none;
    border-color: #2864e8;
    box-shadow: 0 0 0 3px rgba(40, 100, 232, 0.10);
}

.login-field input::placeholder {
    color: #98a2b3;
}

.login-submit {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}

.login-error {
    min-height: 24px;
    margin: 14px 0 0;
    text-align: center;
}

.login-register {
    margin: 22px 0 0;
    text-align: center;
    color: #667085;
}

.login-register a {
    font-weight: 600;
}

@media (max-width: 600px) {

    .login-page {
        padding: 50px 16px;
    }

    .login-heading h1 {
        font-size: 34px;
    }
}
/* =========================
   GOOGLE LOGIN
   ========================= */

.login-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0 18px;
    color: #98a2b3;
    font-size: 13px;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eaecf0;
}

.login-divider span {
    flex-shrink: 0;
}

.google-login-button {
    width: 100%;
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 0 18px;

    border: 1px solid #d0d5dd;
    border-radius: 10px;

    background: #ffffff;
    color: #344054;

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.05);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

.google-login-button:hover {
    background: #f9fafb;
    border-color: #bfc5d0;

    box-shadow:
        0 3px 8px rgba(16, 24, 40, 0.08);

    transform: translateY(-1px);
}

.google-login-button:active {
    transform: translateY(0);

    box-shadow:
        0 1px 3px rgba(16, 24, 40, 0.08);
}

.google-login-button:focus-visible {
    outline: none;
    border-color: #2864e8;

    box-shadow:
        0 0 0 3px rgba(40, 100, 232, 0.12);
}

.google-icon {
    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;

    background: linear-gradient(
        135deg,
        #4285f4 0%,
        #4285f4 28%,
        #34a853 28%,
        #34a853 50%,
        #fbbc05 50%,
        #fbbc05 72%,
        #ea4335 72%,
        #ea4335 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}