body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px 0;
}

.container {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 700px;
    text-align: center;
}

header h1 {
    color: #1c1e21;
    margin-bottom: 20px;
}

.display-area {
    margin: 25px auto;
    padding: 20px;
    border: 1px solid #dce1e6; /* Initial border color */
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.5s ease; /* Smooth transition */
}

/* Static layout for new elements */
.main-nav {
    text-align: center;
}

.profile-card {
    margin: 20px 0;
}

.profile-card h2 {
    margin: 10px 0 5px;
    color: #333;
}

.profile-card p {
    margin: 0;
    color: #666;
    font-style: italic;
}

.display-area hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 2rem auto;
}

.contact-form h3 {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}


/* Input group and feedback area styles remain the same */
.input-group {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-group label {
    margin-bottom: 10px;
    font-weight: bold;
    color: #4b4f56;
}

.input-group textarea {
    width: 95%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccd0d5;
    border-radius: 6px;
    font-size: 15px;
    resize: vertical;
    min-height: 80px; /* Increased height for more complex prompts */
}

.input-group button {
    padding: 12px 25px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.input-group button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.feedback-area {
    margin-top: 20px;
    font-size: 14px;
    min-height: 22px;
    padding: 5px;
    border-radius: 4px;
}

.feedback-area.error {
    color: #d93025;
    background-color: #fce8e6;
    border: 1px solid #d93025;
}

.feedback-area.success {
    color: #1e8e3e;
    background-color: #e6f4ea;
    border: 1px solid #1e8e3e;
}

.feedback-area.loading {
    color: #5f6368;
}

.llm-selector-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.llm-selector-group label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #4b4f56;
}

.llm-selector-group select {
    padding: 8px 12px;
    border: 1px solid #ccd0d5;
    border-radius: 6px;
    background-color: #fff;
    font-size: 15px;
    width: 50%;
    max-width: 300px;
    cursor: pointer;
}

/* You might want to adjust the margin on the main prompt label */
.input-group > label[for="promptInput"] {
    margin-top: 10px;
}
