/* VIV-IT Bootstrap Modal Styling */

.modal.show {
    display: block;
    animation: fadeIn 0.15s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-dialog {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal {
    z-index: 1055;
    background-color: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(4px);
}

.modal-backdrop {
    z-index: 1050;
}

.modal-content {
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid #334155;
    background-color: #1e293b;
    color: #f8fafc;
}

.modal-header {
    border-bottom: 1px solid #334155;
    padding: 1.25rem 1.5rem;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: #0f172a;
}

.modal-header.bg-success-subtle {
    background-color: rgba(57, 255, 20, 0.1);
    border-bottom-color: rgba(57, 255, 20, 0.2);
}

.modal-header.bg-danger-subtle {
    background-color: rgba(244, 67, 54, 0.1);
    border-bottom-color: rgba(244, 67, 54, 0.2);
}

.modal-header.bg-warning-subtle {
    background-color: rgba(255, 152, 0, 0.1);
    border-bottom-color: rgba(255, 152, 0, 0.2);
}

.modal-header.bg-info-subtle {
    background-color: rgba(59, 130, 246, 0.1);
    border-bottom-color: rgba(59, 130, 246, 0.2);
}

.modal-title {
    font-weight: 600;
    color: #39ff14;
    display: flex;
    align-items: center;
}

.modal-body {
    padding: 1.5rem;
    color: #f8fafc;
    background-color: #1e293b;
}

.modal-footer {
    border-top: 1px solid #334155;
    padding: 1rem 1.5rem;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color: #1e293b;
}

.btn-close {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.btn-close:hover {
    opacity: 1;
}

