body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

header {
    background-color: #333;
    color: white;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    background-color: #555;
}

main {
    max-width: 1200px; /* Erhöhen Sie die maximale Breite */
    width: 95%; /* Nutzen Sie 95% der verfügbaren Breite */
    margin: 2rem auto;
    padding: 1rem;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.hidden-section {
    display: none;
}

.active-section {
    display: block;
}

h2 {
    color: #333;
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
}

#reset-app {
    cursor: pointer;
    transition: color 0.3s ease;
}

#reset-app:hover {
    color: #007bff; /* oder eine andere Farbe Ihrer Wahl */
}

input, textarea {
    width: calc(100% - 20px);
    padding: 0.5rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

#ki-ausgabe {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.analysten-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.analyst {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 250px;
    max-width: calc(33.333% - 20px);
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.analyst:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.analyst h3 {
    margin-top: 0;
    color: #007bff;
    font-size: 1.2em;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.analyst p {
    margin: 10px 0;
    line-height: 1.6;
}

.analyst strong {
    color: #333;
    font-weight: 600;
}

@media (max-width: 1000px) {
    .analyst {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .analyst {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

#thema-eingabe, #feedback-eingabe {
    margin-bottom: 20px;
}

#thema-eingabe, #feedback-eingabe {
    padding: 10px; /* Fügen Sie Padding hinzu */
    background-color: #f9f9f9; /* Optional: Hintergrundfarbe für bessere Sichtbarkeit */
    border-radius: 4px; /* Optional: Ecken abrunden */
}

#thema-submit, #feedback-submit, #feedback-skip {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#thema-submit, #feedback-submit {
    background-color: #007bff;
    color: white;
}

#thema-submit:hover, #feedback-submit:hover {
    background-color: #0056b3;
}

#feedback-skip {
    background-color: #6c757d;
    color: white;
}

#feedback-skip:hover {
    background-color: #5a6268;
}

#analysten-status {
    font-weight: bold;
    color: #28a745;
}

#status-container {
    position: sticky;
    top: 0;
    background-color: white;
    padding: 10px 0;
    z-index: 100;
    border-bottom: 1px solid #ccc;
}

#analysten {
    position: relative;
}

#interviews {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

#interviews-liste {
    display: flex;
    overflow-x: auto;
    padding: 10px;
    background-color: #f0f0f0;
    border-bottom: 1px solid #ddd;
}

.interview-tab {
    padding: 8px 16px;
    margin-right: 10px;
    background-color: #e0e0e0;
    border: 1px solid #ccc;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.interview-tab.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

#interview-inhalt {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #e5ddd5; /* WhatsApp-ähnlicher Hintergrund */
}

#chat-verlauf {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

#section {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.section-content {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-content h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.section-content p {
    color: #666;
    line-height: 1.6;
}

.chat-nachricht {
    display: flex;
    margin-bottom: 15px;
    max-width: 80%;
}

.chat-nachricht .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.chat-nachricht .message-content {
    padding: 10px;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
}

.ai1-nachricht, .ai2-nachricht {
    align-self: flex-start;
}

.ai1-nachricht .avatar, .ai2-nachricht .avatar {
    background-color: #34b7f1;
}

.ai1-nachricht .message-content {
    background-color: #ffffff; /* Helles Blau für AI1 */
    border-bottom-left-radius: 0;
}

.ai2-nachricht {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.ai2-nachricht .avatar {
    margin-right: 0;
    margin-left: 10px;
    background-color: #1abc9c; /* Eine andere Farbe für AI2 */
}

.ai2-nachricht .message-content {
    background-color: #dcf8c6; /* Helles Grün für AI2 */
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 18px;
}

#endprodukt {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    margin-top: 20px;
}

#endprodukt h2 {
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

#endprodukt-status {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 20px;
    font-weight: bold;
}

#endprodukt-status-text {
    color: #28a745;
}

#report-content {
    background-color: #f9f9f9;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 20px;
    line-height: 1.6;
}

#report-content h3 {
    color: #007bff;
    margin-top: 20px;
    margin-bottom: 10px;
}

#report-content p {
    margin-bottom: 15px;
}

#report-content ul, #report-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

#report-content blockquote {
    border-left: 4px solid #007bff;
    padding-left: 15px;
    margin: 15px 0;
    font-style: italic;
    color: #6c757d;
}

.login-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

form {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    margin: 0 auto;
}

.form-title {
    text-align: center;
    margin-bottom: 20px; 
    font-size: 1.8em;
    color: #007bff; 
    font-weight: bold; 
}

input[type="text"],
input[type="password"] {
    width: calc(100% - 20px); 
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box; 
}

input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 3px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #007bff;
}

input[type="submit"]:hover {
    background-color: #0b64c4;
}

.flash-messages {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px;
}

.alert {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    position: relative;
    animation: fadeIn 0.5s;
}

.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

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

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 1.2em;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}