/* /Components/Features/Board/Board.razor.rz.scp.css */
/* Xiangqi Board Component - Scoped CSS Isolation (Board.razor.css)
   Phase 3: Blazor UI - Board styling with wood texture, responsive design
   Coordinate system: 10 rows x 9 columns with grid-based piece positioning
*/

/* ========================================
   BOARD CONTAINER & LAYOUT
   ======================================== */

.board-container[b-nsr8yqrrpm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    padding: 0.5rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

/* Prevent pieces from overflowing outside the board grid */
.board-grid[b-nsr8yqrrpm] {
    display: grid;
    position: relative;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(10, 1fr);
    gap: 0;
    width: 100%;
    max-width: min(90vh, 100vw, 720px);
    aspect-ratio: 9 / 10;
    background-image: url('/images/xiangqi_gmchess_wood.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #d4a574;
    border: 4px solid #5c4a3d;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
    /* Wood depth effect */
    inset 0 2px 5px rgba(0, 0, 0, 0.3), inset 0 -2px 5px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Individual board row container */
.board-row[b-nsr8yqrrpm] {
    display: contents; /* Preserve grid layout while acting as container */
}

/* ========================================
   BOARD SQUARES & INTERSECTIONS
   ======================================== */

.square[b-nsr8yqrrpm] {
    aspect-ratio: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    background-color: transparent;    

    /* Smooth transitions for all interactive states */
    transition: all 0.2s ease-in-out;
}

/* Palace area styling - handled by SVG background */
.square.palace[b-nsr8yqrrpm] {
    background-color: transparent;
}

/* Palace square hover effect */
.square.palace:hover:not(.valid-move)[b-nsr8yqrrpm] {
    background-color: rgba(255, 200, 0, 0.1);
}

/* River area styling - handled by SVG background */
.square.river[b-nsr8yqrrpm] {
    background-color: transparent;
}

/* Highlight states for interactive elements */

/* Selected piece square - bright blue highlight */
.square.selected[b-nsr8yqrrpm] {
    background-color: rgba(100, 150, 255, 0.35);
    box-shadow: 
        inset 0 0 12px rgba(100, 150, 255, 0.5),
        0 0 15px rgba(100, 150, 255, 0.4);
    animation: selectedPulse-b-nsr8yqrrpm 2s ease-in-out infinite;
}

.square.selected:hover[b-nsr8yqrrpm] {
    background-color: rgba(100, 150, 255, 0.45);
    box-shadow: 
        inset 0 0 15px rgba(100, 150, 255, 0.6),
        0 0 20px rgba(100, 150, 255, 0.5);
}

/* Last move highlighting - green background */
.square.highlighted[b-nsr8yqrrpm] {
    background-color: rgba(144, 238, 144, 0.25);
    box-shadow: inset 0 0 8px rgba(144, 238, 144, 0.4);
}

/* Valid move destination - interactive green indicator */
.square.valid-move[b-nsr8yqrrpm] {
    background-color: rgba(144, 238, 144, 0.4) !important;
    box-shadow: inset 0 0 10px rgba(76, 175, 80, 0.6);
    animation: validMovePulse-b-nsr8yqrrpm 1.5s ease-in-out infinite;
}

.square.valid-move:hover[b-nsr8yqrrpm] {
    background-color: rgba(76, 175, 80, 0.7) !important;
    transform: scale(1.05);
    box-shadow: 
        inset 0 0 15px rgba(76, 175, 80, 0.8),
        0 0 20px rgba(76, 175, 80, 0.5);
}

/* ========================================
   RIVER DECORATION & TEXT
   ======================================== */

.river-divider[b-nsr8yqrrpm] {
    /* Position overlay at the river (between rows 4-5) */
    position: absolute;
    top: 49.5%;
    left: 0em;
    transform: translateY(-50%);

    width: calc(100% - 2rem);
    height: 10%;

    display: flex;
    align-items: center;
    justify-content: space-around;
    /* Disable interaction to allow clicks to pass through to squares */
    pointer-events: none;
    z-index: 1;
    background: transparent;
    border: none;

    font-family: "LiSu", "STKaiti", serif;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.5);
    font-size: clamp(1.5rem, 5vw, 4.8rem);
    /* Responsive letter spacing scales with font */
    letter-spacing: clamp(0.2rem, 0.5vw, 0.5rem);
    margin: 0 1rem;
    white-space: nowrap;
    overflow: hidden;
}

.river-label[b-nsr8yqrrpm] {
    margin: 0 clamp(0.3rem, 1.5vw, 1.5rem);
    font-style: normal;
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.75em;
}

/* River text on board edges (vertical) */
.river-text[b-nsr8yqrrpm] {
    position: absolute;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.3);
    font-size: 0.75rem;
    letter-spacing: 0.1rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.river-text.left[b-nsr8yqrrpm] {
    right: 100%;
    margin-right: 0.3rem;
}

.river-text.right[b-nsr8yqrrpm] {
    left: 100%;
    margin-left: 0.3rem;
}

/* ========================================
   RESPONSIVE DESIGN FOR MOBILE
   ======================================== */

/* Tablet layout (1024px and down) */
@media (max-width: 1024px) {
    .board-container[b-nsr8yqrrpm] {
        width: 95vw;
        height: auto;
        padding: 0.5rem;
        max-width: 720px;
    }

    .board-grid[b-nsr8yqrrpm] {
        width: 95vw;
        max-width: min(95vw, 700px);
        border-width: 3px;
    }

    .river-divider[b-nsr8yqrrpm] {
        width: calc(100% - 1.5rem);
        font-size: clamp(1.3rem, 4.5vw, 3rem);
        letter-spacing: clamp(0.15rem, 0.35vw, 0.35rem);
        margin: 0 0.75rem;
    }

    .river-label[b-nsr8yqrrpm] {
        margin: 0 clamp(0.25rem, 1.2vw, 1rem);
        font-size: 0.75em;
    }
}

/* Mobile layout (768px and down) */
@media (max-width: 768px) {
    .board-container[b-nsr8yqrrpm] {
        width: 100%;
        height: auto;
        padding: 0.25rem;
        max-height: none;
        max-width: 600px;
    }

    .board-grid[b-nsr8yqrrpm] {
        width: 100%;
        max-width: min(95vh, 100%, 580px);
        border-width: 2px;
        gap: 0;
    }

    .square[b-nsr8yqrrpm] {
        border: none;
    }

    .river-divider[b-nsr8yqrrpm] {
        width: calc(100% - 1rem);
        height: 2rem;
        font-size: clamp(0.95rem, 3.2vw, 1.3rem);
        letter-spacing: clamp(0.1rem, 0.25vw, 0.25rem);
        margin: 0 0.5rem;
    }

    .river-label[b-nsr8yqrrpm] {
        margin: 0 clamp(0.2rem, 0.8vw, 0.5rem);
        font-size: 0.75em;
    }

    .river-text[b-nsr8yqrrpm] {
        display: none;
    }
}

/* Small mobile layout (480px and down) */
@media (max-width: 480px) {
    .board-container[b-nsr8yqrrpm] {
        width: 100%;
        height: auto;
        padding: 0.15rem;
        max-width: 100%;
        max-height: auto;
    }

    .board-grid[b-nsr8yqrrpm] {
        width: 100%;
        max-width: min(100%, 450px);
        border-width: 1.5px;
        gap: 0;
    }

    .square[b-nsr8yqrrpm] {
        border: none;
    }

    .river-divider[b-nsr8yqrrpm] {
        width: 100%;
        height: 1.2rem;
        font-size: clamp(0.7rem, 2.2vw, 0.95rem);
        letter-spacing: clamp(0.06rem, 0.15vw, 0.12rem);
        margin: 0;
        padding: 0 0.1rem;
    }

    .river-label[b-nsr8yqrrpm] {
        margin: 0 0.05rem;
        font-size: 0.75em;
    }

    .river-text[b-nsr8yqrrpm] {
        display: none;
    }

    /* Reduce padding on small devices */
    .debug-panel[b-nsr8yqrrpm] {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
}

/* Ultra small mobile layout (320px and down) */
@media (max-width: 360px) {
    .board-container[b-nsr8yqrrpm] {
        width: 100%;
        padding: 0.1rem;
    }

    .board-grid[b-nsr8yqrrpm] {
        width: 100%;
        max-width: 100%;
        border-width: 1px;
        aspect-ratio: 9 / 10;
    }

    .river-divider[b-nsr8yqrrpm] {
        width: 100%;
        height: 1rem;
        font-size: clamp(0.6rem, 1.8vw, 0.8rem);
        letter-spacing: clamp(0.04rem, 0.1vw, 0.08rem);
        margin: 0;
        padding: 0;
    }

    .river-label[b-nsr8yqrrpm] {
        margin: 0;
        font-size: 2em;
    }
}

/* Landscape orientation mobile */
@media (max-height: 600px) and (max-width: 768px) {
    .board-container[b-nsr8yqrrpm] {
        max-width: 90vh;
        padding: 0.5rem;
    }
}

/* ========================================
   DEBUG PANEL (Development Only)
   ======================================== */

.debug-panel[b-nsr8yqrrpm] {
    margin-top: 1rem;
    padding: 0.8rem;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #ccc;
    font-family: monospace;
    font-size: 0.85rem;
    max-width: 100%;
    word-break: break-word;
}

.debug-panel div[b-nsr8yqrrpm] {
    margin: 0.4rem 0;
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.debug-panel div:last-child[b-nsr8yqrrpm] {
    border-bottom: none;
    margin-bottom: 0;
}

/* ========================================
   ANIMATIONS & TRANSITIONS
   ======================================== */

/* Smooth piece movement animation */
@keyframes piecePlaced-b-nsr8yqrrpm {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.square:has(> ::ng-deep .piece)[b-nsr8yqrrpm] {
    animation: piecePlaced-b-nsr8yqrrpm 0.3s ease-out;
}

/* Pulse effect for selected piece */
@keyframes selectedPulse-b-nsr8yqrrpm {
    0%, 100% {
        box-shadow: 
            inset 0 0 12px rgba(100, 150, 255, 0.5),
            0 0 15px rgba(100, 150, 255, 0.4);
    }
    50% {
        box-shadow: 
            inset 0 0 18px rgba(100, 150, 255, 0.7),
            0 0 25px rgba(100, 150, 255, 0.6);
    }
}

/* Pulse effect for valid moves */
@keyframes validMovePulse-b-nsr8yqrrpm {
    0%, 100% {
        box-shadow: inset 0 0 8px rgba(76, 175, 80, 0.6);
    }
    50% {
        box-shadow: inset 0 0 15px rgba(76, 175, 80, 0.9);
    }
}

.square.valid-move[b-nsr8yqrrpm] {
    animation: validMovePulse-b-nsr8yqrrpm 1.5s ease-in-out infinite;
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */

@media (prefers-color-scheme: dark) {
    .board-container[b-nsr8yqrrpm] {
        background: linear-gradient(135deg, #0d0a08 0%, #1a1410 50%, #0d0a08 100%);
    }

    .square.palace[b-nsr8yqrrpm] {
        background-color: rgba(200, 150, 0, 0.05);
    }

    .square.river[b-nsr8yqrrpm] {
        background-color: rgba(100, 150, 180, 0.05);
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .board-container[b-nsr8yqrrpm] {
        background: white;
        border: 2px solid black;
        box-shadow: none;
    }

    .debug-panel[b-nsr8yqrrpm] {
        display: none;
    }

    .square.selected[b-nsr8yqrrpm],
    .square.valid-move[b-nsr8yqrrpm] {
        border: 2px solid black;
    }
}
/* /Components/Features/Board/PieceComponent.razor.rz.scp.css */
/* Xiangqi Piece Component - Scoped CSS Isolation (PieceComponent.razor.css)
   Phase 3: Blazor UI - Piece rendering with owner-specific colors and animations
*/

/* ========================================
   PIECE BASE STYLING
   ======================================== */

.piece[b-b1ldtnayrw] {
    /* Fill available space in board square */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    
    /* Enable animations */
    transition: transform 0.2s ease, filter 0.2s ease;
    transform-origin: center;
    
    /* Z-index for layering (pieces above board) */
    z-index: 1;
}

/* Piece image sizing and rendering */
.piece-image[b-b1ldtnayrw] {
    /* Scale to fit square while maintaining aspect ratio */
    width: 95%;
    height: 95%;
    object-fit: contain;
    object-position: center;
    user-select: none;
    pointer-events: none;

    /* Smooth rendering of SVG pieces */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));

    /* Enable smooth transitions */
    transition: filter 0.2s ease;
}

/* ========================================
   PIECE TYPE STYLING
   ======================================== */

/* Red pieces - warm color scheme (top side) */
.piece.red-piece .piece-image[b-b1ldtnayrw] {
    filter: drop-shadow(1px 1px 3px rgba(180, 0, 0, 0.3));
}

/* Black pieces - cool color scheme (bottom side) */
.piece.black-piece .piece-image[b-b1ldtnayrw] {
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.5));
}

/* General (King) - highlight styling */
.piece.general-piece[b-b1ldtnayrw] {
    font-weight: bold;
}

.piece.general-piece .piece-image[b-b1ldtnayrw] {
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.3));
}

/* Red General special styling */
.piece.red-piece.general-piece .piece-image[b-b1ldtnayrw] {
    filter: drop-shadow(2px 2px 5px rgba(180, 0, 0, 0.4));
}

/* Black General special styling */
.piece.black-piece.general-piece .piece-image[b-b1ldtnayrw] {
    filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.6));
}

