.custom-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    padding: 30px;
    z-index: 1000;
    max-width: 400px;
    width: 90%;
    background-color: #fff0
}

.custom-modal.active {
    display: block
}

.custom-modal-content {
    background: #fff;
    padding: 20px;
    font-size: .9em;
    border-radius: 8px;
    width: flex;
    max-width: 90%;
    box-shadow: 0 4px 8px rgb(0 0 0 / .2);
    position: relative;
    overflow-y: auto;
    max-height: 90%
}

.custom-modal-content form {
    display: flex;
    flex-direction: column;
    gap: 15px
}

.custom-modal-content form label {
    font-weight: 700;
    margin-bottom: 5px
}

.custom-modal-content form input[type="email"],
.custom-modal-content form input[type="text"],
.custom-modal-content form input[type="password"],
.custom-modal-content form input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box
}

.custom-modal-content form input:focus {
    border-color: #007BFF;
    outline: none
}

.custom-modal-content form button {
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer
}

.custom-modal-content form button:hover {
    background-color: #00509e
}

.custom-modal-content h3 {
    text-align: center;
    margin-bottom: 20px
}

.custom-modal-content .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #aaa;
    cursor: pointer
}

.custom-modal-content .close:hover {
    color: #000;
    text-decoration: none
}

.custom-modal-content h3 {
    margin-bottom: 15px;
    color: #007BFF;
    font-size: 1.5em
}

.custom-modal-content p {
    font-size: 1em;
    color: #333;
    margin-bottom: 20px
}

.custom-modal-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / .4);
    z-index: 999;
    justify-content: center;
    align-items: center
}

.btn {
    padding: 10px 20px;
    cursor: pointer
}

.btn.danger {
    background-color: #e74c3c;
    color: #fff
}

.btn.danger:hover {
    background-color: #c0392b
}