﻿.settings-container {
    padding: 1rem;
    width: 90%;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 0.0325rem solid #43434391;
    color: #f9f9f9;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #2196F3;
}

    input:checked + .slider:before {
        transform: translateX(24px);
    }

.settings-btn {
    width: 100%;
    padding: 0.5rem 0rem;
    margin: 0.5rem 0;
    background: var(--background-color);
    border: none;
    color: #f9f9f9;
    border-radius: 8px;
    /* border: 0.0625rem solid #43434391; */
    cursor: pointer;
    text-align: left;
}

.settings-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.settings-modal-card {
    width: min(22rem, calc(100% - 2rem));
    background: rgba(20, 20, 20, 0.95);
    border: 0.1rem solid var(--border-color);
    border-radius: 1rem;
    padding: 1.2rem;
    color: #fff;
    text-align: center;
    transform: translateY(10px) scale(0.98);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.settings-modal.show {
    opacity: 1;
}

.settings-modal.show .settings-modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.settings-modal-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.settings-modal-text {
    font-size: 0.9rem;
    color: var(--text-secondary-color);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.settings-modal-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}

.settings-modal-contacts a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.settings-modal-close {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: none;
    background: #fff;
    color: #000;
    font-weight: 600;
    cursor: pointer;
}
