/* /Components/Avatar.razor.rz.scp.css */
.avatar[b-lcgljdwsbn] {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    user-select: none;
}

.avatar-small[b-lcgljdwsbn] {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
}

.avatar-medium[b-lcgljdwsbn] {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.avatar-large[b-lcgljdwsbn] {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

.avatar-image[b-lcgljdwsbn] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-initials[b-lcgljdwsbn] {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    /* The avatar div gets box-shadow since border would cut into the gradient */
}

.avatar:has(.avatar-initials)[b-lcgljdwsbn] {
    box-shadow: 0 0 0 1px white;
}
/* /Components/ChatHeader.razor.rz.scp.css */
.chat-header[b-iviv6e0p8y] {
    background: var(--bg-header);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 0 rgba(4,4,5,0.2),0 1.5px 0 rgba(6,6,7,0.05),0 2px 0 rgba(4,4,5,0.05);
}

.chat-header h3[b-iviv6e0p8y] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.back-button[b-iviv6e0p8y] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
    flex-shrink: 0;
}

.back-button:hover[b-iviv6e0p8y] {
    background: rgba(79, 84, 92, 0.4);
    color: var(--text-primary);
}

.dm-header-title[b-iviv6e0p8y] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.dm-header-title[b-iviv6e0p8y]  .avatar {
    flex-shrink: 0;
}

.header-controls[b-iviv6e0p8y] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Mailbox button */
.mailbox-button[b-iviv6e0p8y] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.mailbox-button:hover[b-iviv6e0p8y] {
    background: rgba(79, 84, 92, 0.4);
    color: var(--text-primary);
}

.mailbox-button.has-unread[b-iviv6e0p8y] {
    color: var(--status-away);
}

.mailbox-button.has-unread:hover[b-iviv6e0p8y] {
    color: var(--status-away-hover);
}

.mailbox-badge[b-iviv6e0p8y] {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-danger);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 8px;
    min-width: 14px;
    text-align: center;
    line-height: 1.2;
}

.users-toggle[b-iviv6e0p8y] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.users-toggle:hover[b-iviv6e0p8y] {
    background: rgba(79, 84, 92, 0.4);
    color: var(--text-primary);
}

.users-toggle svg[b-iviv6e0p8y] {
    width: 20px;
    height: 20px;
}

/* Desktop: people icon, Mobile: hamburger */
.icon-hamburger[b-iviv6e0p8y] {
    display: none;
}

@media (max-width: 768px) {
    .icon-people[b-iviv6e0p8y] {
        display: none;
    }

    .icon-hamburger[b-iviv6e0p8y] {
        display: block;
    }

    .online-count[b-iviv6e0p8y] {
        display: none;
    }
}

.online-count[b-iviv6e0p8y] {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Status dropdown container */
.status-dropdown-container[b-iviv6e0p8y] {
    position: relative;
}

.status-button[b-iviv6e0p8y] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--status-online);
    border: none;
    color: var(--text-white);
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    cursor: pointer;
    transition: filter 0.2s;
}

.status-button:hover[b-iviv6e0p8y] {
    filter: brightness(1.1);
}

.status-button.status-online[b-iviv6e0p8y] {
    background: var(--status-online);
}

.status-button.status-away[b-iviv6e0p8y] {
    background: var(--status-away);
}

.status-button.status-invisible[b-iviv6e0p8y] {
    background: var(--status-invisible);
}

.status-indicator[b-iviv6e0p8y] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.status-username[b-iviv6e0p8y] {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-gear[b-iviv6e0p8y] {
    opacity: 0.7;
    margin-left: -0.125rem;
}

/* Backdrop for closing dropdown */
.dropdown-backdrop[b-iviv6e0p8y] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
}

/* Dropdown menu */
.status-dropdown[b-iviv6e0p8y] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: var(--bg-darkest);
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.24);
    min-width: 150px;
    padding: 0.375rem;
    z-index: 1000;
}

.dropdown-item[b-iviv6e0p8y] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.625rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-align: left;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.dropdown-item:hover:not(:disabled)[b-iviv6e0p8y] {
    background: rgba(79, 84, 92, 0.4);
    color: var(--text-white);
}

.dropdown-item:disabled[b-iviv6e0p8y] {
    opacity: 0.5;
    cursor: not-allowed;
}

.dropdown-item.active[b-iviv6e0p8y] {
    background: rgba(88, 101, 242, 0.2);
    color: var(--text-white);
}

.dropdown-item.signout[b-iviv6e0p8y] {
    color: var(--color-danger);
}

.dropdown-item.signout:hover[b-iviv6e0p8y] {
    background: rgba(237, 66, 69, 0.2);
    color: var(--color-danger);
}

.dropdown-divider[b-iviv6e0p8y] {
    height: 1px;
    background: var(--bg-sidebar);
    margin: 0.375rem 0;
}

/* Status dots in dropdown */
.status-dot[b-iviv6e0p8y] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.online[b-iviv6e0p8y] {
    background: var(--status-online);
}

.status-dot.away[b-iviv6e0p8y] {
    background: var(--status-away);
}

.status-dot.invisible[b-iviv6e0p8y] {
    background: var(--status-invisible);
}

/* Checkmark for active items */
.checkmark[b-iviv6e0p8y] {
    margin-left: auto;
    color: var(--status-online);
    font-weight: 600;
}

@media (max-width: 600px) {
    .chat-header[b-iviv6e0p8y] {
        padding: 0.75rem 1rem;
    }

    .chat-header h3[b-iviv6e0p8y] {
        font-size: 1.25rem;
    }

    .status-username[b-iviv6e0p8y] {
        max-width: 80px;
    }
}
/* /Components/ChatSidebar.razor.rz.scp.css */
/* Desktop: always visible */
.users-sidebar[b-l97ijzk6hg] {
    width: 240px;
    background: var(--bg-sidebar);
    padding: 1rem;
    overflow: hidden;
}

/* Mobile: slide-in overlay */
@media (max-width: 768px) {
    .users-sidebar[b-l97ijzk6hg] {
        position: fixed;
        right: 0;
        top: 41px;
        height: calc(100vh - 41px);
        transform: translateX(100%);
        transition: transform 0.2s ease;
        z-index: 99;
    }

    .users-sidebar.sidebar-open[b-l97ijzk6hg] {
        transform: translateX(0);
    }
}

/* Sidebar sections */
.sidebar-section[b-l97ijzk6hg] {
    margin-bottom: 1.5rem;
}

.sidebar-section h4[b-l97ijzk6hg] {
    color: var(--text-tertiary);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
}

/* Rooms list */
.rooms-list[b-l97ijzk6hg] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.room-item[b-l97ijzk6hg] {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 1rem;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.15s;
}

.room-item:hover[b-l97ijzk6hg] {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.room-item.active[b-l97ijzk6hg] {
    background: var(--bg-secondary);
    color: var(--text-white);
}

.room-icon[b-l97ijzk6hg] {
    font-size: 1.25rem;
    margin-right: 0.5rem;
    color: var(--text-placeholder);
    font-weight: 500;
}

.room-item.active .room-icon[b-l97ijzk6hg],
.room-item:hover .room-icon[b-l97ijzk6hg] {
    color: var(--text-primary);
}

.room-name[b-l97ijzk6hg] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.room-settings[b-l97ijzk6hg] {
    background: transparent;
    border: none;
    color: var(--text-placeholder);
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
    border-radius: 3px;
    opacity: 0;
    transition: all 0.15s;
    display: flex;
    align-items: center;
}

.room-item:hover .room-settings[b-l97ijzk6hg] {
    opacity: 1;
}

.room-settings-spacer[b-l97ijzk6hg],
.room-item:hover .room-settings-spacer[b-l97ijzk6hg] {
    visibility: hidden;
}

.room-settings:hover[b-l97ijzk6hg] {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.room-item.add-room[b-l97ijzk6hg] {
    color: var(--color-success);
}

.room-item.add-room:hover[b-l97ijzk6hg] {
    background: rgba(59, 165, 92, 0.1);
}

.room-item.add-room .room-icon[b-l97ijzk6hg] {
    color: var(--color-success);
}

/* Users list */
.users-list[b-l97ijzk6hg] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-item[b-l97ijzk6hg] {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 1rem;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.15s;
}

.user-item:hover[b-l97ijzk6hg] {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.user-item.current-user[b-l97ijzk6hg] {
    color: var(--text-white);
    cursor: default;
}

.user-item.current-user:hover[b-l97ijzk6hg] {
    background: transparent;
}

.user-item.active-dm[b-l97ijzk6hg] {
    background: var(--bg-secondary);
    color: var(--text-white);
}

.user-name[b-l97ijzk6hg] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* User status dot */
.user-status-dot[b-l97ijzk6hg] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.user-status-dot.online[b-l97ijzk6hg] {
    background: var(--status-online);
}

.user-status-dot.away[b-l97ijzk6hg] {
    background: var(--status-away);
}

.user-status-dot.invisible[b-l97ijzk6hg] {
    background: var(--status-invisible);
}

/* Admin badge */
.admin-badge[b-l97ijzk6hg] {
    margin-left: 0.25rem;
    opacity: 0.8;
}

/* Bot badge */
.bot-badge[b-l97ijzk6hg] {
    margin-left: 0.25rem;
    opacity: 0.8;
}

/* Room unread dot */
.room-unread-dot[b-l97ijzk6hg] {
    width: 8px;
    height: 8px;
    background: var(--text-primary);
    border-radius: 50%;
    margin-left: 0.25rem;
    flex-shrink: 0;
}

.room-item.has-unread[b-l97ijzk6hg] {
    color: var(--text-primary);
}

/* DM unread badge */
.dm-unread-badge[b-l97ijzk6hg] {
    background: var(--color-danger);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}
/* /Components/EmojiPicker.razor.rz.scp.css */
.emoji-picker[b-hnilkmjlme] {
    display: flex;
    flex-direction: row;
    width: 460px;
    height: min(450px, calc(100vh - 130px));
    background: var(--bg-sidebar);
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.24);
    overflow: hidden;
    z-index: 1000;
}

/* Left sidebar with category icons */
.emoji-sidebar[b-hnilkmjlme] {
    display: flex;
    flex-direction: column;
    width: 40px;
    padding: 6px 4px;
    gap: 2px;
    background: var(--bg-header);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-shrink: 0;
}

.emoji-sidebar[b-hnilkmjlme]::-webkit-scrollbar {
    display: none;
}

.category-btn[b-hnilkmjlme] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.5;
    transition: opacity 0.15s, background-color 0.15s;
}

.category-btn:hover[b-hnilkmjlme] {
    opacity: 1;
    background: var(--bg-input);
}

.category-btn.active[b-hnilkmjlme] {
    opacity: 1;
    background: var(--bg-input);
}

/* Right scrollable content area */
.emoji-content[b-hnilkmjlme] {
    flex: 1;
    overflow-y: auto;
    min-width: 0;
}

/* Search input */
.emoji-search[b-hnilkmjlme] {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 8px 8px 4px;
    background: var(--bg-sidebar);
    display: flex;
    align-items: center;
    gap: 4px;
}

.emoji-search input[b-hnilkmjlme] {
    flex: 1;
    padding: 6px 10px;
    border: none;
    border-radius: 4px;
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
    box-sizing: border-box;
    min-width: 0;
}

.emoji-search input[b-hnilkmjlme]::placeholder {
    color: var(--text-placeholder);
}

.emoji-search-clear[b-hnilkmjlme] {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
}

.emoji-search-clear:hover[b-hnilkmjlme] {
    color: var(--text-primary);
    background: var(--bg-input);
}

.emoji-content[b-hnilkmjlme]::-webkit-scrollbar {
    width: 8px;
}

.emoji-content[b-hnilkmjlme]::-webkit-scrollbar-track {
    background: transparent;
}

.emoji-content[b-hnilkmjlme]::-webkit-scrollbar-thumb {
    background: var(--bg-header);
    border-radius: 4px;
}

/* Each category section */
.emoji-section[b-hnilkmjlme] {
    /* No extra spacing needed — header + grid handle it */
}

/* Sticky category header */
.section-header[b-hnilkmjlme] {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 6px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: var(--bg-sidebar);
    letter-spacing: 0.02em;
}

/* Emoji grid within each section */
.emoji-grid[b-hnilkmjlme] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 4px 6px 8px;
    align-content: flex-start;
}

