/* ==========================================================================
   YALIAPP STYLESHEET (TELEGRAM-INSPIRED SIBER CHAT INTERFACE)
   ========================================================================== */

/* 1. Global Layout (2-Column Grid) */
body.auth-protected-page {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #070913;
    font-family: var(--font-primary);
    color: var(--text-primary);
}

/* Restore standard browser system mouse cursor on YaliApp */
body.auth-protected-page,
body.auth-protected-page * {
    cursor: default !important;
}

body.auth-protected-page a,
body.auth-protected-page button,
body.auth-protected-page label,
body.auth-protected-page .btn,
body.auth-protected-page .hover-interactive,
body.auth-protected-page .telegram-chat-row,
body.auth-protected-page .chat-tab-btn,
body.auth-protected-page .icon-btn,
body.auth-protected-page .call-control-btn,
body.auth-protected-page .control-micro-btn,
body.auth-protected-page .hud-btn {
    cursor: pointer !important;
}

body.auth-protected-page input,
body.auth-protected-page textarea {
    cursor: text !important;
}

.yaliapp-container {
    display: none; /* Shown after successful login */
    width: 100vw;
    height: 100vh;
    grid-template-columns: 72px 240px 1fr;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.yaliapp-container.active {
    display: grid;
}

/* 1. Leftmost Server Bar (72px) */
.sidebar-servers {
    background: #060913;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 0;
    gap: 10px;
    z-index: 15;
}

.server-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.server-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: all 0.25s ease;
}

.server-icon:hover .server-logo-img,
.server-icon.active .server-logo-img {
    border-radius: 14px;
}

