/* DDDS Cloud - Mobile Remote Controller Stylesheet */
html,
body {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: fixed;
    background: #080c14;
    font-family: var(--font-stack);
    touch-action: manipulation;
}

.remote-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    padding: 10px;
    gap: 8px;
    box-sizing: border-box;
}

/* Mobile Top Bar */
.remote-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.room-title-mobile {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.remote-latency-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-emerald);
}

/* Big Navigation Buttons */
.nav-buttons-row {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 10px;
    height: 80px;
    flex-shrink: 0;
}

.big-nav-btn {
    border: none;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.1s ease, filter 0.1s ease;
    user-select: none;
}

.big-nav-btn:active {
    transform: scale(0.96);
    filter: brightness(1.2);
}

.btn-prev {
    background: #1e293b;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-next {
    background: linear-gradient(135deg, #0284c7, #2563eb);
    color: white;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.4);
}

.nav-btn-icon {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

/* Dedicated Laser Touchpad Area */
.laser-pad-card {
    flex: 1;
    min-height: 160px;
    background: #0d1527;
    border: 2px dashed #1e293b;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    touch-action: none;
    user-select: none;
    transition: border-color 0.2s ease;
}

.laser-pad-card:active {
    border-color: var(--laser-red);
    background: #0f172a;
}

.laser-pad-hint {
    color: var(--text-dim);
    font-size: 0.85rem;
    pointer-events: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.laser-icon-symbol {
    font-size: 1.8rem;
    color: var(--laser-red);
}

/* Speaker Notes Mobile Collapsible Accordion */
.notes-accordion {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    max-height: 100px;
    display: flex;
    flex-direction: column;
}

.notes-accordion-header {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notes-accordion-body {
    padding: 10px 12px;
    font-size: 0.9rem;
    color: #cbd5e1;
    overflow-y: auto;
    max-height: 90px;
}

/* Quick Action Toolstrip */
.remote-bottom-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    flex-shrink: 0;
}

.quick-action-btn {
    padding: 10px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.quick-action-btn:active {
    background: var(--bg-card-hover);
}

.quick-action-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.quick-action-btn.blackout-active {
    background: var(--accent-rose);
    border-color: var(--accent-rose);
    color: white;
}