/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #000;
    --neon: #00f0ff;
    --neon-glow: 0 0 10px #00f0ff, 0 0 20px #00f0ff, 0 0 30px #00f0ff;
    --neon-border: 0 0 5px #00f0ff, 0 0 10px #00f0ff;
    --text: #fff;
    --text-dim: #888;
    --positive: #00ff88;
    --negative: #ff4466;
    --discord: #5865F2;
    --card-bg: #0a0a0a;
    --border: 3px solid var(--neon);
}

body {
    font-family: 'Press Start 2P', cursive;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    font-size: 10px;
    line-height: 1.8;
    overflow-x: hidden;
}

/* Animated Background - Neon Grid Lines */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #0d0d0d;
}

.bg-animation .lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Vertical lines */
.bg-animation .lines.v {
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 60px,
        rgba(0, 240, 255, 0.03) 60px,
        rgba(0, 240, 255, 0.03) 61px
    );
    animation: moveV 20s linear infinite;
}

/* Horizontal lines */
.bg-animation .lines.h {
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 60px,
        rgba(0, 240, 255, 0.03) 60px,
        rgba(0, 240, 255, 0.03) 61px
    );
    animation: moveH 25s linear infinite;
}

/* Glowing accent lines */
.bg-animation .glow {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.15), transparent);
    animation: glowMove 8s ease-in-out infinite;
}

.bg-animation .glow.g1 {
    top: 20%;
    left: -100%;
    width: 200%;
    height: 1px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3), 0 0 40px rgba(0, 240, 255, 0.2);
}

.bg-animation .glow.g2 {
    top: 50%;
    left: -100%;
    width: 200%;
    height: 1px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3), 0 0 40px rgba(0, 240, 255, 0.2);
    animation-delay: -3s;
}

.bg-animation .glow.g3 {
    top: 80%;
    left: -100%;
    width: 200%;
    height: 1px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3), 0 0 40px rgba(0, 240, 255, 0.2);
    animation-delay: -6s;
}

/* Vertical glowing lines */
.bg-animation .glow.v1 {
    top: -100%;
    left: 25%;
    width: 1px;
    height: 200%;
    background: linear-gradient(0deg, transparent, rgba(0, 240, 255, 0.15), transparent);
    animation: glowMoveV 12s ease-in-out infinite;
}

