/* login.css — Login page specific styles */

body { display: block; }

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

.auth-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 48px rgba(0,0,0,.14);
    padding: 40px 40px 32px;
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.back-link {
    align-self: flex-start;
    font-size: .85rem;
    color: var(--muted);
    transition: color .2s;
}

.back-link:hover { color: var(--orange); }

.auth-logo { height: 52px; width: auto; }

.auth-title {
    color: var(--purple);
    font-size: 1.8rem;
    margin-top: -4px;
}

.auth-welcome {
    background: #e8faf2;
    color: #2fa562;
    font-weight: 700;
    font-size: .9rem;
    padding: 8px 24px;
    border-radius: 20px;
    letter-spacing: .05em;
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text);
}

.form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-link {
    font-size: .82rem;
    color: var(--muted);
    transition: color .2s;
}

.forgot-link:hover { color: var(--orange); }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    height: 44px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 0 14px;
    font-size: .95rem;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    transition: border-color .2s;
    outline: none;
}

.form-input:focus { border-color: var(--orange); }

.show-pass {
    position: absolute;
    right: 12px;
    font-size: .8rem;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.auth-btn {
    width: 100%;
    height: 46px;
    background: #42c279;
    border: none;
    border-radius: 24px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .15s;
    font-family: 'DM Sans', sans-serif;
    margin-top: 4px;
}

.auth-btn:hover { background: #2fa562; transform: scale(1.02); }

.auth-divider {
    color: var(--muted);
    font-size: .88rem;
    text-decoration: underline;
}

.auth-switch {
    color: var(--muted);
    font-size: .9rem;
}

.auth-link {
    color: #42c279;
    font-weight: 700;
}

.auth-link:hover { text-decoration: underline; }

/* continue with google */
.google-btn {
    width: 100%;
    height: 46px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 24px;
    color: var(--text);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background .2s, border-color .2s, transform .15s;
    text-decoration: none;
}

.google-btn:hover {
    background: #f5f5f5;
    border-color: #aaa;
    transform: scale(1.02);
}

.google-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.divider-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: .82rem;
}

.divider-row::before,
.divider-row::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

@media (max-width: 480px) {
    .auth-card { padding: 28px 20px 24px; }
}