.modal-dialog {
    position: relative;
    width: 612px;
    margin: 220px auto;
    margin-bottom: 0;
}

.modal-content {
    border-radius: 16px;
    box-shadow: none;
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #191919;
}

.text-muted {
    font-size: 18px;
    font-weight: 400;
    color: #72777a;
    margin-top: 5px;
}

.modal-body {
    padding: 20px 20px;
}

.text-lable {
    font-size: 16px;
    font-weight: 400;
    color: #72777a;
}

.custom-input-2 {
    width: 100%;
    height: 48px;
    border-radius: 16px; /* Override Bootstrap's border */
    border: none; /* Remove the border */
    background-color: #f2f4f5;
    padding: 10px 16px;
    font-size: 16px;
    box-shadow: none; /* Remove any box-shadow */
    outline: none; /* Remove any outline */
}

/* Add border on focus */
.custom-input-2:focus {
    border: 1px solid #b17c31; /* Add a 2px border with the specified color */
    background-color: #f2f4f5; /* Optional: Change background to white for better contrast */
    color: #333; /* Optional: Adjust text color for better readability */
}

.modal-footer {
    border-top: none;
    padding: 0 20px 20px;
}

.btn-custom-yellow {
    height: 48px;
    background-color: #fce295;
    color: #191919;
    font-weight: 700;
    border: none;
    border-radius: 16px;
    padding: 10px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn-custom-yellow:hover {
    background-color: #fddc7b;
}

.text-center {
    text-align: center;
}

.btn-block {
    width: 100%;
}

/* Style the close button */
.modal-header button.close {
    position: absolute;
    top: 15px;
    inset-inline-end: 15px;
    width: 32px;
    height: 32px;
    background-color: #fff;
    /* border: 1px solid #d3d3d3;*/
    border: none;
    border-radius: 4px; /* Slightly rounded corners */
    opacity: 1; /* Override Bootstrap's default opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* Remove default padding */
    transition: background-color 0.3s ease;
}

.modal-header button.close:hover {
    background-color: #f5f5f5; /* Light gray background on hover */
    opacity: 1; /* Ensure it stays fully opaque on hover */
}

.modal-header button.close span {
    font-size: 40px; /* Adjust the size of the "X" */
    color: #191919; /* Black color for the "X" */
    line-height: 1; /* Center the "X" vertically */
    font-weight: normal;
}

/* Responsive adjustments for mobile screens (max-width: 767px) */
@media (max-width: 767px) {
    .modal-dialog {
        position: relative;
        width: 80%;
        margin: 260px auto;
        margin-bottom: 0;
    }
}

@media (max-width: 431px) {
    .modal-dialog {
        width: 96%;
    }
}
