﻿/* General page styling */
body {
    font-family: Arial, sans-serif;
    background-color: #fdfcf9;
    margin: 0;
    padding: 2rem;
    color: #333;
}

/* Form container */
form {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Form heading */
h1 {
    text-align: center;
    color: #2d572c;
    margin-bottom: 1.5rem;
}

.headText {
    font-family: 'Antonio';
    text-align: center;
    color: #2d572c;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

/* Labels */
label {
    display: block;
    font-weight: bold;
    margin-top: 1rem;
}

/* Inputs, textarea, select */
input, textarea, select {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.3rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

    input:focus, textarea:focus, select:focus {
        border-color: #f57c00;
        outline: none;
    }

/* Submit button */
button {
    background-color: #f57c00;
    color: white;
    border: none;
    padding: 0.9rem 1.5rem;
    margin-top: 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

    button:hover {
        background-color: #d66900;
    }

/* Optional: success and error messages */
.success-message {
    color: #2d572c;
    text-align: center;
    margin-top: 1rem;
}

.error-message {
    color: #b00020;
    text-align: center;
    margin-top: 1rem;
}

.status {
    display: none; /* hidden by default */
    margin: 20px auto; /* centers horizontally */
    padding: 15px 25px;
    width: fit-content; /* shrink to content width */
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

    .status.success {
        background-color: #d4edda; /* light green */
        color: #155724; /* dark green text */
        border: 1px solid #c3e6cb;
    }

    .status.error {
        background-color: #f8d7da; /* light red */
        color: #721c24; /* dark red text */
        border: 1px solid #f5c6cb;
    }