.settings-container {
    display: flex;
    height: calc(100% - 40px);
    width: 100%;
    background-color: #ffffff;
    overflow: hidden;
}

.settings-sidebar {
    width: 200px;
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
    flex-shrink: 0;
}

.settings-nav {
    padding: 20px 0;
}

.nav-item {
    padding: 12px 20px;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.3s;
    color: #666;
    font-weight: 500;
}

.nav-item:hover {
    background: rgba(118, 75, 162, 0.1);
    color: #764ba2;
}

.nav-item.active {
    background: rgba(118, 75, 162, 0.15);
    border-left-color: #764ba2;
    color: #764ba2;
}

.settings-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden; /* Prevent horizontal scroll */
    position: relative;
}

.settings-notification {
    position: absolute;
    top: 10px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 14px;
    font-weight: 500;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Ensure it doesn't create scroll */
    pointer-events: none;
}

.settings-notification.show {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* Hide notification completely when not shown to prevent scroll issues */
.settings-notification:not(.show) {
    display: none;
}

.settings-section {
    display: none;
}

.settings-section.active {
    display: block;
}

.settings-section h2 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.setting-group {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.setting-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.setting-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    transition: all 0.3s;
}

.setting-select:focus {
    outline: none;
    border-color: #764ba2;
    box-shadow: 0 0 5px rgba(118, 75, 162, 0.3);
}

.setting-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 0;
}

.setting-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    appearance: none;
    background: #ccc;
    border-radius: 13px;
    outline: none;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.setting-toggle:checked {
    background: #764ba2;
}

.setting-toggle::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.setting-toggle:checked::before {
    transform: translateX(24px);
}

.reset-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.reset-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.about-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.about-info h3 {
    margin: 0 0 10px 0;
    color: #764ba2;
    font-size: 20px;
}

.about-info p {
    margin: 8px 0;
    color: #666;
}

.about-info ul {
    margin: 10px 0;
    padding-left: 20px;
}

.about-info li {
    margin: 5px 0;
    color: #666;
}

/* Theme variations */
.theme-dark .settings-container {
    background: #2d2d2d;
    color: white;
}

.theme-dark .settings-sidebar {
    background: #363636;
    border-right-color: #555;
}

.theme-dark .nav-item {
    color: #ccc;
}

.theme-dark .nav-item:hover,
.theme-dark .nav-item.active {
    color: white;
}

.theme-dark .settings-section h2 {
    color: white;
}

.theme-dark .setting-group {
    background: #363636;
    border-color: #555;
}

.theme-dark .setting-group label {
    color: #ccc;
}

.theme-dark .setting-select {
    background: #2d2d2d;
    border-color: #555;
    color: white;
}

.theme-dark .about-info {
    background: #363636;
    border-color: #555;
}

.theme-dark .about-info p,
.theme-dark .about-info li {
    color: #ccc;
}

/* Dock position styles */
.dock-top {
    top: 15px;
    bottom: auto;
}

.dock-left {
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
}

.dock-right {
    right: 15px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
}

.dock-left .dock-container,
.dock-right .dock-container {
    flex-direction: column;
}

/* No animations class */
.no-animations * {
    animation: none !important;
    transition: none !important;
}