.bg-animation .glow.v2 {
    top: -100%;
    left: 75%;
    width: 1px;
    height: 200%;
    background: linear-gradient(0deg, transparent, rgba(0, 240, 255, 0.15), transparent);
    animation: glowMoveV 12s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes moveV {
    0% { transform: translateX(0); }
    100% { transform: translateX(61px); }
}

@keyframes moveH {
    0% { transform: translateY(0); }
    100% { transform: translateY(61px); }
}

@keyframes glowMove {
    0%, 100% { transform: translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

@keyframes glowMoveV {
    0%, 100% { transform: translateY(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

.container {
    max-width: 420px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Cards - Neobrutalism style */
.card {
    background: var(--card-bg);
    border: var(--border);
    box-shadow: 4px 4px 0 var(--neon), var(--neon-border);
    padding: 24px;
}

/* Login Page */
.login-card {
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
}

.title {
    font-size: 20px;
    color: var(--neon);
    text-shadow: var(--neon-glow);
    margin-bottom: 8px;
}

.subtitle {
    font-size: 8px;
    color: var(--text-dim);
    margin-bottom: 32px;
}

/* Buttons */
.btn {
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    padding: 16px 24px;
    border: var(--border);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    text-transform: uppercase;
}

.btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--neon);
}

.btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--neon);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-discord {
    background: var(--discord);
    color: white;
}

.btn-primary {
    background: var(--neon);
    color: var(--bg);
}

.btn-secondary {
    background: transparent;
    color: var(--neon);
}

.btn-small {
    padding: 8px 12px;
    font-size: 8px;
    width: auto;
}

.discord-icon {
    width: 24px;
    height: 24px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 8px;
    color: var(--neon);
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    background: var(--bg);
    color: var(--text);
    border: 2px solid var(--neon);
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    box-shadow: var(--neon-border);
}

.form-group select option {
    background: var(--bg);
    color: var(--text);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.user-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--neon);
    box-shadow: var(--neon-border);
}

.avatar-sm {
    width: 36px;
    height: 36px;
}

.username {
    font-size: 10px;
    color: var(--text);
}

.logo-title {
    font-size: 16px;
    color: var(--neon);
    text-shadow: var(--neon-glow);
    text-align: center;
    margin: 16px 0;
}

/* DKP Card */
.dkp-card {
    text-align: center;
    padding: 32px;
    margin-bottom: 20px;
}

.dkp-label {
    display: block;
    font-size: 8px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.dkp-value {
    font-size: 32px;
    color: var(--neon);
    text-shadow: var(--neon-glow);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    text-align: center;
    padding: 16px;
}

.stat-label {
    display: block;
    font-size: 6px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 12px;
    color: var(--text);
}

/* Stats Preview (Pending page) */
.stats-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.stat-item {
    text-align: center;
    padding: 12px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--neon);
}

/* History */
.history-card {
    flex: 1;
}

.history-title {
    font-size: 10px;
    color: var(--neon);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--neon);
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.history-item {
    padding: 12px;
    background: rgba(0, 240, 255, 0.05);
    border-left: 2px solid var(--neon);
}

.history-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.history-date {
    font-size: 6px;
    color: var(--text-dim);
}

.history-amount {
    font-size: 12px;
    font-weight: bold;
}

.history-amount.positive {
    color: var(--positive);
}

.history-amount.negative {
    color: var(--negative);
}

.history-reason {
    font-size: 8px;
    color: var(--text);
    margin-bottom: 4px;
}

.history-result {
    font-size: 6px;
    color: var(--text-dim);
}

/* Pending Page */
.pending-card {
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
}

.pending-content {
    padding: 24px 0;
}

.pending-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: var(--neon);
    animation: pulse 2s infinite;
}

.pending-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.pending-title {
    font-size: 16px;
    color: var(--neon);
    text-shadow: var(--neon-glow);
    margin-bottom: 16px;
}

.pending-message {
    font-size: 8px;
    color: var(--text-dim);
    line-height: 2;
}

/* Setup Page */
.setup-card {
    margin-top: auto;
    margin-bottom: auto;
}

/* Utilities */
.loading, .empty, .error {
    text-align: center;
    font-size: 8px;
    color: var(--text-dim);
    padding: 24px;
}

.error {
    color: var(--negative);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--neon);
    border: 1px solid var(--bg);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 4px;
    background: var(--card-bg);
    border: var(--border);
    padding: 8px;
    box-shadow: 4px 4px 0 var(--neon);
}

.nav-btn {
    flex: 1;
    font-family: 'Press Start 2P', cursive;
    font-size: 6px;
    padding: 10px 4px;
    background: transparent;
    color: var(--text-dim);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-btn:hover {
    color: var(--neon);
}

.nav-btn.active {
    color: var(--neon);
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--neon);
    box-shadow: 0 0 5px var(--neon);
}

.nav-btn.staff-only {
    display: none;
}

.nav-btn.staff-only.visible {
    display: block;
}

/* Pages */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.tab-btn {
    flex: 1;
    font-family: 'Press Start 2P', cursive;
    font-size: 6px;
    padding: 8px 4px;
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--text-dim);
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: var(--neon);
    border-color: var(--neon);
}

.tab-btn.active {
    color: var(--bg);
    background: var(--neon);
    border-color: var(--neon);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Events List */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
}

.event-item {
    padding: 12px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--neon);
    transition: all 0.2s;
}

.event-item:hover {
    background: rgba(0, 240, 255, 0.1);
}

.event-item.clickable {
    cursor: pointer;
}

