/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

#submitBtn {
 width: 117px;
 margin: 0 auto;
    padding: 10px 20px;
    background-color: royalblue;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid royalblue;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    outline: none;
}

/*#submitBtn:hover {
    background-color: royalblue;
    color: white;
}
*/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto; 
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.modal-content h2{
    color: royalblue;
    text-align: center;
    font-size: 27px;
}
.close-btn {
    color: #aaa;
    font-size: 30px;
    font-weight: bold;
    float: right;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin: 10px 0 5px;
    font-size: 14px;
    color: #333;
}

form input, form textarea {
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid royalblue;
    border-radius: 5px;
    outline: none;
}

form textarea {
    resize: vertical;
    min-height: 100px;
}


form button:disabled {
    background-color: lightgray;
    cursor: not-allowed;
}

#loading {
    color: royalblue;
    font-size: 14px;
}


/* Error message styling */
.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}
#descriptionError{
     margin-bottom: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
    }

    button {
        padding: 12px 20px;
        font-size: 14px;
    }

    form label, form input, form textarea, form button {
        font-size: 14px;
    }
}
