/* RSMITSCloud – app.css (MudBlazor) */

:root {
    --rs-blue:         #0D0DBB;
    --rs-blue-dark:    #090970;
    --rs-orange:       #FF6600;
    --rs-cyan:         #00AACC;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Roboto', sans-serif;
    background: #F0F2F8;
}

/* ── MudBlazor AppBar logo ─────────────────────────────────── */
.mud-appbar img {
    height: 36px;
    margin-right: 8px;
    vertical-align: middle;
}

/* ── Video grid for Calls page ─────────────────────────────── */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    padding: 12px;
}

.video-tile {
    position: relative;
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-tile video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-tile-label {
    position: absolute;
    bottom: 6px;
    left: 8px;
    color: #fff;
    font-size: 0.75rem;
    background: rgba(0,0,0,.45);
    padding: 2px 6px;
    border-radius: 4px;
}

/* ── Chat layout helpers ───────────────────────────────────── */
.chat-message-list {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
}

.chat-bubble-own {
    align-self: flex-end;
    background: var(--mud-palette-primary);
    color: #fff;
    border-radius: 16px 16px 4px 16px;
    padding: 8px 14px;
    max-width: 70%;
    word-break: break-word;
}

.chat-bubble-other {
    align-self: flex-start;
    background: #fff;
    color: #222;
    border-radius: 16px 16px 16px 4px;
    padding: 8px 14px;
    max-width: 70%;
    word-break: break-word;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
}

/* ── Utility ───────────────────────────────────────────────── */
.full-height {
    height: calc(100vh - 64px);
}

.upload-overlay-input {
    opacity: 0;
}
