/* Theme Toggle Button */
.theme-toggle-btn {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 20px; /* Space below the button */
}

.theme-toggle-btn:hover {
    background-color: #5a6268;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #2c2c2c;
    color: #e0e0e0;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}

body.dark-mode .container {
    background-color: #3a3a3a;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 5px 10px rgba(0, 0, 0, 0.12);
}

body.dark-mode h1 {
    color: #e0e0e0;
}

/* Contact Form Styles */
.contact-form-container {
    margin-top: 40px; /* Space above the form container */
}

.contact-form-container h2 {
    color: #333;
    margin-bottom: 24px;
}

body.dark-mode .contact-form-container h2 {
    color: #e0e0e0;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

body.dark-mode .form-group label {
    color: #e0e0e0;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    background-color: white;
    color: #333;
}

body.dark-mode .form-group input[type="text"],
body.dark-mode .form-group input[type="email"],
body.dark-mode .form-group textarea {
    background-color: #4a4a4a;
    border-color: #666;
    color: #e0e0e0;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: #007aff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
}

body {
    font-family: 'Helvetica Neue', sans-serif;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: center;   /* Center children horizontally */
    min-height: 100vh;     /* Ensure body takes at least full viewport height */
    margin: 0;
    background-color: #f0f2f5;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.1'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}

.container {
    text-align: center;
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.04);
    width: 90%;
    max-width: 400px;
    margin-bottom: 20px; /* Add some space below each container */
}

.recommendation-container {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    padding: 15px;
    border: 2px dashed #007aff;
    border-radius: 12px;
    color: #333;
}

body.dark-mode .recommendation-container {
    color: #e0e0e0;
    border-color: #007aff;
}

h1 {
    color: #333;
    margin-bottom: 24px;
}

.generate-btn {
    background-color: #007aff;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.generate-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.generate-btn:active {
    transform: translateY(1px);
}
