/* Стили для вкладки настроек в профиле */

.settings-card {
    background: linear-gradient(135deg, rgba(28, 28, 28, 0.9) 0%, rgba(46, 46, 46, 0.9) 100%);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
    font-weight: 400;
}

.settings-help-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
    line-height: 1.6;
}

/* Настройки уведомлений */
.notification-settings {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notification-setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(255, 140, 0, 0.05);
    border: 1px solid rgba(255, 140, 0, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.notification-setting-item:hover {
    background: rgba(255, 140, 0, 0.08);
    border-color: rgba(255, 140, 0, 0.2);
    transform: translateX(4px);
}

.setting-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.setting-icon {
    font-size: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.setting-content {
    flex: 1;
}

.setting-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 4px 0;
}

.setting-description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.4;
}

.setting-status {
    font-size: 14px;
    font-weight: 600;
    color: #4CD964;
    padding: 6px 12px;
    background: rgba(76, 217, 100, 0.1);
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Toggle переключатель для настроек */
.settings-toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle input:disabled {
    cursor: not-allowed;
}

.settings-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(145, 145, 145, 0.3);
    border: 2px solid rgba(145, 145, 145, 0.4);
    transition: all 0.3s ease;
    border-radius: 34px;
}

.settings-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.settings-toggle input:checked + .settings-toggle-slider {
    background: rgba(255, 140, 0, 0.3);
    border-color: var(--main-color);
}

.settings-toggle input:checked + .settings-toggle-slider:before {
    transform: translateX(24px);
    background: var(--main-color);
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.4);
}

.settings-toggle input:disabled + .settings-toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.settings-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(255, 140, 0, 0.08);
    border-left: 3px solid var(--main-color);
    border-radius: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.settings-note strong {
    color: var(--main-color);
    font-weight: 600;
}

/* Push-уведомления */
.push-notification-status {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 140, 0, 0.05);
    border: 2px solid rgba(255, 140, 0, 0.15);
    border-radius: 12px;
}

.push-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.push-content {
    flex: 1;
}

.push-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 6px 0;
}

.push-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.5;
}

/* Адаптивность */
@media screen and (max-width: 768px) {
    .settings-card {
        padding: 16px;
    }

    .notification-setting-item {
        padding: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .setting-info {
        width: 100%;
    }

    .settings-toggle {
        align-self: flex-end;
    }

    .push-notification-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .push-icon {
        font-size: 40px;
    }
}

@media screen and (max-width: 480px) {
    .setting-icon {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .setting-title {
        font-size: 15px;
    }

    .setting-description {
        font-size: 12px;
    }
}

