/* Basic Reset and Layout */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0a0a1a !important;
    color: #e0e6ed !important;
    line-height: 1.6;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #181c24 0%, #1a1e26 100%) !important;
    padding: 1rem 0;
    border-bottom: 2px solid #2a2a2a;
}

/* Navigation Styles */
nav a {
    color: #e0e6ed !important;
    text-decoration: none;
    margin-right: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

nav a:hover {
    background-color: #2a2a2a !important;
    color: #1ec8e7 !important;
}

/* Dropdown Styles */
.dropdown {
    display: inline-block;
    margin-right: 0.8rem;
    position: relative;
}

.dropdown-toggle {
    color: #e0e6ed !important;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    cursor: pointer;
}

.dropdown-toggle:hover {
    background-color: #2a2a2a !important;
    color: #1ec8e7 !important;
}

.admin-link {
    font-weight: bold !important;
}

/* Main Content */
main {
    min-height: auto !important;
    padding: 1rem 0 !important;
    background-color: #0a0a1a !important;
}

/* Content Container for forms and main content */
.content-container {
    max-width: 1000px;
    margin: 2rem auto;
    background: rgba(20,30,50,0.97);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,10,0.6);
    padding: 2rem 2.5rem;
}

/* Footer */
footer {
    background: #181c24 !important;
    border-top: 1px solid #2a2a2a;
    padding: 1rem 0;
    color: #666 !important;
}

/* Smooth scrolling für Anker-Links */
html {
    scroll-behavior: smooth;
}

/* Highlight-Effekt für angesprungene Bereiche */
#suchanfragen-bereich:target {
    animation: highlight-flash 2s ease-out;
    border-radius: 8px;
}

@keyframes highlight-flash {
    0% {
        background-color: rgba(231, 200, 30, 0.2);
        box-shadow: 0 0 20px rgba(231, 200, 30, 0.4);
    }
    50% {
        background-color: rgba(231, 200, 30, 0.1);
        box-shadow: 0 0 15px rgba(231, 200, 30, 0.2);
    }
    100% {
        background-color: transparent;
        box-shadow: none;
    }
}

/* Wartungsmodus-Verwaltung */
.admin-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.wartung-status {
    text-align: center;
    margin: 2rem 0;
}

