:root {
  --primary: #7aecff;
  --secondary: #b3f5ff;
  --accent: #4d8c9c;
  --dark: #1a1f2e;
  --darker: #141821;
  --light: #ffffff;
  --container-bg: rgba(26, 31, 46, 0.97);
  --border-color: rgba(122, 236, 255, 0.15);
  --steel-gradient: linear-gradient(
    to bottom,
    rgba(122, 236, 255, 0.05),
    rgba(77, 140, 156, 0.05)
  );
  --neon-glow: 0 0 10px rgba(122, 236, 255, 0.3);
}

/* Base styles */
body {
    background-color: var(--dark);
    color: var(--light);
    font-family: 'Share Tech Mono', monospace;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
    background-image: 
        linear-gradient(rgba(122, 236, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(122, 236, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
}

.container {
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
    background: var(--steel-gradient);
}

@media (min-width: 768px) {
    body {
        padding: 2rem;
    }

    .container {
        max-width: 1200px;
        min-height: calc(100vh - 4rem);
        background: var(--container-bg);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        padding: 2rem;
        position: relative;
        box-shadow: 
            0 0 0 1px var(--border-color),
            0 4px 24px -8px rgba(0, 0, 0, 0.3);
    }

    /* Subtle corner accents */
    .container::before,
    .container::after {
        content: '';
        position: absolute;
        width: 40px;
        height: 40px;
        border: 1px solid var(--border-color);
    }

    .container::before {
        top: 12px;
        left: 12px;
        border-right: none;
        border-bottom: none;
    }

    .container::after {
        bottom: 12px;
        right: 12px;
        border-left: none;
        border-top: none;
    }
}

/* Typography */
h1, h2, h3 {
    color: var(--secondary);
    text-shadow: 0 0 20px rgba(122, 236, 255, 0.1);
    font-family: 'Rajdhani', sans-serif;
}

h1::after {
    background: linear-gradient(90deg, 
        var(--primary), 
        transparent 80%
    );
    opacity: 0.3;
}

/* Modern Containers */
.cyber-box {
    background: rgba(122, 236, 255, 0.02);
    padding: 1.5rem;
    margin: 1rem 0;
    position: relative;
    border: 1px solid var(--border-color);
}

/* Jagged edge effect */
.cyber-box::before {
    background: repeating-linear-gradient(
        90deg,
        var(--primary),
        var(--primary) 4px,
        transparent 4px,
        transparent 8px
    );
    opacity: 0.15;
}

/* Modern Buttons */
.cyber-button {
    border: 1px solid var(--border-color);
    color: var(--secondary);
}

.cyber-button:hover {
    background: rgba(122, 236, 255, 0.05);
    border-color: var(--primary);
}

/* Form Elements - Updated Styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--light);
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    transition: all 0.2s ease;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
    background: rgba(0, 0, 0, 0.4);
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Registration Form Submit Button */
.registration-submit {
    width: 100%;
    display: block;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background: rgba(122, 236, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--secondary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.registration-submit:hover {
    background: rgba(122, 236, 255, 0.1);
    border-color: var(--primary);
    box-shadow: var(--neon-glow);
    color: var(--primary);
}

.registration-submit::before,
.registration-submit::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid var(--primary);
}

.registration-submit::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.registration-submit::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

/* Stats Grid */
.stat-box {
    background: rgba(122, 236, 255, 0.02);
    border: 1px solid var(--border-color);
}

.stat-value {
    color: var(--secondary);
}

/* Loading Animation */
.cyber-loading {
    border: 2px solid rgba(122, 236, 255, 0.1);
    border-top: 2px solid var(--primary);
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .container {
        padding: 1rem;
        background: none;
    }
    
    .cyber-box {
        padding: 1.25rem;
        border: none;
        background: rgba(122, 236, 255, 0.02);
    }
    
    .cyber-box::before {
        display: none;
    }
    
    input[type="text"],
    input[type="password"] {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--border-color);
    }
    
    .stat-box {
        border: none;
        background: rgba(122, 236, 255, 0.02);
    }
} 

/* Add these styles after the existing CSS */

.photo-upload-container {
    margin: 1rem 0;
}

.photo-preview-wrapper {
    position: relative;
    width: 256px;
    height: 256px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(122, 236, 255, 0.05);
}

.photo-preview {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.photo-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    border: 2px solid var(--primary);
    box-shadow: 
        inset 0 0 0 1px var(--border-color),
        0 0 0 1px var(--border-color);
}

.photo-border::before,
.photo-border::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
}

.photo-border::before {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.photo-border::after {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

input[type="file"] {
    width: 100%;
    margin-top: 1rem;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    color: var(--light);
    cursor: pointer;
}

input[type="file"]::-webkit-file-upload-button {
    background: rgba(122, 236, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--light);
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    cursor: pointer;
}

input[type="file"]::-webkit-file-upload-button:hover {
    background: rgba(122, 236, 255, 0.2);
} 

.error-message {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    color: #ff0000;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* Player Profile Header */
.player-profile-header {
    display: flex;
    gap: 1.5rem;
    padding: 1.0rem;
    padding-bottom: 1.0rem;
    background: rgba(122, 236, 255, 0.03);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    border-radius: 8px;
    position: relative;
}

.player-avatar {
    width: 100px;
    height: 100px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    overflow: visible;
    flex-shrink: 0;
    position: relative;
    background: rgba(122, 236, 255, 0.1);
}

.player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-avatar::before,
.player-avatar::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid var(--primary);
}

.player-avatar::before {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.player-avatar::after {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

.player-info {
    flex-grow: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.player-info::after {
    content: '';
    position: absolute;
    left: -25px;
    right: 0;
    top: 50px;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--primary),
        var(--primary) 35%,
        rgba(122, 236, 255, 0.0) 90%
    );
    opacity: 1;
}

.player-name {
    padding-bottom: 1rem;
    margin-bottom: 0;
}

.player-name h1 {
    margin: 0;
    font-size: 1.8rem;
}

.player-progress {
    padding-top: 0.2rem;
}

.level-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: #000;
    border: 2px solid var(--primary);
    padding: 0.15rem;
    border-radius: 4px;
    text-align: center;
    min-width: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.level-label {
    display: block;
    font-size: 0.5rem;
    color: var(--primary);
    letter-spacing: 0.1em;
}

.level-number {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary);
}

.experience-bar {
    flex-grow: 1;
    height: 24px;
    background: rgba(122, 236, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.experience-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(122, 236, 255, 0.2),
        rgba(122, 236, 255, 0.3)
    );
    transition: width 0.3s ease;
}

.experience-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--light);
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.logout-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: rgba(122, 236, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.logout-button:hover {
    background: rgba(255, 0, 0, 0.05);
    border-color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.logout-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Adjust player-profile-header to accommodate absolute positioning */
.player-profile-header {
    position: relative;
}

@media (max-width: 767px) {
    .logout-button {
        top: 0.5rem;
        right: 0.5rem;
    }
}

/* Feature sections styling */
.feature-section {
    margin: 2rem 0;
}

.feature-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: var(--neon-glow);
}

.feature-description {
    font-family: 'Share Tech Mono', monospace;
    color: rgba(255, 255, 255, 0.7);
    margin: 0.5rem 0 1rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.feature-separator {
    height: 1px;
    background: linear-gradient(to right,
        var(--primary) 0%,
        rgba(122, 236, 255, 0.5) 20%,
        rgba(122, 236, 255, 0.2) 40%,
        transparent 100%
    );
    margin-top: 0;
    margin-bottom: 0.5rem;
    position: relative;
}

.feature-separator::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    box-shadow: var(--neon-glow);
}

.minor-separator {
    height: 1px;
    background: linear-gradient(to right,
        rgba(122, 236, 255, 0.3) 0%,
        rgba(122, 236, 255, 0.2) 20%,
        rgba(122, 236, 255, 0.1) 40%,
        transparent 100%
    );
    margin-top: -1rem;
    margin-bottom: -1rem;
    position: relative;
}

.minor-separator::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 30px;
    height: 2px;
    background: rgba(122, 236, 255, 0.5);
    box-shadow: 0 0 5px rgba(122, 236, 255, 0.2);
}

/* Modal Styles */
.cyber-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 24, 33, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.cyber-modal {
    background-color: var(--darker);
    width: 80vw;
    height: 80vh;
    border: 1px solid var(--border-color);
    box-shadow: var(--neon-glow);
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
}

.cyber-modal-header {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--dark);
}

.cyber-modal-title {
    color: var(--primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cyber-modal-close {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.2s ease;
}

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

.cyber-modal-content {
    padding: 1.5rem;
    overflow-y: auto;
    flex-grow: 1;
}

.system-icon-button {
    width: 48px;
    height: 48px;
    background: rgba(122, 236, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
    margin: 0;
}

.system-icon-button:hover {
    background: rgba(122, 236, 255, 0.05);
    border-color: var(--primary);
    box-shadow: var(--neon-glow);
}

.system-icon-button::before,
.system-icon-button::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid var(--primary);
}

.system-icon-button::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.system-icon-button::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.system-icon-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Reset any browser default styles */
button.system-icon-button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

a.system-icon-button {
    line-height: 1;
}

.admin-icon-button {
    width: 48px;
    height: 48px;
    background: rgba(0, 255, 128, 0.02);
    border: 1px solid rgba(0, 255, 128, 0.15);
    padding: 0.5rem;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
    margin: 0;
}

.admin-icon-button:hover {
    background: rgba(0, 255, 128, 0.05);
    border-color: #00ff80;
    box-shadow: 0 0 10px rgba(0, 255, 128, 0.3);
}

.admin-icon-button::before,
.admin-icon-button::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid #00ff80;
}

.admin-icon-button::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.admin-icon-button::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.admin-icon-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Reset any browser default styles */
button.admin-icon-button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

a.admin-icon-button {
    line-height: 1;
}

.red-icon-button {
    width: 48px;
    height: 48px;
    background: rgba(255, 0, 0, 0.02);
    border: 1px solid rgba(255, 0, 0, 0.15);
    padding: 0.5rem;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
    margin: 0;
}

.red-icon-button:hover {
    background: rgba(255, 0, 0, 0.05);
    border-color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.red-icon-button::before,
.red-icon-button::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid #ff0000;
}

.red-icon-button::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.red-icon-button::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.red-icon-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Reset any browser default styles */
button.red-icon-button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

a.red-icon-button {
    line-height: 1;
}

.cyber-button-dominant {
    width: 80%;
    display: block;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background: rgba(122, 236, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--secondary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
}

.cyber-button-dominant:hover {
    background: rgba(122, 236, 255, 0.1);
    border-color: var(--primary);
    box-shadow: var(--neon-glow);
    color: var(--primary);
}

.cyber-button-dominant::before,
.cyber-button-dominant::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid var(--primary);
}

.cyber-button-dominant::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.cyber-button-dominant::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.cyber-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    padding: 15px 40px 15px 20px;
    border-radius: 4px;
    z-index: 10000;
    display: none;
    align-items: center;
    color: #ff3333;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    animation: slideIn 0.3s ease-out;
}

.cyber-notification .notification-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ff3333;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 5px;
}

.cyber-notification .notification-close:hover {
    color: #ff6666;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Player stats container styling */
.player-stats {
    display: flex;
    flex-direction: row-reverse;
    gap: 1rem;
    padding: 0;
    padding-top: 0.3rem;
}

/* Bubble styling for stats */
.bubble {
    display: flex;
    flex-direction: column;
    min-width: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bubble-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.1rem 0.3rem;
    font-size: 0.5rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
}

.bubble-content {
    padding: 0;
    text-align: center;
    font-size: 1.0rem;
    font-weight: bold;
}

/* Specific styling for credits bubble */
.player-credits {
    background: rgba(255, 215, 0, 0.1); /* Golden tint for credits */
}

.player-credits .bubble-header {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.player-credits .bubble-content {
    color: #ffd700;
} 

.qr-container {
    margin: 2rem auto;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: fit-content;
}

.code-display {
    margin: 1rem 0;
    font-family: monospace;
    font-size: 1.5rem;
}

.button-container {
    margin: 2rem 0;
}

.info-text {
    color: #666;
    margin-top: 1rem;
}

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

/* Remove PIN Input Styling */
.pin-input {
    width: 100% !important;
    text-align: left;
    letter-spacing: normal;
    font-size: 1rem !important;
}

/* Base button styles */
button {
    padding: 0.5rem 1rem;
    background: rgba(122, 236, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--secondary);
    font-family: 'Share Tech Mono', monospace;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

button:hover {
    background: rgba(122, 236, 255, 0.1);
    border-color: var(--primary);
    box-shadow: var(--neon-glow);
    color: var(--primary);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(122, 236, 255, 0.02);
}

button:disabled:hover {
    border-color: var(--border-color);
    box-shadow: none;
    color: var(--secondary);
}

/* Add corner accents for larger buttons */
button.with-corners {
    padding: 0.8rem 1.5rem;
}

button.with-corners::before,
button.with-corners::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid var(--primary);
}

button.with-corners::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

button.with-corners::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
} 

.cyber-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1rem 0;
}
.cyber-table th,
.cyber-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.cyber-table th {
    background: rgba(122, 236, 255, 0.05);
    color: var(--primary);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9em;
}
.cyber-table tr:hover td {
    background: rgba(122, 236, 255, 0.02);
}

.manual-code-form {
    display: flex;
    gap: 10px;
    padding: 10px;
}

.code-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.top-right-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    padding: 4px;
    z-index: 10;
}

