* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, #282d95 0%, #000000 100%);
    min-height: 100vh;
    overflow: hidden;
}

/* Observer Header */
.observer-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-logo {
    height: 50px;
    width: auto;
}

.editor-login-btn {
    width: 36px;
    height: 36px;
    background: #000000;
    border: 2px solid #333;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    text-decoration: none;
}

.editor-login-btn svg {
    width: 18px;
    height: 18px;
}

.editor-login-btn:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

/* Inline Radio Player */
.radio-player-inline {
    display: flex;
}

.radio-top-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-label {
    color: #999;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.radio-live {
    color: #ff0000;
    font-size: 8px;
    font-weight: bold;
    flex-shrink: 0;
    line-height: 1;
}

.radio-popout-btn {
    background: transparent;
    border: none;
    color: #999;
    width: 22px;
    height: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.3s;
}

.radio-popout-btn:hover {
    color: #fff;
}

.radio-play-btn {
    background: #666;
    border: none;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 10px;
    flex-shrink: 0;
    transition: background 0.3s;
}

.radio-play-btn:hover {
    background: #888;
}

.radio-status {
    color: #999;
    font-size: 8px;
    font-style: italic;
    flex-shrink: 0;
}

.radio-vol-label {
    color: #999;
    font-size: 8px;
    flex-shrink: 0;
}

.radio-volume-slider {
    width: 60px;
    height: 5px;
    background: #333;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.radio-volume-fill {
    height: 100%;
    background: #4a90e2;
    border-radius: 3px;
    width: 50%;
}

/* Board Container */
.board-container {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    cursor: grab;
}

.board-container.dragging {
    cursor: grabbing;
}

.board {
    position: absolute;
    width: 10000px;
    height: 10000px;
    overflow: visible;
    background: transparent;
}

/* Observer Instructions */
.observer-instructions {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    text-align: center;
    z-index: 999;
    pointer-events: none;
}

/* Post-it Notes - Read Only */
.note {
    position: absolute;
    width: 200px;
    min-height: 200px;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    user-select: none;
    pointer-events: none;
}

.note.yellow { background: #d9e244; }
.note.pink { background: #da38ed; }
.note.green { background: #33e51b; }
.note.blue { background: #4378fd; }
.note.navy { background: #2d4ea1; color: #d3d3d3; }
.note.orange { background: #ff8c42; }
.note.red { background: #ff4757; }
.note.gray { background: #d3d3d3; }
.note.purple { background: #a55eea; }
.note.tan { background: #d2b48c; }
.note.white { background: #ffffff; border: 2px solid #ccc; }
.note.black { background: #000000; color: white; }
.note.transparent { background: transparent; border: 2px solid rgba(255, 255, 255, 0.2); color: white; }

.note-title {
    width: 100%;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    pointer-events: none;
}

.note-content-display {
    width: 100%;
    min-height: 150px;
    padding: 8px;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.note-content-display a,
.note-content-display .preview-link {
    pointer-events: auto;
    color: #0066cc;
    text-decoration: underline;
    cursor: pointer;
}

.note-content-display a:hover,
.note-content-display .preview-link:hover {
    color: #0052a3;
}

.note.blue .note-content-display a,
.note.blue .note-content-display .preview-link {
    color: white;
}

.note.blue .note-content-display a:hover,
.note.blue .note-content-display .preview-link:hover {
    color: #f0f0f0;
}

.note.navy .note-content-display a,
.note.navy .note-content-display .preview-link {
    color: #d3d3d3;
}

.note.navy .note-content-display a:hover,
.note.navy .note-content-display .preview-link:hover {
    color: #e8e8e8;
}

.note-initials {
    position: absolute;
    bottom: 8px;
    left: 8px;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 11px;
    font-weight: bold;
    opacity: 0.6;
}

/* Text Labels */
.text-label {
    position: absolute;
    font-weight: bold;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Images */
.board-image {
    position: absolute;
    user-select: none;
    pointer-events: none;
}

.board-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 2px;
}

/* Videos */
.board-video {
    position: absolute;
    user-select: none;
    pointer-events: all;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.board-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: all;
}

/* Arrows */
.arrow {
    position: absolute;
    pointer-events: none;
}

.arrow svg {
    display: block;
}

/* Lines */
.line {
    position: absolute;
    pointer-events: none;
}

.line svg {
    display: block;
}

/* Shapes */
.board-shape {
    position: absolute;
    user-select: none;
    pointer-events: none;
}

.board-shape svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Text Documents */
.text-doc {
    position: absolute;
    width: 80px;
    user-select: none;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doc-icon {
    font-size: 48px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.doc-info {
    width: 100%;
    margin-top: 4px;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 2px 4px;
    border-radius: 4px;
}

.doc-title {
    color: white;
    font-size: 10px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-author {
    color: rgba(255, 255, 255, 0.7);
    font-size: 8px;
    font-style: italic;
}

/* Reactions */
.reaction {
    position: absolute;
    font-size: 48px;
    user-select: none;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Mobile-specific styles */
@media screen and (max-width: 768px) {
    .note-title,
    .note-content-display,
    .note-initials {
        font-family: Arial, sans-serif;
    }
}
