/* --- Global Styles & Fonts from tlcanalytics.earth --- */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 1em;
    box-sizing: border-box;
}

/* --- Form Container --- */
.form-container {
    background: #fff;
    padding: 2.5em;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 650px;
}

/* --- Typography --- */
h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 0.5em;
    color: #1c5c38; /* TLC Main Green */
    text-align: center;
}

p {
    text-align: center;
    margin-bottom: 2em;
    color: #555;
}

label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
    color: #333;
}

/* --- Form Fields & Inputs --- */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.8em 1em;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #1c5c38; /* TLC Main Green */
    box-shadow: 0 0 0 3px rgba(28, 92, 56, 0.15);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* --- Layout for Side-by-Side Name Fields --- */
.form-row {
    display: flex;
    gap: 1.5em; /* Space between the fields */
    margin-bottom: 1.5em;
}

.form-group {
    flex: 1; /* Each group takes up equal space */
    margin-bottom: 1.5em;
}

.form-row .form-group {
    margin-bottom: 0; /* Remove bottom margin when in a row */
}

/* --- Responsive stacking for mobile --- */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-row .form-group {
        margin-bottom: 1.5em; /* Add margin back when stacked */
    }
}


/* --- Submit Button --- */
button {
    width: 100%;
    padding: 1em;
    border: none;
    background-color: #1c5c38; /* TLC Main Green */
    color: white;
    font-family: 'Raleway', sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 1em;
}

button:hover {
    background-color: #124025; /* Darker green on hover */
    transform: translateY(-2px);
}

/* --- Honeypot for Spam Prevention --- */
.honeypot {
    display: none;
}
/* Hide the success message by default */
#success-message {
    display: none;
    text-align: center;
}

/* Style the link to look like a button */
.return-button {
    display: inline-block;
    padding: 1em 2em;
    margin-top: 1em;
    background-color: #1c5c38; /* TLC Main Green */
    color: white;
    font-family: 'Raleway', sans-serif;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s, transform 0.2s;
}

.return-button:hover {
    background-color: #124025; /* Darker green on hover */
    transform: translateY(-2px);
}