/* Container */
.contact-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

/* Form */
.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.contact-form label {
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
}

.submit-btn {
    padding: 0.7rem 1.5rem;
    background-color: #0a0015;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #1a002b;
}

/* Modal */
.modal.hidden {
    display: none;
}

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.modal-content .close {
    float: right;
    font-size: 1.2rem;
    cursor: pointer;
}

.buttons-row {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    background-color: #0077cc;
    color: #fff;
    transition: background 0.2s;
}

button:hover {
    background-color: #005fa3;
}

button[type="reset"] {
    background-color: #999;
}

button[type="reset"]:hover {
    background-color: #777;
}

.form-feedback {
    margin-top: 1rem;
    font-weight: bold;
}

.form-feedback.success {
    color: green;
}

.form-feedback.error {
    color: red;
}