.emoji-btn[b-hnilkmjlme] {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s, transform 0.1s;
    flex-shrink: 0;
}

.emoji-btn:hover[b-hnilkmjlme] {
    background: var(--bg-input);
    transform: scale(1.1);
}

/* Override inline 18px from forceSmall */
.emoji-btn[b-hnilkmjlme]  .emoji {
    width: 40px !important;
    height: 40px !important;
}

.emoji-empty[b-hnilkmjlme] {
    width: 100%;
    text-align: center;
    color: var(--text-placeholder);
    padding: 2rem;
    font-size: 0.875rem;
}

/* Mobile adjustments - match parent's 600px breakpoint */
@media (max-width: 600px) {
    .emoji-sidebar[b-hnilkmjlme] {
        width: 36px;
    }

    .category-btn[b-hnilkmjlme] {
        width: 28px;
        height: 28px;
    }

    .emoji-btn[b-hnilkmjlme] {
        width: 36px;
        height: 36px;
    }

    .emoji-btn[b-hnilkmjlme]  .emoji {
        width: 28px !important;
        height: 28px !important;
    }
}
/* /Components/ImageGalleryModal.razor.rz.scp.css */
.image-modal[b-m9fvu9z89i] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.image-modal img[b-m9fvu9z89i],
.image-modal .modal-video[b-m9fvu9z89i] {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    cursor: default;
}

.modal-close[b-m9fvu9z89i] {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.modal-close:hover[b-m9fvu9z89i] {
    background: rgba(255, 255, 255, 0.2);
}

.modal-nav[b-m9fvu9z89i] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.modal-nav:hover[b-m9fvu9z89i] {
    background: rgba(255, 255, 255, 0.25);
}

.modal-nav.prev[b-m9fvu9z89i] {
    left: 20px;
}

.modal-nav.next[b-m9fvu9z89i] {
    right: 20px;
}

.modal-counter[b-m9fvu9z89i] {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}
/* /Components/Layout/ChatLayout.razor.rz.scp.css */
.chat-container[b-5ysvdl9h6i] {
    height: 100vh; /* fallback for older browsers */
    height: 100svh; /* small viewport height - consistent on mobile */
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    overflow: hidden;
}

.header-line[b-5ysvdl9h6i] {
    width: 100%;
    height: 3px;
    display: block;
    flex-shrink: 0;
    image-rendering: auto;
    object-fit: fill;
}

.chat-main[b-5ysvdl9h6i] {
    flex: 1;
    display: flex;
    overflow: hidden;
    min-width: 0; /* Allow flex item to shrink below content size */
}

.messages-container[b-5ysvdl9h6i] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    position: relative;
    min-width: 0; /* Allow flex item to shrink below content size */
    overflow: hidden;
}

/* Messages area - use ::deep to style page content */
[b-5ysvdl9h6i] .messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0 0.25rem 0;
    display: flex;
    flex-direction: column;
    min-width: 0; /* Allow flex item to shrink below content size */
}

/* Hide message action popups when scroll-dismissing on mobile */
[b-5ysvdl9h6i] .messages.scroll-dismissing .message-actions {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Spacer pushes messages to bottom when few messages */
[b-5ysvdl9h6i] .messages-spacer {
    flex: 1 1 auto;
}

/* Scrollbar styling */
[b-5ysvdl9h6i] .messages::-webkit-scrollbar {
    width: 16px;
}

[b-5ysvdl9h6i] .messages::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 8px;
}

[b-5ysvdl9h6i] .messages::-webkit-scrollbar-thumb {
    background: var(--bg-header);
    border: 4px solid var(--bg-primary);
    border-radius: 8px;
}

[b-5ysvdl9h6i] .messages::-webkit-scrollbar-thumb:hover {
    background: var(--bg-darkest);
}

/* System messages (for DM notice) */
[b-5ysvdl9h6i] .system-message {
    text-align: center;
    margin: 0 !important;
    padding: 0.0625rem 1rem !important;
}

[b-5ysvdl9h6i] .system-message .message-content {
    display: inline-block;
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.8125rem;
    padding: 0;
    background: transparent;
    line-height: 1.4;
}

/* Loading indicator for infinite scroll */
[b-5ysvdl9h6i] .loading-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

[b-5ysvdl9h6i] .loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--bg-muted);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin-b-5ysvdl9h6i 0.8s linear infinite;
}

@keyframes spin-b-5ysvdl9h6i {
    to { transform: rotate(360deg); }
}

/* History start message */
[b-5ysvdl9h6i] .history-start {
    text-align: center;
    padding: 1rem;
    color: var(--text-placeholder);
    font-size: 0.875rem;
    font-weight: 600;
}


/* Backdrop for mobile sidebar */
.sidebar-backdrop[b-5ysvdl9h6i] {
    display: none;
}

@media (max-width: 768px) {
    .sidebar-backdrop.show[b-5ysvdl9h6i] {
        display: block;
        position: fixed;
        top: 41px;
        left: 0;
        right: 0;
        bottom: 0;
        background: transparent;
        z-index: 98;
    }

    .chat-main[b-5ysvdl9h6i] {
        width: 100%;
    }
}

/* Error boundary content */
.error-content[b-5ysvdl9h6i] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.error-content h3[b-5ysvdl9h6i] {
    color: var(--color-danger);
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.error-content p[b-5ysvdl9h6i] {
    color: var(--text-muted);
    margin: 0 0 1.5rem 0;
    font-size: 0.875rem;
    max-width: 400px;
}

.error-retry-button[b-5ysvdl9h6i],
.error-reload-button[b-5ysvdl9h6i] {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0 0.25rem;
    transition: background-color 0.15s ease;
}

.error-retry-button[b-5ysvdl9h6i] {
    background: var(--accent-primary);
    color: white;
}

.error-retry-button:hover[b-5ysvdl9h6i] {
    background: var(--accent-hover);
}

.error-reload-button[b-5ysvdl9h6i] {
    background: var(--bg-input);
    color: var(--text-primary);
}

.error-reload-button:hover[b-5ysvdl9h6i] {
    background: var(--bg-muted);
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-67qt6x78as] {
    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-67qt6x78as] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* =============================================================================
   RECONNECTION BANNER STYLES (.NET 10)
   =============================================================================
   Discord-style top banner for connection status. Non-blocking UI that
   allows users to still see the chat content behind it.

   States (CSS classes applied by Blazor):
   - components-reconnect-show: First reconnection attempt
   - components-reconnect-retrying: Subsequent attempts with countdown
   - components-reconnect-failed: All retries exhausted (manual action needed)
   - components-reconnect-paused: Circuit paused by server
   - components-reconnect-resume-failed: Resume attempt failed

   The banner slides down from the top when visible and slides back up when hidden.
   ============================================================================= */

/* =============================================================================
   DEFAULT STATE: Hidden
   ============================================================================= */

/* Hide the banner by default - positioned above viewport */
#components-reconnect-modal[b-79ihxbgqkf] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    /* Hidden by default - use both visibility and transform */
    visibility: hidden;
    transform: translateY(calc(-100% - 10px));
    /*
     * IMPORTANT: Blazor uses visibility transition to control when the UI appears.
     * Default is 500ms delay. Set to 0ms to appear immediately when connection lost.
     */
    transition: visibility 0s linear 0ms;
}

/* Hide ALL state-specific content by default (including dots) */
.components-reconnect-first-attempt-visible[b-79ihxbgqkf],
.components-reconnect-repeated-attempt-visible[b-79ihxbgqkf],
.components-reconnect-failed-visible[b-79ihxbgqkf],
.components-pause-visible[b-79ihxbgqkf],
.components-resume-failed-visible[b-79ihxbgqkf],
.reconnect-dots[b-79ihxbgqkf] {
    display: none !important;
}

/* =============================================================================
   VISIBLE STATES: Show banner
   ============================================================================= */

/* Show banner when any "active" state is applied */
#components-reconnect-modal.components-reconnect-show[b-79ihxbgqkf],
#components-reconnect-modal.components-reconnect-retrying[b-79ihxbgqkf],
#components-reconnect-modal.components-reconnect-failed[b-79ihxbgqkf],
#components-reconnect-modal.components-reconnect-paused[b-79ihxbgqkf],
#components-reconnect-modal.components-reconnect-resume-failed[b-79ihxbgqkf] {
    visibility: visible;
    transform: translateY(0);
}

/* =============================================================================
   STATE-SPECIFIC CONTENT VISIBILITY
   Use high specificity to override the !important above
   ============================================================================= */

/* Show state: "Reconnecting to server..." - but NOT if also retrying */
#components-reconnect-modal.components-reconnect-show:not(.components-reconnect-retrying):not(.components-reconnect-failed) .components-reconnect-first-attempt-visible[b-79ihxbgqkf],
#components-reconnect-modal.components-reconnect-show:not(.components-reconnect-retrying):not(.components-reconnect-failed) .reconnect-dots[b-79ihxbgqkf] {
    display: inline-flex !important;
}

/* Retrying state: "Connection lost. Retrying in Xs..." */
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-79ihxbgqkf],
#components-reconnect-modal.components-reconnect-retrying .reconnect-dots[b-79ihxbgqkf] {
    display: inline-flex !important;
}

/* Paused state: "Session paused. Resuming..." */
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-79ihxbgqkf],
#components-reconnect-modal.components-reconnect-paused .reconnect-dots[b-79ihxbgqkf] {
    display: inline-flex !important;
}

/* Failed state: "Connection failed. [Retry Now]" - NO dots */
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-79ihxbgqkf] {
    display: inline !important;
}

