/* Styles for the historic events submission form */
.hes-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.hes-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.hes-form input,
.hes-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.hes-form input[type="submit"] {
    background-color: #0073aa;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 3px;
}

.hes-form input[type="submit"]:hover {
    background-color: #005f8a;
}

.hes-form .errors {
    border: 1px solid #ff0000;
    background-color: #ffe6e6;
    padding: 10px;
    margin-bottom: 10px;
}

.hes-approved-events .event {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}

/* Modal styles */
.hes-modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
    padding-top: 60px;
}

.hes-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
}

.hes-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.hes-close:hover,
.hes-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive design */
@media (max-width: 600px) {
    .hes-form {
        padding: 15px;
    }

    .hes-form input,
    .hes-form textarea {
        padding: 6px;
    }

    .hes-form input[type="submit"] {
        padding: 8px 16px;
        font-size: 14px;
    }

    .hes-approved-events .event {
        padding: 10px;
    }

    .hes-modal-content {
        width: 90%;
    }
}
