/* Social Authentication Components Styles */

.social-auth-container {
    margin-bottom: 1.5rem;
    width: 100%;
}

.social-auth-wrapper {
    width: 100%;
}

.google-signin-wrapper {
    width: 100%;
    margin-bottom: 0.75rem;
}

.google-signin-button {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Loading state for Google Sign-In */
.google-signin-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    color: #495057;
    font-size: 14px;
}

.google-signin-loading .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Social auth button styles to match design */
.social-auth-container .btn-outline-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    border: 1px solid #ecd9cc;
    background: #f7efe8;
    color: #2f2f2f;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.social-auth-container .btn-outline-secondary:hover:not(:disabled) {
    background: #f0e5dc;
    border-color: #dcc7b5;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.social-auth-container .btn-outline-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.social-auth-container .btn-outline-secondary i {
    font-size: 1.25rem;
}

/* Alert styles for social auth errors */
.social-auth-container .alert {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.social-auth-container .alert-danger,
.social-auth-container .alert-sm {
    padding: 0.6rem 0.85rem;
    font-size: 0.875rem;
    border-radius: 6px;
}

/* Profile Completion Form */
.profile-completion-form {
    max-width: 500px;
    margin: 0 auto;
}

.profile-completion-form .form-group {
    margin-bottom: 1rem;
}

.profile-completion-form .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #4b4b4b;
}

.profile-completion-form .form-control {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid #f3d9ce;
    border-radius: 8px;
    font-size: 14px;
}

.profile-completion-form .form-control:focus {
    outline: none;
    border-color: #b84b1b;
    box-shadow: 0 0 0 3px rgba(184, 75, 27, 0.1);
}

.profile-completion-form .form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    color: #8a8a8a;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .social-auth-container {
        margin-bottom: 0.75rem;
    }

    .social-auth-container > .d-flex {
        flex-wrap: nowrap;
        gap: 0.4rem !important;
    }

    .social-auth-container .flex-fill {
        min-width: 0;
        flex: 1 1 0;
    }

    .social-auth-container .btn,
    .social-auth-container .btn-outline-secondary {
        font-size: 12px;
        padding: 0.5rem 0.4rem;
        white-space: nowrap;
        overflow: hidden;
    }

    .social-auth-container .btn i,
    .social-auth-container .btn-outline-secondary i {
        font-size: 1rem;
    }
}