.event-item.clickable:hover {
    box-shadow: 0 0 10px var(--neon);
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.event-title {
    font-size: 10px;
    color: var(--text);
}

.event-dkp {
    font-size: 10px;
    color: var(--positive);
}

.event-date {
    font-size: 6px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.event-desc {
    font-size: 8px;
    color: var(--text-dim);
    line-height: 1.6;
}

.event-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    font-size: 6px;
    padding: 4px 8px;
    border: 1px solid;
    text-transform: uppercase;
}

.status-badge.pending {
    color: #ffaa00;
    border-color: #ffaa00;
    background: rgba(255, 170, 0, 0.1);
}

.status-badge.approved {
    color: var(--positive);
    border-color: var(--positive);
    background: rgba(0, 255, 136, 0.1);
}

.status-badge.declined {
    color: var(--negative);
    border-color: var(--negative);
    background: rgba(255, 68, 102, 0.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    border: var(--border);
    box-shadow: 4px 4px 0 var(--neon), var(--neon-border);
    padding: 24px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--neon);
}

.modal-title {
    font-size: 12px;
    color: var(--neon);
}

.modal-close {
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    background: transparent;
    color: var(--text-dim);
    border: none;
    cursor: pointer;
    padding: 4px;
}

.modal-close:hover {
    color: var(--negative);
}

.modal-body {
    margin-bottom: 20px;
}

.modal-footer {
    display: flex;
    gap: 12px;
}

.modal-footer .btn {
    flex: 1;
}

/* Tutorial Box */
.tutorial-box {
    background: rgba(0, 240, 255, 0.05);
    border: 1px dashed var(--neon);
    padding: 16px;
    margin-bottom: 20px;
}

.tutorial-box h4 {
    font-size: 8px;
    color: var(--neon);
    margin-bottom: 12px;
}

.tutorial-box ol {
    font-size: 7px;
    color: var(--text-dim);
    padding-left: 16px;
    line-height: 2;
}

.tutorial-box a {
    color: var(--neon);
    text-decoration: none;
}

.tutorial-box a:hover {
    text-decoration: underline;
}

/* Review Info */
.review-info {
    margin-bottom: 20px;
}

.review-info p {
    font-size: 8px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.review-info strong {
    color: var(--text);
}

/* Screenshot Preview */
.screenshot-preview {
    margin: 16px 0;
    text-align: center;
}

.screenshot-preview img {
    max-width: 100%;
    max-height: 200px;
    border: 2px solid var(--neon);
    box-shadow: var(--neon-border);
}

/* Disabled Input */
.form-group input:disabled,
.form-group select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.05);
}

/* Success/Danger Buttons */
.btn-success {
    background: var(--positive);
    color: var(--bg);
}

.btn-success:hover {
    background: #00cc6a;
}

.btn-danger {
    background: var(--negative);
    color: var(--bg);
}

.btn-danger:hover {
    background: #cc3355;
}

/* Participations List */
.participations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.participation-item {
    padding: 12px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--neon);
}

.participation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.participation-event {
    font-size: 10px;
    color: var(--text);
}

.participation-date {
    font-size: 6px;
    color: var(--text-dim);
}

.participation-title {
    font-size: 10px;
    color: var(--text);
}

.participation-reward {
    font-size: 10px;
    color: var(--positive);
}

.participation-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.participation-status {
    font-size: 6px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Participation Row Status Colors */
.status-row-approved {
    border-color: var(--positive);
    background: rgba(0, 255, 136, 0.05);
}

.status-row-approved .participation-title,
.status-row-approved .participation-date {
    color: var(--positive);
}

.status-row-declined {
    border-color: var(--negative);
    background: rgba(255, 68, 102, 0.05);
}

.status-row-declined .participation-title,
.status-row-declined .participation-date {
    color: var(--negative);
}

.status-row-pending {
    border-color: #666;
    background: rgba(136, 136, 136, 0.05);
}

.status-row-pending .participation-title,
.status-row-pending .participation-date {
    color: #888;
}

/* Status Text Colors */
.status-text-approved {
    color: var(--positive);
}

.status-text-declined {
    color: var(--negative);
}

.status-text-pending {
    color: #888;
}

/* Attendance List */
.attendance-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.attendance-item {
    padding: 12px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid #ffaa00;
    cursor: pointer;
    transition: all 0.2s;
}

.attendance-item:hover {
    background: rgba(255, 170, 0, 0.1);
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.3);
}

