/* ========================================
   Windows 95 Style Portfolio CSS
   ======================================== */

/* CSS Reset - Remove default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling with Windows 95 font */
body {
    font-family: "MS Sans Serif", Arial, sans-serif;
    overflow: hidden; /* Prevent scrolling to maintain desktop feel */
}

/* ========================================
   Desktop Container
   ======================================== */
#desktop {
    /* Full viewport dimensions */
    width: 100vw;
    height: 100vh;
    
    /* Classic Windows 95 teal background */
    background-color: #008080;
    
    /* Relative positioning for absolute positioned children */
    position: relative;
}

/* ========================================
   Taskbar Styling
   ======================================== */
#taskbar {
    /* Fixed positioning at bottom of screen */
    position: fixed;
    bottom: 0;
    left: 0;
    
    /* Full width and fixed height */
    width: 100%;
    height: 40px;
    
    /* Light gray background matching Windows 95 */
    background-color: #C0C0C0;
    
    /* Flexbox layout for horizontal alignment */
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    /* Classic Windows 95 3D raised border effect */
    border-top: 2px solid #FFFFFF;    /* Light top border */
    border-left: 2px solid #FFFFFF;   /* Light left border */
    border-bottom: 2px solid #808080; /* Dark bottom border */
    border-right: 2px solid #808080;  /* Dark right border */
    
    /* Ensure taskbar stays on top */
    z-index: 1000;
}

/* ========================================
   Taskbar Components
   ======================================== */

/* ========================================
   Start Button Styling
   ======================================== */
#start-btn {
    /* Basic button reset */
    border: none;
    font-family: inherit;
    
    /* Updated styling specifications */
    background-color: #C0C0C0;
    padding: 5px 15px;
    font-weight: bold;
    font-size: 14px;
    
    /* 3D raised button effect (same as taskbar) */
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
    
    /* Cursor pointer for interactivity */
    cursor: pointer;
    
    /* Remove default button outline */
    outline: none;
}

/* Start button hover effect - slight background change */
#start-btn:hover {
    background-color: #D0D0D0;
}

/* Start button active/clicked effect - inset border (reverse colors) */
#start-btn:active {
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
    background-color: #B0B0B0;
}

/* Task buttons container */
#task-buttons {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

/* System tray styling */
#system-tray {
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 5px;
}

/* ========================================
   Clock Styling
   ======================================== */
#clock {
    /* Background and text styling */
    background-color: #C0C0C0;
    color: #000000;
    font-size: 12px;
    font-weight: normal;
    
    /* Padding and dimensions */
    padding: 5px 10px;
    min-width: 80px;
    
    /* Text alignment */
    text-align: center;
    
    /* 3D inset effect (reverse of raised effect) */
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
}

/* ========================================
   Desktop Icons and Windows
   ======================================== */

/* Icons container for desktop shortcuts */
#icons-container {
    position: absolute;
    top: 0;
    left: 0;
    gap: 24px;
    flex-wrap: wrap;
    height: 100%; /* Account for taskbar height */
    padding: 20px 10px; /* Top-left positioning with padding */
    display: flex;
    flex-direction: column;
}

/* Windows container for open applications */
#windows-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 40px); /* Account for taskbar height */
    pointer-events: none; /* Allow clicks to pass through to desktop */
}

/* ========================================
   Desktop Icon Styling
   ======================================== */

/* Desktop icon container */
.desktop-icon {
    /* Flexbox layout for vertical alignment */
    display: flex;
    flex-direction: column;
    align-items: center;
    
    /* Dimensions and spacing */
    width: 80px;
    padding: 10px;
    margin-bottom: 15px;
    
    /* Cursor for interactivity */
    cursor: pointer;
}

/* Icon image (emoji container) */
.icon-image {
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  overflow: hidden;
}

.icon-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Icon label text */
.icon-label {
    /* Text styling */
    color: white;
    font-size: 11px;
    text-align: center;
    
    /* Text shadow for readability on teal background */
    text-shadow: 1px 1px 2px black;
}

/* Hover effect for desktop icons */
.desktop-icon:hover .icon-image {
    background: lightblue;
}

/* Selected state for desktop icons */
.desktop-icon.selected .icon-image {
    background: #000080; /* Windows blue */
}

/* ========================================
   Window System Styling
   ======================================== */

/* Main window container */
.window {
    /* Positioning and layout */
    position: absolute;
    display: flex;
    flex-direction: column;
    
    /* Dimensions */
    min-width: 300px;
    min-height: 200px;
    
    /* Visual styling */
    background: white;
    border: 2px solid #0000AA; /* Windows blue border */
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
    
    /* Interaction */
    pointer-events: auto;
    z-index: 100;
}

