/* Toast Notifications Custom */
.toast-container-custom {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

/* Position Adjustment: Top-Right as requested by user update.
   "ele deve vir do sentido Direito para esquerdo"
*/
.toast-container-custom {
    right: 24px;
    left: auto;
}

.toast-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 12px 16px;
    /* Slightly smaller padding for "pequenas" */
    border-radius: 12px;
    /* Slightly smaller radius */
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    /* Slightly smaller min-width */
    max-width: 380px;

    /* Animation Start State: Hidden to the right */
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;

    /* Left border accent */
    border-left: 4px solid transparent;
}

.toast-custom.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    width: 24px;
    /* Smaller icon */
    height: 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.toast-success {
    border-left-color: #10b981;
}

.toast-success .toast-icon {
    background: #dcfce7;
    color: #166534;
}

.toast-error {
    border-left-color: #ef4444;
}

.toast-error .toast-icon {
    background: #fee2e2;
    color: #991b1b;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    /* var(--dark) */
    margin-bottom: 2px;
}

.toast-message {
    font-size: 0.8rem;
    color: #64748b;
    /* var(--secondary) */
    line-height: 1.3;
}

.toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    font-size: 1.1rem;
}

.toast-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}