:root{
    --gris-oscuro: #675F5C;
    --gris-claro: #cfc3bd;
    --color-beige: #E6D5CE;
    --color-beige-claro: #FAECDF;
    --color-blanco: #FFF9F5; 
    --color-rosa: #F2E1DA;
    --color-dorado: linear-gradient(270deg, #E2C15C, #F3CA4B, #D8AD26);
}

*{
    font-family: 'Caveat', cursive;
}

body {
    height: 100%;
}

/* ANIMACIONES DE LA INTERFAZ */
@keyframes aparecer {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes aparecerArriba {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aparecerAbajo {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aparecerIzquierda {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes aparecerDerecha {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* DISEÑO DELTOAST */
.toast {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 8px;
    padding: 12px 16px;
    gap: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 300px;
    z-index: 9999;
    animation: fadeIn 0.5s ease;
}

.toast-icon {
    font-size: 20px;
}

.toast-content {
    flex: 1;
}

.toast-content strong {
    display: block;
    font-size: 24px;
}

.toast-content p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.toast-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.toast-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
}

.toast.success .toast-bar { background: #4CAF50; }
.toast.error .toast-bar { background: #F44336; }
.toast.warning .toast-bar {
  background: linear-gradient(45deg, #ffd700, #ffa500, #ffd700);
  height: 4px; /* o lo que uses para la barra */
  border-radius: 2px;
}

.gold-text {
  background: linear-gradient(45deg, #ffd700, #ffa500, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.toast.info .toast-bar { background: #2196F3; }

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.toast-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    animation: toastProgress var(--toast-duration, 3s) linear forwards;
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

.adorno-borde path {
  fill: var(--color-rosa); /* Cambia aquí por el color que quieras */
}