/* chwebpage/assets/css/notifications.css */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.custom-toast {
    min-width: 300px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 5px solid #ff8c00;
    position: relative;
    overflow: hidden;
}

.custom-toast.show {
    transform: translateX(0);
}

.custom-toast.success { border-left-color: #4CAF50; }
.custom-toast.error { border-left-color: #F44336; }
.custom-toast.info { border-left-color: #2196F3; }
.custom-toast.warning { border-left-color: #FF9800; }

.toast-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.2rem;
}

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: #333;
}

.toast-message {
    font-size: 0.85rem;
    color: #666;
}

.toast-close {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 5px;
    font-size: 1.2rem;
    line-height: 1;
}

.toast-close:hover { color: #333; }

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(0,0,0,0.05);
}

.toast-progress-bar {
    height: 100%;
    width: 100%;
    background: currentColor;
    opacity: 0.3;
}

/* Modal Styling for Confirmation */
.modal-confirm .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.modal-confirm .modal-header {
    border: none;
    padding: 30px 30px 10px;
}

.modal-confirm .modal-body {
    padding: 10px 30px 30px;
}

.modal-confirm .icon-box {
    width: 70px;
    height: 70px;
    background: #FFF8E1;
    color: #FF9800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}