/* General form and table styling for Enquiries pages */
.enquiries {
    font-family: Arial, sans-serif;
    color: #2c3e2f;
    background-color: #f4f7f2;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.enquiries h3, .enquiries legend {
    color: #1b5e20;
    font-weight: bold;
}

.enquiries form fieldset {
    border: 1px solid #76a178;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}

.enquiries form input,
.enquiries form textarea,
.enquiries form select {
    width: 100%;
    padding: 10px 12px;
    margin-top: 5px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #76a178;
    font-size: 16px;
}

.enquiries form button,
.enquiries .back-btn {
    padding: 12px 25px;       /* controls height and horizontal spacing */
    border-radius: 8px;
    font-weight: bold;
    color: white;
    border: none;
    cursor: pointer;

    display: inline-flex;
    align-items: center;      /* vertically center the text */
    justify-content: center;  /* horizontally center the text */
    text-align: center;       /* fallback for older browsers */
    line-height: 1.2;
}

.enquiries form button[type="submit"] {
    background-color: #2e7d32;
}

.enquiries form button[type="reset"] {
    background-color: #e66349;
    margin-left: 10px;
}

.enquiries table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.enquiries table th,
.enquiries table td {
    border: 1px solid #c8e6c9;
    padding: 10px 12px;
    text-align: left;
}

.enquiries table th {
    background-color: #e8f5e9;
    color: #1b5e20;
}

.enquiries table tr:nth-child(even) {
    background-color: #f4f7f2;
}

.side-nav {
    background-color: #e8f5e9;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.side-nav h4 {
    margin-top: 0;
    color: #1b5e20;
}

.side-nav a, .side-nav .side-nav-item {
    display: block;
    padding: 10px;
    margin-bottom: 5px;
    color: #2c3e2f;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s;
}

.side-nav a:hover, .side-nav .side-nav-item:hover {
    background-color: #c8e6c9;
}

.button {
    padding: 10px 20px;
    background-color: #2e7d32;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.button:hover {
    background-color: #1b5e20;
}

.h-captcha {
    margin-top: 15px;
}
