
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.hidden {
    display: none;
}

.form-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.form-content {
    background: #353c97a1;
    padding: 50px; /* Reduced padding to make the form smaller */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 78vh; /* Limit the height of the form */
    overflow-y: auto; /* Add scrolling if content exceeds max-height */
    position: relative;
    box-sizing: border-box;
}

#close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 40px;
    color: #ffffff;
    cursor: pointer;
}

h2 {
    margin-bottom: 20px;
    color: #fffcfc;
    text-align: center;
}

label {
    font-weight: bold;
    color: #fffdfb;
    display: block;
    margin-bottom: 5px;
}

input, select, button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ddd;
}

input:focus, select:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 5px rgba(51, 51, 51, 0.5);
}

button {
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

button:hover {
    transition: 0.4s;
    background: #000000;
    color: white;
    font-weight: bold;
}

@media (max-width: 600px) {
    .form-content {
        padding: 20px;
    }

    h2 {
        font-size: 24px;
    }
}
.hidden {
    display: none;
}