.attendance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.attendance-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.attendance-user img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--neon);
}

.attendance-username {
    font-size: 10px;
    color: var(--text);
}

.attendance-event {
    font-size: 8px;
    color: var(--text-dim);
}

.attendance-date {
    font-size: 6px;
    color: var(--text-dim);
}

/* Section Title */
.section-title {
    font-size: 12px;
    color: var(--neon);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--neon);
}

/* Create Event Button */
.create-btn-wrapper {
    margin-bottom: 16px;
}

/* Pending Count Badge */
.pending-count {
    display: inline-block;
    font-size: 6px;
    padding: 2px 6px;
    background: #ffaa00;
    color: var(--bg);
    border-radius: 2px;
    margin-left: 4px;
}

/* Players List */
.players-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 500px;
    overflow-y: auto;
}

.player-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--neon);
}

.player-rank {
    font-size: 12px;
    color: var(--neon);
    min-width: 30px;
    text-align: center;
    font-weight: bold;
}

.player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--neon);
    flex-shrink: 0;
}

.player-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.player-name {
    font-size: 10px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.player-details {
    display: flex;
    gap: 8px;
    font-size: 6px;
    color: var(--text-dim);
}

.player-class {
    color: var(--neon);
}

.player-stats {
    color: var(--text-dim);
}

.player-value {
    font-size: 10px;
    color: var(--positive);
    text-align: right;
    white-space: nowrap;
}

/* Filter Row */
.filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-label {
    font-size: 8px;
    color: var(--neon);
}

.filter-select {
    flex: 1;
    padding: 8px 12px;
    font-family: 'Press Start 2P', cursive;
    font-size: 8px;
    background: var(--bg);
    color: var(--text);
    border: 2px solid var(--neon);
    outline: none;
}

.filter-select:focus {
    box-shadow: var(--neon-border);
}

.filter-select option {
    background: var(--bg);
    color: var(--text);
}

/* Applications List */
.applications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
}

.application-item {
    padding: 12px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--neon);
}

.application-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.application-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--neon);
    flex-shrink: 0;
}

.application-info {
    flex: 1;
    min-width: 0;
}

.application-discord {
    font-size: 10px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.application-nickname {
    font-size: 8px;
    color: var(--neon);
}

.application-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 7px;
    margin-bottom: 12px;
}

.application-class {
    color: var(--neon);
    background: rgba(0, 240, 255, 0.1);
    padding: 2px 6px;
    border: 1px solid var(--neon);
}

.application-level {
    color: var(--text);
}

.application-power {
    color: var(--text-dim);
}

.application-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* Modal Wide (for applications) */
.modal-wide {
    max-width: 500px;
}

/* ==================== STAFF PAGE ==================== */

/* Staff Buttons */
.staff-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Staff Attendance List */
.staff-attendance-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 500px;
    overflow-y: auto;
}

.staff-attendance-item {
    padding: 12px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--neon);
    transition: all 0.2s;
}

.staff-attendance-item:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.staff-attendance-item.clickable {
    cursor: pointer;
}

/* Status border colors */
.status-border-pending {
    border-color: #ffaa00;
}

.status-border-pending:hover {
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.3);
}

.status-border-approved {
    border-color: var(--positive);
}

.status-border-approved:hover {
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.status-border-declined {
    border-color: var(--negative);
}

.status-border-declined:hover {
    box-shadow: 0 0 10px rgba(255, 68, 102, 0.3);
}

.staff-attendance-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.staff-attendance-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--neon);
    flex-shrink: 0;
}

.staff-attendance-info {
    flex: 1;
    min-width: 0;
}

