
/* Toast Base */
.gob-toast {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 4px;
    border-width: 1px;
    border-style: solid;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.gob-toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gob-toast-icon svg {
    width: 20px;
    height: 20px;
}

.gob-toast-message {
    flex: 1;
    font-weight: 400;
    color: inherit;
}

.gob-toast-close {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.gob-toast-close:hover {
    opacity: 1;
}

.gob-toast-close svg {
    width: 16px;
    height: 16px;
}

/* Toast Éxito (Success) */
.gob-toast--success {
    background-color: var(--green-100);
    border-color: #086308;
    color: #086308;
    fill: #086308;
}

.gob-toast--success .gob-toast-icon {
    color: #086308;
    fill: #086308;
}

.gob-toast--success .gob-toast-close {
    color: #161A1D;
}

/* Toast Informativo (Info) */
.gob-toast--info {
    background-color: #EDF2FE;
    border-color: #224497;
    color: #1a3470;
}

.gob-toast--info .gob-toast-icon {
    color: #224497;
}

.gob-toast--info .gob-toast-close {
    color: #224497;
}

/* Toast Error */
.gob-toast--error {
    background-color: #FAE5E5;
    border-color: #AE1C22;
    color: #8a1519;
}

.gob-toast--error .gob-toast-icon {
    color: #AE1C22;
}

.gob-toast--error .gob-toast-close {
    color: #AE1C22;
}

/* Toast Advertencia (Warning) */
.gob-toast--warning {
    background-color: #FFEB99;
    border-color: #A57F2C;
    color: #7a5d1f;
}

.gob-toast--warning .gob-toast-icon {
    color: #A57F2C;
}

.gob-toast--warning .gob-toast-close {
    color: #A57F2C;
}

/* Toast Container for positioning */
.gob-toast-container {
    position: fixed;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* FIX-6689 */
.gob-toast-container--top-right {
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
}

.gob-toast-container--top-left {
    top: 20px;
    left: 20px;
}

.gob-toast-container--bottom-right {
    bottom: 20px;
    right: 20px;
}

.gob-toast-container--bottom-left {
    bottom: 20px;
    left: 20px;
}

/* Animation */
.gob-toast-animate {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gob-toast-fadeout {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* FIX-6689 */