/* Advisor - shield icon appearance */
.piece.advisor-piece .piece-image[b-b1ldtnayrw] {
    opacity: 0.95;
}

/* Elephant - distinct appearance */
.piece.elephant-piece[b-b1ldtnayrw] {
}

/* Horse (Knight) - medium emphasis */
.piece.horse-piece[b-b1ldtnayrw] {
}

/* Rook (Chariot) - strong piece, slight enhancement */
.piece.rook-piece .piece-image[b-b1ldtnayrw] {
    filter: drop-shadow(0 0 2px rgba(100, 100, 100, 0.3));
}

/* Cannon - unique piece styling */
.piece.cannon-piece[b-b1ldtnayrw] {
}

/* Pawn - simple appearance, lower opacity when not positioned */
.piece.pawn-piece .piece-image[b-b1ldtnayrw] {
    opacity: 0.9;
}

/* ========================================
   SELECTION & INTERACTION STATES
   ======================================== */

/* Selected piece - highlighted appearance */
.piece.selected-piece[b-b1ldtnayrw] {
    /* Enhanced shadow for selection */
}

.piece.selected-piece .piece-image[b-b1ldtnayrw] {
    /* Brighten selected piece */
    filter: drop-shadow(0 0 8px rgba(100, 150, 255, 0.6)) 
            drop-shadow(0 0 4px rgba(100, 150, 255, 0.8));
    opacity: 1;
}

