/* =====================================================
   FORTRESS SOCIAL LOGIN – стили для попап-окна входа
   ===================================================== */

.fsl-login-popup-wrapper {
    display: inline-block;
}

.fsl-popup-trigger {
    background: #1e1e2f;
    color: #eee;
    padding: 8px 20px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}
.fsl-popup-trigger:hover {
    background: #2a2a3c;
}

.fsl-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.fsl-popup-overlay.active {
    display: flex;
}

.fsl-popup-modal {
    background: #1e1e2f;
    padding: 30px;
    border-radius: 20px;
    max-width: 420px;
    width: 90%;
    color: #e0e0e0;
    position: relative;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.fsl-popup-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}
.fsl-popup-close:hover {
    color: #fff;
}
.fsl-popup-modal h3 {
    margin-top: 0;
    color: #fff;
    font-size: 22px;
    text-align: center;
}
.fsl-popup-modal p {
    margin: 10px 0 20px;
    color: #aaa;
    text-align: center;
}

.fsl-popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fsl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, transform 0.1s;
    background: #2a2a3a;
    color: #eee;
}
.fsl-btn:hover {
    transform: scale(1.02);
    color: #fff;
}
.fsl-btn-regular {
    background: #3a3a4a;
}
.fsl-btn-regular:hover {
    background: #4a4a5a;
}
.fsl-btn-steam {
    background: #171d25;
}
.fsl-btn-steam:hover {
    background: #2a3a4a;
}
.fsl-btn-yandex {
    background: #ffcc00;
    color: #000;
}
.fsl-btn-yandex:hover {
    background: #f5b800;
    color: #000;
}
.fsl-btn-google {
    background: #4285F4;
    color: #fff;
}
.fsl-btn-google:hover {
    background: #2a75f0;
}
.fsl-btn-register {
    background: #8BAC70;
    color: #1a1a2e;
}
.fsl-btn-register:hover {
    background: #6e8c58;
    color: #fff;
}

.fsl-btn img {
    vertical-align: middle;
}

.fsl-popup-separator {
    display: flex;
    align-items: center;
    margin: 15px 0;
    color: #666;
}
.fsl-popup-separator::before,
.fsl-popup-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #444;
}
.fsl-popup-separator span {
    padding: 0 12px;
}

.fsl-popup-register {
    display: flex;
    justify-content: center;
}
.fsl-popup-register .fsl-btn {
    flex: 1;
    max-width: 200px;
}

/* Стили для залогиненного пользователя */
.fsl-logged-in {
    display: flex;
    align-items: center;
    gap: 12px;
}
.fsl-profile-link {
    color: #eee;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 12px;
    background: #2a2a3a;
    border-radius: 30px;
}
.fsl-profile-link:hover {
    background: #3a3a4a;
}
.fsl-logout-link {
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
}
.fsl-logout-link:hover {
    color: #fff;
}