/**
 * Стили для OAuth авторизации через Telegram бота
 */

/* OAuth кнопка */
.oauth-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 24px;
    background: #0088cc;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.oauth-login-button:hover:not(:disabled) {
    background: #006699;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.4);
}

.oauth-login-button:active:not(:disabled) {
    transform: translateY(0);
}

.oauth-login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* OAuth статус */
.oauth-status {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary, #fff);
    transition: all 0.3s ease;
}

.oauth-status small {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.oauth-status a {
    color: #0088cc;
    text-decoration: none;
    font-weight: 600;
}

.oauth-status a:hover {
    text-decoration: underline;
}

/* Попап авторизации (если его еще нет) */
.auth-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.auth-popup-content {
    position: relative;
    max-width: 400px;
    width: 90%;
    background: var(--bg-primary, #1a1a1a);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.auth-logo {
    text-align: center;
    margin-bottom: 24px;
}

.auth-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 8px 0;
    color: var(--text-primary, #fff);
}

.auth-description {
    font-size: 14px;
    text-align: center;
    color: var(--text-secondary, #aaa);
    margin: 0 0 24px 0;
}

.auth-widget-container {
    margin-bottom: 16px;
}

.auth-hint {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary, #aaa);
    margin: 8px 0;
}

.auth-hint a {
    color: #0088cc;
    text-decoration: none;
}

.auth-hint a:hover {
    text-decoration: underline;
}

/* Темная тема для кнопки */
[data-theme="dark"] .oauth-login-button {
    background: #2481cc;
}

[data-theme="dark"] .oauth-login-button:hover:not(:disabled) {
    background: #0088cc;
}