/* Red selected piece */
.piece.red-piece.selected-piece .piece-image[b-b1ldtnayrw] {
    filter: drop-shadow(0 0 8px rgba(255, 100, 100, 0.6)) 
            drop-shadow(0 0 4px rgba(255, 100, 100, 0.8));
}

/* Black selected piece */
.piece.black-piece.selected-piece .piece-image[b-b1ldtnayrw] {
    filter: drop-shadow(0 0 8px rgba(100, 150, 255, 0.6)) 
            drop-shadow(0 0 4px rgba(100, 150, 255, 0.8));
}

/* Hover effect for playable pieces (future enhancement) */
.piece:hover:not(.selected-piece) .piece-image[b-b1ldtnayrw] {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* ========================================
   ANIMATIONS
   ======================================== */

/* Piece placement animation */
@keyframes piecePlacement-b-b1ldtnayrw {
    from {
        opacity: 0;
        transform: scale(0) rotateZ(180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotateZ(0deg);
    }
}

.piece[b-b1ldtnayrw] {
    animation: piecePlacement-b-b1ldtnayrw 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Selection highlight pulse */
@keyframes selectionPulse-b-b1ldtnayrw {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.piece.selected-piece[b-b1ldtnayrw] {
    animation: selectionPulse-b-b1ldtnayrw 1.5s ease-in-out infinite;
}

/* Piece movement animation (smooth transition between squares) */
@keyframes pieceMove-b-b1ldtnayrw {
    from {
        opacity: 0.8;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Apply movement animation on piece change */
.piece[b-b1ldtnayrw] {
    animation: pieceMove-b-b1ldtnayrw 0.3s ease-out;
}

/* ========================================
   RESPONSIVE DESIGN FOR MOBILE
   ======================================== */

/* Desktop (1024px+) */
@media (min-width: 1025px) {
    .piece-image[b-b1ldtnayrw] {
        width: 95%;
        height: 95%;
    }
}

/* Tablet (768px to 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .piece-image[b-b1ldtnayrw] {
        width: 85%;
        height: 85%;
        filter: drop-shadow(0 1.5px 3px rgba(0, 0, 0, 0.18));
    }
}

/* Mobile landscape (768px and down) */
@media (max-width: 768px) {
    .piece-image[b-b1ldtnayrw] {
        width: 85%;
        height: 85%;
        filter: drop-shadow(0 1.5px 3px rgba(0, 0, 0, 0.18));
    }

    .piece.selected-piece .piece-image[b-b1ldtnayrw] {
        filter: drop-shadow(0 0 6px rgba(100, 150, 255, 0.55)) 
                drop-shadow(0 0 3px rgba(100, 150, 255, 0.75));
    }
}

/* Mobile (480px to 768px) */
@media (max-width: 480px) and (min-width: 320px) {
    .piece-image[b-b1ldtnayrw] {
        width: 80%;
        height: 80%;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
    }

    .piece.selected-piece .piece-image[b-b1ldtnayrw] {
        filter: drop-shadow(0 0 4px rgba(100, 150, 255, 0.45));
    }

    .piece:hover:not(.selected-piece) .piece-image[b-b1ldtnayrw] {
        transform: scale(1.05);
    }
}

/* Very small phones (under 320px) */
@media (max-width: 320px) {
    .piece-image[b-b1ldtnayrw] {
        width: 75%;
        height: 75%;
        filter: drop-shadow(0 0.5px 1px rgba(0, 0, 0, 0.1));
    }
}

/* High DPI screens (retina) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .piece-image[b-b1ldtnayrw] {
        /* Slightly increase filter strength on high-resolution displays */
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
    }
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */

@media (prefers-color-scheme: dark) {
    .piece-image[b-b1ldtnayrw] {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    }

    /* Red pieces in dark mode */
    .piece.red-piece .piece-image[b-b1ldtnayrw] {
        filter: drop-shadow(1px 1px 4px rgba(255, 150, 150, 0.4));
    }

    /* Black pieces in dark mode */
    .piece.black-piece .piece-image[b-b1ldtnayrw] {
        filter: drop-shadow(1px 1px 4px rgba(100, 100, 100, 0.6));
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .piece-image[b-b1ldtnayrw] {
        filter: none;
    }

    .piece.selected-piece[b-b1ldtnayrw] {
        animation: none;
    }

    .piece.selected-piece .piece-image[b-b1ldtnayrw] {
        border: 1px solid black;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

/* Focus state for keyboard navigation */
.piece:focus-visible[b-b1ldtnayrw] {
    outline: 2px solid rgba(255, 215, 0, 0.8);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduce motion for users who prefer reduced animations */
@media (prefers-reduced-motion: reduce) {
    .piece[b-b1ldtnayrw],
    .piece-image[b-b1ldtnayrw] {
        animation: none;
        transition: none;
    }

    .piece:hover:not(.selected-piece) .piece-image[b-b1ldtnayrw] {
        transform: none;
    }

    .piece.selected-piece[b-b1ldtnayrw] {
        animation: none;
    }
}
/* /Components/Features/Controls/GameControlsComponent.razor.rz.scp.css */
/* Game Controls Component - CSS Isolation (GameControlsComponent.razor.css)
   Game control buttons: New Game, Undo, Resign
*/

.controls-panel[b-in4r4qtq3x] {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn[b-in4r4qtq3x] {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    user-select: none;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn:hover[b-in4r4qtq3x] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn:active[b-in4r4qtq3x] {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn:disabled[b-in4r4qtq3x] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* New Game Button - Green */
.btn-new-game[b-in4r4qtq3x] {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    border-color: #2e7d32;
}

.btn-new-game:hover[b-in4r4qtq3x] {
    background: linear-gradient(135deg, #66bb6a 0%, #56b456 100%);
    border-color: #1b5e20;
}

/* Undo Button - Blue */
.btn-undo[b-in4r4qtq3x] {
    background: linear-gradient(135deg, #2196f3 0%, #1e88e5 100%);
    color: white;
    border-color: #1565c0;
}

.btn-undo:hover[b-in4r4qtq3x] {
    background: linear-gradient(135deg, #42a5f5 0%, #2296f3 100%);
    border-color: #0d47a1;
}

/* Download PGN Button - Orange/Purple */
.btn-download-pgn[b-in4r4qtq3x] {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    border-color: #e65100;
}

.btn-download-pgn:hover[b-in4r4qtq3x] {
    background: linear-gradient(135deg, #ffb74d 0%, #ffa726 100%);
    border-color: #bf360c;
}

/* Resign Button - Red */
.btn-resign[b-in4r4qtq3x] {
    background: linear-gradient(135deg, #f44336 0%, #e53935 100%);
    color: white;
    border-color: #c62828;
}

.btn-resign:hover[b-in4r4qtq3x] {
    background: linear-gradient(135deg, #ef5350 0%, #e64a4a 100%);
    border-color: #b71c1c;
}

/* Focus state for accessibility */
.btn:focus-visible[b-in4r4qtq3x] {
    outline: 3px solid rgba(255, 215, 0, 0.8);
    outline-offset: 2px;
}

/* Resign Confirmation Modal */
.resign-modal[b-in4r4qtq3x] {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn-b-in4r4qtq3x 0.3s ease-out;
}

.resign-modal.show[b-in4r4qtq3x] {
    display: flex;
}

.modal-content[b-in4r4qtq3x] {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 90%;
    animation: slideUp-b-in4r4qtq3x 0.3s ease-out;
}

.modal-header[b-in4r4qtq3x] {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3[b-in4r4qtq3x] {
    margin: 0;
    color: #ffd700;
    font-size: 1.2rem;
}

.modal-close[b-in4r4qtq3x] {
    background: none;
    border: none;
    color: #999;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modal-close:hover[b-in4r4qtq3x] {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
}

.modal-body[b-in4r4qtq3x] {
    padding: 1.5rem;
    color: #e8e8e8;
    font-size: 1rem;
    line-height: 1.6;
}

.modal-body p[b-in4r4qtq3x] {
    margin: 0.5rem 0;
}

.modal-body p:first-child[b-in4r4qtq3x] {
    margin-top: 0;
}

.modal-footer[b-in4r4qtq3x] {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-footer .btn[b-in4r4qtq3x] {
    min-width: 100px;
}

.btn-secondary[b-in4r4qtq3x] {
    background: linear-gradient(135deg, #666 0%, #555 100%);
    color: white;
    border-color: #444;
}

.btn-secondary:hover[b-in4r4qtq3x] {
    background: linear-gradient(135deg, #777 0%, #666 100%);
}

.btn-danger[b-in4r4qtq3x] {
    background: linear-gradient(135deg, #f44336 0%, #e53935 100%);
    color: white;
    border-color: #c62828;
}

.btn-danger:hover[b-in4r4qtq3x] {
    background: linear-gradient(135deg, #ef5350 0%, #e64a4a 100%);
}

@keyframes fadeIn-b-in4r4qtq3x {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-in4r4qtq3x {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .controls-panel[b-in4r4qtq3x] {
        gap: 0.75rem;
    }

    .btn[b-in4r4qtq3x] {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        min-width: 100px;
    }

    .modal-content[b-in4r4qtq3x] {
        width: 95%;
        max-width: 350px;
    }

    .modal-header[b-in4r4qtq3x] {
        padding: 1.2rem;
    }

    .modal-header h3[b-in4r4qtq3x] {
        font-size: 1.1rem;
    }

    .modal-body[b-in4r4qtq3x] {
        padding: 1.2rem;
        font-size: 0.95rem;
    }

    .modal-footer[b-in4r4qtq3x] {
        padding: 1.2rem;
        flex-direction: column-reverse;
    }

    .modal-footer .btn[b-in4r4qtq3x] {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .controls-panel[b-in4r4qtq3x] {
        gap: 0.5rem;
        justify-content: stretch;
    }

    .btn[b-in4r4qtq3x] {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-width: 80px;
        flex: 1;
        min-width: auto;
    }

    .btn span[b-in4r4qtq3x] {
        display: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .btn[b-in4r4qtq3x] {
        color: white;
    }
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce) {
    .btn[b-in4r4qtq3x] {
        transition: none;
    }

    .btn:hover[b-in4r4qtq3x] {
        transform: none;
    }

    .btn:active[b-in4r4qtq3x] {
        transform: none;
    }
}

/* Print styles */
@media print {
    .controls-panel[b-in4r4qtq3x] {
        display: none;
    }
}

/* Button icon emoji sizing hint */
.btn[b-in4r4qtq3x]::before {
    margin-right: 0.25rem;
}
/* /Components/Features/Engine/EngineDebugPanel.razor.rz.scp.css */
/* Engine Debug Panel Styling
   Provides visual feedback for AI search statistics during development
   Blazor Server Version
*/

.engine-debug-panel[b-8jjndygxck] {
    background: linear-gradient(135deg, #1e1e2e 0%, #2a2a3e 100%);
    border: 2px solid #00d4ff;
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
    font-family: 'Courier New', monospace;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

.debug-header[b-8jjndygxck] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #00d4ff;
}

.debug-header h4[b-8jjndygxck] {
    margin: 0;
    color: #00d4ff;
    font-size: 16px;
    font-weight: 600;
}

.debug-status[b-8jjndygxck] {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.debug-status.searching[b-8jjndygxck] {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
}

.debug-status.idle[b-8jjndygxck] {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.stats-container[b-8jjndygxck] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Stats Grid */
.stats-grid[b-8jjndygxck] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.stat-card[b-8jjndygxck] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: default;
}

.stat-card:hover[b-8jjndygxck] {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
}

.stat-label[b-8jjndygxck] {
    font-size: 11px;
    text-transform: uppercase;
    color: #b0b0b0;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 500;
}

.stat-value[b-8jjndygxck] {
    font-size: 18px;
    font-weight: 700;
    color: #00d4ff;
    word-break: break-all;
}

.stat-value.depth-value[b-8jjndygxck] {
    color: #ff6b6b;
}

.stat-value.nodes-value[b-8jjndygxck] {
    color: #4ecdc4;
}

.stat-value.nps-value[b-8jjndygxck] {
    color: #95e1d3;
}

.stat-value.tt-rate[b-8jjndygxck] {
    color: #ffd93d;
}

.stat-value.cutoffs-value[b-8jjndygxck] {
    color: #6bcf7f;
}

.stat-value.time-value[b-8jjndygxck] {
    font-size: 13px;
    color: #a0a0a0;
}

/* Principal Variation Section */
.pv-section[b-8jjndygxck] {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 6px;
    padding: 12px;
    margin-top: 8px;
}

.pv-header[b-8jjndygxck] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: #00d4ff;
    font-weight: 600;
}

.pv-count[b-8jjndygxck] {
    background: rgba(0, 212, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #7dd3fc;
}

.pv-content[b-8jjndygxck] {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: 40px;
}

.pv-text[b-8jjndygxck] {
    display: inline-block;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #4ecdc4;
    word-break: break-all;
    color: #95e1d3;
    font-size: 12px;
    line-height: 1.4;
    white-space: pre-wrap;
}

/* Waiting State */
.waiting-section[b-8jjndygxck] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}

.waiting-text[b-8jjndygxck] {
    color: #b0b0b0;
    font-size: 13px;
    text-align: center;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .engine-debug-panel[b-8jjndygxck] {
        padding: 12px;
        margin: 8px 0;
    }

    .stats-grid[b-8jjndygxck] {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }

    .stat-card[b-8jjndygxck] {
        padding: 10px;
    }

    .stat-value[b-8jjndygxck] {
        font-size: 16px;
    }

    .debug-header[b-8jjndygxck] {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .debug-status[b-8jjndygxck] {
        padding: 3px 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .stats-grid[b-8jjndygxck] {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-label[b-8jjndygxck] {
        font-size: 10px;
    }

    .stat-value[b-8jjndygxck] {
        font-size: 14px;
    }

    .pv-content[b-8jjndygxck] {
        max-height: 50px;
    }

    .pv-text[b-8jjndygxck] {
        font-size: 11px;
    }
}

/* Dark theme animations */
@keyframes pulse-glow-b-8jjndygxck {
    0%, 100% {
        box-shadow: 0 0 8px rgba(0, 212, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 16px rgba(0, 212, 255, 0.4);
    }
}

.debug-status.searching[b-8jjndygxck] {
    animation: pulse-glow-b-8jjndygxck 1.5s ease-in-out infinite;
}

/* Print styles - hide debug panel when printing */
@media print {
    .engine-debug-panel[b-8jjndygxck] {
        display: none;
    }
}

/* /Components/Features/Feedback/MoveErrorDisplay.razor.rz.scp.css */
/* Move Error Display - CSS Isolation (MoveErrorDisplay.razor.css)
   Error message display for invalid moves
   Shows briefly then auto-dismisses
*/

.move-error-container[b-xqvrmiz0k3] {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    max-width: 90%;
    width: auto;
    min-width: 300px;
}

.move-error-alert[b-xqvrmiz0k3] {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.95) 0%, rgba(185, 28, 28, 0.95) 100%);
    border: 2px solid #dc3545;
    border-radius: 8px;
    box-shadow: 
        0 10px 30px rgba(220, 53, 69, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: slideDown-b-xqvrmiz0k3 0.3s ease-out, slideOut-b-xqvrmiz0k3 0.3s ease-in 3.7s forwards;
    backdrop-filter: blur(10px);
}

.error-icon[b-xqvrmiz0k3] {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.error-content[b-xqvrmiz0k3] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.error-title[b-xqvrmiz0k3] {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    letter-spacing: 0.3px;
}

.error-message[b-xqvrmiz0k3] {
    font-size: 0.95rem;
    color: #ffe0e0;
    line-height: 1.4;
}

.error-close[b-xqvrmiz0k3] {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    min-height: 2.2rem;
}

.error-close:hover[b-xqvrmiz0k3] {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.error-close:active[b-xqvrmiz0k3] {
    transform: scale(0.95);
}

/* Animation: Slide down from top */
@keyframes slideDown-b-xqvrmiz0k3 {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Animation: Slide out after delay */
@keyframes slideOut-b-xqvrmiz0k3 {
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

/* Responsive: Stack on mobile */
@media (max-width: 480px) {
    .move-error-container[b-xqvrmiz0k3] {
        top: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
        max-width: none;
        width: auto;
    }

    .move-error-alert[b-xqvrmiz0k3] {
        gap: 0.8rem;
        padding: 0.8rem;
    }

    .error-icon[b-xqvrmiz0k3] {
        font-size: 1.3rem;
    }

    .error-title[b-xqvrmiz0k3] {
        font-size: 0.95rem;
    }

    .error-message[b-xqvrmiz0k3] {
        font-size: 0.9rem;
    }

    .error-close[b-xqvrmiz0k3] {
        min-width: 2rem;
        min-height: 2rem;
        padding: 0.3rem 0.5rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .move-error-alert[b-xqvrmiz0k3] {
        background: linear-gradient(135deg, rgba(159, 18, 57, 0.95) 0%, rgba(120, 10, 40, 0.95) 100%);
        border-color: #ff6b6b;
    }

    .error-message[b-xqvrmiz0k3] {
        color: #ffcccc;
    }
}

/* Pulse effect when error appears */
@media (prefers-reduced-motion: no-preference) {
    .move-error-alert[b-xqvrmiz0k3] {
        animation: slideDown-b-xqvrmiz0k3 0.3s ease-out, pulse-b-xqvrmiz0k3 0.5s ease-out 0.1s;
    }
}

@keyframes pulse-b-xqvrmiz0k3 {
    0% {
        box-shadow: 
            0 10px 30px rgba(220, 53, 69, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 0 0 rgba(220, 53, 69, 0.4);
    }
    70% {
        box-shadow: 
            0 10px 30px rgba(220, 53, 69, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 
            0 10px 30px rgba(220, 53, 69, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 0 0 rgba(220, 53, 69, 0);
    }
}
/* /Components/Features/History/MoveHistoryComponent.razor.rz.scp.css */
/* Move History Component - CSS Isolation (MoveHistoryComponent.razor.css)
   Displays list of all moves made during the game
*/

.history-panel[b-48fck8ffd3] {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.history-panel h2[b-48fck8ffd3] {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: #ffd700;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 0.5rem;
}

.move-list[b-48fck8ffd3] {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.move-item[b-48fck8ffd3] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: monospace;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

/* Red player moves */
.move-item.red-move[b-48fck8ffd3] {
    border-left-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.move-item.red-move:hover[b-48fck8ffd3] {
    background: rgba(255, 107, 107, 0.15);
    transform: translateX(4px);
}

/* Black player moves */
.move-item.black-move[b-48fck8ffd3] {
    border-left-color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
}

.move-item.black-move:hover[b-48fck8ffd3] {
    background: rgba(78, 205, 196, 0.15);
    transform: translateX(4px);
}

.move-number[b-48fck8ffd3] {
    font-weight: 700;
    min-width: 2.5rem;
    color: #ffd700;
}

.move-notation[b-48fck8ffd3] {
    font-weight: 600;
    color: #e8e8e8;
    flex: 1;
}

.empty-message[b-48fck8ffd3] {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 1rem;
    list-style: none;
}

/* Scrollbar styling */
.move-list[b-48fck8ffd3]::-webkit-scrollbar {
    width: 6px;
}

.move-list[b-48fck8ffd3]::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.move-list[b-48fck8ffd3]::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.4);
    border-radius: 10px;
}

.move-list[b-48fck8ffd3]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.6);
}

/* Firefox scrollbar */
.move-list[b-48fck8ffd3] {
    scrollbar-color: rgba(255, 215, 0, 0.4) rgba(0, 0, 0, 0.2);
    scrollbar-width: thin;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .history-panel[b-48fck8ffd3] {
        padding: 0.8rem;
    }

    .history-panel h2[b-48fck8ffd3] {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .move-item[b-48fck8ffd3] {
        padding: 0.4rem;
        font-size: 0.8rem;
    }

    .move-number[b-48fck8ffd3] {
        min-width: 2rem;
    }
}

/* Print styles */
@media print {
    .history-panel[b-48fck8ffd3] {
        border: 1px solid black;
        page-break-inside: avoid;
    }

    .move-list[b-48fck8ffd3] {
        overflow: visible;
    }
}
/* /Components/Features/Status/GameStatusComponent.razor.rz.scp.css */
/* Game Status Component - CSS Isolation (GameStatusComponent.razor.css)
   Displays current game state, player, and move information
*/

.status-panel[b-u86wwpenq4] {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.status-panel h2[b-u86wwpenq4] {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: #ffd700;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 0.5rem;
}

.status-info[b-u86wwpenq4] {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.status-row[b-u86wwpenq4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-row:last-child[b-u86wwpenq4] {
    border-bottom: none;
}

.status-row .label[b-u86wwpenq4] {
    font-weight: 600;
    color: #b8b8b8;
    flex: 1;
}

.status-row .value[b-u86wwpenq4] {
    font-weight: 700;
    color: #e8e8e8;
    font-family: monospace;
}

/* Player color display */
.status-row .value.player-red[b-u86wwpenq4] {
    color: #ff6b6b;
}

.status-row .value.player-black[b-u86wwpenq4] {
    color: #4ecdc4;
}

/* Status badge styling */
.status-badge[b-u86wwpenq4] {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-badge.status-default[b-u86wwpenq4] {
    background: rgba(100, 100, 100, 0.3);
    color: #c8c8c8;
}

.status-badge.status-in-progress[b-u86wwpenq4] {
    background: rgba(76, 175, 80, 0.2);
    color: #90ee90;
}

.status-badge.status-check[b-u86wwpenq4] {
    background: rgba(255, 152, 0, 0.2);
    color: #ffb347;
    animation: pulse-b-u86wwpenq4 1s infinite;
}

.status-badge.status-ended[b-u86wwpenq4] {
    background: rgba(244, 67, 54, 0.2);
    color: #ff8888;
}

.status-badge.status-draw[b-u86wwpenq4] {
    background: rgba(156, 39, 176, 0.2);
    color: #ce93d8;
}

/* Move counter styling */
.move-counter[b-u86wwpenq4] {
    display: inline-block;
    min-width: 2.5rem;
    text-align: center;
    padding: 0.2rem 0.4rem;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 3px;
    color: #64b5f6;
    font-weight: 700;
}

/* Last move display */
.last-move[b-u86wwpenq4] {
    font-family: 'Courier New', monospace;
    color: #90ee90;
    background: rgba(144, 238, 144, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
}

/* Player indicator styling */
.player-indicator[b-u86wwpenq4] {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-weight: 700;
}

.player-indicator.player-red[b-u86wwpenq4] {
    background: rgba(255, 107, 107, 0.15);
    color: #ff8888;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.player-indicator.player-black[b-u86wwpenq4] {
    background: rgba(78, 205, 196, 0.15);
    color: #88eee0;
    border: 1px solid rgba(78, 205, 196, 0.3);
}

/* Winner display */
.status-winner[b-u86wwpenq4] {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 152, 0, 0.1) 100%);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 6px;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    animation: winnerSlideIn-b-u86wwpenq4 0.5s ease-out;
}

.status-winner .winner-icon[b-u86wwpenq4] {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.status-winner .winner-text[b-u86wwpenq4] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffd700;
    line-height: 1.4;
}

@keyframes winnerSlideIn-b-u86wwpenq4 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-b-u86wwpenq4 {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Error message display */
.status-error[b-u86wwpenq4] {
    margin-top: 1rem;
    padding: 0.8rem;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(185, 28, 28, 0.1) 100%);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 6px;
    display: flex;
    gap: 0.6rem;
    animation: errorSlideIn-b-u86wwpenq4 0.3s ease-out;
}

.status-error .error-icon[b-u86wwpenq4] {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.status-error .error-text[b-u86wwpenq4] {
    font-size: 0.9rem;
    color: #ffcccc;
    line-height: 1.4;
}

.status-error strong[b-u86wwpenq4] {
    color: #ff9999;
    display: block;
    margin-bottom: 0.2rem;
}

@keyframes errorSlideIn-b-u86wwpenq4 {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .status-panel[b-u86wwpenq4] {
        padding: 0.8rem;
    }

    .status-panel h2[b-u86wwpenq4] {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .status-row[b-u86wwpenq4] {
        padding: 0.4rem 0;
        font-size: 0.9rem;
    }
}

/* Print styles */
@media print {
    .status-panel[b-u86wwpenq4] {
        border: 1px solid black;
    }
}
/* /Components/GameLayout.razor.rz.scp.css */
/* Xiangqi Game Layout Component - Scoped CSS Isolation (GameLayout.razor.css)
   Phase 3: Blazor UI - Main layout with responsive design for desktop, tablet, and mobile
   Includes header, three-column game content area, and footer with controls
*/

/* ========================================
   LAYOUT STRUCTURE
   ======================================== */

.game-layout[b-k98tgjqf1f] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: linear-gradient(135deg, #1a1410 0%, #2d2620 50%, #1a1410 100%);
    color: #e8e8e8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
}

/* Game header */
.game-header[b-k98tgjqf1f] {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1rem 0;
}

/* Toggle button CSS từ AuthLayout được áp dụng ở đây qua scoped styles */

.game-header h1[b-k98tgjqf1f] {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.05em;
}

.game-header .subtitle[b-k98tgjqf1f] {
    margin: 0.5rem 0 0 0;
    font-size: 0.95rem;
    color: #b8b8b8;
    font-style: italic;
    letter-spacing: 0.1em;
}

/* Main content area */
.game-content[b-k98tgjqf1f] {
    display: grid;
    grid-template-columns: minmax(100px, 1fr) 2fr minmax(100px, 1fr);
    gap: 0.25rem;
    flex: 1;
    padding: 0.25rem;
    max-width: none;
    margin: 0;
    width: 100%;
    align-items: stretch;
    overflow: hidden;
}

/* Board section - center of layout */
.game-board-section[b-k98tgjqf1f] {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

/* Sidebars - left and right of board */
.game-sidebar[b-k98tgjqf1f] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.25rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: auto;
    height: 100%;
    overflow-y: auto;
    font-size: 0.85rem;
    align-self: start;
}

.sidebar-left[b-k98tgjqf1f] {
    /* Game status panel on left */
}

.sidebar-right[b-k98tgjqf1f] {
    /* Move history panel on right */
    overflow-y: auto;
    max-height: 600px;
}

/* Game footer with controls */
.game-footer[b-k98tgjqf1f] {
    padding: 0.25rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    flex-shrink: 0;
    margin-top: 0.5rem;
}


/* ========================================
   MOBILE LAYOUT (< 1024px)
   ======================================== */

@media (max-width: 1024px) {
    .game-layout[b-k98tgjqf1f] {
        height: auto;
        min-height: 100vh;
    }

    .game-header[b-k98tgjqf1f] {
        padding: 0.4rem 0.35rem;
        min-height: 45px;
        flex-shrink: 0;
    }

    .game-header h1[b-k98tgjqf1f] {
        font-size: 1.1rem;
        margin: 0;
        line-height: 1.2;
    }

    .game-header .subtitle[b-k98tgjqf1f] {
        display: none;
    }

    .game-content[b-k98tgjqf1f] {
        display: grid;
        grid-template-columns: 1fr;
        padding: 0.25rem 0;
        gap: 0;
        flex: 1;
        overflow-y: auto;
        max-height: calc(100vh - 130px);
    }

    .game-board-section[b-k98tgjqf1f] {
        order: 1;
        width: 100%;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .game-sidebar[b-k98tgjqf1f] {
        display: none;
    }

    .sidebar-left[b-k98tgjqf1f] {
        order: 2;
        display: none;
    }

    .sidebar-right[b-k98tgjqf1f] {
        order: 3;
        display: none;
    }

    .game-footer[b-k98tgjqf1f] {
        padding: 0.4rem 0.3rem;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.25rem;
        flex-shrink: 0;
        min-height: 45px;
    }
}

/* ========================================
   RESPONSIVE SIDEBARS
   ======================================== */

/* Collapsible sidebars for extra small devices */
@media (max-width: 600px) {
    .game-sidebar[b-k98tgjqf1f] {
        position: relative;
    }

    .game-sidebar[b-k98tgjqf1f]::before {
        content: '';
        position: absolute;
        top: -30px;
        left: 0;
        right: 0;
        height: 25px;
        background: rgba(0, 0, 0, 0.3);
        cursor: pointer;
    }
}

/* ========================================
   LANDSCAPE ORIENTATION
   ======================================== */

@media (max-height: 600px) and (orientation: landscape) {
    .game-header[b-k98tgjqf1f] {
        padding: 0.5rem;
    }

    .game-header h1[b-k98tgjqf1f] {
        font-size: 1.5rem;
        margin: 0;
    }

    .game-header .subtitle[b-k98tgjqf1f] {
        display: none;
    }

    .game-content[b-k98tgjqf1f] {
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .game-sidebar[b-k98tgjqf1f] {
        padding: 0.5rem;
        min-height: auto;
        max-height: 80vh;
    }

    .game-footer[b-k98tgjqf1f] {
        padding: 0.5rem;
    }
}

/* ========================================
   SCROLLBAR STYLING (Custom)
   ======================================== */

.sidebar-right[b-k98tgjqf1f]::-webkit-scrollbar {
    width: 8px;
}

.sidebar-right[b-k98tgjqf1f]::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.sidebar-right[b-k98tgjqf1f]::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.5);
    border-radius: 10px;
}

.sidebar-right[b-k98tgjqf1f]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.7);
}

/* Firefox scrollbar */
.sidebar-right[b-k98tgjqf1f] {
    scrollbar-color: rgba(255, 215, 0, 0.5) rgba(0, 0, 0, 0.2);
    scrollbar-width: thin;
}

/* ========================================
   ANIMATIONS & TRANSITIONS
   ======================================== */

.game-layout[b-k98tgjqf1f] {
    animation: fadeIn-b-k98tgjqf1f 0.5s ease-in;
}

@keyframes fadeIn-b-k98tgjqf1f {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.game-sidebar[b-k98tgjqf1f] {
    animation: slideIn-b-k98tgjqf1f 0.4s ease-out;
}

@keyframes slideIn-b-k98tgjqf1f {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */

@media (prefers-color-scheme: dark) {
    .game-layout[b-k98tgjqf1f] {
        background: linear-gradient(135deg, #0d0a08 0%, #1a1410 50%, #0d0a08 100%);
    }

    .game-sidebar[b-k98tgjqf1f] {
        background: rgba(0, 0, 0, 0.5);
        border-color: rgba(255, 255, 255, 0.05);
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

/* Focus visible for keyboard navigation */
.game-footer button:focus-visible[b-k98tgjqf1f] {
    outline: 2px solid rgba(255, 215, 0, 0.8);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    .game-header[b-k98tgjqf1f] {
        border-bottom-color: #ffd700;
    }

    .game-footer[b-k98tgjqf1f] {
        border-top-color: #ffd700;
    }

    .game-sidebar[b-k98tgjqf1f] {
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce) {
    .game-layout[b-k98tgjqf1f],
    .game-sidebar[b-k98tgjqf1f] {
        animation: none;
    }

    *[b-k98tgjqf1f] {
        transition: none !important;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .game-header[b-k98tgjqf1f],
    .game-footer[b-k98tgjqf1f] {
        background: white;
        border-color: black;
        color: black;
    }

    .game-header h1[b-k98tgjqf1f] {
        color: black;
        text-shadow: none;
    }

    .game-sidebar[b-k98tgjqf1f] {
        display: none;
    }

    .game-content[b-k98tgjqf1f] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-e6nj9mamm9] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-e6nj9mamm9] {
    flex: 1;
}

/* Remove padding from article for game pages (full viewport display) */
article.game-page[b-e6nj9mamm9] {
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar[b-e6nj9mamm9] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-e6nj9mamm9] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-e6nj9mamm9]  a, .top-row[b-e6nj9mamm9]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-e6nj9mamm9]  a:hover, .top-row[b-e6nj9mamm9]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-e6nj9mamm9]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-e6nj9mamm9] {
        justify-content: space-between;
    }

    .top-row[b-e6nj9mamm9]  a, .top-row[b-e6nj9mamm9]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-e6nj9mamm9] {
        flex-direction: row;
    }

    .sidebar[b-e6nj9mamm9] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-e6nj9mamm9] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-e6nj9mamm9]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-e6nj9mamm9], article[b-e6nj9mamm9] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    /* Remove padding from article for game pages (full viewport display) */
    article.game-page[b-e6nj9mamm9] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

#blazor-error-ui[b-e6nj9mamm9] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-e6nj9mamm9] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-r2kej7q3ne] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-r2kej7q3ne] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-r2kej7q3ne] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-r2kej7q3ne] {
    font-size: 1.1rem;
}

.bi[b-r2kej7q3ne] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-r2kej7q3ne] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-r2kej7q3ne] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-r2kej7q3ne] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-r2kej7q3ne] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-r2kej7q3ne] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-r2kej7q3ne] {
        padding-bottom: 1rem;
    }

    .nav-item[b-r2kej7q3ne]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-r2kej7q3ne]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-r2kej7q3ne]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-r2kej7q3ne] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-r2kej7q3ne] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-r2kej7q3ne] {
        display: none;
    }

    .nav-scrollable[b-r2kej7q3ne] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-lcl1u5u664],
.components-reconnect-repeated-attempt-visible[b-lcl1u5u664],
.components-reconnect-failed-visible[b-lcl1u5u664],
.components-pause-visible[b-lcl1u5u664],
.components-resume-failed-visible[b-lcl1u5u664],
.components-rejoining-animation[b-lcl1u5u664] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-lcl1u5u664],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-lcl1u5u664],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-lcl1u5u664],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-lcl1u5u664],
#components-reconnect-modal.components-reconnect-retrying[b-lcl1u5u664],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-lcl1u5u664],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-lcl1u5u664],
#components-reconnect-modal.components-reconnect-failed[b-lcl1u5u664],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-lcl1u5u664] {
    display: block;
}


#components-reconnect-modal[b-lcl1u5u664] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-lcl1u5u664 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-lcl1u5u664 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-lcl1u5u664 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-lcl1u5u664]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-lcl1u5u664 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-lcl1u5u664 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-lcl1u5u664 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-lcl1u5u664 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-lcl1u5u664] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-lcl1u5u664] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-lcl1u5u664] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-lcl1u5u664] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-lcl1u5u664] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-lcl1u5u664] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-lcl1u5u664] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-lcl1u5u664 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-lcl1u5u664] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-lcl1u5u664 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
