/* Notification System Styles */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 300px;
    max-width: 380px;
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: toast-slide-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    position: relative;
    border-left: 6px solid #ccc;
    overflow: hidden;
    transition: all 0.3s ease;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #bdc3c7;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0;
    line-height: 1;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    color: #e74c3c;
    transform: scale(1.1);
}

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

.toast-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: inherit;
    animation: toast-progress 4s linear forwards;
}

@keyframes toast-progress {
    from { width: 100%; }
    to { width: 0%; }
}

.toast-success { border-left-color: #27ae60; }
.toast-success .toast-icon { background: rgba(39, 174, 96, 0.1); color: #27ae60; }
.toast-success .toast-progress { background: #27ae60; opacity: 0.3; }

.toast-error { border-left-color: #e74c3c; }
.toast-error .toast-icon { background: rgba(231, 76, 60, 0.1); color: #e74c3c; }
.toast-error .toast-progress { background: #e74c3c; opacity: 0.3; }

.toast-warning { border-left-color: #f39c12; }
.toast-warning .toast-icon { background: rgba(243, 156, 18, 0.1); color: #f39c12; }
.toast-warning .toast-progress { background: #f39c12; opacity: 0.3; }

.toast-info { border-left-color: #3498db; }
.toast-info .toast-icon { background: rgba(52, 152, 219, 0.1); color: #3498db; }
.toast-info .toast-progress { background: #3498db; opacity: 0.3; }

@keyframes toast-slide-in {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Custom Confirmation Modal */
.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    animation: fade-in 0.2s ease;
}

.confirm-modal {
    background: white;
    width: 90%;
    max-width: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: modal-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.confirm-modal-header {
    background: #2c3e50;
    color: white;
    padding: 1.25rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.confirm-modal-body {
    padding: 2rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
}

.confirm-modal-footer {
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modal-pop {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
