.custom-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #F7F7F8;
    margin: 10% auto;
    padding: 1.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    font-family: 'Poppins', sans-serif;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content .close {
    display: flex;
    justify-content: end;
    color: #ea943b;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}

.modal-content .close:hover {
    color: #ffa23e;
}

.modal-content .btn-1 {
    margin-top: 20px;
}

.content {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2vh;
    color: #414247;
    text-align: center;
    padding: 20px 10px;
}

.clear {
    clear: both;
}

.content .row {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: end;
    flex-wrap: wrap;
}

.content .col {
    flex: 1;
    min-width: 200px;
}

.content input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border-radius: 12px;
    border: 1.5px solid #d1d1d1;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.content input[type="text"]::placeholder {
    color: #9a9a9a;
}

.content input[type="text"]:focus {
    border-color: #ea943b;
    box-shadow: 0 0 0 3px rgba(234, 148, 59, 0.2);
}

.content button {
    width: 100%;
    padding: 12px 6px;
    font-size: 1rem;
    border-radius: 12px;
    border: none;
    background-color: #ea943b;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(43, 67, 146, 0.45);
}

.content button:hover {
    background-color: #3e61ff;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(34, 63, 141, 0.6);
}

.content button:active {
    transform: scale(0.98);
    box-shadow: 0 4px 5px rgba(31, 57, 128, 0.4);
}

.input-help {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #6c6c6c;
    text-align: left;
    padding-left: 5px;
}

@media(max-width: 600px) {
    .content .row {
        flex-direction: column;
    }

    .content {
        font-size: 2vh;
    }

    .modal-content {
        margin: 20% auto;
        padding: 30px 20px;
        width: 95%;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .modal-content p {
        font-size: 1rem;
    }
}