/*
 * My Event Gallery – Gallery Page (meg_gallery_player shortcode wrapper)
 * Styles the toolbar and fullscreen launch button shown on the Gallery page.
 */

.meg-gallery-page-wrap {
    position: relative;
    margin: 0 auto;
    font-family: inherit;
}

/* ── Toolbar ──────────────────────────────────────────────────── */
.meg-gallery-page-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #1a1a1a;
    border-radius: 8px 8px 0 0;
    gap: 12px;
}

.meg-gallery-page-count {
    font-size: 13px;
    color: #aaa;
    letter-spacing: 0.02em;
}

/* ── Fullscreen launch button ─────────────────────────────────── */
.meg-btn-fullscreen-launch {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    background: #fff;
    color: #111;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: background 0.15s, transform 0.1s;
    line-height: 1;
}
.meg-btn-fullscreen-launch:hover {
    background: #f0f0f0;
    transform: scale(1.03);
}
.meg-btn-fullscreen-launch:active {
    transform: scale(0.97);
}
.meg-btn-fullscreen-launch svg {
    flex-shrink: 0;
}

/* ── Inline player container ──────────────────────────────────── */
.meg-gallery-page-player {
    position: relative;
    overflow: hidden;
    background: #000;
    border-radius: 0 0 8px 8px;
}

/* Player inside a page embed fills its container */
.meg-gallery-page-player .meg-player,
.meg-gallery-page-player .meg-player-body {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.meg-gallery-page-player .meg-slides {
    width: 100%;
    height: 100%;
}