/* Window title bar */
.title-bar {
    /* Layout */
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    /* Visual styling */
    background: linear-gradient(to right, #0000AA, #1084D0);
    color: white;
    padding: 3px 5px;
    
    /* Typography */
    font-weight: bold;
    font-size: 12px;
    
    /* Interaction */
    cursor: move; /* For dragging functionality */
}

/* Title bar buttons container */
.title-bar-buttons {
    display: flex;
    gap: 3px;
}

/* Title bar buttons (minimize, maximize, close) */
.title-bar-buttons button {
    /* Dimensions */
    width: 18px;
    height: 18px;
    padding: 0;
    
    /* Visual styling */
    background: #C0C0C0;
    border: none;
    
    /* 3D raised button effect */
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
    
    /* Typography */
    font-size: 10px;
    font-weight: bold;
    color: #000000;
    
    /* Interaction */
    cursor: pointer;
}

/* Title bar button hover effect */
.title-bar-buttons button:hover {
    background: #E0E0E0;
}

/* Title bar button active/pressed effect (inset) */
.title-bar-buttons button:active {
    /* Reverse the border colors for inset effect */
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
    background: #B0B0B0;
}

/* Window content area */
.window-content {
    /* Layout */
    flex: 1;
    padding: 15px;
    overflow: auto;
    
    /* Visual styling */
    background: white;
}

/* Minimized window state */
.window.minimized {
    display: none;
}

/* ========================================
   Dossier Layout Styling
   ======================================== */

/* Main dossier layout container */
.dossier-layout {
    display: flex;
    height: 100%;
    gap: 20px;
}

/* Left panel for photo */
.photo-panel {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #F0F0F0;
    border: 2px inset;
}

/* Photo frame styling */
.photo-frame {
    width: 100%;
    border: 3px solid #808080;
    padding: 5px;
    background: white;
}

/* Photo image styling */
.photo-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* Right panel for document content */
.document-panel {
    width: 70%;
    padding: 20px;
    overflow-y: auto;
    background: white;
    font-size: 13px;
    line-height: 1.6;
}

/* ========================================
   Start Menu Styling
   ======================================== */

/* Main start menu container */
#start-menu {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 250px;
    background: #C0C0C0;
    
    /* 3D raised border effect */
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
    
    /* Hidden by default */
    display: none;
    z-index: 2000;
}

/* Show start menu when .show class is added */
#start-menu.show {
    display: block;
}

/* Menu items */
.menu-item {
    padding: 8px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #000000;
    position: relative;
}

/* Menu item hover effect */
.menu-item:hover {
    background: #000080;
    color: white;
}

/* Menu icons */
.menu-icon {
    margin-right: 10px;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

/* Submenu arrow */
.submenu-arrow {
    margin-left: auto;
    font-size: 10px;
    color: #808080;
}

/* Menu separators */
.menu-separator {
    border: none;
    height: 1px;
    background: #808080;
    margin: 2px 0;
}

/* Submenu styling */
.submenu {
    display: none;
    background: #C0C0C0;
    border-left: 1px solid #808080;
    margin-left: 10px;
}

/* Show submenu on hover */
.menu-submenu:hover .submenu {
    display: block;
}

/* Submenu items */
.submenu .menu-item {
    padding-left: 25px;
    font-size: 11px;
}

/* Submenu hover effect */
.submenu .menu-item:hover {
    background: #000080;
    color: white;
}

/* ========================================
   Publications Window Styling
   ======================================== */

/* Publications content container */
#publications-content {
    padding: 20px;
    background: white;
    height: 100%;
    overflow-y: auto;
}

/* Publications grid layout */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px;
}

/* Individual publication icon */
.pub-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 15px;
    border: 2px solid transparent;
    transition: all 0.2s;
    background: transparent;
}

/* Publication icon hover effect - Windows 95 style */
.pub-icon:hover {
    background: #E0E0E0;
    border: 2px solid #000080;
}

/* Publication icon image */
.pub-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* Publication icon label */
.pub-icon-label {
    text-align: center;
    font-size: 12px;
    color: #000;
    max-width: 120px;
    line-height: 1.3;
    font-family: "MS Sans Serif", Arial, sans-serif;
}

/* Publication detail view styling */
.pub-detail {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    background: white;
    line-height: 1.6;
}

