.modals {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(112 112 112 / 80%);
    backdrop-filter: blur(5px);
}

.modal-contents {
    background-color: #1a1a1a;
    margin: 1% auto;
    padding: 2rem;
    border-radius: 10px;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}
.modal-content-text {
    background-color: #1a1a1a;
    margin: 2% auto;
    max-height: 93vh; /* Adjust the height as needed */
    overflow-y: auto;
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-content-map {
    background-color: #1a1a1a;
    margin: 2% auto;
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}
.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #45a049;
}

h2 {
    margin-bottom: 1.5rem;
    color: #fff;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
textarea:focus {
    outline: none;
    border-color: #fff;
}

label {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    pointer-events: none;
}

input:focus ~ label,
input:not(:placeholder-shown) ~ label,
textarea:focus ~ label,
textarea:not(:placeholder-shown) ~ label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: #fff;
    background-color: #1a1a1a;
    padding: 0 0.25rem;
}

.file-input input[type="file"] {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input {
    position: relative;
    overflow: hidden;
}

.file-input label {
    display: inline-block;
    padding: 0.75rem 1rem !important;
    background-color: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 1;
}

.file-input label:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox input[type="checkbox"] {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.checkbox input[type="checkbox"]:checked {
    background-color: #fff;
    border-color: #fff;
}

.checkbox input[type="checkbox"]:checked::after {
    content: '\2713';
    position: absolute;
    color: #1a1a1a;
    font-size: 1rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox label {
    position: static;
    color: #fff;
}

button[type="submit"] {
    background-color: #fff;
    color: #000;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    width: 100%;
}

button[type="submit"]:hover {
    background-color: #45a049;
    color: #fff;
}

/* For WebKit-based browsers (Chrome, Edge, Safari) */
.modal-content-text::-webkit-scrollbar {
    width: 16px; /* Thickness of the scrollbar */
}

.modal-content-text::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track color */
    border-radius: 10px; /* Optional for rounded scrollbar */
}

.modal-content-text::-webkit-scrollbar-thumb {
    background: #888; /* Scrollbar thumb color */
    border-radius: 10px; /* Optional for rounded scrollbar */
    border: 3px solid #f1f1f1; /* Adds padding effect */
}

.modal-content-text::-webkit-scrollbar-thumb:hover {
    background: #555; /* Darker color on hover */
}

/* For Firefox */
.modal-content-text {
    scrollbar-width: thick; /* Sets the thickness */
    scrollbar-color: #888 #f1f1f1; /* Thumb color and track color */
}


.modal-content-text p{
    color: #C7C7C7;
}
.modal-content-text ul li{
    color: #C7C7C7;
}
.modal-content-text a {
    color: #4CAF50;
}
.modal-content-text strong{
    color: #fff;
}
.modal-content-text h4{
    color: #fff;
    font-weight: 600;
    font-size: 20px;
}