/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7); 
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.modal h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

/* Form Styling */
.modal form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal label {
    font-weight: bold;
    font-size: 0.9rem;
}

.modal input,
.modal textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box; 
}

.modal textarea {
    height: 120px;
    resize: none;
}

/* Submit Button */
.modal .submit-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
    background-color: transparent;
    color: black;
    text-decoration: none;
    border: 2px solid black;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer; /* Ensure it's clickable */
}

.modal .submit-button:hover {
    background-color: black;
    color: white;
    transform: translateY(-3px); /* Add a subtle lift effect */
}

/* Close Button */
.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #555;
    cursor: pointer;
}

.close-button:hover {
    background-color: black;
    color: white;
}

.g-recaptcha {
    margin: 20px auto;
    display: flex;
    justify-content: center;
}


.submit-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
    background-color: black;
    color: white;
    text-decoration: none;
    border: 2px solid black;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer; /* Ensures the pointer cursor */
    text-align: center;
}

.submit-button:hover {
    background-color: white;
    color: black;
    transform: translateY(-3px); /* Adds a hover lift effect */
}

/* Disabled Button State */
.submit-button:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed; /* Prevents interaction */
    border: 2px solid #ccc;
}
