| 1 | /* MAPS Connect - Ajustes */ |
| 2 | |
| 3 | .ajustes-container { |
| 4 | max-width: 760px; |
| 5 | margin: 0 auto; |
| 6 | } |
| 7 | |
| 8 | .ajustes-fila { |
| 9 | display: flex; |
| 10 | align-items: center; |
| 11 | justify-content: space-between; |
| 12 | gap: 1rem; |
| 13 | flex-wrap: wrap; |
| 14 | } |
| 15 | |
| 16 | .ajustes-fila-texto strong { |
| 17 | display: block; |
| 18 | font-size: 1rem; |
| 19 | color: var(--heading-color); |
| 20 | } |
| 21 | |
| 22 | .ajustes-fila-texto p { |
| 23 | color: var(--gray-600); |
| 24 | font-size: 0.88rem; |
| 25 | margin: 0.25rem 0 0; |
| 26 | max-width: 40rem; |
| 27 | } |
| 28 | |
| 29 | /* --- Personalización del color de la página --- */ |
| 30 | .personaliza-seccion { |
| 31 | display: flex; |
| 32 | flex-direction: column; |
| 33 | gap: 0.9rem; |
| 34 | margin-top: 0.75rem; |
| 35 | } |
| 36 | |
| 37 | .personaliza-label { |
| 38 | display: block; |
| 39 | font-size: 0.82rem; |
| 40 | font-weight: 700; |
| 41 | color: var(--heading-color); |
| 42 | letter-spacing: 0.02em; |
| 43 | } |
| 44 | |
| 45 | .personaliza-swatches { |
| 46 | display: flex; |
| 47 | flex-wrap: wrap; |
| 48 | gap: 0.75rem; |
| 49 | align-items: center; |
| 50 | } |
| 51 | |
| 52 | .color-swatch { |
| 53 | width: 34px; |
| 54 | height: 34px; |
| 55 | border-radius: 50%; |
| 56 | border: 3px solid transparent; |
| 57 | background-color: var(--swatch); |
| 58 | cursor: pointer; |
| 59 | position: relative; |
| 60 | transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; |
| 61 | } |
| 62 | |
| 63 | .color-swatch:hover { |
| 64 | transform: scale(1.12); |
| 65 | } |
| 66 | |
| 67 | .color-swatch.activo { |
| 68 | border-color: var(--heading-color); |
| 69 | box-shadow: 0 0 0 3px var(--accent-soft, #e8f5e9); |
| 70 | } |
| 71 | |
| 72 | .color-swatch.activo::after { |
| 73 | content: '✓'; |
| 74 | position: absolute; |
| 75 | inset: 0; |
| 76 | display: flex; |
| 77 | align-items: center; |
| 78 | justify-content: center; |
| 79 | font-size: 0.9rem; |
| 80 | font-weight: 800; |
| 81 | color: #ffffff; |
| 82 | text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); |
| 83 | } |
| 84 | |
| 85 | html.dark-mode .color-swatch.activo { |
| 86 | border-color: #ffffff; |
| 87 | } |
| 88 | |
| 89 | .personaliza-custom { |
| 90 | display: flex; |
| 91 | align-items: center; |
| 92 | gap: 0.75rem; |
| 93 | } |
| 94 | |
| 95 | .personaliza-custom input[type="color"] { |
| 96 | width: 44px; |
| 97 | height: 34px; |
| 98 | padding: 2px; |
| 99 | border: 1px solid var(--gray-300); |
| 100 | border-radius: 8px; |
| 101 | background: #ffffff; |
| 102 | cursor: pointer; |
| 103 | } |
| 104 | |
| 105 | .personaliza-custom-texto { |
| 106 | font-family: "SF Mono", Consolas, monospace; |
| 107 | font-size: 0.85rem; |
| 108 | color: var(--gray-600); |
| 109 | } |
| 110 | |
| 111 | html.dark-mode .personaliza-custom input[type="color"] { |
| 112 | background: #161b22; |
| 113 | border-color: #30363d; |
| 114 | } |
| 115 | |
| 116 | /* --- Estilos de la página (selector de skins) --- */ |
| 117 | .estilos-seccion { |
| 118 | display: grid; |
| 119 | grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); |
| 120 | gap: 0.75rem; |
| 121 | margin-top: 0.5rem; |
| 122 | } |
| 123 | |
| 124 | .estilo-opcion { |
| 125 | position: relative; |
| 126 | display: flex; |
| 127 | flex-direction: column; |
| 128 | align-items: flex-start; |
| 129 | gap: 0.45rem; |
| 130 | padding: 0.9rem; |
| 131 | text-align: left; |
| 132 | cursor: pointer; |
| 133 | background: var(--card-bg, #ffffff); |
| 134 | border: 2px solid var(--gray-300); |
| 135 | border-radius: 12px; |
| 136 | transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease; |
| 137 | } |
| 138 | |
| 139 | .estilo-opcion:hover { |
| 140 | border-color: var(--accent-mid); |
| 141 | box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); |
| 142 | transform: translateY(-2px); |
| 143 | } |
| 144 | |
| 145 | .estilo-opcion:disabled { |
| 146 | cursor: not-allowed; |
| 147 | opacity: 0.5; |
| 148 | } |
| 149 | |
| 150 | .estilo-opcion.activo { |
| 151 | border-color: var(--accent); |
| 152 | box-shadow: 0 0 0 3px var(--accent-soft, #e8f5e9); |
| 153 | } |
| 154 | |
| 155 | .estilo-preview { |
| 156 | width: 100%; |
| 157 | height: 54px; |
| 158 | border-radius: 8px; |
| 159 | border: 1px solid var(--gray-300); |
| 160 | display: block; |
| 161 | } |
| 162 | |
| 163 | .estilo-nombre { |
| 164 | font-weight: 800; |
| 165 | font-size: 0.95rem; |
| 166 | color: var(--heading-color); |
| 167 | } |
| 168 | |
| 169 | .estilo-desc { |
| 170 | font-size: 0.82rem; |
| 171 | line-height: 1.45; |
| 172 | color: var(--gray-600); |
| 173 | } |
| 174 | |
| 175 | .estilo-check { |
| 176 | display: none; |
| 177 | position: absolute; |
| 178 | top: 0.55rem; |
| 179 | right: 0.55rem; |
| 180 | width: 24px; |
| 181 | height: 24px; |
| 182 | align-items: center; |
| 183 | justify-content: center; |
| 184 | border-radius: 50%; |
| 185 | background: var(--accent); |
| 186 | color: var(--accent-contrast, #ffffff); |
| 187 | font-weight: 800; |
| 188 | font-size: 0.85rem; |
| 189 | } |
| 190 | |
| 191 | .estilo-opcion.activo .estilo-check { |
| 192 | display: flex; |
| 193 | } |
| 194 | |
| 195 | html.dark-mode .estilo-opcion { |
| 196 | background: #161b22; |
| 197 | border-color: #30363d; |
| 198 | } |
| 199 | |
| 200 | html.dark-mode .estilo-desc { |
| 201 | color: #8b949e; |
| 202 | } |
| 203 | |
| 204 | /* Personalización de color deshabilitada por un estilo activo */ |
| 205 | .personaliza-bloqueado { |
| 206 | opacity: 0.5; |
| 207 | pointer-events: none; |
| 208 | } |
| 209 | |
| 210 | /* --- Secciones de ajustes --- */ |
| 211 | .ajustes-seccion { |
| 212 | margin-bottom: 2.25rem; |
| 213 | } |
| 214 | |
| 215 | .ajustes-seccion-titulo { |
| 216 | font-size: 1.3rem; |
| 217 | font-weight: 800; |
| 218 | letter-spacing: -0.02em; |
| 219 | color: var(--heading-color); |
| 220 | margin: 0 0 0.25rem; |
| 221 | } |
| 222 | |
| 223 | .ajustes-seccion-desc { |
| 224 | font-size: 0.9rem; |
| 225 | color: var(--gray-600); |
| 226 | margin: 0 0 1.1rem; |
| 227 | max-width: 46rem; |
| 228 | } |
| 229 | |
| 230 | html.dark-mode .ajustes-seccion-desc { |
| 231 | color: #8b949e; |
| 232 | } |
| 233 | |
| 234 | /* --- Mi cuenta --- */ |
| 235 | .cuenta-form { |
| 236 | margin-top: 1rem; |
| 237 | } |
| 238 | |
| 239 | .cuenta-form .form-control { |
| 240 | max-width: 420px; |
| 241 | } |
| 242 | |
| 243 | .cuenta-form .btn-primary { |
| 244 | margin-top: 0.25rem; |
| 245 | } |
| 246 | |
| 247 | #cuenta-email { |
| 248 | font-family: "SF Mono", Consolas, monospace; |
| 249 | font-size: 0.88rem; |
| 250 | } |