.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1040; 
    display: none;
}

body.modal-open {
    overflow: hidden;
}

.modal {
    display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1050;
}

.modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    margin: 0; 
    max-width: 500px;
    width: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;

}
.modal-content {
    padding: 5px;
    border-radius: 34px;
    border: 1px solid #e1ebf6;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.modal-header {
    /* border-bottom: 1px solid #e0e0e0; */
    border-bottom: none;
    font-size: 20px;
    font-weight: 600;
}

.modal-footer {
    border-top: none;
}

.modal.fade .modal-dialog {
    opacity: 0;
}

.modal.fade.show .modal-dialog {
    display: block;
    opacity: 1;
}

.close.close-modal {
    position: absolute;
    right: 0;
    top: 0;
    background-color: #92bdff;
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    font-size: 18px;
    border-radius: 30px;
    align-items: center;
}

.close.close-modal:hover {
    background-color: #afcbf5;
    color: #939191; 
}

.close.close-modal span {
    line-height: 25px;
    height: 27px;
    width: 30px;  
}





#notification-container {
    position: fixed;
    top: 40px;
    transform: translateX(-18%);
    z-index: 9999;
    right: 0;
}

.notification {
    background-color: #4caf50;
    color: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    position: relative;
    animation: fadeInUp 0.5s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.notification.warning {
    background-color: #ff7b2c;
}

.notification.note {
    background-color: #af9d4c;
}

.notification.n-error {
    background-color: #af4c4c;
}

.notification.success {
    background-color: #4caf50;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate(-50%, 100%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.notification.close {
    animation: fadeOutDown 0.5s ease-in-out forwards;
}

@keyframes fadeOutDown {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

.notification button {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}
