#dock-slit {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 100px;
    z-index: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dock-slit-inner {
    width: 30px;
    height: 60px;
    background: var(--highlight);
    border-radius: 0 15px 15px 0;
    opacity: 0.35;
    transition: opacity 0.2s, height 0.2s;
    box-shadow: 0 0 8px var(--highlight);
}

#dock-slit:hover .dock-slit-inner {
    opacity: 0.8;
    height: 64px;
}

#dock-slit.hidden {
    opacity: 0;
    pointer-events: none;
}

#dock-panel {
    position: fixed;
    left: -220px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    background: rgba(26, 28, 38, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-left: none;
    border-radius: 0 20px 20px 0;
    padding: 20px 12px;
    z-index: 600;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 6px 0 32px rgba(0, 0, 0, 0.4), inset -1px 0 0 rgba(255,255,255,0.03);
    transition: left 0.32s cubic-bezier(0.34, 1.2, 0.64, 1);
}

#dock-panel.visible {
    left: 0;
}

.dock-header {
    padding: 4px 8px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 8px;
}

.dock-logo {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--highlight-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    user-select: none;
}

.dock-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.dock-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: left;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
}

.dock-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    transform: translateX(3px);
}

.dock-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    flex-shrink: 0;
    transition: background 0.2s;
}

.dock-item:hover .dock-icon {
    background: rgba(255, 255, 255, 0.09);
}

.dock-icon svg {
    width: 18px;
    height: 18px;
}

.dock-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.dock-spacer {
    flex: 1;
}

.dock-settings {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 8px;
    padding-top: 14px;
}

.placeholder-page {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--content-bg);
    gap: 16px;
    color: var(--text-secondary);
}

.placeholder-icon {
    opacity: 0.3;
    color: var(--highlight);
}

.placeholder-page h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0.5;
}

.placeholder-page p {
    font-size: 14px;
    opacity: 0.4;
}

.settings-page {
    display: flex;
    width: 100%;
    height: 100%;
    background: var(--content-bg);
    font-family: 'Poppins', sans-serif;
}

.settings-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.15);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-logo {
    font-size: 18px;
    font-weight: 600;
    padding: 0 8px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 8px;
    background: var(--highlight-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    text-align: left;
    width: 100%;
}

.settings-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.settings-nav-item.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.settings-content {
    flex: 1;
    overflow-y: auto;
    padding: 40px 48px;
}

.settings-section {
    display: none;
    flex-direction: column;
    gap: 32px;
    max-width: 640px;
}

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

.settings-section-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.settings-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.settings-group-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.scheme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.scheme-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.scheme-swatch:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.scheme-swatch.active {
    border-color: var(--a);
    box-shadow: 0 0 0 1px var(--a), 0 4px 16px rgba(0,0,0,0.2);
}

.swatch-preview {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--a), var(--b));
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.swatch-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.scheme-swatch.active .swatch-name {
    color: var(--text-primary);
}

.bg-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.bg-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
    min-width: 90px;
}

.bg-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.bg-option.active {
    border-color: var(--highlight);
    color: var(--text-primary);
    box-shadow: 0 0 0 1px var(--highlight);
}

.bg-preview {
    width: 48px;
    height: 32px;
    border-radius: 6px;
    display: block;
    background: rgba(0,0,0,0.3);
}

.bg-none {
    background: repeating-conic-gradient(rgba(255,255,255,0.04) 0% 25%, transparent 0% 50%) 0 0 / 8px 8px;
}

.bg-particles-preview {
    background: radial-gradient(circle at 30% 40%, rgba(157,178,252,0.4) 2px, transparent 2px),
                radial-gradient(circle at 70% 60%, rgba(157,178,252,0.3) 1.5px, transparent 1.5px),
                radial-gradient(circle at 50% 20%, rgba(157,178,252,0.35) 1px, transparent 1px),
                rgba(0,0,0,0.4);
}

.bg-waves-preview {
    background: linear-gradient(180deg, transparent 45%, rgba(157,178,252,0.2) 50%, transparent 55%),
                linear-gradient(180deg, transparent 35%, rgba(157,178,252,0.15) 42%, transparent 50%),
                rgba(0,0,0,0.4);
}

.bg-grid-preview {
    background: linear-gradient(rgba(157,178,252,0.15) 1px, transparent 1px),
                linear-gradient(90deg, rgba(157,178,252,0.15) 1px, transparent 1px),
                rgba(0,0,0,0.4);
    background-size: 10px 10px;
}

.settings-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.settings-input {
    flex: 1;
    height: 40px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0 14px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.settings-input:focus {
    border-color: rgba(157, 178, 252, 0.4);
    box-shadow: 0 0 0 3px rgba(157, 178, 252, 0.1);
}

.settings-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

.settings-btn {
    height: 40px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.settings-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.settings-hint {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.6;
    margin-top: -6px;
}

#alura-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

#alura-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.4;
}

.browser-chrome {
    position: relative;
    z-index: 10;
}

.content-area {
    position: relative;
    z-index: 3;
}
