/* 
 * Facebook Authentication Custom CSS
 * Stiluri pentru componentele de autentificare Facebook
 */

/* Stiluri pentru butonul Facebook */
.facebook-btn {
    background-color: #1877f2;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.facebook-btn:hover {
    background-color: #166fe5;
}

/* Separator pentru opțiunile de comentare */
.comment-option-separator {
    text-align: center;
    position: relative;
    margin: 12px 0;
    color: #6c757d;
}

.comment-option-separator::before,
.comment-option-separator::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 20px);
    height: 1px;
    background-color: #dee2e6;
}

.comment-option-separator::before {
    left: 0;
}

.comment-option-separator::after {
    right: 0;
}

/* Stiluri pentru butonul de continuare cu email */
.btn-outline {
    background-color: transparent;
    border: 1px solid #dee2e6;
    color: #495057;
    text-align: center;
    display: block;
    padding: 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background-color: #f8f9fa;
    border-color: #ced4da;
}

/* Mesaje de notificare pentru autentificare */
.fb-auth-success-notice {
    animation: fadeIn 0.5s ease;
}

/* Stiluri pentru mesajul "Logged in as" */
.logged-in-as {
    margin-bottom: 15px !important;
    padding: 5px 0 !important;
    font-weight: normal !important;
    color: #333 !important;
    background: #f9f9f9 !important;
    padding: 10px !important;
    border-left: 3px solid #0073aa !important;
}

.logged-in-as a {
    color: #0073aa !important;
    text-decoration: underline !important;
}

.logged-in-as a:hover {
    color: #00a0d2 !important;
}

/* Panel de debug */
#fb-auth-debug-panel {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#fb-auth-debug-panel button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 3px;
}

#fb-auth-debug-panel button:hover {
    background-color: #0069d9;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ascunde containerul nativ pentru butoanele Super Socializer */
.the_champ_outer_login_container,
.the_champ_social_login_container:not(.the_champ_login_container) {
    display: none !important;
}

/* Stiluri pentru butoanele native Nextend Social Login care trebuie ascunse */
.nsl-container {
    opacity: 0;
    position: absolute;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

/* Stiluri pentru mesajul "Logged in as..." */
.logged-in-as {
    margin-bottom: 15px;
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 4px;
    border-left: 3px solid #007bff;
    font-size: 14px;
}

.logged-in-as a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.logged-in-as a:hover {
    text-decoration: underline;
}

/* Stiluri îmbunătățite pentru formularul de comentarii pentru utilizatori autentificați */
.comment-form-wrapper-logged-in {
    margin-top: 30px;
}

.comment-form-wrapper-logged-in .comment-form {
    margin-top: 20px;
}

.comment-form-wrapper-logged-in .submit {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.comment-form-wrapper-logged-in .submit:hover {
    background-color: #218838;
}

/* Animație de tranziție pentru formularul de comentarii */
.comment-form-wrapper-logged-in {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
