/**
 * Buttons CSS
 * Общие стили кнопок
 */

/* ===== Base Button ===== */
.btn {
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn--primary {
    background: var(--accent-gold);
    color: #000;
}

.btn--primary:hover {
    background: #e6c34a;
    transform: translateY(-2px);
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn--danger {
    background: rgba(180, 60, 60, 0.8);
    color: #fff;
}

.btn--danger:hover {
    background: rgba(200, 70, 70, 0.9);
}

.btn--full {
    width: 100%;
}

.btn--small {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    background: var(--accent-gold);
    color: #000;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
}

.btn--small:hover {
    background: #e6c34a;
}

.btn--text {
    padding: 8px 16px;
    font-size: 0.85rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn--text:hover {
    color: #fff;
}

/* ===== Legal Consent ===== */
.legal-consent {
    width: 100%;
    margin-bottom: 15px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.8rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
}

.consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: #d4a853;
    cursor: pointer;
}

.consent-text {
    flex: 1;
}

.consent-link {
    color: #d4a853;
    text-decoration: underline;
    transition: color 0.2s;
}

.consent-link:hover {
    color: #e6c34a;
}

/* ===== Action Rows ===== */
.wardrobe-actions,
.backstage-actions {
    display: flex;
    gap: 10px;
    width: 100%;
}

.wardrobe-actions > button,
.backstage-actions > button {
    flex: 1 1 0;
    min-width: 0;
    box-sizing: border-box;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wardrobe-actions > button.btn--primary,
.backstage-actions > button.btn--primary {
    background: #d4a853;
    color: #000;
}

.wardrobe-actions > button.btn--primary:hover,
.backstage-actions > button.btn--primary:hover {
    background: #e6c34a;
}

.wardrobe-actions > button.btn--primary:disabled {
    background: rgba(212, 168, 83, 0.3);
    color: rgba(0, 0, 0, 0.5);
    cursor: not-allowed;
}

.wardrobe-actions > button.btn--danger,
.backstage-actions > button.btn--danger {
    background: #b54040;
    color: #fff;
}

.wardrobe-actions > button.btn--danger:hover,
.backstage-actions > button.btn--danger:hover {
    background: #c55050;
}

.wardrobe-actions > button.btn--secondary,
.backstage-actions > button.btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.wardrobe-actions > button.btn--secondary:hover,
.backstage-actions > button.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.backstage-actions {
    margin-top: 20px;
    max-width: 360px;
}

/* ===== Navigation Arrow ===== */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--accent-gold);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10;
}

.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: var(--accent-gold);
}

.nav-arrow--right {
    right: 20px;
}

@media (max-width: 768px) {
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .nav-arrow--right {
        right: 10px;
    }
}

/* ===== Control Buttons (Stage) ===== */
.control-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.control-btn.muted {
    background: rgba(255, 0, 0, 0.3);
}

.control-btn--danger {
    background: #c0392b;
}

.control-btn--danger:hover {
    background: #e74c3c;
}