.status-indicator {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.status-indicator.active {
    background: linear-gradient(45deg, #e71e1e, #b71818);
    color: #fff;
    border: 2px solid #ff4444;
    animation: pulse-red 2s infinite;
}

.status-indicator.inactive {
    background: linear-gradient(45deg, #27d13a, #1ea82a);
    color: #fff;
    border: 2px solid #44ff44;
}

@keyframes pulse-red {
    0% { box-shadow: 0 4px 15px rgba(231,30,30,0.3); }
    50% { box-shadow: 0 4px 25px rgba(231,30,30,0.6); }
    100% { box-shadow: 0 4px 15px rgba(231,30,30,0.3); }
}

.wartung-form {
    background: #10131a;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #1ec8e7;
    margin: 2rem 0;
}

.wartung-form .form-group {
    margin-bottom: 1.5rem;
}

.wartung-form label {
    display: block;
    color: #1ec8e7;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.wartung-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #1ec8e7;
    background: #181c24;
    color: #e0e6ed;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    min-height: 120px;
}

.wartung-form input[type="text"] {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #1ec8e7;
    background: #181c24;
    color: #e0e6ed;
    font-family: inherit;
    font-size: 1rem;
}

.wartung-form textarea:focus,
.wartung-form input[type="text"]:focus {
    outline: none;
    border-color: #e7c81e;
    box-shadow: 0 0 10px rgba(231,200,30,0.3);
}

.wartung-form small {
    display: block;
    color: #888;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.button-group {
    text-align: center;
    margin-top: 2rem;
}

.button-group button {
    margin: 0 0.5rem;
}

.btn-danger {
    background: linear-gradient(90deg, #e71e1e 0%, #b71818 100%);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: linear-gradient(90deg, #ff2222, #e71e1e);
    box-shadow: 0 4px 15px rgba(231,30,30,0.4);
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(90deg, #1ec8e7 0%, #0a8db5 100%);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #22d4ff, #1ec8e7);
    box-shadow: 0 4px 15px rgba(30,200,231,0.4);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(90deg, #27d13a 0%, #1ea82a 100%);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(90deg, #33ff44, #27d13a);
    box-shadow: 0 4px 15px rgba(39,209,58,0.4);
    transform: translateY(-2px);
}

.info-box {
    background: #181c24;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e7c81e;
    margin: 2rem 0;
}

.info-box h3 {
    color: #e7c81e;
    margin-top: 0;
    margin-bottom: 1rem;
}

.info-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

.info-box li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.back-button {
    text-align: center;
    margin-top: 2rem;
}

.btn-secondary {
    background: linear-gradient(90deg, #1ec8e7 0%, #0a0a1a 100%);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #1ec8e7;
    color: #0a0a1a;
    text-shadow: 0 0 8px #1ec8e7;
    transform: translateY(-1px);
}

.success-message {
    background: linear-gradient(45deg, #27d13a, #1ea82a);
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(39,209,58,0.2);
}

/* Link im Button-Stil */
.button-link {
    display: inline-block;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    background: linear-gradient(90deg, #1ec8e7 0%, #0a0a1a 100%);
    color: #fff !important;
    font-weight: bold;
    text-decoration: none;
    border: none;
    box-shadow: 0 2px 8px rgba(30,200,231,0.08);
    transition: background 0.2s, color 0.2s;
    font-size: 1rem;
    line-height: 1.2;
    min-width: 120px;
    vertical-align: middle;
    cursor: pointer;
}
.button-link:hover {
    background: #1ec8e7;
    color: #0a0a1a !important;
    text-shadow: 0 0 8px #1ec8e7;
}
/* Userverwaltung: Aktions-Buttons gleich groß */
.aktion-cell {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
}
.aktion-cell form {
    flex: 1 1 0;
    min-width: 0;
}
.aktion-cell button {
    width: 100%;
    min-width: 0;
    margin-top: 0;
    margin-bottom: 0;
}
/* Star Citizen Theme */
body {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a2233 100%);
    color: #e0e6ed;
    font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
}

header {
    background: rgba(10,20,40,0.95);
    border-bottom: 2px solid #1ec8e7;
    padding: 1.5rem 2rem 1rem 2rem;
    text-align: center;
    box-shadow: 0 2px 8px #0008;
    position: sticky;
    top: 0;
    z-index: 1000;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
header h1 {
    font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
    color: #1ec8e7;
    letter-spacing: 2px;
    font-size: 2.2rem;
    margin: 0;
}
nav {
    margin: 1rem 0 0.5rem 0;
}
nav a {
    color: #1ec8e7;
    text-decoration: none;
    margin: 0 1.2rem;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.2s;
}
nav a:hover {
    color: #fff;
    text-shadow: 0 0 8px #1ec8e7;
}

/* Removed duplicate main styling - using main styling from line 65 instead */

form {
    margin: 1.5rem 0;
}
input, textarea, button {
    font-family: inherit;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #1ec8e7;
    background: #101828;
    color: #e0e6ed;
    margin-bottom: 1rem;
    padding: 0.5rem 0.8rem;
    width: 100%;
    box-sizing: border-box;
}

input, textarea, select {
    caret-color: auto;
}
body {
    caret-color: transparent;
    outline: none;
    -webkit-user-select: text;
    user-select: text;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
}
button {
    background: linear-gradient(90deg, #1ec8e7 0%, #0a0a1a 100%);
    color: #fff;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    width: auto;
    min-width: 120px;
    margin-top: 0.5rem;
    height: 40px;
    line-height: 1.2;
    padding-top: 0;
    padding-bottom: 0;
}
button:hover {
    background: #1ec8e7;
    color: #0a0a1a;
}

a {
    color: #1ec8e7;
    text-decoration: underline;
    transition: color 0.2s;
}
a:hover {
    color: #fff;
    text-shadow: 0 0 8px #1ec8e7;
}

.auftrag-box {
    border: 1px solid #1ec8e7;
    border-radius: 8px;
    background: #151e2b;
    margin: 1rem 0;
    padding: 1rem;
    box-shadow: 0 2px 8px #1ec8e7aa;
}
.msg {
    background: #1ec8e7;
    color: #0a0a1a;
    border-radius: 6px;
    padding: 0.7rem 1rem;
    margin-bottom: 1.2rem;
    font-weight: bold;
    box-shadow: 0 2px 8px #1ec8e7aa;
}
