.config-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 2rem 0 1.5rem 0;
    background: #1a1b1e;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.config-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #feaf50;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    position: relative;
    line-height: 1.2;
}

.config-page-title::after {
    content: "";
    display: block;
    margin: 0.7rem auto 0 auto;
    width: 60px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #feaf50 0%, #ffdc91 100%);
    opacity: 0.8;
}

.config-section {
    background: #232625;
    border: 1px solid #252525;
    border-radius: 8px;
    margin-bottom: 2.2rem;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.config-section h2 {
    color: #feaf50;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    margin-top: 0;
    letter-spacing: 0.2px;
}

.config-section:last-child {
    margin-bottom: 0;
}

.config-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 1.1rem 0;
    padding: 0.2rem 0.1rem;
}

.config-label {
    margin-left: 1.2rem;
    font-size: 1rem;
    color: #e2e8f0;
    font-weight: 500;
    flex: 1;
    text-align: left;
}

/* Toggle Switch Styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2d3748;
    transition: .3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

input:checked + .toggle-slider {
    background-color: #feaf50;
}

input:checked + .toggle-slider:before {
    transform: translateX(18px);
}

/* Danger Zone Styles */
.danger-zone {
    background-color: #1a1b1e;
    border: 2.5px solid #e53935;
    padding: 1.5rem 1rem 2.2rem 1rem;
    border-radius: 14px;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 2px 16px 0 rgba(229,57,53,0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.danger-zone h2 {
    color: #e53935;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    margin-top: 0;
    text-align: center;
}

.danger-button {
    background-color: #e53935;
    color: white;
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
    transition: background-color 0.2s;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 8px rgba(229,57,53,0.10);
}

.danger-button:hover {
    background-color: #b71c1c;
}

.danger-warning {
    color: #e53935;
    font-size: 0.98rem;
    margin-top: 1.2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0;
    max-width: 420px;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .config-container {
        padding: 1.2rem 0 1.5rem 0;
        max-width: 100vw;
    }
    .config-section {
        padding: 1rem 0.5rem 0.5rem 0.5rem;
    }
    .danger-button {
        font-size: 0.95rem;
        padding: 0.7rem 1.2rem;
    }
}