.staff-attendance-nickname {
    font-size: 10px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.staff-attendance-event {
    font-size: 8px;
    color: var(--neon);
}

.staff-attendance-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.staff-attendance-date {
    font-size: 6px;
    color: var(--text-dim);
}

.staff-attendance-dkp {
    font-size: 10px;
    color: var(--positive);
}

/* ==================== REVIEW MODAL ==================== */

.review-player-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--neon);
}

.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--neon);
    box-shadow: var(--neon-border);
}

.review-player-info {
    flex: 1;
}

.review-nickname {
    display: block;
    font-size: 12px;
    color: var(--text);
    margin-bottom: 4px;
}

.review-discord {
    display: block;
    font-size: 8px;
    color: var(--discord);
}

.review-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.review-stat-item {
    text-align: center;
    padding: 10px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--neon);
}

.review-stat-label {
    display: block;
    font-size: 6px;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.review-stat-value {
    font-size: 12px;
    color: var(--text);
}

.review-stat-value.neon {
    color: var(--neon);
    text-shadow: var(--neon-glow);
}

.review-stat-item.full-width {
    grid-column: 1 / -1;
}

.review-event-info {
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(0, 240, 255, 0.05);
    border-left: 2px solid var(--neon);
}

.review-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-row:last-child {
    margin-bottom: 0;
}

.review-label {
    font-size: 8px;
    color: var(--text-dim);
}

.review-value {
    font-size: 8px;
    color: var(--text);
}

.review-value.positive {
    color: var(--positive);
}

/* Modal buttons */
.modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.modal-buttons .btn {
    flex: 1;
}

/* ==================== DKP MANAGEMENT MODAL ==================== */

/* Search Results */
.search-results {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 16px;
    border: 1px solid var(--neon);
    background: rgba(0, 240, 255, 0.02);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.2s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(0, 240, 255, 0.1);
}

.search-result-item.clickable {
    cursor: pointer;
}

.search-result-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--neon);
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    display: block;
    font-size: 10px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.search-result-class {
    display: block;
    font-size: 6px;
    color: var(--neon);
}

.search-result-dkp {
    font-size: 10px;
    color: var(--positive);
    white-space: nowrap;
}

/* Selected Player Card */
.selected-player {
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(0, 240, 255, 0.05);
    border: 2px solid var(--neon);
    box-shadow: var(--neon-border);
}

.selected-player-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.selected-player-info {
    flex: 1;
    min-width: 0;
}

.selected-player-name {
    display: block;
    font-size: 12px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.selected-player-class {
    display: block;
    font-size: 8px;
    color: var(--neon);
}

.selected-player-dkp {
    text-align: center;
    margin-right: 12px;
}

.dkp-label-small {
    display: block;
    font-size: 6px;
    color: var(--text-dim);
    margin-bottom: 2px;
}

.dkp-value-small {
    display: block;
    font-size: 14px;
    color: var(--neon);
    text-shadow: var(--neon-glow);
}

/* Form Hint */
.form-hint {
    display: block;
    font-size: 6px;
    color: var(--text-dim);
    margin-top: 4px;
}

/* Textarea styling */
.form-group textarea {
    width: 100%;
    padding: 12px;
    font-family: 'Press Start 2P', cursive;
    font-size: 8px;
    background: var(--bg);
    color: var(--text);
    border: 2px solid var(--neon);
    outline: none;
    resize: vertical;
    min-height: 60px;
}

.form-group textarea:focus {
    box-shadow: var(--neon-border);
}

/* Mobile adjustments */
@media (max-width: 420px) {
    .container {
        padding: 12px;
    }

    .title {
        font-size: 16px;
    }

    .dkp-value {
        font-size: 24px;
    }

    .nav-btn {
        font-size: 5px;
        padding: 8px 2px;
    }

    .tab-btn {
        font-size: 5px;
    }

    .staff-attendance-avatar {
        width: 32px;
        height: 32px;
    }

    .review-avatar {
        width: 48px;
        height: 48px;
    }
}
