/* lol-auth.css — Mobile-first auth page styles */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    min-height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f0f4f8;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
}

.lol-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.lol-logo {
    text-align: center;
    margin-bottom: 20px;
}

.lol-logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}

.lol-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 28px 24px;
    width: 100%;
    max-width: 420px;
}

.lol-card h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.lol-card .lol-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

/* Google button */
.lol-btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.lol-btn-google:hover { background: #f7f7f7; border-color: #bbb; }
.lol-btn-google svg { flex-shrink: 0; }

/* Divider */
.lol-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    color: #bbb;
    font-size: 13px;
}
.lol-divider::before,
.lol-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

/* Form fields */
.lol-field { margin-bottom: 16px; }

.lol-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.lol-field input[type="text"],
.lol-field input[type="email"],
.lol-field input[type="password"] {
    width: 100%;
    min-height: 48px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
    color: #1a1a1a;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
    appearance: none;
}
.lol-field input:focus {
    border-color: #2d6a4f;
    box-shadow: 0 0 0 3px rgba(45,106,79,0.12);
}
.lol-field input.lol-error { border-color: #d32f2f; }
.lol-field input.lol-error:focus { box-shadow: 0 0 0 3px rgba(211,47,47,0.12); }

/* Password wrapper (for show/hide toggle) */
.lol-password-wrap { position: relative; }
.lol-password-wrap input { padding-right: 48px; }
.lol-toggle-pw {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    padding: 4px;
    display: flex;
    align-items: center;
}
.lol-toggle-pw:hover { color: #444; }

/* Inline error message */
.lol-field-error {
    font-size: 12px;
    color: #d32f2f;
    margin-top: 5px;
    display: none;
}
.lol-field-error.visible { display: block; }

/* Primary button */
.lol-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    background: #2d6a4f;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
    margin-top: 8px;
}
.lol-btn-primary:hover:not(:disabled) { background: #235740; }
.lol-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

/* Row of two fields (first/last name) */
.lol-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Footer link */
.lol-card-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}
.lol-card-footer a {
    color: #2d6a4f;
    text-decoration: none;
    font-weight: 600;
}
.lol-card-footer a:hover { text-decoration: underline; }

/* Notice boxes */
.lol-notice {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}
.lol-notice-error   { background: #fdecea; color: #b71c1c; border: 1px solid #f5c6c6; }
.lol-notice-success { background: #e8f5e9; color: #1b5e20; border: 1px solid #c8e6c9; }
.lol-notice-info    { background: #e3f2fd; color: #0d47a1; border: 1px solid #bbdefb; }

/* Forgot password link */
.lol-forgot {
    text-align: right;
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 16px;
}
.lol-forgot a { color: #666; text-decoration: none; }
.lol-forgot a:hover { color: #2d6a4f; text-decoration: underline; }

/* Responsive: stack field row on very small screens */
@media (max-width: 360px) {
    .lol-field-row { grid-template-columns: 1fr; }
    .lol-card { padding: 24px 18px; }
}
