.social-connect-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.social-connect-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    position: relative;
}

.social-connect-content h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5em;
}
.social-connect-form button.connected {
    background-color: #28a745;
    color: white;
    cursor: default;
}

.social-connect-form button.connected:hover {
    background-color: #28a745;
    opacity: 1;
}
.social-connect-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    gap: 15px;
}

.social-item i {
    font-size: 24px;
}

.social-item span {
    flex: 1;
    font-weight: 500;
}

.social-item button {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    font-weight: 500;
}

.social-item[data-type="vk"] i { color: #4C75A3; }
.social-item[data-type="vk"] button { background: #4C75A3; }

.social-item[data-type="telegram"] i { color: #0088cc; }
.social-item[data-type="telegram"] button { background: #0088cc; }

.social-item[data-type="instagram"] i { color: #E1306C; }
.social-item[data-type="instagram"] button { background: #E1306C; }

.close-social-connect {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #95a5a6;
    cursor: pointer;
}
.telegram-verify-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: center;
}

.verify-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
}

.verify-content h4 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.verify-content p {
    margin-bottom: 15px;
}

#telegram-code {
    width: 100%;
    padding: 10px 12px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.verify-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.verify-actions button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.verify-telegram-btn {
    background-color: #0088cc;
    color: white;
}

.cancel-verify-btn {
    background-color: #ccc;
    color: #333;
}
/* ==== Стильные OAuth-кнопки (адаптивные) ==== */
.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
    align-items: center;
    width: 100%;
}

.oauth-btn {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 18px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    color: #fff;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.oauth-btn i {
    font-size: 20px;
    opacity: 0.95;
}

/* Hover эффект — лёгкий подъём */
.oauth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Active — лёгкое нажатие */
.oauth-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ==== Индивидуальные стили ==== */

/* Google — светлый градиент */
.oauth-btn.google {
    background: linear-gradient(135deg, #ffffff, #f1f1f1);
    color: #333;
    border: 1px solid #ddd;
}

.oauth-btn.google i {
    color: #db4437;
}

/* VK — фирменный синий градиент */
.oauth-btn.vk {
    background: linear-gradient(135deg, #4C75A3, #5b89c2);
}

.oauth-btn.vk i {
    color: #fff;
}

/* Apple — минимализм */
.oauth-btn.apple {
    background: linear-gradient(135deg, #111, #222);
}

.oauth-btn.apple i {
    color: #fff;
}

/* Telegram — яркий голубой */
.oauth-btn.telegram {
    background: linear-gradient(135deg, #2AABEE, #229ED9);
}

.oauth-btn.telegram i {
    color: #fff;
}

/* ==== Адаптивность ==== */
@media (max-width: 600px) {
    .oauth-buttons {
        gap: 10px;
    }

    .oauth-btn {
        font-size: 14px;
        padding: 10px 14px;
        max-width: 100%;
        border-radius: 10px;
    }

    .oauth-btn i {
        font-size: 18px;
    }
}

/* Текст-разделитель */
.oauth-buttons::before {
    content: "или авторизироваться/войти через соц.сети:";
    display: block;
    text-align: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #777;
    font-weight: 500;
}
.oauth-btn.telegram {
    background: #0088cc; /* фирменный цвет Telegram */
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.oauth-btn.telegram:hover {
    background: #007ab8;
}
