/* Settings Page Styles */

/* Navigation */
.header-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-main);
}

.nav-link.active {
    background: var(--accent-blue);
    color: white;
}

/* Page Title */
.page-title {
    margin-bottom: 10px;
}

.page-subtitle {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Settings Sections */
.settings-section {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
}

.settings-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-main);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item label {
    font-weight: 600;
    color: var(--text-main);
}

.setting-item select,
.setting-item input[type="number"] {
    padding: 10px 15px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 14px;
    background: white;
    min-width: 200px;
    cursor: pointer;
}

.setting-item select:focus,
.setting-item input:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.setting-item input[type="range"] {
    width: 150px;
    cursor: pointer;
}

/* Buttons */
.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.btn-modal {
    margin-top: 20px;
}

.test-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.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: 0.4s;
    border-radius: 28px;
}

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

input:checked + .slider {
    background-color: var(--accent-blue);
}

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

/* Save Status */
.save-status {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-green);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.save-status.show {
    opacity: 1;
    transform: translateY(0);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 5000;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    text-align: center;
    max-width: 90%;
}

.video-modal-content video {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