/* Resume failed state: "Failed to resume session. [Reload Page]" - NO dots */
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-79ihxbgqkf] {
    display: inline !important;
}

/* =============================================================================
   BANNER STYLING
   ============================================================================= */

/* Banner content container - Discord-style yellow/orange warning */
.reconnect-banner-content[b-79ihxbgqkf] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    /* Discord-style warning yellow/orange - uses status-away color */
    background: linear-gradient(135deg, var(--status-away) 0%, #f57731 100%);
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    /* Subtle shadow for depth */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* =============================================================================
   ANIMATED DOTS
   ============================================================================= */

/* Container for the loading dots */
.reconnect-dots[b-79ihxbgqkf] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Individual dot styling */
.reconnect-dots .dot[b-79ihxbgqkf] {
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    animation: reconnect-dot-pulse-b-79ihxbgqkf 1.4s ease-in-out infinite both;
}

/* Stagger the animation for each dot */
.reconnect-dots .dot:nth-child(1)[b-79ihxbgqkf] {
    animation-delay: 0s;
}

.reconnect-dots .dot:nth-child(2)[b-79ihxbgqkf] {
    animation-delay: 0.2s;
}

.reconnect-dots .dot:nth-child(3)[b-79ihxbgqkf] {
    animation-delay: 0.4s;
}

/* Dot pulse animation */
@keyframes reconnect-dot-pulse-b-79ihxbgqkf {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    40% {
        opacity: 1;
        transform: scale(1);
    }
}

/* =============================================================================
   BUTTONS
   ============================================================================= */

/* Retry and Reload buttons */
#components-reconnect-modal button[b-79ihxbgqkf] {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
    margin-left: 0.5rem;
}

#components-reconnect-modal button:hover[b-79ihxbgqkf] {
    background-color: rgba(255, 255, 255, 0.3);
}

#components-reconnect-modal button:active[b-79ihxbgqkf] {
    background-color: rgba(255, 255, 255, 0.4);
}

/* =============================================================================
   COUNTDOWN STYLING
   ============================================================================= */

/* Make the countdown number slightly emphasized */
#components-seconds-to-next-attempt[b-79ihxbgqkf] {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
/* /Components/LinkPreviewCard.razor.rz.scp.css */
.link-preview-card[b-k0xeb4w75l] {
    display: flex;
    gap: 16px;
    max-width: 520px;
    margin-top: 4px;
    padding: 12px 16px;
    background: var(--bg-sidebar);
    border-left: 4px solid var(--accent-primary);
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: background 0.15s;
}

.link-preview-card:hover[b-k0xeb4w75l] {
    background: var(--bg-hover);
}

.link-preview-content[b-k0xeb4w75l] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.link-preview-site[b-k0xeb4w75l] {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.link-preview-title[b-k0xeb4w75l] {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-focus);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.link-preview-card:hover .link-preview-title[b-k0xeb4w75l] {
    text-decoration: underline;
}

.link-preview-description[b-k0xeb4w75l] {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.link-preview-thumbnail[b-k0xeb4w75l] {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
}

.link-preview-thumbnail img[b-k0xeb4w75l] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 600px) {
    .link-preview-card[b-k0xeb4w75l] {
        max-width: 100%;
    }

    .link-preview-thumbnail[b-k0xeb4w75l] {
        width: 60px;
        height: 60px;
    }
}
/* /Components/MediaPlayer.razor.rz.scp.css */
.media-player-container[b-1q238558gr] {
    max-width: 520px;
    margin-top: 4px;
    border-radius: 8px;
    overflow: hidden;
}

.cached-video-player[b-1q238558gr] {
    width: 100%;
    max-height: 400px;
    border-radius: 8px;
    background: #000;
    display: block;
}

.cached-audio-player[b-1q238558gr] {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--bg-sidebar);
    border-radius: 8px;
    align-items: center;
}