/* Publication detail header with back button */
.pub-detail-header {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

/* Publication detail body with main content */
.pub-detail-body {
    padding: 20px 40px;
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.pub-detail h2 {
    color: #000080;
    margin-bottom: 20px;
    font-size: 18px;
    border-bottom: 2px solid #000080;
    padding-bottom: 10px;
}

.pub-detail p {
    margin: 15px 0;
    color: #000;
}

.pub-detail-label {
    font-weight: bold;
    color: #000080;
    display: inline-block;
    width: 140px;
}

/* Publication detail footer with action button */
.pub-detail-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #ccc;
    margin-top: auto;
}

.pub-link-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #C0C0C0;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
    text-decoration: none;
    color: black;
    font-size: 13px;
    cursor: pointer;
    margin-top: 20px;
}

.pub-link-btn:hover {
    background: #E0E0E0;
}

.pub-link-btn:active {
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
}

.pub-back-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #C0C0C0;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
    text-decoration: none;
    color: black;
    font-size: 13px;
    cursor: pointer;
    margin-top: 20px;
}

.pub-back-btn:hover {
    background: #E0E0E0;
}

.pub-back-btn:active {
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
}

/* ========================================
   Nepal Protests Window Styling
   ======================================== */

/* Main container for Nepal Protests window */
.nepal-protests-container {
    display: flex;
    height: 100%;
    background: white;
}

/* Left panel for video display */
.nepal-protests-left-panel {
    width: 30%;
    border-right: 2px solid #808080;
    padding: 15px;
    background: #F0F0F0;
    display: flex;
    flex-direction: column;
}

/* Right panel for analysis dashboard */
.nepal-protests-right-panel {
    width: 70%;
    padding: 20px;
    background: white;
    overflow-y: auto;
}

/* Navigation header */
.nepal-protests-nav {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Video selector dropdown */
.nepal-protests-dropdown {
    background: white;
    border: 2px solid #808080;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    padding: 5px 8px;
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 12px;
    color: #000;
    width: 100%;
}

.nepal-protests-dropdown:focus {
    outline: none;
    border: 2px solid #000080;
}

/* Cluster navigation buttons */
.nepal-protests-cluster-nav {
    display: flex;
    gap: 5px;
}

.nepal-protests-nav-btn {
    background: #C0C0C0;
    border: 2px solid #808080;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    padding: 4px 12px;
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 11px;
    cursor: pointer;
    color: #000;
    flex: 1;
}

.nepal-protests-nav-btn:hover {
    background: #E0E0E0;
}

.nepal-protests-nav-btn:active {
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
    background: #B0B0B0;
}

/* Video section */
.nepal-protests-video-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Video thumbnail */
.nepal-protests-thumbnail {
    width: 200px;
    height: 300px;
    background: #000;
    border: 3px solid #808080;
    border-top: 3px solid #FFFFFF;
    border-left: 3px solid #FFFFFF;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nepal-protests-thumbnail:hover {
    border-color: #000080;
}

/* TikTok logo overlay */
.nepal-protests-tiktok-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 10px;
    font-weight: bold;
    border-radius: 2px;
}

/* Play button overlay */
.nepal-protests-play-btn {
    font-size: 48px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Engagement stats */
.nepal-protests-stats {
    display: flex;
    justify-content: space-around;
    background: white;
    border: 2px solid #808080;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    padding: 10px;
}

.nepal-protests-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.nepal-protests-stat-icon {
    font-size: 16px;
    color: #000080;
}

.nepal-protests-stat-value {
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #000;
}

/* Right panel components */
.nepal-protests-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #C0C0C0;
}

.nepal-protests-video-id {
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #000080;
    margin-bottom: 8px;
}

