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{
|
| 3 |
+
display: flex;
|
| 4 |
+
flex: 1;
|
| 5 |
+
height: calc(100vh - 65px);
|
| 6 |
+
padding: 20px;
|
| 7 |
+
gap: 30px;
|
| 8 |
+
box-sizing: border-box;
|
| 9 |
+
max-width: 1200px;
|
| 10 |
+
margin: 0 auto;
|
| 11 |
+
width: 100%;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
/* Left: Settings Menu */
|
| 15 |
+
.settings-sidebar {
|
| 16 |
+
width: 220px;
|
| 17 |
+
display: flex;
|
| 18 |
+
flex-direction: column;
|
| 19 |
+
gap: 5px;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
.settings-tab {
|
| 23 |
+
padding: 12px 16px;
|
| 24 |
+
color: var(--text-secondary);
|
| 25 |
+
font-size: 14px;
|
| 26 |
+
font-weight: 500;
|
| 27 |
+
cursor: pointer;
|
| 28 |
+
border-radius: 8px;
|
| 29 |
+
display: flex;
|
| 30 |
+
align-items: center;
|
| 31 |
+
gap: 10px;
|
| 32 |
+
transition: 0.2s;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.settings-tab:hover {
|
| 36 |
+
color: var(--text-primary);
|
| 37 |
+
background: rgba(255, 255, 255, 0.05);
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
.settings-tab.active {
|
| 41 |
+
background: rgba(255, 193, 7, 0.1);
|
| 42 |
+
color: var(--accent-main);
|
| 43 |
+
border-left: 3px solid var(--accent-main);
|
| 44 |
+
border-radius: 0 8px 8px 0;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
/* Right: Settings Content Panels */
|
| 48 |
+
.settings-content-wrapper {
|
| 49 |
+
flex: 1;
|
| 50 |
+
background: rgba(15, 15, 18, 0.7);
|
| 51 |
+
backdrop-filter: var(--backdrop-blur);
|
| 52 |
+
border: var(--glass-border);
|
| 53 |
+
border-radius: 12px;
|
| 54 |
+
padding: 30px;
|
| 55 |
+
overflow-y: auto;
|
| 56 |
+
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
.settings-section {
|
| 60 |
+
display: none;
|
| 61 |
+
animation: fadeIn 0.3s ease;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
.settings-section.active {
|
| 65 |
+
display: block;
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
@keyframes fadeIn {
|
| 69 |
+
from { opacity: 0; transform: translateY(5px); }
|
| 70 |
+
to { opacity: 1; transform: translateY(0); }
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
.settings-title {
|
| 74 |
+
font-size: 20px;
|
| 75 |
+
font-weight: 600;
|
| 76 |
+
margin-top: 0;
|
| 77 |
+
margin-bottom: 25px;
|
| 78 |
+
color: var(--text-primary);
|
| 79 |
+
border-bottom: var(--glass-border);
|
| 80 |
+
padding-bottom: 15px;
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
/* Form Elements */
|
| 84 |
+
.setting-group {
|
| 85 |
+
margin-bottom: 25px;
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
.setting-group label {
|
| 89 |
+
display: block;
|
| 90 |
+
font-size: 13px;
|
| 91 |
+
color: var(--text-secondary);
|
| 92 |
+
margin-bottom: 8px;
|
| 93 |
+
font-weight: 500;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
.setting-input, .setting-select {
|
| 97 |
+
width: 100%;
|
| 98 |
+
max-width: 400px;
|
| 99 |
+
background: rgba(0, 0, 0, 0.5);
|
| 100 |
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 101 |
+
color: white;
|
| 102 |
+
padding: 10px 14px;
|
| 103 |
+
border-radius: 6px;
|
| 104 |
+
font-family: var(--font-ui);
|
| 105 |
+
font-size: 14px;
|
| 106 |
+
transition: 0.3s;
|
| 107 |
+
}
|
| 108 |
+
|
| 109 |
+
.setting-input:focus, .setting-select:focus {
|
| 110 |
+
outline: none;
|
| 111 |
+
border-color: var(--accent-main);
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
/* Color Picker Swatches */
|
| 115 |
+
.color-swatch-container {
|
| 116 |
+
display: flex;
|
| 117 |
+
gap: 12px;
|
| 118 |
+
margin-top: 10px;
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
.color-swatch {
|
| 122 |
+
width: 24px;
|
| 123 |
+
height: 24px;
|
| 124 |
+
border-radius: 50%;
|
| 125 |
+
cursor: pointer;
|
| 126 |
+
border: 2px solid transparent;
|
| 127 |
+
transition: 0.2s;
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
.color-swatch:hover, .color-swatch.active {
|
| 131 |
+
transform: scale(1.2);
|
| 132 |
+
border-color: white;
|
| 133 |
+
}
|
| 134 |
+
|
| 135 |
+
/* Bottom Action Bar */
|
| 136 |
+
.settings-actions {
|
| 137 |
+
margin-top: 40px;
|
| 138 |
+
display: flex;
|
| 139 |
+
gap: 15px;
|
| 140 |
+
border-top: var(--glass-border);
|
| 141 |
+
padding-top: 20px;
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
/* Mobile */
|
| 145 |
+
@media (max-width: 768px) {
|
| 146 |
+
.settings-layout { flex-direction: column; }
|
| 147 |
+
.settings-sidebar { width: 100%; flex-direction: row; overflow-x: auto; }
|
| 148 |
+
.settings-tab { white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; border-radius: 8px 8px 0 0;}
|
| 149 |
+
.settings-tab.active { border-left: none; border-bottom: 3px solid var(--accent-main); }
|
| 150 |
+
}
|