/* Error Pop-up Modal Styles */

.error-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.error-popup-overlay.show {
    display: flex;
}

.error-popup-modal {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-popup-header {
    background-color: #d2232a;
    color: #fff;
    padding: 10px 15px 0px 14px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.error-popup-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

.error-popup-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.error-popup-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.error-popup-body {
    padding: 20px;
}

.error-popup-icon {
    display: none;
}

.error-popup-message {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.error-popup-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-popup-list li {
    padding: 10px 15px;
    margin-bottom: 8px;
    background-color: #fff3f3;
    border-left: 4px solid #d2232a;
    border-radius: 4px;
    color: #333;
}

.error-popup-list li:last-child {
    margin-bottom: 0;
}

.error-popup-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

.error-popup-button {
    background-color: #d2232a;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.error-popup-button:hover {
    background-color: #b01e24;
}

/* Responsive */
@media (max-width: 600px) {
    .error-popup-modal {
        width: 95%;
        max-height: 90vh;
    }
    
    .error-popup-header h3 {
        font-size: 18px;
    }
    
    .error-popup-body {
        padding: 15px;
    }
}
