/* ==========================================================================
   Login – clean light centered card
   ========================================================================== */

.lp {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f4f5f7;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Card */
.lp__card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 44px 36px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Logo */
.lp__logo {
    display: block;
    margin-bottom: 28px;
    text-decoration: none;
}

.lp__logo-img {
    height: 36px;
    width: auto;
}

/* Title */
.lp__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.lp__desc {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 28px;
}

/* Error */
.lp__error {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 20px;
    border-radius: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-size: 0.8125rem;
    line-height: 1.45;
    text-align: left;
}

.lp__error svg {
    flex-shrink: 0;
    margin-top: 1px;
}

/* Google button area */
.lp__gsi {
    width: 100%;
    display: flex;
    justify-content: center;
    min-height: 44px;
}

/* Fallback button */
.lp__fallback {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    color: #3c4043;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s, box-shadow 0.12s;
}

.lp__fallback:hover {
    background: #f8f9fa;
    border-color: #c6c9cd;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1);
}

.lp__fallback svg { flex-shrink: 0; }

/* Divider */
.lp__divider {
    width: 100%;
    height: 1px;
    background: #f0f0f0;
    margin: 28px 0 20px;
}

/* Footer */
.lp__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
    font-size: 0.75rem;
    color: #9ca3af;
}

.lp__footer svg {
    color: #d1d5db;
}

.lp__dev-hint {
    margin: 16px 0 0;
    max-width: 320px;
    font-size: 0.6875rem;
    line-height: 1.45;
    color: #9ca3af;
    text-align: center;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 480px) {
    .lp { padding: 24px 16px; }

    .lp__card {
        padding: 36px 24px 28px;
        border-radius: 12px;
    }

    .lp__logo-img { height: 30px; }
    .lp__title { font-size: 1.125rem; }
    .lp__fallback { max-width: 100%; }
}
