:root { --bg: #1a1a1a; --bg-panel: #232323; --bg-panel-alt: #2e2e2e; --border: #3d3d3d; --text: #e8e8e8; --text-muted: #a0a0a0; --gold: #c9a227; --gold-hover: #e0b930; --danger: #d9534f; --success: #4caf50; --discord: #5865f2; --discord-hover: #4752c4; --sidebar-width: 260px; } * { box-sizing: border-box; } body { margin: 0; background: var(--bg); color: var(--text); font-family: "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.5; } a { color: var(--gold); text-decoration: none; } a:hover { color: var(--gold-hover); text-decoration: underline; } .icon { flex-shrink: 0; } /* Oeffentliche/nicht eingeloggte Seiten: schlichte Kopfzeile */ .navbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.5rem; background: var(--bg-panel); border-bottom: 1px solid var(--border); } .navbar-brand a { display: block; font-size: 1.25rem; font-weight: bold; color: var(--gold); } .navbar-brand img { display: block; height: 40px; width: auto; } .navbar-user { display: flex; align-items: center; gap: 1rem; font-size: 0.9rem; } /* Eingeloggter Bereich: Sidebar-Layout */ .app-shell { display: flex; align-items: stretch; min-height: 100vh; } .sidebar { width: var(--sidebar-width); flex-shrink: 0; display: flex; flex-direction: column; background: var(--bg-panel); border-right: 1px solid var(--border); padding: 1.5rem 1rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; } .sidebar-brand { padding: 0 0.65rem 1.5rem; font-size: 1.15rem; font-weight: bold; } .sidebar-brand a { display: block; } .sidebar-brand img { display: block; height: 56px; width: auto; } .sidebar-brand a { color: var(--gold); } .sidebar-nav { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; } .sidebar-section-label { margin-top: 1rem; padding: 0.5rem 0.65rem 0.25rem; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); } .sidebar-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 0.75rem; border-radius: 6px; color: var(--text); font-weight: 500; font-size: 0.95rem; } .sidebar-link:hover { background: var(--bg-panel-alt); color: var(--text); text-decoration: none; } .sidebar-link.active { background: rgba(201, 162, 39, 0.15); color: var(--gold); } .sidebar-footer { border-top: 1px solid var(--border); margin-top: 1rem; padding-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; } .sidebar-user { padding: 0 0.65rem; font-size: 0.82rem; color: var(--text-muted); } .sidebar-user strong { color: var(--text); } .avatar { display: inline-block; border-radius: 50%; object-fit: cover; flex-shrink: 0; vertical-align: middle; } .avatar-placeholder { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; border: 1px solid rgba(255, 255, 255, 0.15); } .hero .avatar { margin-bottom: 1rem; } .app-content { flex: 1; min-width: 0; background-size: cover; background-position: center; background-repeat: no-repeat; } .app-content.bg-dashboard { background-image: linear-gradient(rgba(26, 26, 26, 0.55), rgba(26, 26, 26, 0.72)), url('/assets/images/Landscapes/web/landscape1-bg.jpg'); } .app-content.bg-profile { background-image: linear-gradient(rgba(26, 26, 26, 0.55), rgba(26, 26, 26, 0.72)), url('/assets/images/Landscapes/web/landscape2-bg.jpg'); } .app-content.bg-admin { background-image: linear-gradient(rgba(26, 26, 26, 0.58), rgba(26, 26, 26, 0.74)), url('/assets/images/Landscapes/web/landscape3-bg.jpg'); } .app-content.bg-raids { background-image: linear-gradient(rgba(20, 20, 20, 0.68), rgba(20, 20, 20, 0.82)), url('/assets/images/Landscapes/web/landscape4-bg.jpg'); } .container { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem; } .panel { background: rgba(35, 35, 35, 0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem 2rem; margin-bottom: 1.5rem; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); } .panel-narrow { max-width: 420px; margin: 3rem auto; } h1, h2, h3 { color: var(--gold); } table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); } th { color: var(--text-muted); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; } tr:hover td { background: var(--bg-panel-alt); } .table-scroll { overflow-x: auto; } .table-scroll table { min-width: 720px; } .actions { display: flex; align-items: center; flex-wrap: nowrap; gap: 0.75rem; white-space: nowrap; } .text-button { background: none; border: none; padding: 0; margin: 0; font: inherit; font-weight: 600; color: var(--danger); cursor: pointer; text-decoration: none; } .text-button:hover { color: #ff6b66; text-decoration: underline; } form { display: flex; flex-direction: column; gap: 1rem; } label { font-weight: 600; font-size: 0.9rem; } input[type="text"], input[type="email"], input[type="password"], textarea, select { background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 6px; padding: 0.6rem 0.75rem; color: var(--text); font-size: 1rem; width: 100%; } input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); } .field-hint { color: var(--text-muted); font-size: 0.8rem; } .checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.5rem; background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 6px; padding: 1rem; } .checkbox-grid label { display: flex; align-items: center; gap: 0.5rem; font-weight: normal; } .checkbox-grid input { width: auto; } .button, button { display: inline-block; background: var(--gold); color: #1a1a1a; border: none; border-radius: 6px; padding: 0.6rem 1.25rem; font-size: 1rem; font-weight: 600; cursor: pointer; text-align: center; width: fit-content; transition: background 0.15s ease; } .button:hover, button:hover { background: var(--gold-hover); text-decoration: none; } .button-danger { background: var(--danger); color: #fff; } .button-danger:hover { background: #c9302c; } .button-secondary { background: var(--bg-panel-alt); color: var(--text); border: 1px solid var(--border); } .button-secondary:hover { background: #30304a; } .inline-form { display: inline; } .badge { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 4px; background: var(--bg-panel-alt); border: 1px solid var(--border); font-size: 0.8rem; color: var(--text-muted); } .badge-active { border-color: var(--success); color: var(--success); } .badge-disabled { border-color: var(--danger); color: var(--danger); } .badge-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; } .flash { padding: 0.75rem 1rem; border-radius: 6px; margin-bottom: 1rem; font-size: 0.95rem; } .flash-success { background: rgba(76, 175, 80, 0.15); border: 1px solid var(--success); color: var(--success); } .flash-error { background: rgba(217, 83, 79, 0.15); border: 1px solid var(--danger); color: var(--danger); } .text-muted { color: var(--text-muted); } .hero { text-align: center; padding: 4rem 1rem; } .hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; } .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; } .stat-card { display: flex; align-items: center; gap: 1rem; } .stat-card .icon-badge { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; background: rgba(201, 162, 39, 0.15); color: var(--gold); flex-shrink: 0; } .stat-card > div:last-child { min-width: 0; } .stat-card h3 { margin: 0 0 0.15rem; color: var(--text); font-size: 1rem; overflow-wrap: break-word; } .stat-card p { margin: 0; overflow-wrap: break-word; } .raid-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; } .raid-header h2 { margin: 0; } .raid-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1rem; } .raid-group { background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 8px; padding: 1rem; } .raid-group h3 { margin: 0 0 0.5rem; font-size: 0.95rem; color: var(--text); } .raid-group ul { margin: 0; padding: 0; list-style: none; } .raid-group li { display: flex; align-items: center; margin-bottom: 0.4rem; } .class-icon { width: 28px; height: 28px; vertical-align: middle; margin-right: 0.5rem; flex-shrink: 0; } .class-icon-placeholder { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-right: 0.5rem; flex-shrink: 0; font-size: 1rem; } .raid-group-bench { border-style: dashed; } .raid-signup-pending { color: var(--text-muted); font-style: italic; } .raid-declined { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border); } .raid-meta-line { display: flex; align-items: center; gap: 0.4rem; } .raid-meta-line .icon { color: var(--text-muted); } .panel-archived { opacity: 0.7; } .raid-signup-note { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); } .raid-signup-form { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); } .raid-signup-form select { width: auto; } .filter-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; } .filter-tab { padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-panel-alt); color: var(--text-muted); font-size: 0.85rem; font-weight: 600; } .filter-tab:hover { color: var(--text); text-decoration: none; } .filter-tab.active { background: rgba(201, 162, 39, 0.15); border-color: var(--gold); color: var(--gold); } .profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; } .discord-card { border: 1px solid var(--discord); background: linear-gradient(135deg, rgba(88, 101, 242, 0.16), var(--bg-panel) 65%); } .discord-card-header { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; } .discord-card-header h2 { margin: 0 0 0.3rem; color: var(--discord); } .discord-logo { color: var(--discord); flex-shrink: 0; } .discord-connect-button { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--discord); color: #fff; } .discord-connect-button:hover { background: var(--discord-hover); } .discord-connect-button .discord-logo { color: #fff; } @media (max-width: 700px) { .profile-grid { grid-template-columns: 1fr; } } @media (max-width: 860px) { .app-shell { flex-direction: column; min-height: 0; } .sidebar { position: static; width: 100%; height: auto; flex-direction: row; align-items: center; gap: 0.5rem; padding: 0.6rem 0.75rem; overflow-x: auto; } .sidebar-brand { padding: 0 0.75rem 0 0; } .sidebar-brand img { height: 32px; } .sidebar-nav { flex-direction: row; flex: none; } .sidebar-section-label { display: none; } .sidebar-link .label { display: none; } .sidebar-footer { flex-direction: row; align-items: center; margin-top: 0; margin-left: auto; padding-top: 0; padding-left: 0.75rem; border-top: none; border-left: 1px solid var(--border); } .sidebar-user { display: none; } } /* --- Raid-Verwaltung: Icon-Buttons, Editor-Modus, Modal, Drag & Drop --- */ .icon-button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 6px; color: var(--text-muted); cursor: pointer; } .icon-button:hover { color: var(--gold); border-color: var(--gold); } .raid-card.editing .raid-edit-toggle { color: var(--gold); border-color: var(--gold); } .raid-edit-panel { display: none; margin-top: 1rem; padding: 1rem; background: var(--bg-panel-alt); border: 1px dashed var(--border); border-radius: 8px; } .raid-card.editing .raid-edit-panel { display: block; } .raid-edit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.75rem; margin-bottom: 1rem; } .raid-edit-form .actions { align-items: center; } .raid-premade-form { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); } .raid-premade-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; } .raid-premade-row select { width: auto; } .raid-empty-hint { margin: 0; } /* Drag & Drop nur optisch aktiv, wenn die Karte im Editor-Modus ist */ .raid-card.editing .raid-signup-item { cursor: grab; } .raid-signup-item.dragging { opacity: 0.4; } .raid-drop-zone { transition: background 0.15s ease, border-color 0.15s ease; } .raid-card.editing .raid-drop-zone.drag-over { background: rgba(201, 162, 39, 0.15); border-color: var(--gold); } /* --- Anmelde-Popup --- */ .modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.65); z-index: 1000; padding: 1rem; display: none; } /* Das "hidden"-Attribut steuert die Sichtbarkeit; ohne diese Regel würde "display: flex" das Standard-UA-"display: none" von [hidden] überstimmen und das Popup waere immer sichtbar. */ .modal-overlay:not([hidden]) { display: flex; align-items: center; justify-content: center; } .modal { position: relative; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; background: var(--bg-panel); border: 1px solid var(--border); border-radius: 10px; padding: 2rem; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); } .modal .modal-close { position: absolute; top: 1rem; right: 1rem; } .class-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin: 1.25rem 0; } @media (max-width: 480px) { .class-picker { grid-template-columns: repeat(2, 1fr); } } /* Grid statt Flex-Wrap, damit jede Wunschgruppen-Kachel unabhaengig von ihrer Textlaenge exakt die gleiche Spaltenbreite bekommt (wie beim Klassen-Picker). */ .group-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 0.5rem; margin: 0.75rem 0 1.25rem; } .group-picker-option { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 0.5rem 1.1rem; background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 999px; color: var(--text); cursor: pointer; font-size: 0.85rem; font-weight: 500; text-align: center; transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; } .group-picker-option:hover { border-color: var(--gold); transform: translateY(-1px); } .group-picker-option.selected { border-color: var(--gold); background: rgba(201, 162, 39, 0.18); color: var(--gold); font-weight: 600; box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.4); } .group-picker-option.locked, .group-picker-option:disabled { opacity: 0.5; cursor: not-allowed; color: var(--text-muted); } .group-picker-option.locked:hover, .group-picker-option:disabled:hover { border-color: var(--border); transform: none; } /* Grid-Zellen sind gleich breit (1fr), aber Buttons schrumpfen sich sonst ueber die globale "button"-Regel auf ihre Textbreite (width: fit-content) und wirken dadurch unterschiedlich gross - deshalb hier explizit 100%. */ .class-picker-option { display: flex; width: 100%; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0.5rem; padding: 0.85rem 0.5rem; min-height: 96px; background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 10px; color: var(--text); cursor: pointer; font-size: 0.8rem; text-align: center; transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; } .class-picker-option:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); } .class-picker-option.selected { border-color: var(--gold); background: rgba(201, 162, 39, 0.15); color: var(--gold); box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.4), 0 4px 12px rgba(0, 0, 0, 0.25); } .group-picker-option:focus-visible, .class-picker-option:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; } /* Einheitlicher Rahmen um jedes Klassen-Icon, damit alle Kaestchen trotz unterschiedlicher Icon-Formen/-Kontraste gleich wirken. */ .class-icon-frame { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; background: var(--bg-panel); border: 1px solid var(--border); border-radius: 8px; transition: border-color 0.15s ease; } .class-picker-option:hover .class-icon-frame, .class-picker-option.selected .class-icon-frame { border-color: var(--gold); } .class-icon-frame img { width: 30px; height: 30px; object-fit: contain; } .class-picker-label { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.2; } .raid-modal-feedback { min-height: 1.2rem; margin-bottom: 0.5rem; font-size: 0.9rem; } .raid-modal-feedback.success { color: var(--success); } .raid-modal-feedback.error { color: var(--danger); }