.top-right-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.faction-row {
    display: flex;
    align-items: center;
    margin: 10px 0;
    gap: 10px;
}

.faction-name {
    width: 100px;
    font-weight: bold;
}

.faction-bar {
    flex-grow: 1;
    height: 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faction-progress {
    height: 100%;
    transition: width 0.3s ease;
}

.faction-progress.corpo {
    background: linear-gradient(90deg, #e2de04, #e6be0d);
}

.faction-progress.street {
    background: linear-gradient(90deg, #cc000a, #db5517);

}

.faction-value {
    width: 60px;
    text-align: right;
}

/* Add after existing .cyber-table styles */

.leaderboard-preview .cyber-table {
    margin-bottom: 1rem;
}

.leaderboard-preview .rank-column {
    color: var(--primary);
    font-weight: bold;
    width: 60px;
}

.leaderboard-preview .points-column {
    color: var(--success);
    text-align: right;
}

.level-badge-small {
    background: rgba(122, 236, 255, 0.1);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    color: var(--secondary);
}

.leaderboard-preview .cyber-button-dominant {
    margin: 1rem auto;
    width: auto;
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

/* Add after existing styles */

.scan-results {
    padding: 1rem;
}

.feature-item {
    background: rgba(122, 236, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    position: relative;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item h3 {
    color: var(--primary);
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.feature-item p {
    margin: 0.5rem 0;
    color: var(--light);
}

.feature-item .distance {
    color: var(--secondary);
    font-family: 'Share Tech Mono', monospace;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.feature-item:hover {
    background: rgba(122, 236, 255, 0.05);
    border-color: var(--primary);
    box-shadow: var(--neon-glow);
}

/* Add after existing styles */

.location-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.location-details p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin: 0;
}

.location-details strong {
    color: var(--primary);
    font-family: 'Share Tech Mono', monospace;
}

.location-details .value {
    color: var(--secondary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.1em;
}

/* Add after existing styles */

.scan-result {
    margin-bottom: 1.5rem;
    position: relative;
}

.scan-result.hit {
    background: rgba(122, 236, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.scan-result.hit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        var(--primary),
        transparent
    );
}

.discovery-header {
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

.scan-result.detected {
    color: var(--secondary);
    font-style: italic;
    padding: 0.5rem 1rem;
    border-left: 2px solid rgba(122, 236, 255, 0.2);
}

.scan-result.empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    font-style: italic;
}

.scan-result.empty i {
    display: block;
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

/* Control point specific styling */
.control-point {
    position: relative;
}

.control-point h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

.control-point p {
    color: var(--light);
    margin: 1rem 0;
    line-height: 1.6;
}

.control-point-status {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(122, 236, 255, 0.1);
}

.control-point-status p {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.control-point button {
    margin-top: 0.5rem;
}

/* Control Points List Styling */
.control-points-list {
    display: grid;
    gap: 1.5rem;
    margin: 1rem 0;
}

.control-point-item {
    background: rgba(122, 236, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.control-point-item:hover {
    background: rgba(122, 236, 255, 0.05);
    border-color: var(--primary);
    box-shadow: var(--neon-glow);
}

.control-point-item strong {
    color: var(--primary);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Rajdhani', sans-serif;
}

.control-point-item .coordinates {
    color: var(--secondary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    opacity: 0.7;
}

.control-point-item .claim-status {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(122, 236, 255, 0.1);
    color: var(--light);
    font-size: 0.9rem;
}

/* Command list styling */
.command-list {
    margin: 0.5rem 0;
    padding-left: 1.2rem;
}

.command-list li {
    color: var(--secondary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    margin: 0.3rem 0;
}

/* Section headers */
.control-points-section {
    margin-top: 2rem;
}

.control-points-section h3 {
    color: var(--primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-points-section h3::after {
    content: '';
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(to right,
        rgba(122, 236, 255, 0.3),
        transparent
    );
}

.permissions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.permission-tag {
    background: rgba(122, 236, 255, 0.1);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.9em;
    color: var(--secondary);
}

/* Add after the existing .permissions-list styles */

.permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

.permission-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Add after the existing .permissions-grid styles */

.player-list { 
    margin-top: 20px; 
}

.player-item { 
    background: rgba(122, 236, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

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

.player-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    color: var(--secondary);
    font-size: 0.9em;
}

.detail-value {
    color: var(--primary);
}

/* Add after the existing .detail-value styles */

/* System Administration Styles */
.admin-header {
    margin: 20px;
    text-align: center;
}

.admin-subtitle {
    color: #888;
    margin-top: 5px;
}

.admin-section {
    margin: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 10px;
}

.feature-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
    border-radius: 5px;
    padding: 15px;
    transition: all 0.3s ease;
}

.feature-card.enabled {
    border-color: #0f0;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.1);
}

.feature-card.disabled {
    border-color: #444;
    opacity: 0.8;
}

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

.feature-header h3 {
    margin: 0;
    color: #fff;
}

.status-badge {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    background: rgba(0, 0, 0, 0.3);
}

.enabled .status-badge {
    background: rgba(0, 255, 0, 0.1);
    color: #0f0;
}

.disabled .status-badge {
    background: rgba(255, 0, 0, 0.1);
    color: #f00;
}

.feature-actions {
    display: flex;
    justify-content: flex-end;
}

.success-message {
    padding: 10px;
    margin: 10px 20px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #0f0;
    border-radius: 5px;
}

.error-message {
    padding: 10px;
    margin: 10px 20px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #f00;
    border-radius: 5px;
}

.cyber-button-small {
    padding: 5px 15px;
    font-size: 0.9em;
    border: 1px solid;
    background: rgba(0, 0, 0, 0.2);
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cyber-button-small.danger {
    border-color: #f00;
}

.cyber-button-small.danger:hover {
    background: rgba(255, 0, 0, 0.2);
}

.cyber-button-small.success {
    border-color: #0f0;
}

.cyber-button-small.success:hover {
    background: rgba(0, 255, 0, 0.2);
}

.settings-container {
    max-width: 600px;
    margin: 0 auto;
}

.settings-form {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
    border-radius: 5px;
    padding: 20px;
}

.binary-settings {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 20px;
}

.binary-option {
    margin-bottom: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    margin-right: 10px;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #444;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]:checked {
    border-color: #0f0;
    background: rgba(0, 255, 0, 0.1);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: #0f0;
    font-size: 14px;
    left: 3px;
    top: -1px;
}

.checkbox-label input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.1);
}

.checkbox-text {
    font-weight: bold;
    margin-right: 10px;
}

.checkbox-description {
    color: #888;
    font-size: 0.9em;
}

/* Update existing admin section spacing */
.admin-section + .admin-section {
    margin-top: 30px;
}

/* Translation Management Styles */
.admin-header p { 
    margin-top: 5px; 
    color: #aaa; 
    font-size: 0.9em;
}

.settings-container.small-container { 
    max-width: 600px; 
}

.cyber-input[type="file"] { 
    padding: 5px; 
}

textarea.cyber-input { 
    min-height: 60px; 
    resize: vertical; 
}

.text-muted { 
    color: #888; 
    font-size: 0.9em; 
}

code { 
    background-color: rgba(255, 255, 255, 0.1); 
    padding: 2px 4px; 
    border-radius: 3px; 
    font-family: monospace; 
}

/* Translation Table Styles */
.translation-table-container { 
    overflow-x: auto; 
}

.key-column { 
    font-family: monospace; 
    word-break: break-all; 
    min-width: 150px; 
}

.value-column { 
    word-break: break-word; 
    min-width: 250px; 
}

.actions-column { 
    min-width: 180px; 
    text-align: left; 
    white-space: nowrap; 
}

/* Inline form and edit area styling */
.inline-form { 
    display: inline-block; 
    margin: 0; 
    vertical-align: middle;
}

.value-column .edit-area textarea { 
    width: 100%; 
    box-sizing: border-box; 
}

.edit-actions { 
    text-align: left; 
}

.delete-button { 
    margin-left: 5px; 
}

/* Feedback styling */
.ajax-feedback { 
    display: inline-block; 
    margin-left: 10px; 
    font-size: 0.9em; 
}

.ajax-feedback.error { 
    color: #f00; 
}

.ajax-feedback.success { 
    color: #0f0; 
}

/* Replace the existing admin navigation styles with these */

.admin-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--darker);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.admin-nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.admin-nav-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-nav-title h1 {
    color: var(--primary);
    margin: 0;
    font-size: 1.5rem;
}

.admin-nav-subtitle {
    color: var(--secondary);
    font-size: 1rem;
    opacity: 0.8;
}

.admin-nav-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-icon-button {
    width: 40px;
    height: 40px;
    padding: 0.4rem;
}

.admin-main {
    margin-top: 70px; /* Height of the nav bar */
    padding: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Update the admin-icon-button active state */
.admin-icon-button.active {
    background: rgba(0, 255, 128, 0.1);
    border-color: #00ff80;
    box-shadow: 0 0 10px rgba(0, 255, 128, 0.3);
}

/* Add hover effect for nav buttons */
.admin-icon-button:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .admin-nav-content {
        flex-direction: column;
        padding: 0.5rem;
    }

    .admin-nav-title {
        width: 100%;
        justify-content: center;
    }

    .admin-nav-buttons {
        width: 100%;
        justify-content: center;
    }

    .admin-main {
        padding: 1rem;
    }
} 

/* QR Code Management Styles */
.qr-form { 
    margin: 20px 0; 
    padding: 20px; 
    background: rgba(122, 236, 255, 0.02); 
}

.qr-list { 
    margin-top: 20px; 
}

.qr-item { 
    background: rgba(122, 236, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

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

.qr-code {
    font-family: monospace;
    font-size: 1.2em;
    color: var(--primary);
}

.qr-url {
    font-size: 0.8em;
    margin-top: 5px;
}

.qr-status {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8em;
}

.qr-status.active { 
    background: var(--success); 
}

.qr-status.inactive { 
    background: var(--danger); 
}

.message { 
    color: var(--success); 
    padding: 10px; 
}

.error { 
    color: var(--danger); 
    padding: 10px; 
}

.button-group { 
    display: flex; 
    gap: 10px; 
}

.qr-details { 
    margin-top: 10px; 
}

.qr-commands {
    font-family: monospace;
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 4px;
    margin-top: 5px;
}

.reward-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reward-list li {
    padding: 2px 0;
}

/* Player Management Styles */
.edit-form-container {
    display: none;
    margin: 20px 0;
    padding: 20px;
    background: rgba(122, 236, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.cyber-button.small {
    padding: 5px 10px;
    font-size: 0.9em;
}

.button-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.button-group .inline-form {
    margin: 0;
}

/* Map Management Styles */
.map-container {
    max-width: 125vh;
    width: 100vw;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin: 0 auto;
}

.map-title {
    text-align: center;
    margin-bottom: 1rem;
}

#map {
    width: 100%;
    height: 80vh;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
    background: rgba(7, 9, 7, 0.8);
}

/* Map Markers */
.feature-marker {
    border-radius: 50%;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    text-align: center;
    line-height: 16px;
}

.player-marker {
    border-radius: 50%;
    width: 10px;
    height: 10px;
    background-color: #3498db;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.history-marker {
    border-radius: 50%;
    width: 6px;
    height: 6px;
    background-color: #e74c3c;
    border: 1px solid #fff;
    opacity: 0.8;
}

.player-path {
    stroke: #e74c3c;
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    opacity: 0.7;
}

/* Player Tracking Container */
.players-container {
    margin-top: 20px;
    padding: 15px;
    background: rgba(10, 15, 10, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.players-container h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: #3498db;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.player-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.player-button {
    display: inline-block;
    padding: 8px 12px;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #34495e;
    transition: all 0.2s ease;
    width: 150px;
}

.player-button:hover {
    background: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.player-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.player-last-seen {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Map Popup Button */
.button {
    display: inline-block;
    margin-top: 5px;
    padding: 3px 8px;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
}

/* Add these new modular augment bubble styles: */
.augment-bubble {
    display: inline-flex;
    flex-direction: column;
    min-width: 56px;
    max-width: 80px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    margin-right: 0.3rem;
    margin-bottom: 0.3rem;
    vertical-align: top;
}

.augment-bubble .bubble-header {
    background: rgba(0,0,0,0.18);
    padding: 0.08rem 0.2rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    color: var(--primary);
    letter-spacing: 0.05em;
    width: 100%;
}

.augment-bubble .bubble-content {
    padding: 0.18rem 0.2rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--secondary);
    width: 100%;
}

.credits-bubble {
    background: rgba(255, 215, 0, 0.13);
}

.credits-bubble .bubble-header,
.credits-bubble .bubble-content {
    color: #ffd700;
}

/* Optional: If you want all augment bubbles to line up horizontally in a flex row, add a container class: */
.augment-bubbles-row {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Challenge Feature Styles */
.challenge-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.completion-text {
    font-size: 1.1rem;
    color: var(--secondary);
}

/* Challenge Validation */
.challenge-validation .challenge-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    padding: 12px;
    background: rgba(122, 236, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.challenge-validation .challenge-item:hover {
    background: rgba(122, 236, 255, 0.05);
}

.challenge-validation .validated {
    background: rgba(0, 255, 128, 0.02);
    border-color: rgba(0, 255, 128, 0.15);
}

.challenge-validation .challenge-name {
    font-size: 1.1rem;
    color: var(--secondary);
}

.challenge-validation .validated-text {
    color: #00ff80;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.challenge-validation .cyber-button {
    padding: 5px 15px;
    font-size: 0.9rem;
}

/* Challenge List */
.challenge-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
}

.challenge-item {
    display: flex;
    gap: 15px;
    background: rgba(122, 236, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 15px;
}

.challenge-item.completed {
    background: rgba(0, 255, 128, 0.02);
    border-color: rgba(0, 255, 128, 0.15);
}

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

.challenge-header h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.completion-badge {
    color: #00ff80;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.challenge-description {
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.4;
}

.category-section {
    margin-bottom: 30px;
}

.category-title {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.challenge-photo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.challenge-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.challenge-content {
    flex-grow: 1;
}

/* Challenge Admin Styles */
.challenge-form-admin { 
    margin: 20px 0; 
    padding: 20px; 
    background: rgba(122, 236, 255, 0.02); 
    border: 1px solid var(--border-color); 
    border-radius: 4px; 
}

.challenge-list-admin { 
    margin-top: 20px; 
}

.challenge-item-admin { 
    background: rgba(122, 236, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    display: flex;
    gap: 20px;
    position: relative;
}

.challenge-header-admin {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.challenge-header-admin h3 {
    margin: 0 0 5px 0;
}

.validators-section-admin {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.current-validators-admin {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.validator-tag-admin {
    background: rgba(122, 236, 255, 0.1);
    padding: 2px 5px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
}

.remove-validator-admin {
    color: var(--danger);
    cursor: pointer;
    border: none;
    background: none;
    padding: 0 3px;
    font-size: 1.2em;
    line-height: 1;
}

.remove-validator-admin:hover {
    color: var(--danger-hover);
}

.challenge-list-admin h2 {
    margin-top: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary);
}

.challenge-category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8em;
    color: var(--secondary);
    text-transform: uppercase;
    background: rgba(122, 236, 255, 0.05);
    padding: 2px 5px;
    border-radius: 3px;
}

.challenge-photo-admin {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.challenge-photo-admin img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.challenge-photo-admin .placeholder {
    color: var(--secondary);
    font-size: 0.8em;
}

.challenge-content-admin {
    flex-grow: 1;
}

.reward-display-admin {
    background: rgba(0, 255, 255, 0.05);
    border-left: 3px solid var(--cyan);
    padding: 5px 10px;
    margin-top: 5px;
    border-radius: 0 4px 4px 0;
    font-size: 0.9em;
}

.reward-display-admin ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reward-display-admin li {
    margin-bottom: 3px;
}

.challenge-details-admin {
    font-size: 0.95em;
    line-height: 1.4;
}

.validator-form-admin {
    margin-bottom: 10px;
}

.validator-form-admin select {
    margin-right: 5px;
    min-width: 150px;
}

.json-error-admin {
    font-size: 0.8em;
    color: var(--danger);
    margin-top: 5px;
} 
