/* auth.css */
.auth-container {
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.auth-modal {
    width: 100%;
    max-width: 600px;
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    font-size: 16px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.tab-btn.active {
    color: #000;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.form-group small a {
    color: #006be7;
    text-decoration: none;
}

.form-group small a:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 15px;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: #000;
}

.auth-btn:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.auth-error {
    margin-top: 15px;
    color: #ff4757;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
}

/* Кнопка выхода в плеере */
.logout-button {
    background: none;
    border: none;
    color: var(--text-color, #fff);
    cursor: pointer;
    padding: 10px;
    opacity: 0.7;
    transition: opacity 0.3s;
    margin-left: 10px;
}

.logout-button:hover {
    opacity: 1;
}