/* =========================================================
   Sign-In Page
   ========================================================= */

.signin-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    min-height: calc(100vh - 240px);
}

.signin-card {
    width: 100%;
    max-width: 400px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    text-align: center;
}

.signin-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.signin-logo img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
}

.signin-title {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
    border-bottom: none;
    padding-bottom: 0;
}

.signin-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    text-align: center;
}

.signin-providers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.signin-provider-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.1s ease;
    font-family: inherit;
}

.signin-provider-btn:hover:not(:disabled) {
    opacity: 0.92;
}

.signin-provider-btn:active:not(:disabled) {
    transform: translateY(1px);
}

.signin-provider-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.signin-provider-btn svg {
    flex-shrink: 0;
}

/* Brand colors — intentional hardcoded values per provider guidelines */
.signin-provider-btn--google {
    background: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0;
}

.signin-provider-btn--facebook {
    background: #1877F2;
    color: #ffffff;
    border: 1px solid #1877F2;
}

.signin-provider-btn--apple {
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

.signin-error {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    background: #fdecec;
    color: #E24B4A;
    border: 1px solid rgba(226, 75, 74, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: left;
}

.signin-terms {
    font-size: 0.8rem;
    color: #888;
    margin-top: 1rem;
    text-align: center;
    line-height: 1.5;
}

.signin-terms a {
    color: #667eea;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .signin-card {
        padding: 1.5rem;
        border-radius: 8px;
    }

    .signin-title {
        font-size: 1.3rem;
    }
}