.nepal-protests-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.nepal-protests-badge {
    background: #C0C0C0;
    border: 1px solid #808080;
    border-radius: 12px;
    padding: 2px 8px;
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 10px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nepal-protests-section-title {
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #000080;
    margin-bottom: 8px;
    border-bottom: 1px solid #C0C0C0;
    padding-bottom: 4px;
}

.nepal-protests-summary-section {
    margin-bottom: 16px;
}

.nepal-protests-summary-content {
    background: #F8F8F8;
    border: 2px solid #C0C0C0;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    padding: 12px;
    max-height: 120px;
    overflow-y: auto;
}

.nepal-protests-summary-text {
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: #000;
    margin-bottom: 8px;
}

.nepal-protests-show-more-btn {
    background: #C0C0C0;
    border: 2px solid #808080;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    padding: 4px 12px;
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 10px;
    cursor: pointer;
    color: #000080;
    text-decoration: underline;
}

.nepal-protests-show-more-btn:hover {
    background: #E0E0E0;
}

.nepal-protests-show-more-btn:active {
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
    background: #B0B0B0;
}

.nepal-protests-metrics {
    margin-bottom: 16px;
}

.nepal-protests-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.nepal-protests-metric-card {
    background: #F0F0F0;
    border: 2px solid #808080;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.nepal-protests-metric-card:hover {
    background: #E8E8E8;
}

.nepal-protests-metric-icon {
    font-size: 20px;
    color: #000080;
}

.nepal-protests-metric-label {
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nepal-protests-metric-value {
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

/* Tag visualization system */
.nepal-protests-tags {
    margin-bottom: 16px;
}

.tag-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 8px;
}

.tag-label {
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: #000080;
    min-width: 120px;
    flex-shrink: 0;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    flex: 1;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    margin: 2px;
    border-radius: 12px;
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

/* Tag color variants */
.tag-gray {
    background-color: #C0C0C0;
    color: #000;
}

.tag-teal {
    background-color: #2D9B9B;
    color: white;
}

.tag-orange {
    background-color: #E89B3C;
    color: white;
}

.tag-red {
    background-color: #DC3545;
    color: white;
}

.tag-dark-teal {
    background-color: #006666;
    color: white;
}

.tag-blue-purple {
    background-color: #6366F1;
    color: white;
}

.tag-red-pink {
    background-color: #E75480;
    color: white;
}

.tag-green {
    background-color: #28A745;
    color: white;
}

/* Navigation controls */
.nepal-protests-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding: 8px;
    background: #F0F0F0;
    border: 2px solid #808080;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
}

.nepal-protests-navigation .nepal-protests-nav-btn {
    background: #C0C0C0;
    border: 2px solid #808080;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    padding: 6px 12px;
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    color: #000;
    min-width: 40px;
    text-align: center;
}

.nepal-protests-navigation .nepal-protests-nav-btn:hover:not(:disabled) {
    background: #E0E0E0;
}

.nepal-protests-navigation .nepal-protests-nav-btn:active:not(:disabled) {
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
    background: #B0B0B0;
}

.nepal-protests-navigation .nepal-protests-nav-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.nepal-protests-counter {
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: #000080;
    text-align: center;
    flex: 1;
    margin: 0 8px;
}

/* Search functionality */
.nepal-protests-search {
    margin-bottom: 16px;
}

.nepal-protests-search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.nepal-protests-search-input {
    width: 100%;
    padding: 6px 30px 6px 8px;
    border: 2px inset #C0C0C0;
    background: white;
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 11px;
    color: #000;
    outline: none;
}

.nepal-protests-search-input:focus {
    border: 2px inset #000080;
}

.nepal-protests-search-input::placeholder {
    color: #666;
    font-style: italic;
}

.nepal-protests-clear-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: #C0C0C0;
    border: 1px solid #808080;
    border-top: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    width: 20px;
    height: 20px;
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.nepal-protests-clear-btn:hover {
    background: #E0E0E0;
}

.nepal-protests-clear-btn:active {
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-bottom: 1px solid #FFFFFF;
    border-right: 1px solid #FFFFFF;
    background: #B0B0B0;
}

/* View toggle header */
.nepal-protests-view-header {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
    background: #F0F0F0;
    border-bottom: 1px solid #C0C0C0;
}

.nepal-protests-view-toggle {
    background: #C0C0C0;
    border: 2px solid #808080;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    padding: 6px 15px;
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    color: #000;
}

.nepal-protests-view-toggle:hover {
    background: #E0E0E0;
}

.nepal-protests-view-toggle:active {
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
    background: #B0B0B0;
}

/* Gallery view */
.nepal-protests-gallery-view {
    height: 100%;
    overflow-y: auto;
}

.nepal-protests-gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    padding: 20px;
}

/* Video cards */
.video-card {
    background: #F0F0F0;
    border: 2px solid #808080;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
}

.video-card:hover {
    background: #E8E8E8;
    border-color: #000080;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.video-card-thumbnail {
    width: 100%;
    height: 120px;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-card-tiktok-logo {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 8px;
    font-weight: bold;
    border-radius: 2px;
}

.video-card-play-btn {
    font-size: 24px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.video-card-content {
    padding: 12px;
}

.video-card-username {
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #000080;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-card-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 10px;
    color: #666;
}

.video-card-views {
    font-weight: bold;
}

.video-card-duration {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
}

.video-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.video-card-tag {
    background: #2D9B9B;
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Loading states for thumbnails */
.nepal-protests-loading-thumbnail {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-family: "MS Sans Serif", Arial, sans-serif;
    z-index: 2;
}

.nepal-protests-loading-thumbnail div:first-child {
    font-size: 24px;
    margin-bottom: 8px;
    animation: pulse 1.5s ease-in-out infinite;
}

.nepal-protests-loading-thumbnail div:last-child {
    font-size: 11px;
    opacity: 0.8;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
