/* Add this to a new file called boot.css */
.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: #1a1b2e;
    color: #00ff9d;
    font-family: 'Courier New', monospace;
}

.boot-phase {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Boot Screen Styles */
.boot-content {
    width: 80%;
    max-width: 600px;
}

.elxa-logo {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 0 0 10px #00ff9d;
    animation: pulse 2s infinite;
}

.boot-message {
    font-size: 24px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.loading-bar {
    width: 100%;
    height: 20px;
    background: rgba(0, 255, 157, 0.2);
    border: 2px solid #00ff9d;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: #00ff9d;
    transition: width 0.5s ease-out;
    box-shadow: 0 0 10px #00ff9d;
}

#boot-status {
    font-size: 14px;
    opacity: 0.7;
    height: 20px;
}

/* Welcome Screen Styles */
.welcome-content {
    text-align: center;
    padding: 40px;
    background: rgba(0, 255, 157, 0.1);
    border: 2px solid #00ff9d;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
}

.welcome-logo {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00ff9d, #ff71ce);
    background-clip: text;           /* Added standard property */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 255, 157, 0.5);
}

.welcome-message {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ff71ce;
}

.welcome-version {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.7;
}

#start-button {
    background: #00ff9d;
    color: #1a1b2e;
    border: none;
    padding: 15px 40px;
    font-size: 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.4);
}

#start-button:hover {
    background: #ff71ce;
    box-shadow: 0 0 30px rgba(255, 113, 206, 0.6);
    transform: scale(1.05);
}

/* Animations */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.hidden {
    display: none !important;
}

/* Matrix-style scan lines effect */
.fullscreen::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 157, 0.1) 0px,
        rgba(0, 255, 157, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
}

/* Login Screen Styles */
.login-container {
    background: rgba(26, 27, 46, 0.8);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid #00ff9d;
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.3);
    text-align: center;
    backdrop-filter: blur(10px);
    max-width: 900px;
    width: 95%;
    position: relative;
    z-index: 5;
    margin: 0 auto;
    overflow: hidden; /* Prevent any potential overflow */
}

.user-profile {
    margin-bottom: 30px;
}


.user-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #b89fc7;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    position: relative; /* Added for absolute positioning of images */
}

.avatar-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures the image covers the area without distortion */
}

.snake-icon {
    width: 100%;
    height: 100%;
}

.user-option.selected .user-avatar {
    border-color: #ff71ce;
    box-shadow: 0 0 15px rgba(255, 113, 206, 0.4);
}

/* Preview styles in the avatar selection dialog */
.avatar-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #b89fc7;
    position: relative;
}

.avatar-preview .avatar-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure SVG avatars also display properly */
.user-avatar svg,
.avatar-preview svg {
    width: 100%;
    height: 100%;
    display: block; /* Prevents unwanted spacing */
}

.snake-body {
    animation: slither 4s infinite ease-in-out;
}

.snake-tongue {
    transform-origin: 85px 50px;
    animation: flick 0.5s infinite;
}

.user-name {
    font-size: 24px;
    color: #00ff9d;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
    margin-bottom: 10px;
}

.password-container {
    margin-bottom: 20px;
}

#password-input {
    background: rgba(0, 255, 157, 0.1);
    border: 2px solid #00ff9d;
    padding: 12px 20px;
    font-size: 18px;
    color: #00ff9d;
    border-radius: 25px;
    width: 250px;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
}

#password-input::placeholder {
    color: rgba(0, 255, 157, 0.5);
}

#password-input:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.4);
}

#login-button {
    background: #00ff9d;
    color: #1a1b2e;
    border: none;
    padding: 12px 30px;
    font-size: 18px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

#login-button:hover {
    background: #ff71ce;
    box-shadow: 0 0 20px rgba(255, 113, 206, 0.4);
    transform: scale(1.05);
}

.login-message {
    min-height: 20px;
    color: #ff71ce;
    font-size: 16px;
    margin-top: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-message.show {
    opacity: 1;
}

@keyframes slither {
    0%, 100% { d: path('M75,50 Q60,35 50,50 T25,50'); }
    50% { d: path('M75,50 Q60,65 50,50 T25,50'); }
}

@keyframes flick {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(-1); }
}

/* Add this to make the login screen use the desktop background */
#login-screen {
    position: relative;
}

#login-screen::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
}

/* Add these new styles to your boot.css file */

/* Fix white background behind user selection */
.users-list-container, 
.users-list,
.users-scroll-container,
.user-option,
.user-avatar,
.login-container {
    background: transparent !important; /* Force transparency */
}

/* Remove any potential background color from parent elements */
#login-screen,
.boot-phase,
.fullscreen {
    background-color: #1a1b2e; /* Match your dark theme background */
}

/* Update the users list container styling */
.users-list-container {
    position: relative;
    margin-bottom: 30px;
    background: transparent;
    width: 100%;
    overflow: hidden;
    padding: 20px 0; /* Add padding to prevent frame cutoff */
}

.users-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
    max-width: 100%;
    position: relative;
    padding: 0 70px;
    background: transparent;
    overflow: hidden; /* Force hide any overflow */
}

/* Add scroll arrows */
.user-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(0, 255, 157, 0.1);
    border: 2px solid #00ff9d;
    color: #00ff9d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-family: 'Courier New', monospace;
    font-size: 20px;
    transition: all 0.3s ease;
    opacity: 0.7;
    border-radius: 50%;
}

.user-scroll-left {
    left: 20px; /* Increased from 15px */
}

.user-scroll-right {
    right: 20px; /* Increased from 15px */
}

.user-scroll-arrow:hover {
    background: rgba(0, 255, 157, 0.2);
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

.user-option {
    cursor: pointer;
    padding: 10px;
    border-radius: 15px;
    transition: all 0.3s ease;
    opacity: 0.7;
    position: relative;
    z-index: 10;
    flex: 0 0 100px;
    background: transparent;
    height: 140px; /* Increased from 120px */
    margin: 0 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-option .user-name {
    font-size: 18px;
    color: #00ff9d;
    text-align: center;
    margin-top: auto; /* Add this to push the name to the bottom */
    padding-bottom: 5px; /* Add some padding at the bottom */
}

.user-option:hover, .user-option.selected {
    background: rgba(0, 255, 157, 0.1);
    opacity: 1;
    transform: scale(1.05);
    /* Remove any margin/padding changes on hover */
}

.user-option .user-avatar,
.user-option .user-name {
    pointer-events: none; /* Ensures clicks go through to the parent */
}

.user-option .user-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    background: transparent;
    flex-shrink: 0; /* Prevent shrinking */
}

/* Add animation for user switching */
@keyframes userSwitch {
    0% { transform: scale(0.95); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.user-option.selected {
    animation: userSwitch 0.3s ease forwards;
}

/* Add smooth scrolling behavior */
.users-scroll-container {
    display: flex;
    transition: transform 0.3s ease;
    gap: 20px;
    background: transparent;
    padding: 0 10px;
    overflow: visible; /* Allow the frame to be fully visible */
}

/* Remove ALL scrollbar appearances */
.users-list-container,
.users-list,
.users-scroll-container {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
    overflow: hidden !important;
}

.users-list-container::-webkit-scrollbar,
.users-list::-webkit-scrollbar,
.users-scroll-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}