/* Compact Sleek Toastr Notification Theme for RealtyRuts */

#toast-container {
    position: fixed !important;
    z-index: 99999999 !important;
    pointer-events: none !important;
    top: 20px !important;
    right: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    max-width: 280px !important;
    width: auto !important;
}

#toast-container * {
    box-sizing: border-box !important;
}

#toast-container > div,
#toast-container > .toast,
.toast {
    position: relative !important;
    pointer-events: auto !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 8px 12px 8px 34px !important;
    width: auto !important;
    max-width: 280px !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    opacity: 1 !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
    background-repeat: no-repeat !important;
    background-position: 10px center !important;
    background-size: 16px 16px !important;
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s !important;
    animation: toastrSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes toastrSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#toast-container > div:hover {
    box-shadow: 0 12px 25px -4px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-1px) !important;
    cursor: pointer !important;
}

.toast-title {
    font-weight: 700 !important;
    font-size: 12px !important;
    margin-bottom: 2px !important;
    color: #ffffff !important;
}

.toast-message {
    word-wrap: break-word !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 12px !important;
}

/* Close Button */
.toast-close-button {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    width: 16px !important;
    height: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 50% !important;
    border: none !important;
    cursor: pointer !important;
    line-height: 1 !important;
    transition: all 0.15s ease !important;
}

.toast-close-button:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.25) !important;
    transform: scale(1.1) !important;
}

/* Success: Rich Emerald Green */
#toast-container > .toast-success {
    background-color: #064e3b !important;
    border: 1px solid #10b981 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%2334d399'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z' /%3E%3C/svg%3E") !important;
}

/* Info: Deep Sky / Indigo */
#toast-container > .toast-info {
    background-color: #0f172a !important;
    border: 1px solid #38bdf8 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%2338bdf8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z' /%3E%3C/svg%3E") !important;
}

/* Warning: Rich Amber */
#toast-container > .toast-warning {
    background-color: #78350f !important;
    border: 1px solid #fbbf24 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%23fbbf24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z' /%3E%3C/svg%3E") !important;
}

/* Error: Vivid Ruby Crimson */
#toast-container > .toast-error {
    background-color: #881337 !important;
    border: 1px solid #f43f5e !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%23fb7185'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 9v3.75m9-.75a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z' /%3E%3C/svg%3E") !important;
}

/* Progress Bar */
.toast-progress {
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    height: 2px !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
    border-radius: 0 0 10px 10px !important;
}

@media (max-width: 640px) {
    #toast-container {
        top: 10px !important;
        right: 10px !important;
        left: 10px !important;
        width: auto !important;
        max-width: none !important;
    }
    
    #toast-container > div,
    #toast-container > .toast,
    .toast {
        max-width: 100% !important;
        width: 100% !important;
    }
}