 
/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
}

/* Body styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    padding: 20px;
}

/* Container for the modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Modal content */
.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Modal header */
.modal h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/* Form elements */
label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    resize: vertical;
    height: 150px;
}

/* Modal buttons */
.modal-buttons {
    display: flex;
    justify-content: space-between;
}

.modal-buttons button {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-buttons button[type="submit"] {
    background-color: #28a745;
    color: #fff;
}

.modal-buttons button[type="button"] {
    background-color: #dc3545;
    color: #fff;
}

.modal-buttons button:hover {
    opacity: 0.8;
}

/* Home Button */
a button {
    display: inline-block;
    padding: 15px 25px;
    background-color: #007bff;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

a button:hover {
    background-color: #0056b3;
}

/* Media Queries for Responsiveness */
@media (max-width: 600px) {
    .modal-content {
        width: 100%;
        padding: 20px;
    }

    .modal-buttons button {
        font-size: 14px;
        padding: 10px 15px;
    }

    a button {
        font-size: 16px;
        padding: 12px 20px;
    }
}