/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Top Banner Styles */
.top-banner {
    background-color: black;
    padding: 15px 0;
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

/* Navigation Styles */
.top-banner nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-button {
    color: white;
    font-size: 16px;
    padding: 8px 16px;
    border: 2px solid white;
    background: none;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

.nav-button:hover {
    background-color: green;
    color: white;
}

/* Form Container and Header */
.container {
    width: 80%;
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: black;
}

/* Recommendation Page Styles */
.recommendation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 800px;
    margin: auto;
}

.recommendation-section {
    width: 100%;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f7f7f7;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.recommendation-section h2 {
    font-size: 1.2em;
    color: #444;
    margin-bottom: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.recommendation-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #333;
}

.recommendation-list li {
    font-size: 1em;
    padding: 8px 0;
}

/* Recommendation Summary Styles */
.recommendation-summary {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff8e1;
    border-radius: 8px;
    font-size: 1em;
    color: #333;
    line-height: 1.6;
}
.recommendation-summary p {
    margin: 0;
}

/* Form Styles */
.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.input-half {
    flex: 1;
    min-width: 45%;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
}

textarea {
    resize: vertical;
}

/* Checkbox Section Styles */
.trait-section {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.trait-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: black;
    margin-bottom: 10px;
}

input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

label[for="qualities"] {
    display: inline-block;
    margin-bottom: 5px;
    color: #333;
    cursor: pointer;
}

.trait-section label {
    font-size: 16px;
    display: inline;
    color: #333;
    cursor: pointer;
    margin-bottom: 5px;
}

/* Submit Button */
.btn-submit {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    background-color: black;
    color: white;
    border: 2px solid black;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: green;
    color: white;
}

/* Loading Message */
#loading-message {
    text-align: center;
    color: gray;
    font-size: 16px;
    margin-top: 15px;
}
