/* General body styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 2em;
    background-color: #fff;
}

/* --- Index Page Styles --- */
.container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.container h1 {
    color: #0056b3;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    background-color: #f9f9f9;
    padding: 2em;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

label {
    font-weight: bold;
}

input,
textarea {
    padding: 0.7em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit; /* Ensure consistent font */
}

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

button {
    padding: 0.8em;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
}

button:hover {
    background-color: #0056b3;
}

.required {
    color: red;
}

.optional {
    color: #666;
    font-weight: normal;
    font-size: 0.9em;
}

.inspiration-box {
    background-color: #f8f9fa;
    border-left: 4px solid #0056b3;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.inspiration-box summary {
    font-weight: bold;
    color: #0056b3;
    cursor: pointer;
    font-size: 1.1em;
    outline: none;
}

.inspiration-box summary:hover {
    color: #003d82;
}

.inspiration-content {
    margin-top: 15px;
    font-size: 0.95em;
    color: #333;
}

.inspiration-content h3 {
    font-size: 1em;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #444;
}

.inspiration-content ul {
    margin-top: 0;
    padding-left: 20px;
}

.inspiration-content li {
    margin-bottom: 5px;
}

/* --- Success Page Styles --- */
.success-container {
    text-align: center;
    padding-top: 3em;
}

.success-container h1 {
    color: #28a745;
}

.success-container a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.success-container a:hover {
    text-decoration: underline;
}

/* --- Flash Messages --- */
.flash-messages {
    margin-bottom: 1.5em;
}

.alert {
    padding: 1em;
    border-radius: 4px;
    margin-bottom: 0.5em;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}