/* Simalons Core CSS */

/* --- Toast Notifications --- */
#simalons-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    /* Allow clicks through container */
}

.simalons-toast {
    background: white;
    color: #1f2937;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    border-left: 4px solid #d1d5db;
    font-family: 'Inter', sans-serif;
}

.simalons-toast.show {
    transform: translateX(0);
}

.simalons-toast.toast-success {
    border-left-color: #10B981;
}

.simalons-toast.toast-success .toast-icon {
    color: #10B981;
    background: #ecfdf5;
}

.simalons-toast.toast-error {
    border-left-color: #EF4444;
}

.simalons-toast.toast-error .toast-icon {
    color: #EF4444;
    background: #fef2f2;
}

.simalons-toast.toast-info {
    border-left-color: #3B82F6;
}

.simalons-toast.toast-info .toast-icon {
    color: #3B82F6;
    background: #eff6ff;
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}



.simalons-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.simalons-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.simalons-modal-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

.simalons-modal-overlay.show .simalons-modal-box {
    transform: scale(1);
}

.modal-title {
    margin: 0 0 15px;
    font-size: 1.5rem;
    color: #1f2937;
    font-family: 'Playfair Display', serif;
}

.modal-message {
    color: #4b5563;
    margin-bottom: 25px;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-modal-confirm,
.btn-modal-cancel {
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.btn-modal-confirm {
    background: #D9381E;
    color: white;
}

.btn-modal-confirm:hover {
    background: #b92b14;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(217, 56, 30, 0.3);
}

.btn-modal-cancel {
    background: #f3f4f6;
    color: #4b5563;
}

.btn-modal-cancel:hover {
    background: #e5e7eb;
    color: #1f2937;
}