/* Farbkonzept */
:root {
    --primary-color: #d8a95d; /* Goldbraun */
    --text-color: #333; /* Standard Textfarbe */
}

/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    background-color: var(--primary-color); /* Grundfarbe */
    background-image: url("../images/trav-acc-tools-back-VZTypzj.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Mindesthöhe für Sticky Footer */
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background-color: #935c32; /* Dunkelbraun */
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Titel-Sektion */
.header-title-section {
    height: 50px; /* Begrenzte Höhe für Titel-Bereich */
    display: flex;
    align-items: center;
    border-bottom: 2px solid #71452b;
}

.title-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Menü-Sektion */
.header-menu-section {
    background-color: #71452b; /* Etwas dunkler für Kontrast */
    padding: 0;
    height: 30px; /* Begrenzte Höhe für Menü-Bereich */
    display: flex;
    align-items: center;
}

.menu-container {
    width: 100%;
    padding-left: 25px; /* Linker Abstand für das Menü */
    padding-right: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* Abstand zwischen Logo-Bild und Text */
    text-decoration: none; /* Entfernt die Unterstreichung */
}

.logo-image {
    height: 40px; /* Höhe des Logos */
    width: auto; /* Automatische Breite */
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-decoration: none; /* Entfernt die Unterstreichung */
}

/* Content */
.content {
    max-width: 1200px; /* Gleiche Breite wie der Header */
    margin: 20px auto; /* Zentrierung und Abstand nach oben/unten */
    padding: 0 20px; /* Innenabstand */
    background-color: #f8f4e6; /* Einheitlicher Hintergrund */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Schatten */
    border-radius: 5px; /* Optional: Abgerundete Ecken */
    flex: 1; /* Content nimmt verfügbaren Platz ein */
    border: 1px solid #e6d5a8;
}

/* Page Header */
.page-header h1 {
    font-size: 24px; /* Kleinere Schriftgröße für h1 */
    margin: 10px 0;
    color: #935c32;
}

.page-header {
    background-color: #f8f4e6; /* Einheitlicher Hintergrund */
    padding: 20px 30px;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 20px;
    border: none;
}

.page-header .lead {
    color: #666;
    font-size: 16px;
    margin: 5px 0 0 0;
}

/* Navigation */
.navbar {
    width: 100%;
}

.navbar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
    justify-content: flex-start;
}

.navbar-menu li {
    position: relative;
}

.navbar-menu a {
    text-decoration: none;
    color: white;
    padding: 5px 15px;
    display: block;
    transition: background-color 0.3s;
    border-right: 1px solid #935c32;
    height: 20px;
    line-height: 20px;
}

.navbar-menu a:hover {
    background-color: #935c32; /* Hover-Farbe */
}

/* Dropdown-Menü */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* Direkt unter dem Hauptmenüpunkt */
    left: 0;
    background-color: #935c32; /* Hintergrundfarbe des Dropdowns */
    list-style: none;
    margin: 0;
    padding: 10px 0;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 180px;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: #71452b; /* Hover-Farbe für Dropdown-Elemente */
}

/* Dropdown anzeigen bei Hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* User Info */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Versionsinfo */
.version-info {
    font-size: 12px;
    color: #f2e2c4;
    text-align: right;
}

/* Avatar */
.user-avatar {
    display: flex;
    align-items: center;
}

.avatar-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Welcome Page Styles */
.welcome-content {
    background-color: #f8f4e6; /* Heller, warmer Hintergrund passend zum Layout */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1000px;
    border: 1px solid #e6d5a8; /* Subtiler Rand in passender Farbe */
}

.welcome-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.welcome-text p {
    margin-bottom: 20px;
}

.welcome-text h3 {
    color: #935c32;
    font-size: 20px;
    margin: 30px 0 15px 0;
    font-weight: bold;
}

.tools-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.tools-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.tools-list li:last-child {
    border-bottom: none;
}

.logged-in-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1200px;
    text-align: center;
    color: #666;
}

/* Footer Styles */
.footer {
    background-color: #935c32;
    color: white;
    padding: 20px 0;
    margin-top: auto; /* Footer wird nach unten gedrückt */
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 15px;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 13px;
}

.footer-links a:hover {
    color: #d8a95d;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    font-size: 13px;
    color: #f2e2c4;
}

/* Form Styles */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.form-box {
    background-color: #f8f4e6; /* Einheitlicher heller Hintergrund */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    border: 1px solid #e6d5a8;
}

.form-group {
    margin-bottom: 20px; /* Abstand zwischen Eingabefeldern */
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #935c32;
    font-weight: bold;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%; /* Gleiche Länge für alle Felder */
    padding: 12px;
    border: 1px solid #d8a95d;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: white;
    color: #333;
}

.form-group input:focus {
    outline: none;
    border-color: #935c32;
    box-shadow: 0 0 5px rgba(147, 92, 50, 0.3);
}

.form-group .form-text {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.form-group.captcha-group {
    margin-top: 30px; /* Extra Abstand vor dem Captcha */
    margin-bottom: 30px; /* Extra Abstand nach dem Captcha */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.captcha-group .g-recaptcha {
    margin-bottom: 10px;
}

.btn-submit,
.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(to bottom, #d8a95d, #935c32); /* Farbverlauf im Webseiten-Spektrum */
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-submit:hover,
.btn-primary:hover {
    background: linear-gradient(to bottom, #935c32, #71452b);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-submit:active,
.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.form-footer {
    margin-top: 25px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e6d5a8;
}

.form-footer p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.form-footer a {
    color: #935c32; /* Farblich an die Seite angepasst */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.form-footer a:hover {
    color: #d8a95d;
    text-decoration: underline;
}

.info-text {
    text-align: center;
    margin-bottom: 25px;
    padding: 15px;
    background-color: #fff8e6;
    border-left: 4px solid #d8a95d;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
}

.info-text strong {
    color: #935c32;
}

/* Alert Styles für Forms */
.alert {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
}

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

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

/* Form Error Styles */
.form-group ul {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
}

.form-group ul li {
    color: #dc3545;
    font-size: 12px;
    margin-top: 3px;
}