.audio-thumbnail[b-1q238558gr] {
    width: 64px;
    height: 64px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.audio-info[b-1q238558gr] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.audio-title[b-1q238558gr] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.audio-site[b-1q238558gr] {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.audio-element[b-1q238558gr] {
    width: 100%;
    height: 32px;
    margin-top: 4px;
}

@media (max-width: 600px) {
    .media-player-container[b-1q238558gr] {
        max-width: 100%;
    }

    .audio-thumbnail[b-1q238558gr] {
        width: 48px;
        height: 48px;
    }
}
/* /Components/MessageInput.razor.rz.scp.css */
/* Reply bar above message input */
.reply-bar[b-36jla8vlnc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    margin: 0 8px;
    background: var(--bg-sidebar);
    border-radius: 8px 8px 0 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.reply-bar-text[b-36jla8vlnc] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reply-bar-close[b-36jla8vlnc] {
    background: transparent;
    border: none;
    color: var(--text-placeholder);
    cursor: pointer;
    padding: 2px 6px;
    font-size: 1rem;
    flex-shrink: 0;
}

.reply-bar-close:hover[b-36jla8vlnc] {
    color: var(--text-primary);
}

.message-input-container[b-36jla8vlnc] {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 0.25rem;
    width: 100%;
    padding: 4px 8px 16px;
    background: var(--bg-primary);
    transition: background-color 0.2s, box-shadow 0.2s;
    position: relative;
}

/* When reply bar is shown, connect input visually */
.message-input-container.has-reply-bar[b-36jla8vlnc] {
    padding-top: 0;
}

.message-input-container.has-reply-bar .message-input[b-36jla8vlnc] {
    border-radius: 0 0 8px 8px;
}

/* Keep some breathing room between textarea and the buttons */
.message-input[b-36jla8vlnc] {
    margin-right: 0.25rem;
}

.message-input-container.drag-over[b-36jla8vlnc] {
    background: var(--bg-secondary);
    box-shadow: inset 0 0 0 2px var(--accent-primary);
}

.message-input-container.drag-over[b-36jla8vlnc]::after {
    content: "Drop images here";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 500;
    pointer-events: none;
}

.message-input[b-36jla8vlnc] {
    flex: 1 1 0%;
    min-width: 0;
    padding: 0.6875rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: var(--bg-input);
    color: var(--text-primary);
    word-break: break-word;
    overflow-wrap: break-word;
    resize: none;
    min-height: 44px;
    max-height: 200px;
    overflow-y: auto;
    line-height: 1.375;
    font-family: inherit;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-appearance: none;
}

.message-input[b-36jla8vlnc]::-webkit-scrollbar {
    display: none;
}

.message-input:focus[b-36jla8vlnc] {
    outline: none;
}

.message-input[b-36jla8vlnc]::placeholder {
    color: var(--text-placeholder);
}

.send-button[b-36jla8vlnc] {
    position: relative;
    z-index: 1000; /* Above emoji-picker-backdrop (999) so send works with picker open */
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--accent-primary);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
}

.send-button:hover:not(:disabled)[b-36jla8vlnc] {
    background: var(--accent-hover);
}

.send-button:disabled[b-36jla8vlnc],
.send-button.disabled[b-36jla8vlnc] {
    background: var(--bg-muted);
    opacity: 0.5;
    cursor: not-allowed;
}

/* Image upload button */
.image-upload-button[b-36jla8vlnc] {
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: color 0.2s;
}

.image-upload-button:hover[b-36jla8vlnc] {
    color: var(--text-primary);
}

/* Emoji toggle button */
.emoji-toggle-wrapper[b-36jla8vlnc] {
    position: relative;
    margin-left: -0.5rem;
}

.emoji-toggle-button[b-36jla8vlnc] {
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

/* Sprite icon: 960x192 source, 48px cells, displayed at 22px
   Scale: 22/48 = 0.4583x -> sprite display size: 440px x 88px */
.emoji-toggle-icon[b-36jla8vlnc] {
    display: block;
    width: 22px;
    height: 22px;

    /* Grey state: silhouette sprite as mask, filled with grey */
    -webkit-mask-image: url(/emoji_selection_greys.png);
    mask-image: url(/emoji_selection_greys.png);
    -webkit-mask-size: 440px 88px;
    mask-size: 440px 88px;
    -webkit-mask-position: calc(var(--grey-col) * -22px) calc(var(--grey-row) * -22px);
    mask-position: calc(var(--grey-col) * -22px) calc(var(--grey-row) * -22px);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: var(--text-secondary);

    /* Preload color sprite to avoid flash on first hover */
    background-image: url(/emoji_selection_color.png);
    background-size: 0;
}

.emoji-toggle-button:hover .emoji-toggle-icon[b-36jla8vlnc],
.emoji-toggle-button.active .emoji-toggle-icon[b-36jla8vlnc] {
    /* Color state: remove mask, show color sprite */
    -webkit-mask-image: none;
    mask-image: none;
    background-color: transparent;
    background-image: url(/emoji_selection_color.png);
    background-size: 440px 88px;
    background-position: calc(var(--color-col) * -22px) calc(var(--color-row) * -22px);
    background-repeat: no-repeat;
}

/* Emoji picker positioned above the button */
.emoji-picker-container[b-36jla8vlnc] {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 8px;
    z-index: 1000;
}

/* Invisible backdrop to catch outside clicks */
.emoji-picker-backdrop[b-36jla8vlnc] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
}

/* Typing indicator styles */
.typing-indicator-container[b-36jla8vlnc] {
    height: 18px;
    background: var(--bg-primary);
    overflow: hidden;
}

.typing-indicator[b-36jla8vlnc] {
    height: 100%;
    padding: 0 1rem;
    display: flex;
    align-items: flex-end;
    font-size: 12px;
    animation: fadeIn-b-36jla8vlnc 0.2s ease;
}

.typing-dots[b-36jla8vlnc] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    animation: fadeIn-b-36jla8vlnc 0.3s ease;
}

.typing-dots .dot[b-36jla8vlnc] {
    width: 6px;
    height: 6px;
    background-color: var(--text-placeholder);
    border-radius: 50%;
    animation: discordBounce-b-36jla8vlnc 1.4s infinite ease-in-out;
}

.typing-dots .dot:nth-child(1)[b-36jla8vlnc] {
    animation-delay: -0.32s;
}

.typing-dots .dot:nth-child(2)[b-36jla8vlnc] {
    animation-delay: -0.16s;
}

.typing-dots .dot:nth-child(3)[b-36jla8vlnc] {
    animation-delay: 0s;
}

/* Upload progress bar */
.upload-progress-row[b-36jla8vlnc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    color: var(--accent-primary);
}

.upload-progress-track[b-36jla8vlnc] {
    height: 4px;
    background: var(--bg-muted);
    border-radius: 2px;
    overflow: hidden;
    flex: 1;
    min-width: 60px;
}

.upload-progress-fill[b-36jla8vlnc] {
    display: block;
    height: 100%;
    width: 0;
    background: var(--accent-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.upload-progress-text[b-36jla8vlnc] {
    color: var(--accent-light, #b0b6fc);
    font-size: 0.8125rem;
    white-space: nowrap;
}

@keyframes discordBounce-b-36jla8vlnc {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

@keyframes fadeIn-b-36jla8vlnc {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .message-input-container[b-36jla8vlnc] {
        padding: 4px 8px 16px;
        gap: 0;
    }

    .message-input[b-36jla8vlnc] {
        margin-right: 0.125rem;
    }

    .typing-indicator-container[b-36jla8vlnc] {
        height: 18px;
    }

    .typing-indicator[b-36jla8vlnc] {
        font-size: 12px;
        padding: 0 0.5rem;
    }

    .message-input[b-36jla8vlnc] {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .image-upload-button[b-36jla8vlnc] {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }

    .send-button[b-36jla8vlnc] {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }

    .emoji-toggle-button[b-36jla8vlnc] {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }

    .emoji-picker-container[b-36jla8vlnc] {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        margin-bottom: 0;
    }

    .emoji-picker-container[b-36jla8vlnc]  .emoji-picker {
        width: 100%;
        height: 50vh;
        max-height: 400px;
        border-radius: 12px 12px 0 0;
    }

    .emoji-picker-backdrop[b-36jla8vlnc] {
        background: rgba(0, 0, 0, 0.5);
    }

    /* Push input above the fixed emoji picker so it stays visible */
    .message-input-container.emoji-open[b-36jla8vlnc] {
        margin-bottom: min(50vh, 400px);
    }
}

/* Warning modal */
.warning-modal-backdrop[b-36jla8vlnc] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.warning-modal[b-36jla8vlnc] {
    position: relative;
    background: var(--bg-sidebar);
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.warning-modal-close[b-36jla8vlnc] {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--text-placeholder);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.15s;
}

.warning-modal-close:hover[b-36jla8vlnc] {
    color: var(--text-primary);
}

.warning-modal-title[b-36jla8vlnc] {
    margin: 0 0 0.5rem 0;
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 600;
}

.warning-modal-message[b-36jla8vlnc] {
    margin: 0 0 1.25rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.4;
}

.warning-modal-button[b-36jla8vlnc] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--accent-primary);
    color: var(--text-white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s;
}

.warning-modal-button:hover[b-36jla8vlnc] {
    background: var(--accent-hover);
}

/* Read-only channel bar */
.readonly-bar[b-36jla8vlnc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin: 0 8px 16px;
    background: var(--bg-input);
    border-radius: 8px;
    color: var(--text-placeholder);
    font-size: 0.875rem;
}

.readonly-bar svg[b-36jla8vlnc] {
    flex-shrink: 0;
    opacity: 0.6;
}
/* /Components/MessageItem.razor.rz.scp.css */
/* Message group container - Discord-style with avatar on left */
.message-group[b-a8g17rct63] {
    display: flex;
    gap: 1rem;
    padding: 0.125rem 1rem 0.125rem calc(1rem + 40px + 1rem); /* Always reserve avatar space on left */
    position: relative;
    min-width: 0;
    max-width: 100%;
}

.message-group:hover:not(.system-message)[b-a8g17rct63] {
    background: var(--bg-hover);
}

/* Messages with header show avatar in the reserved space */
.message-group.has-header[b-a8g17rct63] {
    padding-left: 1rem;
    margin-top: 1.0625rem;
    padding-top: 0.25rem;
}

/* Reply messages: flex-wrap so reply-preview takes its own row above avatar+body */
.message-group.has-reply[b-a8g17rct63] {
    flex-wrap: wrap;
    row-gap: 0;
}

/* Reply preview - full-width first row, indented to align with message text */
.reply-preview[b-a8g17rct63] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    padding-left: calc(40px + 1rem); /* avatar + gap */
    margin-bottom: 0.25rem;
}

.reply-preview:hover .reply-author[b-a8g17rct63] {
    text-decoration: underline;
}

/* Small avatar in reply preview */
.reply-preview[b-a8g17rct63]  .avatar {
    width: 16px !important;
    height: 16px !important;
    font-size: 0.45rem !important;
    flex-shrink: 0;
}

.reply-author[b-a8g17rct63] {
    font-weight: 600;
    color: var(--text-white);
    flex-shrink: 0;
}

.reply-text[b-a8g17rct63] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*
 * Connector: curves from reply-preview down to the main avatar.
 *        ╭── [16px] @name  text
 *        │
 * [40px]  username  time
 *
 * Drawn on message-group (not a child) so it can't be clipped.
 * Avatar z-index sits above the line so it appears to go behind the circle.
 */
.message-group.has-reply[b-a8g17rct63]::before {
    content: '';
    position: absolute;
    left: calc(1rem + 19px); /* avatar center, minus 1px to center 2px border */
    top: calc(0.25rem + 7px); /* vertical center of 16px reply avatar */
    width: calc(20px + 0.75rem); /* half avatar + most of gap */
    height: calc(0.25rem + 32px); /* down to main avatar center */
    border-left: 2px solid var(--bg-muted);
    border-top: 2px solid var(--bg-muted);
    border-top-left-radius: 6px;
    z-index: 1;
}

.message-group.has-reply[b-a8g17rct63]  .avatar {
    position: relative;
    z-index: 2;
}

/* Highlight animation for scroll-to-message */
.message-group.highlight-message[b-a8g17rct63] {
    background: rgba(88, 101, 242, 0.12);
    transition: background-color 1.5s ease;
}

/* Highlight the source message while composing a reply */
.message-group.reply-target[b-a8g17rct63] {
    background: var(--accent-tint);
}

.message-group:first-child[b-a8g17rct63] {
    margin-top: 0;
}

/* Message body - contains meta and content */
.message-body[b-a8g17rct63] {
    flex: 1;
    min-width: 0;
}

/* Message meta (username + time) */
.message-meta[b-a8g17rct63] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.125rem;
}

.message-username[b-a8g17rct63] {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 500;
}

.bot-badge[b-a8g17rct63] {
    margin-left: 0.25rem;
    opacity: 0.8;
    font-size: 0.85rem;
}

/* Clickable action links in bot messages (e.g., PWA install) */
.bot-action-link[b-a8g17rct63] {
    color: var(--accent-primary);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.bot-action-link:hover[b-a8g17rct63] {
    color: var(--accent-hover);
}

.message-time[b-a8g17rct63] {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 400;
}

/* Message content */
.message-content[b-a8g17rct63] {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.375;
    padding-left: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap; /* Preserve newlines from multiline input */
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.message-content[b-a8g17rct63]  a.message-link {
    color: var(--accent-focus);
    text-decoration: none;
}

.message-content[b-a8g17rct63]  a.message-link:hover {
    text-decoration: underline;
}

/* System messages */
.system-message[b-a8g17rct63] {
    display: block;
    text-align: center;
    margin: 0 !important;
    padding: 0.0625rem 1rem !important;
}

.system-message .message-body[b-a8g17rct63] {
    display: inline-block;
}

.system-message .message-content[b-a8g17rct63] {
    display: inline-block;
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.8125rem;
    padding: 0;
    background: transparent;
    line-height: 1.4;
}

/* Image gallery styles */
/* Discord-style: rows of max 3, each row fills same width */
.image-gallery[b-a8g17rct63] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 0.25rem;
    border-radius: 8px;
    overflow: hidden;
    max-width: 400px; /* Consistent width for all image content */
}

/* Each row of images */
.gallery-row[b-a8g17rct63] {
    display: flex;
    gap: 4px;
}

/* Items in a row stretch equally */
.gallery-row .gallery-item[b-a8g17rct63] {
    flex: 1 1 0%;
    min-width: 0;
}

.gallery-item[b-a8g17rct63] {
    position: relative;
    cursor: pointer;
}

/* Multi-image: square thumbnails that fill their container */
.gallery-row .gallery-image[b-a8g17rct63] {
    width: 100%;
    height: auto; /* Override HTML height attribute */
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    transition: opacity 0.15s;
    display: block;
}

/* Single image: preserve aspect ratio, constrain size */
/* Discord uses ~350px height for vertical images, ~400px width for horizontal */
.gallery-single .gallery-image[b-a8g17rct63] {
    height: auto;
    width: auto;
    max-height: 350px;
    max-width: 100%;
    aspect-ratio: auto 4 / 3; /* Fallback ratio until image loads, then use intrinsic */
    object-fit: contain;
    background: var(--bg-sidebar);
    border-radius: 4px;
    transition: opacity 0.15s;
    display: block;
}

.gallery-item:hover .gallery-image[b-a8g17rct63] {
    opacity: 0.85;
}

/* Video gallery styles */
.video-gallery[b-a8g17rct63] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 0.25rem;
    max-width: 400px;
}

.video-container[b-a8g17rct63] {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.video-player[b-a8g17rct63] {
    width: 100%;
    height: auto;
    max-height: 350px;
    display: block;
    object-fit: contain;
    background: var(--bg-sidebar);
}

.video-play-overlay[b-a8g17rct63] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    transition: background 0.2s;
}

.video-play-overlay:hover[b-a8g17rct63] {
    background: rgba(0,0,0,0.15);
}

.play-icon[b-a8g17rct63] {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* Message actions popup - hidden by default, shown via CSS :hover */
.message-actions[b-a8g17rct63] {
    position: absolute;
    top: -16px;
    right: 16px;
    display: flex;
    gap: 2px;
    background: var(--bg-sidebar);
    border-radius: 4px;
    padding: 2px;
    box-shadow: 0 0 0 1px rgba(4,4,5,0.15), 0 4px 4px rgba(0,0,0,0.1);
    z-index: 100;
    /* Hidden by default, smooth transition */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease;
}

/* Show on hover or when picker is open - pure CSS, no server round-trip */
.message-group:hover:not(.system-message) .message-actions[b-a8g17rct63],
.message-group.picker-open .message-actions[b-a8g17rct63] {
    opacity: 1;
    pointer-events: auto;
}

/* Hide actions when reply-preview is hovered/tapped (sibling combinator).
   On mobile: sticky :hover from tap hides actions so reply-preview click works.
   On desktop: actions hide only while mouse is over the reply reference. */
.reply-preview:hover ~ .message-actions[b-a8g17rct63] {
    opacity: 0 !important;
    pointer-events: none !important;
}

.action-btn[b-a8g17rct63] {
    background: transparent;
    border: none;
    padding: 6px 8px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 1rem;
    line-height: 1;
    transition: background-color 0.1s;
}

.action-btn:hover[b-a8g17rct63] {
    background: var(--bg-primary);
}

/* Divider between reactions and actions */
.action-divider[b-a8g17rct63] {
    width: 1px;
    height: 24px;
    background: var(--bg-muted);
    margin: 0 4px;
    align-self: center;
}

/* Grey icon buttons (picker, edit, delete, reply) */
.action-picker[b-a8g17rct63],
.action-edit[b-a8g17rct63],
.action-delete[b-a8g17rct63],
.action-reply[b-a8g17rct63] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.action-picker:hover[b-a8g17rct63],
.action-edit:hover[b-a8g17rct63],
.action-reply:hover[b-a8g17rct63] {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.action-delete:hover[b-a8g17rct63] {
    background: var(--bg-primary);
    color: var(--color-danger);
}

/* Keep hover state when picker is open */
.message-group.picker-open[b-a8g17rct63] {
    background: var(--bg-hover);
}

/* Invisible backdrop to catch clicks outside emoji picker */
.emoji-picker-backdrop[b-a8g17rct63] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
}

/* Fixed-position wrapper for emoji picker (JS-positioned on desktop, CSS bottom sheet on mobile) */
.emoji-picker-wrapper[b-a8g17rct63] {
    position: fixed;
    z-index: 1000;
}

/* Reactions display */
.reactions-display[b-a8g17rct63] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.reaction-pill[b-a8g17rct63] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-sidebar);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 2px 8px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.1s, border-color 0.1s;
}

.reaction-pill:hover[b-a8g17rct63] {
    background: var(--bg-primary);
    border-color: var(--bg-muted);
}

.reaction-pill.reacted[b-a8g17rct63] {
    background: rgba(88, 101, 242, 0.3);
    border-color: var(--accent-primary);
}

.reaction-count[b-a8g17rct63] {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.reaction-pill.reacted .reaction-count[b-a8g17rct63] {
    color: var(--accent-light);
}

/* Edit mode */
.edit-container[b-a8g17rct63] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.edit-input[b-a8g17rct63] {
    width: 100%;
    padding: 8px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-dark);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
}

.edit-input:focus[b-a8g17rct63] {
    outline: none;
    border-color: var(--accent-primary);
}

.edit-actions[b-a8g17rct63] {
    display: flex;
    gap: 8px;
}

.edit-save[b-a8g17rct63],
.edit-cancel[b-a8g17rct63] {
    padding: 4px 12px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.1s;
}

.edit-save[b-a8g17rct63] {
    background: var(--color-success);
    color: white;
}

.edit-save:hover[b-a8g17rct63] {
    background: var(--status-online-hover);
}

.edit-cancel[b-a8g17rct63] {
    background: var(--bg-muted);
    color: var(--text-primary);
}

.edit-cancel:hover[b-a8g17rct63] {
    background: #5d6269;
}

/* Edited indicator */
.edited-indicator[b-a8g17rct63] {
    color: var(--text-placeholder);
    font-size: 0.625rem;
    margin-left: 4px;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .message-actions[b-a8g17rct63] {
        right: 8px;
        top: -12px;
    }

    .action-btn[b-a8g17rct63] {
        padding: 4px 6px;
        font-size: 0.875rem;
    }

    .message-group[b-a8g17rct63] {
        padding: 0.125rem 0.5rem 0.125rem calc(0.5rem + 40px + 0.75rem);
        gap: 0.75rem;
    }

    .message-group.has-header[b-a8g17rct63] {
        padding-left: 0.5rem;
    }

    .reply-preview[b-a8g17rct63] {
        padding-left: calc(40px + 0.75rem);
    }

    .message-group.has-reply[b-a8g17rct63]::before {
        left: calc(0.5rem + 19px);
        width: calc(20px + 0.5rem);
    }

    .reply-text[b-a8g17rct63] {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        white-space: normal;
    }

    /* Mobile: full-width galleries with taller single images/videos */
    .image-gallery[b-a8g17rct63],
    .video-gallery[b-a8g17rct63] {
        max-width: 100%;
    }

    .gallery-single .gallery-image[b-a8g17rct63] {
        max-height: 450px;
    }

    /* Mobile: bottom sheet emoji picker */
    .emoji-picker-wrapper[b-a8g17rct63] {
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
    }

    .emoji-picker-wrapper[b-a8g17rct63]  .emoji-picker {
        width: 100%;
        height: 50vh;
        max-height: 400px;
        border-radius: 12px 12px 0 0;
    }

    .emoji-picker-backdrop[b-a8g17rct63] {
        background: rgba(0, 0, 0, 0.5);
    }
}
/* /Components/Pages/Admin.razor.rz.scp.css */
.admin-page[b-annaxvw3lg] {
    display: flex;
    height: 100%;
    overflow: hidden;
}

/* Desktop sidebar */
.admin-sidebar[b-annaxvw3lg] {
    width: 180px;
    flex-shrink: 0;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-dark);
    display: flex;
    flex-direction: column;
    padding: 1rem 0.75rem;
    gap: 0.25rem;
}

.admin-sidebar-header[b-annaxvw3lg] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.25rem;
    margin-bottom: 1rem;
}

