/* --- BASIS EINSTELLUNGEN --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #000000;
    color: #ffffff;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* --- SIDEBAR --- */
.sidebar {
    width: 280px;
    background-color: #050505;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(0, 170, 255, 0.1);
}

.logo-container {
    padding: 30px 20px;
    text-align: center;
}

.main-logo {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 170, 255, 0.4));
}

.menu {
    flex-grow: 1;
    padding: 10px 15px;
}

.menu-item {
    display: flex;
    align-items: center;
    color: #888;
    text-decoration: none;
    padding: 14px 18px;
    margin-bottom: 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.menu-item i {
    width: 25px;
    font-size: 1.1rem;
    margin-right: 12px;
}

.menu-item.active {
    background-color: #00aaff;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.4);
}

.menu-item:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.sidebar-footer {
    padding: 20px;
    text-align: center;
    font-size: 0.7rem;
    color: #444;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.roleplay-name {
    color: #00aaff !important;
    font-weight: bold;
    text-transform: uppercase;
}

/* --- HAUPTBEREICH & HEADER --- */
.main-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top right, #001529, #000000);
}

.top-header {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.status-indicator {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
}

.status-dot.online {
    height: 10px;
    width: 10px;
    background: #00ff88;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px #00ff88;
}

/* --- HEADER RECHTS KORREKTUR --- */
.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.user-info-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-management {
    text-align: right;
    line-height: 1.2;
}

.management-text {
    font-size: 0.85rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
}

.admin-text {
    font-size: 0.65rem;
    color: #00aaff;
    text-transform: uppercase;
    margin: 0;
}

.team-login-btn {
    padding: 10px 18px;
    border: 1px solid #00aaff;
    color: #00aaff;
    background: transparent;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-login-btn:hover {
    background: #00aaff;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.4);
}

.logout-style {
    border-color: #ff4444;
    color: #ff4444;
}

.logout-style:hover {
    background: #ff4444;
    color: #fff;
}

/* --- CONTENT AREA & BEWERBUNGS-FIXES --- */
.content {
    flex-grow: 1;
    padding: 40px;
    overflow-y: auto;
    display: flex;
    justify-content: center;
}

.apply-container {
    width: 100%;
    max-width: 900px;
}

.glass-card {
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(0, 170, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.neon-text {
    font-size: 2.2rem;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 170, 255, 0.7);
}

/* Grid System für das Formular */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    color: #00aaff;
    font-weight: bold;
    font-size: 0.75rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #222;
    border-radius: 10px;
    padding: 14px;
    color: #fff;
    font-size: 0.9rem;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: #00aaff;
    background: rgba(0, 170, 255, 0.05);
    outline: none;
}

/* Footer Bereich des Formulars (Checkbox & Button) */
.form-footer-area {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #bbb;
    font-size: 0.85rem;
    cursor: pointer;
}

.checkbox-container input {
    width: 18px;
    height: 18px;
    accent-color: #00aaff;
}

.submit-btn {
    width: 100%;
    max-width: 400px; /* Damit der Button nicht zu breit wird */
    padding: 16px;
    background: linear-gradient(90deg, #0088cc, #00aaff);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 170, 255, 0.4);
}

/* --- STARTSEITE LOGO --- */
.center-content {
    text-align: center;
}

.center-logo {
    max-width: 550px;
    opacity: 0.8;
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}