.server-icon.official-announcement-server {
    border: 2px solid #f59e0b;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

.server-icon.official-announcement-server:hover,
.server-icon.official-announcement-server.active {
    border-color: #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
}

.server-logo-img.official-glow {
    filter: hue-rotate(50deg) saturate(1.8) brightness(1.1);
}

.server-icon:hover, .server-icon.active {
    background: var(--primary-grad);
    color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 0 16px rgba(6, 182, 212, 0.3);
    border-color: rgba(6, 182, 212, 0.4);
}

.server-icon.add-server-btn {
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

.server-icon.add-server-btn:hover {
    background: #10b981;
    color: #ffffff;
}

.server-separator {
    width: 32px;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    margin: 4px 0;
}

.servers-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center;
}

/* 2. Middle Channels & Friends Sidebar (240px) */
.sidebar-channels {
    background: #090d18;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 14;
}

.channels-header {
    height: 60px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(9, 13, 24, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.channels-search-bar {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nav-friend-trigger {
    width: 100%;
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-friend-trigger:hover, .nav-friend-trigger.active {
    background: rgba(6, 182, 212, 0.12);
    color: #06b6d4;
    border-color: rgba(6, 182, 212, 0.25);
}

.nav-friend-trigger.add-btn {
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

.nav-friend-trigger.add-btn:hover {
    background: #10b981;
    color: #ffffff;
}

.channels-section-header {
    padding: 14px 16px 6px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.dm-friends-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dm-friend-row {
    padding: 8px 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dm-friend-row:hover, .dm-friend-row.active {
    background: rgba(255, 255, 255, 0.06);
}

.dm-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--primary-grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.dm-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 14, 26, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    font-size: 1.25rem;
    color: #06b6d4;
    text-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.brand-tag {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: #06b6d4;
    letter-spacing: 0.05em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.icon-btn.logout-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

/* User Profile Badge Row */
.user-profile-badge {
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.015);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.profile-avatar {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--primary-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.profile-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
}

.profile-username {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-status {
    font-size: 0.75rem;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.profile-quick-controls {
    display: flex;
    gap: 4px;
}

.control-micro-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.control-micro-btn:hover, .control-micro-btn.active {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

/* Search Box & Tab Filters */
.chats-search-wrapper {
    padding: 12px 18px 8px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.search-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 9px 12px 9px 36px;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #06b6d4;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
}

.chats-category-tabs {
    padding: 4px 18px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.chat-tab-btn {
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-tab-btn:hover, .chat-tab-btn.active {
    background: rgba(6, 182, 212, 0.12);
    color: #06b6d4;
    border-color: rgba(6, 182, 212, 0.25);
}

.chat-tab-btn.add-btn {
    margin-left: auto;
    padding: 6px 10px;
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

.chat-tab-btn.add-btn:hover {
    background: #10b981;
    color: #ffffff;
}

/* Telegram-Style Chat List Feed */
.chats-feed-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.telegram-chat-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}

.telegram-chat-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.telegram-chat-row.active {
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.row-avatar-box {
    position: relative;
    flex-shrink: 0;
}

.row-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--primary-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: #ffffff;
}

.row-avatar.group-avatar {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.row-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #0a0e1a;
}

.row-status-dot.online {
    background: #10b981;
}

.row-status-dot.offline {
    background: #64748b;
}

.row-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
}

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

.row-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.row-time {
    font-size: 0.72rem;
    color: var(--text-muted);
}

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

.row-preview {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.row-unread-badge {
    padding: 2px 7px;
    border-radius: 10px;
    background: #06b6d4;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Telegram Empty Hero State (Right Column Default) */
.empty-workspace {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: #070913;
}

.empty-workspace.active {
    display: flex;
}

.empty-hero-content {
    max-width: 420px;
    text-align: center;
    padding: 40px 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cyber-badge-logo {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #06b6d4;
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.25);
}

.empty-hero-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Home Dashboard (Animated Main Center Panel) */
.home-dashboard {
    display: none;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: #070913;
    padding: 30px;
    z-index: 10;
}

.home-dashboard.active {
    display: block;
}

.home-dashboard-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-hero-banner {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(99, 102, 241, 0.12) 100%);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 20px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-avatar {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--primary-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
    overflow: hidden;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.hero-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 10px;
}

.home-quick-link {
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.home-quick-link:hover {
    background: rgba(6, 182, 212, 0.2);
    border-color: #06b6d4;
    transform: translateY(-2px);
}

.home-quick-link.radio:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
}

/* Shortcuts Grid */
.home-shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.shortcut-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.shortcut-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.shortcut-card.official {
    border-color: rgba(245, 158, 11, 0.3);
}

.shortcut-card.official .shortcut-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.shortcut-card.bot .shortcut-icon {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
}

.shortcut-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.shortcut-info h4 {
    margin: 0 0 2px 0;
    font-size: 0.95rem;
    color: #ffffff;
}

.shortcut-info p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.arrow-icon {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Suggested & Friends Grids */
.home-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 10px;
}

.home-section-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggested-users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.suggested-user-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.suggested-user-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateY(-2px);
}

.suggested-avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--primary-grad);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suggested-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
}

.suggested-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-add-suggested {
    width: 100%;
    padding: 7px 0;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-add-suggested:hover {
    background: #10b981;
    color: #ffffff;
}

.home-friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.home-friend-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.home-friend-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* 4. Chat Workspace (Main Content Window) */
.chat-workspace {
    background: #0b0f1c;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    z-index: 12;
}

/* Official Announcements Feed View */
.announcements-feed-view {
    display: none;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    background: #080b16;
    padding: 30px;
    z-index: 10;
}

.announcements-feed-view.active {
    display: flex;
}

.feed-header {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 16px;
}

/* Server Settings Modal & Toggles */
.server-setting-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 14px;
}

.toggle-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.setting-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.setting-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.15);
    transition: .3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #10b981;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.feed-header-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.admin-announcement-publisher {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.admin-announcement-publisher h3 {
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 8px;
}

#announceTitleInput {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

#announceTextInput {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px;
    color: #fff;
    font-size: 0.9rem;
    resize: vertical;
    margin-bottom: 12px;
}

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

.announcement-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: fadeIn 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.announcement-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.announcement-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.announcement-author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.announcement-author-info {
    display: flex;
    flex-direction: column;
}

.announcement-author-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: #ffffff;
}

.announcement-badge {
    font-size: 0.7rem;
    color: #f59e0b;
    font-weight: 600;
}

.announcement-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.announcement-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.announcement-body {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.chat-dashboard {
    display: none;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.chat-dashboard.active {
    display: flex !important;
}

.chat-dashboard-body {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
}

.chat-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.sidebar-members {
    width: 220px;
    background: #090d18;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    padding: 16px 12px;
    gap: 10px;
    overflow-y: auto;
}

.members-section-title {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    padding: 0 6px 4px;
}

.member-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.member-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.member-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--primary-grad);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.member-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.member-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-role-badge {
    font-size: 0.68rem;
    color: #06b6d4;
}

.member-role-badge.admin {
    color: #f59e0b;
    font-weight: 700;
}

.chat-header {
    height: 60px;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(11, 15, 28, 0.95);
    backdrop-filter: blur(10px);
}

.chat-target-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-target-avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--primary-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
}

.chat-target-meta {
    display: flex;
    flex-direction: column;
}

.chat-target-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
}

.chat-target-status {
    font-size: 0.75rem;
    color: #10b981;
}

.chat-call-controls {
    display: flex;
    gap: 8px;
}

.call-control-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.call-control-btn:hover {
    background: var(--primary-grad);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.25);
    border-color: rgba(6, 182, 212, 0.2);
}

.call-control-btn.active {
    background: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.25) !important;
    border-color: rgba(239, 68, 68, 0.2) !important;
}

/* Chat Message History Log */
.chat-messages {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message-bubble {
    display: flex;
    gap: 12px;
    max-width: 85%;
    align-self: flex-start;
    animation: messageEntry 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.message-bubble.me {
    align-self: flex-end;
    flex-direction: row-reverse;
}

@keyframes messageEntry {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    flex-shrink: 0;
}

.message-bubble.me .msg-avatar {
    background: var(--primary-grad);
}

.msg-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message-bubble.me .msg-content-wrapper {
    align-items: flex-end;
}

.msg-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.msg-author {
    font-weight: 700;
    color: #ffffff;
}

.msg-body {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-word;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.msg-body strong {
    font-weight: 700;
    color: #ffffff;
}

.msg-body em {
    font-style: italic;
    color: #06b6d4;
}

.msg-body code.chat-inline-code {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 6px;
    padding: 2px 6px;
    font-family: monospace;
    font-size: 0.84rem;
    color: #38bdf8;
}

.message-bubble.me .msg-body {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.15);
    color: #ffffff;
}

/* Media Previews in Chat */
.msg-media {
    margin-top: 8px;
    max-width: 320px;
    max-height: 240px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #090c15;
}

.msg-media img, .msg-media video {
    max-width: 100%;
    max-height: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Chat Input Footer Panel */
.chat-input-bar {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(12, 16, 29, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.chat-attachment-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.chat-attachment-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.chat-input-wrapper {
    flex: 1;
    position: relative;
}

.chat-input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 12px 50px 12px 20px;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.chat-input-wrapper input:focus {
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05),
                0 0 10px rgba(6, 182, 212, 0.15);
}

.chat-emoji-trigger {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
}

.chat-send-btn {
    background: var(--primary-grad);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.25);
    transition: all 0.2s ease;
}

.chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

/* 5. WebRTC Video Call Screen overlay panel */
.call-overlay {
    display: none; /* Shown dynamically during call */
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #07090f;
    z-index: 100;
    flex-direction: column;
}

.call-overlay.active {
    display: flex;
}

.video-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    padding: 24px;
    align-items: center;
    justify-content: center;
}

.video-box {
    background: #0f1322;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.65);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    backdrop-filter: blur(5px);
}

.remote-avatar-fallback {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.3);
    position: absolute;
    transition: opacity 0.3s ease;
}

/* Call Control Panel HUD */
.call-controls-hud {
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 16px;
    background: rgba(12, 16, 29, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.hud-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.hud-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hud-btn.active {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

.hud-btn.hangup {
    background: #ef4444;
    border-color: #ef4444;
}

.hud-btn.hangup:hover {
    background: #dc2626;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.45);
}

/* 6. Friends List Dashboard & Management tabs */
.friends-dashboard, .chat-dashboard {
    display: none;
    flex-direction: column;
    height: 100%;
}

.friends-dashboard.active, .chat-dashboard.active {
    display: flex;
}

.dashboard-header {
    height: 48px;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(12, 16, 29, 0.2);
}

.dashboard-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.friends-tabs {
    display: flex;
    gap: 4px;
}

.friends-tab-btn {
    background: none;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.friends-tab-btn:hover {
    color: #ffffff;
}

.friends-tab-btn.active {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.friends-tab-btn.add-friend {
    color: #10b981;
}

.friends-tab-btn.add-friend.active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.dashboard-content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

/* Friends item template */
.friends-section-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.friends-list-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.friend-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.friend-list-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

.friend-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.friend-item-details {
    display: flex;
    flex-direction: column;
}

.friend-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.friend-item-status-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.friend-item-actions {
    display: flex;
    gap: 8px;
}

.friend-action-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.friend-action-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.friend-action-btn.accept:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
}

.friend-action-btn.reject:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

/* Add Friend screen styling */
.add-friend-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
}

.add-friend-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.add-friend-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.add-friend-input-wrapper {
    display: flex;
    gap: 12px;
}

.add-friend-input-wrapper input {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.add-friend-input-wrapper input:focus {
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

.add-friend-submit-btn {
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border-radius: 12px;
}

/* Empty Dashboard placeholders */
.dashboard-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 60px 0;
    color: var(--text-muted);
}

.dashboard-empty i {
    font-size: 2.5rem;
    opacity: 0.4;
}

.dashboard-empty span {
    font-size: 0.9rem;
}

/* 7. Landing Gate (Shown to logged out users) */
.yaliapp-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: radial-gradient(circle, #0e1324 0%, #05070c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.yaliapp-gate-card {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    width: 100%;
    max-width: 440px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.gate-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.3));
}

.gate-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.gate-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.gate-auth-box {
    text-align: left;
    margin-bottom: 24px;
}

.gate-auth-form {
    display: none;
}

.gate-auth-form.active {
    display: block;
    animation: fadeInForm 0.3s ease forwards;
}

.gate-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.gate-back-btn:hover {
    color: #ffffff;
}

/* Mobile responsive dashboard */
@media (max-width: 768px) {
    .yaliapp-container {
        grid-template-columns: 64px 1fr; /* Hide channels sidebar on mobile */
    }
    .sidebar-channels {
        display: none;
    }
    .video-grid {
        grid-template-columns: 1fr;
        padding: 12px;
    }
    .call-hud-screen-btn {
        display: none !important; /* Hide screen sharing on mobile */
    }
}

/* Avatar Image fitting classes */
.profile-avatar, .dm-avatar, .msg-avatar, #settingsAvatarPreview, #onboardingAvatarPreview {
    flex-shrink: 0 !important;
    aspect-ratio: 1/1 !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar img, .dm-avatar img, .msg-avatar img, #settingsAvatarPreview img, #onboardingAvatarPreview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Dynamic Input Field Errors & Red Glow Shake Effects */
.auth-input-group input.input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    background: rgba(239, 68, 68, 0.05) !important;
    animation: shakeInput 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shakeInput {
    10%, 90% { transform: translateX(-2px); }
    20%, 80% { transform: translateX(4px); }
    30%, 50%, 70% { transform: translateX(-6px); }
    40%, 60% { transform: translateX(6px); }
}

.field-error-msg {
    color: #f87171;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    line-height: 1.3;
}

.field-error-msg.active {
    display: flex;
    animation: fadeInError 0.3s ease forwards;
}

@keyframes fadeInError {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Notifications Badge & Items */
.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
    border: 2px solid #0b0f19;
}

.notification-item {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.2s ease;
}

.notification-item:hover {
    border-color: var(--primary-color);
    background: rgba(15, 23, 42, 0.9);
}

.notification-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.notification-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notification-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

.notification-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.notification-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-accept-notif {
    background: #10b981 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer;
}

.btn-accept-notif:hover {
    background: #059669 !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.btn-decline-notif {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer;
}

.btn-decline-notif:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
}
