* {
    box-sizing: border-box;
}

:root {
    --bg-color: #f3f4f6;
    --panel-bg: #ffffff;
    --text-color: #1f2937;
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
    --border-color: #d1d5db;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--panel-bg);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

header h1 {
    margin-bottom: 0.25rem;
    color: #111827;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.logo-container h1 {
    margin-bottom: 0;
}

.app-logo {
    width: 48px;
    height: 48px;
}

header p {
    color: #6b7280;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.upload-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-height: 50vh;
    gap: 2rem;
}

.drop-zone {
    width: 100%;
    max-width: 500px;
    height: 250px;
    border: 2px dashed #9ca3af;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--panel-bg);
    box-shadow: var(--shadow-sm);
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--accent-color);
    background-color: #eff6ff;
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.drop-text {
    font-size: 1.2rem;
    color: #4b5563;
    pointer-events: none;
    padding: 1rem;
}

.workspace {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

@media (min-width: 768px) {
    .workspace {
    min-width: 0;
        flex-direction: row;
        align-items: flex-start;
    }
}

.canvas-container {
    min-width: 0;
    flex: 2;
    background-color: #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    /* Fondo estilo tablero de ajedrez para transparencias */
    background-image: 
      linear-gradient(45deg, #d1d5db 25%, transparent 25%), 
      linear-gradient(-45deg, #d1d5db 25%, transparent 25%),
      linear-gradient(45deg, transparent 75%, #d1d5db 75%),
      linear-gradient(-45deg, transparent 75%, #d1d5db 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    min-height: 300px;
}

#image-canvas {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" fill="white" opacity="0.5"/><line x1="22" y1="12" x2="18" y2="12"/><line x1="6" y1="12" x2="2" y2="12"/><line x1="12" y1="6" x2="12" y2="2"/><line x1="12" y1="22" x2="12" y2="18"/></svg>') 12 12, crosshair;
}

.magnifier {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 1px solid #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    pointer-events: none;
    display: none;
    background-repeat: no-repeat;
    z-index: 100;
    transform: translate(-50%, -120%); /* Flota por encima del dedo para m?viles */
    image-rendering: pixelated; /* Crucial: renderizado de pixeles crudos en zoom */
}

/* Cuadr?cula de la lupa */
.magnifier::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-image: 
      linear-gradient(rgba(0,0,0,0.15) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,0,0,0.15) 1px, transparent 1px);
    background-size: 16px 16px;
    background-position: var(--grid-x, 0) var(--grid-y, 0); /* Coincide con MAGNIFIER_ZOOM = 8 */
    pointer-events: none;
}

/* Puntero central (p?xel exacto) */
.magnifier::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    border: 1px solid white;
    box-shadow: 0 0 0 1px black; /* Alto contraste invertido para ser visible siempre */
    pointer-events: none;
}

/* Presets */
.presets-container {
    margin-top: 2rem;
    text-align: center;
}

.presets-container p {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.preset-images {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.preset-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.preset-img:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.color-panel {
    flex: 1;
    background-color: var(--panel-bg);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    min-width: 300px;
}

h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: #374151;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 0.5rem;
}

.color-preview {
    width: 100%;
    height: 80px;
    border-radius: 8px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    transition: background-color 0.1s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

.color-values {
    display: flex;
    margin-bottom: 0.75rem;
}

.color-values input {
    min-width: 0;
    flex: 1;
    padding: 0.6rem;
    background-color: #f9fafb;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 6px 0 0 6px;
    outline: none;
    font-family: monospace;
    font-size: 1rem;
}

.color-values input:focus {
    border-color: var(--accent-color);
}

/* Botones primarios (DRY) */
.color-values .copy-btn,
.btn-primary {
    background-color: var(--accent-color);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.color-values .copy-btn:hover,
.btn-primary:hover {
    background-color: var(--accent-hover);
}

.color-count-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #4b5563;
}

.color-count-control input[type="range"] {
    flex: 1;
    accent-color: var(--accent-color);
}

.color-count-control span {
    font-weight: bold;
    color: var(--accent-color);
    width: 20px;
}

/* From Uiverse.io by oneMoreYeti */ 
.palette {
  display: flex;
  height: 120px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.color {
  height: 100%;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease-out;
  cursor: pointer;
  /* Add subtle text shadow so it's readable on light colors */
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  font-size: 12px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.color:last-child {
  border-right: none;
}

.color span {
  opacity: 0;
  transition: opacity 0.1s linear;
  pointer-events: none;
  white-space: nowrap;
}

.color:hover {
  flex: 5; /* Incrementado radicalmente para que se note incluso con 12 colores */
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px 0px;
  z-index: 10;
}

.color:hover span {
  opacity: 1;
}

/* Estilos espec?ficos de cada bot?n */
.color-values .copy-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 0 6px 6px 0;
}

.btn-primary {
    margin-top: 1rem;
    padding: 0.85rem;
    border-radius: 6px;
    width: 100%; /* Asegura que ocupe el ancho en m?viles */
}

/* Optimizaciones para M?viles */
@media (max-width: 768px) {
    header { padding: 1.5rem 1rem; }
    header h1 { font-size: 1.5rem; }
    main { margin: 1rem; padding: 1rem; }
    .upload-section { min-height: auto; padding: 2rem 1rem; gap: 1rem; }
    .drop-zone { min-height: 200px; padding: 1rem; }
    .canvas-container {
    min-width: 0; min-height: 250px; max-height: 50vh; padding: 1rem; }
    .color-panel { min-width: 0; padding: 1rem; }
    .palette { height: 100px; }
    .color span { font-size: 10px; }
}

/* --- NEW ARCHITECTURE: TABS & CONVERTER --- */
.app-nav {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    background: #e5e7eb;
    padding: 0.25rem;
    border-radius: 8px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.nav-tab {
    padding: 0.5rem 1.5rem;
    border: none;
    background: transparent;
    font-weight: 600;
    color: var(--text-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
.nav-tab.active {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: var(--accent-color);
}
.app-view {
    min-width: 0;
    display: none;
    flex-direction: column;
    flex: 1;
    width: 100%;
}
.app-view.active {
    display: flex;
}

/* Converter View */
.converter-container {
    display: flex;
    gap: 2rem;
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
@media (max-width: 768px) {
    .converter-container {
        flex-direction: column;
        padding: 1rem;
    }
}

.converter-left {
    flex: 1;
    max-width: 320px;
}
@media (max-width: 768px) {
    .converter-left { max-width: 100%; }
}

.picker-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* SV Square */
.sv-square {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    background-color: #ff0000;
    background-image: 
        linear-gradient(to top, #000, rgba(0,0,0,0)), 
        linear-gradient(to right, #fff, rgba(255,255,255,0));
    position: relative;
    cursor: crosshair;
    user-select: none;
    touch-action: none;
}
.sv-knob {
    width: 16px;
    height: 16px;
    box-sizing: border-box;
    border: 2px solid white;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 100%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.3);
    pointer-events: none;
}

/* Hue Track */
.hue-track {
    width: 100%;
    height: 16px;
    box-sizing: border-box;
    border-radius: 8px;
    background: linear-gradient(to right, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00);
}
.hue-slider {
    width: 100%;
    appearance: none;
    background: transparent;
    outline: none;
    margin: 0;
}
.hue-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 2px solid #ccc;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
    cursor: grab;
    transform: translateY(-2px);
}

/* Picker Inputs */
.picker-inputs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
#picker-hex {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: monospace;
    text-align: center;
}
.picker-color-preview {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #ff0000;
    border: 1px solid var(--border-color);
}

.picker-actions {
    display: flex;
    gap: 0.5rem;
}
.picker-select {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}
.icon-btn {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.icon-btn:hover {
    background: #f3f4f6;
}

.full-width { width: 100%; }
.mt-1 { margin-top: 0.5rem; }

/* Converter Right */
.converter-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.main-color-display {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    background: #c24253;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.main-color-display h2 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 700;
}

.formats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 600px) {
    .formats-grid {
        grid-template-columns: 1fr;
    }
}
.format-row {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.format-label {
    width: 50px;
    font-weight: 600;
    color: #9ca3af;
    font-size: 0.85rem;
}
.format-row input {
    min-width: 0;
    flex: 1;
    border: none;
    background: transparent;
    font-family: monospace;
    outline: none;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
}
.format-row .icon-btn {
    border: none;
    box-shadow: none;
    color: #9ca3af;
}


.lang-switcher {
    margin-top: 10px;
    text-align: center;
}
#lang-select {
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background-color: #fff;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    outline: none;
}



/* --- HEART BUTTON (Uiverse.io by catraco) --- */
.heart-container {
  --heart-color: rgb(255, 91, 137);
  position: relative;
  width: 32px;
  height: 32px;
  transition: .3s;
  display: inline-block;
  vertical-align: middle;
}

.heart-container .checkbox {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 20;
  cursor: pointer;
}

.heart-container .svg-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.heart-container .svg-outline,
.heart-container .svg-filled {
  fill: var(--heart-color);
  position: absolute;
  width: 24px;
  height: 24px;
}

.heart-container .svg-filled {
  animation: keyframes-svg-filled 1s;
  display: none;
}

.heart-container .svg-celebrate {
  position: absolute;
  animation: keyframes-svg-celebrate .5s;
  animation-fill-mode: forwards;
  display: none;
  stroke: var(--heart-color);
  fill: var(--heart-color);
  stroke-width: 2px;
  width: 40px;
  height: 40px;
}

.heart-container .checkbox:checked~.svg-container .svg-filled {
  display: block;
}

.heart-container .checkbox:checked~.svg-container .svg-celebrate {
  display: block;
}

@keyframes keyframes-svg-filled {
  0% { transform: scale(0); }
  25% { transform: scale(1.2); }
  50% { transform: scale(1); filter: brightness(1.5); }
}

@keyframes keyframes-svg-celebrate {
  0% { transform: scale(0); }
  50% { opacity: 1; filter: brightness(1.5); }
  100% { transform: scale(1.4); opacity: 0; display: none; }
}

/* --- FAVORITES VIEW --- */
.palettes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.palette-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.palette-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.palette-title {
    font-weight: 600;
    font-size: 1.1rem;
}
.palette-actions {
    display: flex;
    gap: 0.5rem;
}
.fav-colors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.fav-color-block {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    position: relative;
    cursor: pointer;
    transition: transform 0.2s;
}
.fav-color-block:hover {
    transform: scale(1.1);
    z-index: 10;
}
.fav-color-delete {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 16px;
    height: 16px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    font-weight: bold;
}
.fav-color-block:hover .fav-color-delete {
    opacity: 1;
}
.add-palette-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}
.add-palette-btn:hover {
    background: var(--accent-hover);
}
/* --- CUSTOM MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
}
.modal-box {
    background: var(--panel-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    width: 90%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid var(--border-color);
}
.modal-box h3 { margin: 0; }
.modal-box input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
}
.modal-box input:focus { border-color: var(--accent-color); outline: none; }
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 0.5rem;
}
/* --- CUSTOM ERROR TOAST (Uiverse.io by andrew-demchenk0) --- */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.error {
  pointer-events: auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  width: 320px;
  padding: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  background: #FCE8DB;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
  animation: slideInRight 0.3s ease-out forwards;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.error__icon {
  width: 20px;
  height: 20px;
  transform: translateY(-2px);
  margin-right: 8px;
}

.error__icon path {
  fill: #EF665B;
}

.error__title {
  font-weight: 500;
  font-size: 14px;
  color: #71192F;
}

.error__close {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-left: auto;
}

.error__close path {
  fill: #71192F;
}
/* --- COLOR COMBINATIONS VIEW --- */
#view-combinations {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.combo-instructions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.combo-info-box {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.2rem;
}

.combo-info-box h4 {
    margin: 0 0 0.5rem 0;
    color: #374151;
    font-size: 1.1rem;
}

.combo-info-box p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.4;
}

.combinations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.harmony-card h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.15rem;
    color: #111827;
}

.harmony-desc {
    margin: 0 0 1rem 0;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.4;
    min-height: 2.6rem;
}

.harmony-bar {
    display: flex;
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.harmony-segment {
    flex: 1;
    transition: filter 0.2s;
}

.harmony-segment:hover {
    filter: brightness(0.9);
}

.harmony-best-for {
    font-size: 0.8rem;
    color: #6b7280;
}
.harmony-best-for strong {
    color: #374151;
}

.combo-footer {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.combo-principles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.combo-principles-grid h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #374151;
}

.combo-principles-grid p {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .combo-instructions, .combinations-grid, .combo-principles-grid {
        grid-template-columns: 1fr;
    }
}
.success {
    pointer-events: auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 320px;
    padding: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    background: #E8F5E9;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    animation: slideInRight 0.3s ease-out forwards;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.success__icon { width: 20px; height: 20px; transform: translateY(-2px); margin-right: 8px; }
.success__icon path { fill: #4CAF50; }
.success__title { font-weight: 500; font-size: 14px; color: #1B5E20; }
.success__close { width: 20px; height: 20px; cursor: pointer; margin-left: auto; }
.success__close path { fill: #1B5E20; }
