/* Settings Page Specific Styles */

.back-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: var(--surface-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: var(--border-color);
    transform: translateX(-4px);
}

/* Settings Sections */
.settings-section {
    background-color: var(--surface-color);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.settings-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Setting Items */
.setting-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
}

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

.setting-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.setting-item span {
    font-size: 16px;
    color: var(--text-color);
}

.setting-description {
    margin-top: 15px;
    padding: 12px;
    background-color: var(--bg-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Volume Control */
.volume-control {
    margin-bottom: 20px;
}

.volume-control label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.volume-slider {
    display: flex;
    align-items: center;
    gap: 15px;
}

.volume-slider input[type="range"] {
    flex: 1;
}

.volume-slider #volumeValue {
    min-width: 50px;
    text-align: right;
    font-weight: 600;
    color: var(--text-color);
}

/* Test Button */
.test-button {
    width: 100%;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.test-button:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-hover);
}

/* Notification Status */
.notification-status {
    padding: 16px;
    background-color: var(--bg-color);
    border-radius: 8px;
    margin-bottom: 15px;
}

.notification-status p {
    margin: 0;
    font-size: 14px;
}

.notification-status .success {
    color: var(--success-color);
}

.notification-status .error {
    color: var(--error-color);
}

.notification-status .warning {
    color: var(--warning-color);
}

/* Buttons */
.primary-button,
.secondary-button,
.danger-button {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
}

.primary-button {
    background-color: var(--primary-color);
    color: white;
}

.primary-button:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-hover);
}

.secondary-button {
    background-color: var(--surface-color);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.secondary-button:hover {
    background-color: var(--border-color);
}

.danger-button {
    background-color: var(--error-color);
    color: white;
}

.danger-button:hover {
    background-color: #d32f2f;
    box-shadow: var(--shadow-hover);
}

/* Data Actions */
.data-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* About Info */
.about-info {
    padding: 16px;
    background-color: var(--bg-color);
    border-radius: 8px;
}

.about-info p {
    margin: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.about-info p:first-child {
    color: var(--text-color);
    font-size: 16px;
}

.about-info .loading {
    color: #ff9800;
    font-style: italic;
}

/* Install Section */
.install-section {
    text-align: center;
}

.install-status {
    margin: 16px 0;
    font-size: 16px;
    color: var(--text-secondary);
}

.install-instructions {
    margin-top: 20px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    text-align: left;
}

.install-instructions h4 {
    margin: 0 0 12px 0;
    color: var(--text-color);
    font-size: 16px;
}

.install-instructions ol,
.install-instructions ul {
    margin: 0;
    padding-left: 24px;
}

.install-instructions li {
    margin: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive */
@media (min-width: 480px) {
    .data-actions {
        flex-direction: row;
    }
    
    .primary-button,
    .secondary-button,
    .danger-button {
        width: auto;
    }
}