.admin-sidebar-header h2[b-annaxvw3lg] {
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.back-button[b-annaxvw3lg] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.back-button:hover[b-annaxvw3lg] {
    background: var(--bg-hover);
    color: var(--text-white);
}

.nav-item[b-annaxvw3lg] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
    width: 100%;
    text-align: left;
}

.nav-item:hover[b-annaxvw3lg] {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-item.active[b-annaxvw3lg] {
    background: var(--accent-tint);
    color: var(--text-white);
}

/* Mobile tab bar (hidden on desktop) */
.admin-tabs[b-annaxvw3lg] {
    display: none;
}

/* Main content */
.admin-content[b-annaxvw3lg] {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.section-header[b-annaxvw3lg] {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.section-header h3[b-annaxvw3lg] {
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.section-count[b-annaxvw3lg] {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* Table */
.table-wrapper[b-annaxvw3lg] {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid var(--border-dark);
}

.users-table[b-annaxvw3lg] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.users-table thead[b-annaxvw3lg] {
    background: var(--bg-sidebar);
}

.users-table th[b-annaxvw3lg] {
    text-align: left;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-dark);
}

.users-table td[b-annaxvw3lg] {
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-dark);
    vertical-align: middle;
}

.users-table tbody tr:last-child td[b-annaxvw3lg] {
    border-bottom: none;
}

.users-table tbody tr:hover[b-annaxvw3lg] {
    background: var(--bg-hover);
}

/* User cell */
.user-cell[b-annaxvw3lg] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 180px;
}

.user-info[b-annaxvw3lg] {
    display: flex;
    flex-direction: column;
}

.user-name[b-annaxvw3lg] {
    color: var(--text-white);
    font-weight: 500;
    white-space: nowrap;
}

.admin-badge[b-annaxvw3lg] {
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

.user-username[b-annaxvw3lg] {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Status pill */
.status-pill[b-annaxvw3lg] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.status-pill .status-dot[b-annaxvw3lg] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-pill.online[b-annaxvw3lg] {
    background: rgba(59, 165, 92, 0.15);
    color: var(--status-online);
}

.status-pill.online .status-dot[b-annaxvw3lg] {
    background: var(--status-online);
}

.status-pill.away[b-annaxvw3lg] {
    background: rgba(250, 166, 26, 0.15);
    color: var(--status-away);
}

.status-pill.away .status-dot[b-annaxvw3lg] {
    background: var(--status-away);
}

.status-pill.invisible[b-annaxvw3lg] {
    background: rgba(116, 127, 141, 0.15);
    color: var(--status-invisible);
}

.status-pill.invisible .status-dot[b-annaxvw3lg] {
    background: var(--status-invisible);
}

.status-pill.offline[b-annaxvw3lg] {
    background: rgba(116, 127, 141, 0.1);
    color: var(--text-muted);
}

.status-pill.offline .status-dot[b-annaxvw3lg] {
    background: var(--text-muted);
}

/* Date & action cells */
.date-cell[b-annaxvw3lg] {
    white-space: nowrap;
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

.action-cell[b-annaxvw3lg] {
    white-space: nowrap;
}

.action-type[b-annaxvw3lg] {
    display: block;
    color: var(--text-primary);
    font-size: 0.8125rem;
    font-weight: 500;
}

.action-date[b-annaxvw3lg] {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* IP tags */
.ip-cell[b-annaxvw3lg] {
    min-width: 120px;
}

.ip-tag[b-annaxvw3lg] {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: var(--bg-input);
    border-radius: 3px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-family: monospace;
    margin: 0.125rem 0.25rem 0.125rem 0;
}

/* Locale cell */
.locale-cell[b-annaxvw3lg] {
    white-space: nowrap;
}

.locale-tz[b-annaxvw3lg] {
    display: block;
    color: var(--text-primary);
    font-size: 0.8125rem;
}

.locale-lang[b-annaxvw3lg] {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.no-data[b-annaxvw3lg] {
    color: var(--text-muted);
}

/* Clickable rows */
.clickable-row[b-annaxvw3lg] {
    cursor: pointer;
}

.clickable-row.selected[b-annaxvw3lg] {
    background: var(--accent-tint);
}

.clickable-row.selected:hover[b-annaxvw3lg] {
    background: var(--accent-tint);
}

/* User detail panel */
.user-detail-panel[b-annaxvw3lg] {
    margin-top: 1.5rem;
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    background: var(--bg-sidebar);
    padding: 1.25rem;
}

.detail-header[b-annaxvw3lg] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-dark);
}

.detail-header-info[b-annaxvw3lg] {
    flex: 1;
}

.detail-header-info h4[b-annaxvw3lg] {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.detail-close[b-annaxvw3lg] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: var(--text-muted);
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.detail-close:hover[b-annaxvw3lg] {
    background: var(--bg-hover);
    color: var(--text-white);
}

.detail-loading[b-annaxvw3lg] {
    color: var(--text-muted);
    padding: 1rem 0;
}

.detail-tags[b-annaxvw3lg] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.detail-tag[b-annaxvw3lg] {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tag-green[b-annaxvw3lg] {
    background: rgba(59, 165, 92, 0.15);
    color: var(--status-online);
}

.tag-orange[b-annaxvw3lg] {
    background: rgba(250, 166, 26, 0.15);
    color: var(--status-away);
}

.tag-muted[b-annaxvw3lg] {
    background: rgba(116, 127, 141, 0.1);
    color: var(--text-muted);
}

.detail-tables[b-annaxvw3lg] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-section h5[b-annaxvw3lg] {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 0.5rem 0;
}

.detail-table[b-annaxvw3lg] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.detail-table th[b-annaxvw3lg] {
    text-align: left;
    padding: 0.5rem 0.75rem;
    color: var(--text-muted);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-bottom: 1px solid var(--border-dark);
    white-space: nowrap;
}

.detail-table td[b-annaxvw3lg] {
    padding: 0.5rem 0.75rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-dark);
}

.detail-table tbody tr:last-child td[b-annaxvw3lg] {
    border-bottom: none;
}

.ip-mono[b-annaxvw3lg] {
    font-family: monospace;
    font-size: 0.8125rem;
}

.ua-cell[b-annaxvw3lg] {
    font-size: 0.75rem;
    color: var(--text-secondary);
    word-break: break-all;
    max-width: 600px;
}

/* Debug section */
.debug-form[b-annaxvw3lg] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1.25rem;
}

.form-group[b-annaxvw3lg] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label[b-annaxvw3lg] {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.form-group select[b-annaxvw3lg],
.form-group input[b-annaxvw3lg] {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-dark);
    border-radius: 4px;
    color: var(--text-primary);
    padding: 0.5rem 0.625rem;
    font-size: 0.875rem;
}

.form-group select:focus[b-annaxvw3lg],
.form-group input:focus[b-annaxvw3lg] {
    outline: none;
    border-color: var(--accent-primary);
}

.generate-btn[b-annaxvw3lg] {
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.15s;
}

.generate-btn:hover:not(:disabled)[b-annaxvw3lg] {
    opacity: 0.85;
}

.generate-btn:disabled[b-annaxvw3lg] {
    opacity: 0.5;
    cursor: not-allowed;
}

.debug-result[b-annaxvw3lg] {
    color: var(--status-online);
    font-size: 0.8125rem;
    padding: 0.5rem 0.625rem;
    background: rgba(59, 165, 92, 0.1);
    border-radius: 4px;
}

/* Bot settings */
.bot-settings[b-annaxvw3lg] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1.25rem;
}

.form-input[b-annaxvw3lg] {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-dark);
    border-radius: 4px;
    color: var(--text-primary);
    padding: 0.5rem 0.625rem;
    font-size: 0.875rem;
}

.form-input:focus[b-annaxvw3lg] {
    outline: none;
    border-color: var(--accent-primary);
}

.form-input.disabled[b-annaxvw3lg] {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-textarea[b-annaxvw3lg] {
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
    line-height: 1.4;
}

.form-hint[b-annaxvw3lg] {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.bot-actions[b-annaxvw3lg] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.save-btn[b-annaxvw3lg] {
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.15s;
}

.save-btn:hover:not(:disabled)[b-annaxvw3lg] {
    opacity: 0.85;
}

.save-btn:disabled[b-annaxvw3lg] {
    opacity: 0.5;
    cursor: not-allowed;
}

.save-result[b-annaxvw3lg] {
    color: var(--status-online);
    font-size: 0.8125rem;
}

/* Registration settings */
.registration-settings[b-annaxvw3lg] {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 500px;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.toggle-row[b-annaxvw3lg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: background-color 0.15s;
    border-bottom: 1px solid var(--border-dark);
}

.toggle-row:last-child[b-annaxvw3lg] {
    border-bottom: none;
}

.toggle-row:hover[b-annaxvw3lg] {
    background: var(--bg-hover);
}

.toggle-info[b-annaxvw3lg] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.toggle-label[b-annaxvw3lg] {
    color: var(--text-white);
    font-size: 0.9375rem;
    font-weight: 500;
}

.toggle-hint[b-annaxvw3lg] {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.toggle-switch[b-annaxvw3lg] {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}

.toggle-switch input[b-annaxvw3lg] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider[b-annaxvw3lg] {
    position: absolute;
    inset: 0;
    background: var(--bg-tertiary);
    border-radius: 12px;
    transition: background-color 0.2s;
}

.toggle-slider[b-annaxvw3lg]::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: transform 0.2s, background-color 0.2s;
}

.toggle-switch input:checked + .toggle-slider[b-annaxvw3lg] {
    background: var(--accent-primary);
}

.toggle-switch input:checked + .toggle-slider[b-annaxvw3lg]::before {
    transform: translateX(20px);
    background: white;
}

/* Pending users list */
.pending-list[b-annaxvw3lg] {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 500px;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.pending-item[b-annaxvw3lg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border-dark);
}

.pending-item:last-child[b-annaxvw3lg] {
    border-bottom: none;
}

.pending-info[b-annaxvw3lg] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.pending-username[b-annaxvw3lg] {
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.9375rem;
}

.pending-time[b-annaxvw3lg] {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.pending-actions[b-annaxvw3lg] {
    display: flex;
    gap: 0.5rem;
}

.approve-btn[b-annaxvw3lg] {
    background: var(--status-online);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.15s;
}

.approve-btn:hover[b-annaxvw3lg] {
    opacity: 0.85;
}

.reject-btn[b-annaxvw3lg] {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-dark);
    border-radius: 4px;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}

.reject-btn:hover[b-annaxvw3lg] {
    color: var(--color-danger);
    border-color: var(--color-danger);
}

.refresh-btn[b-annaxvw3lg] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: var(--text-muted);
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.refresh-btn:hover[b-annaxvw3lg] {
    background: var(--bg-hover);
    color: var(--text-white);
}

/* Mobile layout */
@media (max-width: 600px) {
    .admin-page[b-annaxvw3lg] {
        flex-direction: column;
    }

    .admin-sidebar[b-annaxvw3lg] {
        display: none;
    }

    .admin-tabs[b-annaxvw3lg] {
        display: flex;
        overflow-x: auto;
        background: var(--bg-sidebar);
        border-bottom: 1px solid var(--border-dark);
        padding: 0 0.5rem;
        gap: 0;
        flex-shrink: 0;
    }

    .tab-item[b-annaxvw3lg] {
        padding: 0.75rem 1rem;
        background: transparent;
        border: none;
        border-bottom: 2px solid transparent;
        color: var(--text-secondary);
        font-size: 0.875rem;
        font-weight: 500;
        cursor: pointer;
        white-space: nowrap;
        transition: color 0.15s, border-color 0.15s;
    }

    .tab-item:hover[b-annaxvw3lg] {
        color: var(--text-primary);
    }

    .tab-item.active[b-annaxvw3lg] {
        color: var(--text-white);
        border-bottom-color: var(--accent-primary);
    }

    .admin-content[b-annaxvw3lg] {
        padding: 1rem;
    }

    .section-header[b-annaxvw3lg] {
        flex-direction: column;
        gap: 0.25rem;
    }

    .log-filters[b-annaxvw3lg] {
        flex-direction: column;
    }

    .logs-table th:nth-child(5)[b-annaxvw3lg],
    .logs-table td:nth-child(5)[b-annaxvw3lg] {
        display: none;
    }
}

/* Action Logs */

.log-filters[b-annaxvw3lg] {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.log-filter-select[b-annaxvw3lg],
.log-filter-input[b-annaxvw3lg] {
    padding: 0.5rem 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.8125rem;
}

.log-filter-select[b-annaxvw3lg] {
    min-width: 180px;
}

.log-filter-input[b-annaxvw3lg] {
    flex: 1;
    max-width: 250px;
}

.log-filter-select:focus[b-annaxvw3lg],
.log-filter-input:focus[b-annaxvw3lg] {
    outline: none;
    border-color: var(--accent-primary);
}

.logs-table .date-cell[b-annaxvw3lg] {
    white-space: nowrap;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-family: monospace;
}

.logs-table .info-cell[b-annaxvw3lg] {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.action-pill[b-annaxvw3lg] {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.action-login[b-annaxvw3lg] {
    background: rgba(59, 165, 92, 0.15);
    color: var(--status-online);
}

.action-logout[b-annaxvw3lg] {
    background: rgba(116, 127, 141, 0.15);
    color: var(--text-muted);
}

.action-smart[b-annaxvw3lg] {
    background: rgba(88, 101, 242, 0.15);
    color: var(--accent-primary);
}

.action-circuit[b-annaxvw3lg] {
    background: rgba(250, 166, 26, 0.1);
    color: var(--status-away);
}

.action-default[b-annaxvw3lg] {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.log-load-more[b-annaxvw3lg] {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.log-empty[b-annaxvw3lg] {
    color: var(--text-muted);
    text-align: center;
    padding: 2rem 0;
    font-size: 0.875rem;
}

/* Media stats cards */
.media-stats[b-annaxvw3lg] {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.media-stat-card[b-annaxvw3lg] {
    background: var(--bg-sidebar);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 100px;
}

.media-stat-label[b-annaxvw3lg] {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.media-stat-value[b-annaxvw3lg] {
    color: var(--text-white);
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot[b-annaxvw3lg] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.status-online[b-annaxvw3lg] {
    background: var(--color-success);
}

.status-dot.status-offline[b-annaxvw3lg] {
    background: var(--color-danger);
}

@media (max-width: 600px) {
    .media-stats[b-annaxvw3lg] {
        gap: 0.5rem;
    }

    .media-stat-card[b-annaxvw3lg] {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 0;
    }
}

/* Diagnostics */
.diag-stats[b-annaxvw3lg] {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.diag-stat-card[b-annaxvw3lg] {
    background: var(--bg-sidebar);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 90px;
}

.diag-charts[b-annaxvw3lg] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.diag-chart-card[b-annaxvw3lg] {
    background: var(--bg-sidebar);
    border-radius: 8px;
    padding: 1rem;
}

.diag-chart-card h4[b-annaxvw3lg] {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 0.75rem 0;
}

.diag-chart-wrapper[b-annaxvw3lg] {
    position: relative;
    height: 200px;
}

@media (max-width: 600px) {
    .diag-stats[b-annaxvw3lg] {
        gap: 0.5rem;
    }

    .diag-stat-card[b-annaxvw3lg] {
        flex: 1 1 calc(33.333% - 0.375rem);
        min-width: 0;
    }

    .diag-chart-wrapper[b-annaxvw3lg] {
        height: 160px;
    }
}
/* /Components/Pages/ChannelSettings.razor.rz.scp.css */
.settings-container[b-akz3hmmslq] {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
    overflow-y: auto;
}

.settings-header[b-akz3hmmslq] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.settings-header h2[b-akz3hmmslq] {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.back-button[b-akz3hmmslq] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-sidebar);
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.back-button:hover[b-akz3hmmslq] {
    background: var(--bg-hover);
    color: var(--text-white);
}

.settings-content[b-akz3hmmslq] {
    max-width: 600px;
    width: 100%;
}

.settings-section[b-akz3hmmslq] {
    background: var(--bg-sidebar);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.settings-section h3[b-akz3hmmslq] {
    color: var(--text-white);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.section-hint[b-akz3hmmslq] {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.error-message[b-akz3hmmslq] {
    background: rgba(237, 66, 69, 0.15);
    border: 1px solid var(--color-danger);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: var(--color-danger);
    font-size: 0.875rem;
}

/* Form elements */
.form-group[b-akz3hmmslq] {
    margin-bottom: 1.25rem;
}

.form-group:last-child[b-akz3hmmslq] {
    margin-bottom: 0;
}

.form-group label[b-akz3hmmslq] {
    display: block;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.form-input[b-akz3hmmslq],
.form-textarea[b-akz3hmmslq] {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.15s;
}

.form-input:focus[b-akz3hmmslq],
.form-textarea:focus[b-akz3hmmslq] {
    outline: none;
    border-color: var(--accent-primary);
}

.form-input:disabled[b-akz3hmmslq] {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-input[b-akz3hmmslq]::placeholder,
.form-textarea[b-akz3hmmslq]::placeholder {
    color: var(--text-placeholder);
}

.form-textarea[b-akz3hmmslq] {
    min-height: 80px;
    resize: vertical;
}

.form-hint[b-akz3hmmslq] {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.form-counter[b-akz3hmmslq] {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-align: right;
    margin-top: 0.25rem;
}

/* Permission cards */
.permission-cards[b-akz3hmmslq] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.permission-card[b-akz3hmmslq] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--bg-input);
    border: 2px solid var(--border-subtle);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}

.permission-card:hover[b-akz3hmmslq] {
    border-color: var(--text-placeholder);
}

.permission-card.selected[b-akz3hmmslq] {
    border-color: var(--accent-primary);
    background: rgba(88, 101, 242, 0.08);
}

.permission-card-radio[b-akz3hmmslq] {
    flex-shrink: 0;
}

.radio-outer[b-akz3hmmslq] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--text-placeholder);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s;
}

.permission-card.selected .radio-outer[b-akz3hmmslq] {
    border-color: var(--accent-primary);
}

.radio-inner[b-akz3hmmslq] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-primary);
}

.permission-card-content[b-akz3hmmslq] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.permission-card-title[b-akz3hmmslq] {
    color: var(--text-white);
    font-size: 0.9375rem;
    font-weight: 500;
}

.permission-card-desc[b-akz3hmmslq] {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* Reorder list */
.reorder-list[b-akz3hmmslq] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reorder-item[b-akz3hmmslq] {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    background: var(--bg-input);
    transition: background-color 0.15s;
}

.reorder-item.current[b-akz3hmmslq] {
    background: rgba(88, 101, 242, 0.15);
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.reorder-icon[b-akz3hmmslq] {
    color: var(--text-placeholder);
    font-size: 1.125rem;
    margin-right: 0.5rem;
    font-weight: 500;
}

.reorder-name[b-akz3hmmslq] {
    flex: 1;
    color: var(--text-primary);
    font-size: 0.9375rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reorder-buttons[b-akz3hmmslq] {
    display: flex;
    gap: 2px;
    margin-left: 0.5rem;
}

.reorder-btn[b-akz3hmmslq] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s;
}

.reorder-btn:hover:not(:disabled)[b-akz3hmmslq] {
    background: var(--bg-hover);
    color: var(--text-white);
    border-color: var(--text-placeholder);
}

.reorder-btn:disabled[b-akz3hmmslq] {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Actions */
.settings-actions[b-akz3hmmslq] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.cancel-button[b-akz3hmmslq],
.save-button[b-akz3hmmslq] {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s;
}

.cancel-button[b-akz3hmmslq] {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.cancel-button:hover[b-akz3hmmslq] {
    background: var(--bg-hover);
}

.save-button[b-akz3hmmslq] {
    background: var(--accent-primary);
    border: none;
    color: var(--text-white);
}

.save-button:hover:not(:disabled)[b-akz3hmmslq] {
    background: var(--accent-hover);
}

.save-button:disabled[b-akz3hmmslq] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Danger zone */
.danger-section[b-akz3hmmslq] {
    border: 1px solid rgba(237, 66, 69, 0.3);
}

.danger-section h3[b-akz3hmmslq] {
    color: var(--color-danger);
}

.danger-item[b-akz3hmmslq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.danger-text[b-akz3hmmslq] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.danger-title[b-akz3hmmslq] {
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 500;
}

.danger-desc[b-akz3hmmslq] {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.delete-button[b-akz3hmmslq] {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--color-danger);
    border-radius: 4px;
    color: var(--color-danger);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s;
    white-space: nowrap;
}

.delete-button:hover[b-akz3hmmslq] {
    background: rgba(237, 66, 69, 0.15);
}

.delete-button.confirm[b-akz3hmmslq] {
    background: var(--color-danger);
    color: var(--text-white);
    border-color: var(--color-danger);
}

.delete-button.confirm:hover[b-akz3hmmslq] {
    background: #c03537;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .settings-container[b-akz3hmmslq] {
        padding: 1rem;
    }

    .settings-section[b-akz3hmmslq] {
        padding: 1rem;
    }

    .settings-actions[b-akz3hmmslq] {
        flex-direction: column-reverse;
    }

    .cancel-button[b-akz3hmmslq],
    .save-button[b-akz3hmmslq] {
        width: 100%;
    }

    .danger-item[b-akz3hmmslq] {
        flex-direction: column;
        align-items: flex-start;
    }

    .delete-button[b-akz3hmmslq] {
        width: 100%;
        text-align: center;
    }
}
/* /Components/Pages/Login.razor.rz.scp.css */
/* Discord-style dark theme */
.username-container[b-59fitzc2t3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: var(--bg-header);
}

.username-container h2[b-59fitzc2t3] {
    color: var(--text-white);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    white-space: pre-line;
    text-align: center;
}

.username-form[b-59fitzc2t3] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--bg-sidebar);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,.2);
    margin: 0 1rem;
    max-width: 500px;
}

.username-form-row[b-59fitzc2t3] {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: start;
}

@media (max-width: 600px) {
    .username-form[b-59fitzc2t3] {
        width: 90%;
        max-width: 300px;
    }

    .username-form-row[b-59fitzc2t3] {
        flex-direction: column;
    }

    .username-container h2[b-59fitzc2t3] {
        font-size: 1.75rem;
        text-align: center;
        padding: 0 1rem;
    }
}

.username-input[b-59fitzc2t3] {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 3px;
    width: 300px;
    min-width: 0;
    flex-shrink: 1;
    background: var(--bg-input);
    color: var(--text-primary);
    transition: border-color 0.3s;
}

@media (max-width: 600px) {
    .username-input[b-59fitzc2t3] {
        width: 100%;
    }
}

.username-input:focus[b-59fitzc2t3] {
    outline: none;
    border-color: var(--accent-focus);
}

.join-button[b-59fitzc2t3] {
    padding: 0.75rem 2rem;
    background: var(--accent-primary);
    color: var(--text-white);
    border: none;
    border-radius: 3px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .join-button[b-59fitzc2t3] {
        width: 100%;
    }
}

.join-button:hover:not(:disabled)[b-59fitzc2t3] {
    background: var(--accent-hover);
}

.join-button:disabled[b-59fitzc2t3] {
    opacity: 0.5;
    cursor: not-allowed;
}

.username-input.invalid[b-59fitzc2t3] {
    border-color: var(--color-danger);
}

.username-input.invalid:focus[b-59fitzc2t3] {
    border-color: var(--color-danger);
}

.validation-error[b-59fitzc2t3] {
    color: var(--color-danger);
    font-size: 1rem;
    text-align: center;
}

.retry-link[b-59fitzc2t3] {
    display: block;
    margin: 0.75rem auto 0;
    padding: 0.5rem 1.5rem;
    background: var(--accent-primary);
    border: none;
    border-radius: 3px;
    color: var(--text-white);
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    transition: background 0.3s;
}

.retry-link:hover[b-59fitzc2t3] {
    background: var(--accent-hover);
}

/* Multi-device guide (neutral, instructional) */
.multidevice-guide[b-59fitzc2t3] {
    background: var(--bg-sidebar);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.multidevice-guide strong[b-59fitzc2t3] {
    color: var(--text-white);
}

.multidevice-guide ol[b-59fitzc2t3] {
    margin: 0.75rem 0;
    padding-left: 1.25rem;
}

.multidevice-guide ol li[b-59fitzc2t3] {
    margin-bottom: 0.375rem;
}

.multidevice-guide .retry-link[b-59fitzc2t3] {
    margin-top: 0.5rem;
}

/* Closed registration state */
.closed-message[b-59fitzc2t3] {
    background: var(--bg-sidebar);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,.2);
    text-align: center;
    margin: 0 1rem;
    max-width: 400px;
}

.closed-message p[b-59fitzc2t3] {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.5;
}

/* Waiting for approval state */
.waiting-message[b-59fitzc2t3] {
    background: var(--bg-sidebar);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,.2);
    text-align: center;
    margin: 0 1rem;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.waiting-message p[b-59fitzc2t3] {
    color: var(--text-primary);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.5;
}

.waiting-hint[b-59fitzc2t3] {
    color: var(--text-muted) !important;
    font-size: 0.8125rem !important;
}

.waiting-spinner[b-59fitzc2t3] {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-dark);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin-b-59fitzc2t3 1s linear infinite;
    margin-bottom: 0.5rem;
}

@keyframes spin-b-59fitzc2t3 {
    to { transform: rotate(360deg); }
}

.rejection-notice[b-59fitzc2t3] {
    color: var(--color-danger) !important;
    font-size: 0.875rem !important;
    margin-top: 0.5rem !important;
}

.build-info[b-59fitzc2t3] {
    position: absolute;
    bottom: 1rem;
    color: var(--bg-muted);
    font-size: 0.7rem;
    font-family: monospace;
}
/* /Components/Pages/Settings.razor.rz.scp.css */
.settings-container[b-fit3rrzlka] {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
    overflow-y: auto;
}

.settings-header[b-fit3rrzlka] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.settings-header h2[b-fit3rrzlka] {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.back-button[b-fit3rrzlka] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-sidebar);
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.back-button:hover[b-fit3rrzlka] {
    background: var(--bg-hover);
    color: var(--text-white);
}

.settings-content[b-fit3rrzlka] {
    max-width: 600px;
    width: 100%;
}

.settings-section[b-fit3rrzlka] {
    background: var(--bg-sidebar);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.settings-section h3[b-fit3rrzlka] {
    color: var(--text-white);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
}

.profile-picture-section[b-fit3rrzlka] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.profile-picture-actions[b-fit3rrzlka] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.file-input[b-fit3rrzlka] {
    display: none;
}

.upload-button[b-fit3rrzlka] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: var(--accent-primary);
    color: var(--text-white);
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.15s;
}

.upload-button:hover[b-fit3rrzlka] {
    background: var(--accent-hover);
}

.remove-button[b-fit3rrzlka] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.remove-button:hover:not(:disabled)[b-fit3rrzlka] {
    background: var(--bg-hover);
    border-color: var(--color-danger);
    color: var(--color-danger);
}

.remove-button:disabled[b-fit3rrzlka] {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-group[b-fit3rrzlka] {
    margin-bottom: 1.25rem;
}

.form-group:last-child[b-fit3rrzlka] {
    margin-bottom: 0;
}

.form-group label[b-fit3rrzlka] {
    display: block;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.form-input[b-fit3rrzlka],
.form-textarea[b-fit3rrzlka] {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.15s;
}

.form-input:focus[b-fit3rrzlka],
.form-textarea:focus[b-fit3rrzlka] {
    outline: none;
    border-color: var(--accent-primary);
}

.form-input[b-fit3rrzlka]::placeholder,
.form-textarea[b-fit3rrzlka]::placeholder {
    color: var(--text-placeholder);
}

.form-textarea[b-fit3rrzlka] {
    min-height: 80px;
    resize: vertical;
}

.form-hint[b-fit3rrzlka] {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.form-counter[b-fit3rrzlka] {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-align: right;
    margin-top: 0.25rem;
}

/* Auto-save status indicator */
.save-status[b-fit3rrzlka] {
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: auto;
    transition: opacity 0.3s;
}

.save-status.saving[b-fit3rrzlka] {
    color: var(--text-muted);
}

.save-status.saved[b-fit3rrzlka] {
    color: #43b581;
}

/* Notification settings */
.notification-status[b-fit3rrzlka] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

.notification-row[b-fit3rrzlka] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: var(--bg-input);
    border-radius: 4px;
}

.notification-label[b-fit3rrzlka] {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.notification-value[b-fit3rrzlka] {
    font-size: 0.875rem;
    font-weight: 500;
}

.notification-value.status-enabled[b-fit3rrzlka] {
    color: #43b581;
}

.notification-value.status-disabled[b-fit3rrzlka] {
    color: var(--text-muted);
}

.notification-value.status-unavailable[b-fit3rrzlka] {
    color: var(--text-muted);
    font-style: italic;
}

.notification-value.status-denied[b-fit3rrzlka] {
    color: #ed4245;
}

.notification-actions[b-fit3rrzlka] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.notification-buttons[b-fit3rrzlka] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-actions .upload-button[b-fit3rrzlka],
.notification-actions .remove-button[b-fit3rrzlka] {
    border: none;
}

.notification-actions .upload-button:disabled[b-fit3rrzlka],
.notification-actions .remove-button:disabled[b-fit3rrzlka] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* PWA install section */
.pwa-installed-info[b-fit3rrzlka] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #43b581;
    font-size: 0.875rem;
    font-weight: 500;
}

.pwa-check-icon[b-fit3rrzlka] {
    flex-shrink: 0;
}

.pwa-description[b-fit3rrzlka] {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

/* Time widget */
.time-widget[b-fit3rrzlka] {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg-input);
    border-radius: 4px;
    padding: 0.25rem;
    width: fit-content;
}

.time-adjust-btn[b-fit3rrzlka] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
    user-select: none;
}

.time-adjust-btn:hover[b-fit3rrzlka] {
    background: var(--bg-hover);
    color: var(--text-white);
}

.current-time[b-fit3rrzlka] {
    padding: 0 0.75rem;
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    min-width: 5rem;
    text-align: center;
}

/* Date format picker */
.format-options[b-fit3rrzlka] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.format-option[b-fit3rrzlka] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background: var(--bg-input);
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}

.format-option:hover[b-fit3rrzlka] {
    background: var(--bg-hover);
}

.format-option.selected[b-fit3rrzlka] {
    border-color: var(--accent-primary);
}

.format-option input[type="radio"][b-fit3rrzlka] {
    display: none;
}

.format-example[b-fit3rrzlka] {
    color: var(--text-white);
    font-size: 0.9375rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    min-width: 10rem;
}

.format-label[b-fit3rrzlka] {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* Passphrase field */
.passphrase-display[b-fit3rrzlka] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    margin-bottom: 8px;
}

.passphrase-value[b-fit3rrzlka] {
    flex: 1;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    letter-spacing: 0.02em;
    user-select: all;
}

.passphrase-actions[b-fit3rrzlka] {
    display: flex;
    gap: 8px;
}

.passphrase-eye[b-fit3rrzlka] {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.passphrase-eye:hover[b-fit3rrzlka] {
    color: var(--text-primary);
}

/* Kicked notice banner */
.kicked-notice[b-fit3rrzlka] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: rgba(250, 166, 26, 0.12);
    border: 1px solid rgba(250, 166, 26, 0.35);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.kicked-notice-icon[b-fit3rrzlka] {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.kicked-notice-text[b-fit3rrzlka] {
    flex: 1;
    color: var(--text-primary);
    font-size: 0.875rem;
    line-height: 1.4;
}

.kicked-notice-text strong[b-fit3rrzlka] {
    color: var(--text-white);
}

.kicked-notice-dismiss[b-fit3rrzlka] {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0 0.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.kicked-notice-dismiss:hover[b-fit3rrzlka] {
    color: var(--text-white);
}

/* Active sessions */
.sessions-list[b-fit3rrzlka] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.session-item[b-fit3rrzlka] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background: var(--bg-input);
    border-radius: 4px;
    border: 1px solid transparent;
}

.session-item.current[b-fit3rrzlka] {
    border-color: var(--accent-primary);
}

.session-icon[b-fit3rrzlka] {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.session-details[b-fit3rrzlka] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.session-line[b-fit3rrzlka] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.session-badge[b-fit3rrzlka] {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent-primary);
    background: rgba(88, 101, 242, 0.15);
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    white-space: nowrap;
}

.session-ip[b-fit3rrzlka] {
    color: var(--text-primary);
    font-size: 0.875rem;
}

.session-activity[b-fit3rrzlka] {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .settings-container[b-fit3rrzlka] {
        padding: 1rem;
    }

    .settings-section[b-fit3rrzlka] {
        padding: 1rem;
    }

    .profile-picture-section[b-fit3rrzlka] {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Toggle switch (shared pattern with Admin) */

.toggle-row[b-fit3rrzlka] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    cursor: pointer;
}

.toggle-info[b-fit3rrzlka] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.toggle-label[b-fit3rrzlka] {
    color: var(--text-white);
    font-size: 0.9375rem;
    font-weight: 500;
}

.toggle-hint[b-fit3rrzlka] {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.toggle-switch[b-fit3rrzlka] {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}

.toggle-switch input[b-fit3rrzlka] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider[b-fit3rrzlka] {
    position: absolute;
    inset: 0;
    background: var(--bg-tertiary);
    border-radius: 12px;
    transition: background-color 0.2s;
}

.toggle-slider[b-fit3rrzlka]::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: transform 0.2s, background-color 0.2s;
}

.toggle-switch input:checked + .toggle-slider[b-fit3rrzlka] {
    background: var(--accent-primary);
}

.toggle-switch input:checked + .toggle-slider[b-fit3rrzlka]::before {
    transform: translateX(20px);
    background: white;
}
/* /Components/Pages/VerifyDevice.razor.rz.scp.css */
.verify-container[b-vpl6t9m1py] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: var(--bg-header);
}

.verify-container h2[b-vpl6t9m1py] {
    color: var(--text-white);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.verify-hint[b-vpl6t9m1py] {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.verify-form[b-vpl6t9m1py] {
    display: flex;
    gap: 1rem;
    background: var(--bg-sidebar);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,.2);
    margin: 0 1rem;
}

@media (max-width: 600px) {
    .verify-form[b-vpl6t9m1py] {
        flex-direction: column;
        width: 90%;
        max-width: 300px;
    }

    .verify-container h2[b-vpl6t9m1py] {
        font-size: 1.5rem;
        text-align: center;
        padding: 0 1rem;
    }
}

.verify-input[b-vpl6t9m1py] {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 3px;
    width: 300px;
    background: var(--bg-input);
    color: var(--text-primary);
    transition: border-color 0.3s;
}

@media (max-width: 600px) {
    .verify-input[b-vpl6t9m1py] {
        width: 100%;
    }
}

.verify-input:focus[b-vpl6t9m1py] {
    outline: none;
    border-color: var(--accent-focus);
}

.verify-input.invalid[b-vpl6t9m1py] {
    border-color: var(--color-danger);
}

.verify-button[b-vpl6t9m1py] {
    padding: 0.75rem 2rem;
    background: var(--accent-primary);
    color: var(--text-white);
    border: none;
    border-radius: 3px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

@media (max-width: 600px) {
    .verify-button[b-vpl6t9m1py] {
        width: 100%;
    }
}

.verify-button:hover:not(:disabled)[b-vpl6t9m1py] {
    background: var(--accent-hover);
}

.verify-button:disabled[b-vpl6t9m1py] {
    opacity: 0.5;
    cursor: not-allowed;
}

.input-wrapper[b-vpl6t9m1py] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.validation-error[b-vpl6t9m1py] {
    color: var(--color-danger);
    font-size: 0.75rem;
}

.back-link[b-vpl6t9m1py] {
    margin-top: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
}

.back-link:hover[b-vpl6t9m1py] {
    color: var(--text-primary);
}
/* /Components/PushPermissionPrompt.razor.rz.scp.css */
.push-prompt-overlay[b-a5o5577wtg] {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: pushPromptFadeIn-b-a5o5577wtg 0.3s ease-out;
}

.push-prompt-overlay.hiding[b-a5o5577wtg] {
    animation: pushPromptFadeOut-b-a5o5577wtg 0.3s ease-in forwards;
}

.push-prompt-card[b-a5o5577wtg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 380px;
    width: 100%;
    padding: 2.5rem 2rem 2rem;
    background: var(--bg-header);
    border-radius: 12px;
}

.push-prompt-icon[b-a5o5577wtg] {
    color: var(--accent-primary);
    margin-bottom: 1.25rem;
}

.push-prompt-heading[b-a5o5577wtg] {
    color: var(--text-white);
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.push-prompt-body[b-a5o5577wtg] {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0 0 1.75rem;
}

.push-prompt-enable[b-a5o5577wtg] {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.push-prompt-enable:hover:not(:disabled)[b-a5o5577wtg] {
    background: var(--accent-hover);
}

.push-prompt-enable:disabled[b-a5o5577wtg] {
    opacity: 0.7;
    cursor: not-allowed;
}

.push-prompt-later[b-a5o5577wtg] {
    background: none;
    border: none;
    color: var(--text-placeholder);
    font-size: 0.8125rem;
    cursor: pointer;
    padding: 0.75rem 0.5rem 0.25rem;
    transition: color 0.15s ease;
}

.push-prompt-later:hover[b-a5o5577wtg] {
    color: var(--text-muted);
}

@keyframes pushPromptFadeIn-b-a5o5577wtg {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pushPromptFadeOut-b-a5o5577wtg {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
/* /Components/PwaInstallBanner.razor.rz.scp.css */
.pwa-install-banner[b-a74boyr8gc] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--bg-header);
    border-top: 1px solid var(--bg-muted);
    padding: 0.75rem 1rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    animation: slideUp-b-a74boyr8gc 1.0s ease-out;
}

.pwa-install-banner.hiding[b-a74boyr8gc] {
    animation: slideDown-b-a74boyr8gc 0.3s ease-in forwards;
}

.pwa-banner-content[b-a74boyr8gc] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.pwa-banner-illustration[b-a74boyr8gc] {
    width: 40px;
    height: 60px;
    flex-shrink: 0;
}

.pwa-banner-text[b-a74boyr8gc] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.pwa-banner-text strong[b-a74boyr8gc] {
    color: var(--text-white);
    font-size: 0.9375rem;
}

.pwa-banner-text span[b-a74boyr8gc] {
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.3;
}

.pwa-banner-actions[b-a74boyr8gc] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    flex-shrink: 0;
}

.pwa-install-btn[b-a74boyr8gc] {
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.4375rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.pwa-install-btn:hover[b-a74boyr8gc] {
    background: var(--accent-hover);
}

.pwa-dismiss-btn[b-a74boyr8gc] {
    background: none;
    border: none;
    color: var(--text-placeholder);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0.125rem 0;
    text-align: center;
    transition: color 0.15s ease;
}

.pwa-dismiss-btn:hover[b-a74boyr8gc] {
    color: var(--text-muted);
}

@keyframes slideUp-b-a74boyr8gc {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideDown-b-a74boyr8gc {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}
