/**
 * Slide Menu Shortcode Styles
 *
 * Sliding drawer/panel navigation.
 * Positions: left, right, top, bottom
 * Modes: overlay, push, inline
 *
 * @since 1.0.0
 */

/* ==========================================================================
   Trigger Button
   ========================================================================== */

.oe-slidemenu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.625em 1em;
    margin: 0;
    border: 1px solid var(--oe-color-border);
    border-radius: 6px;
    background: var(--oe-color-white);
    color: var(--oe-color-text);
    font-family: inherit;
    font-size: 0.9375em;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.oe-slidemenu-trigger:hover {
    background: var(--oe-color-bg);
    border-color: var(--oe-color-border);
}

.oe-slidemenu-trigger:focus {
    outline: 2px solid var(--oe-color-primary);
    outline-offset: 2px;
}

.oe-slidemenu-trigger__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.oe-slidemenu-trigger__label {
    font-weight: 500;
}

/* ==========================================================================
   Overlay
   ========================================================================== */

.oe-slidemenu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
    cursor: pointer;
}

.oe-slidemenu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ==========================================================================
   Panel Base
   ========================================================================== */

.oe-slidemenu-panel {
    position: fixed;
    z-index: 1000;
    background: var(--oe-color-white) !important;
    color: var(--oe-color-text) !important;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0.3s;
    width: var(--slidemenu-width, 520px);
    max-width: calc(100vw - 96px);
    overflow: hidden;
    visibility: hidden;
}

/*
 * Elementor/theme color override protection.
 * Panels are fixed overlays — they must not inherit page styling.
 */
.oe-slidemenu-panel__menu a {
    color: var(--oe-color-text) !important;
}

.oe-slidemenu-panel__menu a:hover {
    color: var(--oe-color-text-dark) !important;
}

.oe-slidemenu-panel__menu .sub-menu a {
    color: var(--oe-color-text-light) !important;
}

.oe-slidemenu-panel__menu .sub-menu a:hover {
    color: var(--oe-color-text-dark) !important;
}

.oe-slidemenu-panel__menu .current-menu-item > a,
.oe-slidemenu-panel__menu .current_page_item > a {
    color: var(--oe-color-primary-lighter) !important;
}

.oe-slidemenu-panel__title {
    color: var(--oe-color-text-dark) !important;
}

.oe-slidemenu-panel__close {
    color: var(--oe-color-text-light) !important;
    background: transparent !important;
}

.oe-slidemenu-panel__close:hover {
    color: var(--oe-color-primary) !important;
    background: var(--oe-color-primary-tint) !important;
}

.oe-slidemenu-panel__close:active {
    color: var(--oe-color-white) !important;
    background: var(--oe-color-primary) !important;
}

/* Inline mode - not fixed */
.oe-slidemenu-panel--inline {
    position: relative;
    z-index: auto;
    max-width: none;
    box-shadow: none;
    transform: none !important;
    visibility: visible !important;
}

.oe-slidemenu-panel[aria-hidden="true"] {
    pointer-events: none;
}

.oe-slidemenu-panel[aria-hidden="false"] {
    pointer-events: auto;
}

/* ==========================================================================
   Panel Positions
   ========================================================================== */

/* Left - Floating style */
.oe-slidemenu-panel--left {
    top: 40px;
    left: 40px;
    bottom: 40px;
    border-radius: var(--oe-radius-xl);
    transform: translateX(calc(-100% - 40px));
}

/* Right - Floating style (matches tip creator panel dimensions) */
.oe-slidemenu-panel--right {
    top: 40px;
    right: 40px;
    bottom: 40px;
    border-radius: var(--oe-radius-xl);
    transform: translateX(calc(100% + 40px));
}

/* Top */
.oe-slidemenu-panel--top {
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    height: var(--slidemenu-height, 300px);
    max-height: calc(100vh - 48px);
    transform: translateY(-100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Bottom */
.oe-slidemenu-panel--bottom {
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: var(--slidemenu-height, 300px);
    max-height: calc(100vh - 48px);
    transform: translateY(100%);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

/* Open state - horizontal */
.oe-slidemenu-panel--left.is-open,
.oe-slidemenu-panel--right.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0s;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Open state - vertical */
.oe-slidemenu-panel--top.is-open,
.oe-slidemenu-panel--bottom.is-open {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0s;
}

/* ==========================================================================
   Close Button
   ========================================================================== */

.oe-slidemenu-panel__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--oe-color-text-light);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    flex-shrink: 0;
}

/* Legacy layout (no header) */
.oe-slidemenu-panel__nav + .oe-slidemenu-panel__close,
.oe-slidemenu-panel > .oe-slidemenu-panel__close:first-child {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
}

.oe-slidemenu-panel__close:hover {
    background: var(--oe-color-primary-tint);
    color: var(--oe-color-primary);
}

.oe-slidemenu-panel__close:active {
    background: var(--oe-color-primary);
    color: var(--oe-color-white);
}

.oe-slidemenu-panel__close:focus {
    outline: 2px solid var(--oe-color-primary);
    outline-offset: -2px;
}

.oe-slidemenu-panel__close svg {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.oe-slidemenu-panel__nav {
    padding: 0;
}

/* Legacy layout (no header) - nav needs padding for close button */
.oe-slidemenu-panel > .oe-slidemenu-panel__nav:first-child {
    padding-top: 60px;
}

.oe-slidemenu-panel__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.oe-slidemenu-panel__menu li {
    border-bottom: 1px solid var(--oe-color-bg);
}

.oe-slidemenu-panel__menu li:last-child {
    border-bottom: none;
}

.oe-slidemenu-panel__menu a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: var(--oe-color-text);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}

.oe-slidemenu-panel__menu a:hover {
    background: var(--oe-color-bg);
}

.oe-slidemenu-panel__menu a:focus {
    outline: 2px solid var(--oe-color-primary);
    outline-offset: -2px;
}

/* Submenu */
.oe-slidemenu-panel__menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--oe-color-bg);
}

.oe-slidemenu-panel__menu .sub-menu a {
    padding-left: 36px;
    font-size: 0.9375rem;
    color: var(--oe-color-text-light);
}

.oe-slidemenu-panel__menu .sub-menu a:hover {
    background: var(--oe-color-bg);
    color: var(--oe-color-text-dark);
}

/* Current menu item */
.oe-slidemenu-panel__menu .current-menu-item > a,
.oe-slidemenu-panel__menu .current_page_item > a {
    background: var(--oe-color-primary-tint);
    color: var(--oe-color-primary-lighter);
    font-weight: 600;
}

/* ==========================================================================
   Promotion Highlight
   ========================================================================== */

.oe-slidemenu-promo {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-top: 1px solid var(--oe-color-border);
}

.oe-slidemenu-promo__card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--oe-color-primary-tint);
    text-decoration: none;
    color: var(--oe-color-text-dark);
    border-bottom: 1px solid var(--oe-color-border);
    transition: background-color 0.15s ease;
}

.oe-slidemenu-promo__card:last-child {
    border-bottom: none;
}

.oe-slidemenu-promo__card:hover {
    background: var(--oe-color-primary-a10);
    color: var(--oe-color-text-dark);
    text-decoration: none;
}

.oe-slidemenu-promo__card:visited {
    color: var(--oe-color-text-dark);
}

.oe-slidemenu-promo__badge {
    display: none;
}

.oe-slidemenu-promo__content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.oe-slidemenu-promo__logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: contain;
    flex-shrink: 0;
}

.oe-slidemenu-promo__text {
    display: flex;
    flex-direction: column;
    gap: 0.0625rem;
    flex: 1;
    min-width: 0;
}

.oe-slidemenu-promo__title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--oe-color-text-dark);
}

.oe-slidemenu-promo__sub {
    font-size: 0.75rem;
    color: var(--oe-color-text-light);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.oe-slidemenu-promo__arrow {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--oe-color-primary);
    opacity: 0.5;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.oe-slidemenu-promo__card:hover .oe-slidemenu-promo__arrow {
    transform: translateX(3px);
    opacity: 1;
}

/* ==========================================================================
   Promotions Panel Content — Conversion-focused card layout
   ========================================================================== */

.oe-promo-panel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
}

.oe-promo-panel__empty {
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--oe-color-text-light);
    font-size: 0.875rem;
}

/* Card container */
.oe-promo-panel__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 1rem 0.5rem;
    background: var(--oe-color-white);
    border: 1px solid var(--oe-color-border);
    border-left: 3px solid var(--oe-color-primary);
    border-radius: var(--oe-radius-lg);
    box-shadow: var(--oe-shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.oe-promo-panel__item:hover {
    box-shadow: var(--oe-shadow-lg);
    border-left-color: var(--oe-color-primary-dark);
}

/* Centered logo */
.oe-promo-panel__logo {
    width: 48px;
    height: 48px;
    border-radius: var(--oe-radius-md);
    object-fit: contain;
    margin-bottom: 0.5rem;
}

/* Offer headline */
.oe-promo-panel__title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--oe-color-primary-dark);
    margin-bottom: 0.75rem;
}

/* CTA button — only clickable element */
.oe-promo-panel__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.625rem 1rem;
    background: linear-gradient(180deg, #1ea34a 0%, #15803d 100%);
    color: var(--oe-color-white);
    border-radius: var(--oe-radius-md);
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(21, 128, 61, 0.25);
    transition: filter 0.15s ease, box-shadow 0.2s ease;
}

.oe-promo-panel__cta::after {
    content: "\2192";
    font-size: 1rem;
    transition: transform 0.15s ease;
}

.oe-promo-panel__cta:hover {
    filter: brightness(1.08);
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.35);
    color: var(--oe-color-white);
    text-decoration: none;
}

.oe-promo-panel__cta:hover::after {
    transform: translateX(3px);
}

/* Terms — compact legal text */
.oe-promo-panel__terms {
    width: 100%;
    padding-top: 0.375rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--oe-color-border);
    font-size: 0.5625rem;
    line-height: 1.4;
    color: var(--oe-color-text-muted);
    text-align: left;
}

.oe-promo-panel__terms a {
    color: var(--oe-color-text-light);
    text-decoration: underline;
}

.oe-promo-panel__terms a:hover {
    color: var(--oe-color-primary);
}

/* ==========================================================================
   Menu Footer
   ========================================================================== */

.oe-slidemenu-footer {
    margin-top: auto;
    border-top: 1px solid var(--oe-color-border);
}

/* ==========================================================================
   Action Buttons (Create Tip + Profile)
   ========================================================================== */

.oe-slidemenu-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 1.25rem 1.25rem 0.75rem;
}

.oe-slidemenu-actions__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.oe-slidemenu-actions__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.oe-slidemenu-actions__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.oe-slidemenu-actions__label {
    white-space: nowrap;
}

/* Create Tip button */
.oe-slidemenu-actions__btn--create {
    background: var(--oe-color-primary-lighter);
    color: var(--oe-color-white);
}

.oe-slidemenu-actions__btn--create:hover,
.oe-slidemenu-actions__btn--create:focus {
    background: var(--oe-color-primary-lighter);
    color: var(--oe-color-white);
}

/* Profile button */
.oe-slidemenu-actions__btn--profile {
    background: var(--oe-color-bg);
    color: var(--oe-color-text);
    border: 1px solid var(--oe-color-border);
}

.oe-slidemenu-actions__btn--profile:hover,
.oe-slidemenu-actions__btn--profile:focus {
    background: var(--oe-color-border);
    color: var(--oe-color-text-dark);
    text-decoration: none;
}

/* Login button */
.oe-slidemenu-actions__btn--login {
    background: var(--oe-color-bg);
    color: var(--oe-color-text);
    border: 1px solid var(--oe-color-border);
}

.oe-slidemenu-actions__btn--login:hover,
.oe-slidemenu-actions__btn--login:focus {
    background: var(--oe-color-border);
    color: var(--oe-color-text-dark);
    text-decoration: none;
}

/* ==========================================================================
   Social CTAs
   ========================================================================== */

.oe-slidemenu-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 1.25rem 1.25rem;
}

.oe-slidemenu-social__cta {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.oe-slidemenu-social__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.oe-slidemenu-social__cta--telegram {
    background: linear-gradient(135deg, var(--oe-color-telegram) 0%, #0077b5 100%);
    color: var(--oe-color-white);
}

.oe-slidemenu-social__cta--telegram:hover,
.oe-slidemenu-social__cta--telegram:focus,
.oe-slidemenu-social__cta--telegram:active {
    color: var(--oe-color-white);
    text-decoration: none;
}

.oe-slidemenu-social__cta--facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
    color: var(--oe-color-white);
}

.oe-slidemenu-social__cta--facebook:hover,
.oe-slidemenu-social__cta--facebook:focus,
.oe-slidemenu-social__cta--facebook:active {
    color: var(--oe-color-white);
    text-decoration: none;
}

.oe-slidemenu-social__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.oe-slidemenu-social__text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex: 1;
    min-width: 0;
}

.oe-slidemenu-social__label {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
}

.oe-slidemenu-social__sub {
    font-size: 0.75rem;
    opacity: 0.85;
    line-height: 1.3;
}

.oe-slidemenu-social__arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.oe-slidemenu-social__cta:hover .oe-slidemenu-social__arrow {
    transform: translateX(3px);
    opacity: 1;
}

/* ==========================================================================
   Panel Header
   ========================================================================== */

.oe-slidemenu-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--oe-color-border);
    flex-shrink: 0;
    border-radius: var(--oe-radius-xl) var(--oe-radius-xl) 0 0;
}

.oe-slidemenu-panel__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--oe-color-text-dark);
}

.oe-slidemenu-panel__body {
    flex: 1;
    overflow-y: auto;
    border-radius: 0 0 var(--oe-radius-xl) var(--oe-radius-xl);
}

/* ==========================================================================
   Body Scroll Lock
   ========================================================================== */

body.oe-slidemenu-body-locked {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* ==========================================================================
   Push Mode Body Classes
   ========================================================================== */

body.oe-slidemenu-push-left {
    transform: translateX(var(--slidemenu-width, 300px));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.oe-slidemenu-push-right {
    transform: translateX(calc(-1 * var(--slidemenu-width, 300px)));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.oe-slidemenu-push-top {
    transform: translateY(var(--slidemenu-height, 300px));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.oe-slidemenu-push-bottom {
    transform: translateY(calc(-1 * var(--slidemenu-height, 300px)));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 640px) {
    .oe-slidemenu-panel {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
    }

    .oe-slidemenu-panel--left,
    .oe-slidemenu-panel--right {
        top: 16px;
        bottom: 16px;
        border-radius: 24px;
    }

    .oe-slidemenu-panel--left {
        left: 16px;
        transform: translateX(calc(-100% - 16px));
    }

    .oe-slidemenu-panel--right {
        right: 16px;
        transform: translateX(calc(100% + 16px));
    }

    .oe-slidemenu-panel__header {
        padding: 1rem 1.25rem;
        border-radius: 24px 24px 0 0;
    }

    .oe-slidemenu-panel__body {
        border-radius: 0 0 24px 24px;
    }

    .oe-slidemenu-panel > .oe-slidemenu-panel__nav:first-child {
        padding-top: 52px;
    }

    .oe-slidemenu-panel__menu a {
        padding: 12px 16px;
    }

    .oe-slidemenu-panel__menu .sub-menu a {
        padding-left: 28px;
    }

}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .oe-slidemenu-panel,
    .oe-slidemenu-overlay {
        transition: none;
    }
}

/* ==========================================================================
   Global Panel Content - Calendar
   ========================================================================== */

.oe-panel-calendar {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.oe-panel-calendar__groups {
    flex: 1;
    overflow-y: auto;
}

.oe-panel-calendar__group {
    padding: 0;
}

.oe-panel-calendar__group:not(:last-of-type) {
    border-bottom: 1px solid var(--oe-color-border);
}

.oe-panel-calendar__date {
    margin: 0;
    padding: 0.75rem 1rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--oe-color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--oe-color-bg);
}

.oe-panel-calendar__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.oe-panel-calendar__item {
    border-bottom: 1px solid var(--oe-color-bg);
}

.oe-panel-calendar__item:last-child {
    border-bottom: none;
}

.oe-panel-calendar__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s ease;
}

a.oe-panel-calendar__link:hover {
    background: var(--oe-color-bg);
}

.oe-panel-calendar__time {
    flex-shrink: 0;
    width: 40px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--oe-color-primary-lighter);
}

.oe-panel-calendar__league-logo {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.oe-panel-calendar__details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.oe-panel-calendar__match {
    font-size: 0.875rem;
    color: var(--oe-color-text-dark);
    font-weight: 500;
    line-height: 1.3;
}

.oe-panel-calendar__league {
    font-size: 0.75rem;
    color: var(--oe-color-text-muted);
}

.oe-panel-calendar__view-all {
    display: block;
    padding: 0.875rem 1.5rem;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--oe-color-white) !important;
    text-decoration: none !important;
    background: var(--oe-color-primary, #036133);
    border-radius: 0;
    transition: background-color 0.15s ease;
}

.oe-panel-calendar__view-all:hover,
.oe-panel-calendar__view-all:focus {
    background: var(--oe-color-primary-dark, #024a26);
    color: var(--oe-color-white) !important;
    text-decoration: none !important;
}

/* ==========================================================================
   Global Panel Content - Search
   ========================================================================== */

.oe-panel-search {
    padding: 1rem;
}

.oe-panel-search__form {
    display: flex;
    gap: 0.5rem;
}

.oe-panel-search__input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--oe-color-border);
    border-radius: 6px;
    font-size: 1rem;
    color: var(--oe-color-text-dark);
    background: var(--oe-color-white);
}

.oe-panel-search__input:focus {
    outline: none;
    border-color: var(--oe-color-primary);
    box-shadow: 0 0 0 3px var(--oe-color-focus-ring);
}

.oe-panel-search__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: var(--oe-color-primary);
    color: var(--oe-color-white);
    cursor: pointer;
    transition: background-color 0.2s;
}

.oe-panel-search__submit:hover {
    background: var(--oe-color-primary-dark);
}

.oe-panel-search__submit:focus {
    outline: 2px solid var(--oe-color-primary);
    outline-offset: 2px;
}

/* ==========================================================================
   Global Panel Content - Predictions
   ========================================================================== */

.oe-panel-predictions {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.oe-panel-predictions__list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    overflow-y: auto;
}

.oe-panel-predictions__item {
    border-bottom: 1px solid var(--oe-color-border);
}

.oe-panel-predictions__item:last-child {
    border-bottom: none;
}

.oe-panel-predictions__link {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.875rem 1rem;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.oe-panel-predictions__link:hover {
    background: var(--oe-color-bg);
}

.oe-panel-predictions__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--oe-color-text-dark);
    line-height: 1.4;
}

.oe-panel-predictions__udfald {
    font-size: 0.8125rem;
    color: var(--oe-color-primary-lighter);
    font-weight: 500;
}

.oe-panel-predictions__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--oe-color-text-light);
}

.oe-panel-predictions__odds {
    font-weight: 500;
}

.oe-panel-predictions__units {
    font-weight: 500;
}

.oe-panel-predictions__status {
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.oe-panel-predictions__status--pending {
    background: #fef3c7;
    color: #92400e;
}

.oe-panel-predictions__status--won {
    background: #d1fae5;
    color: var(--oe-color-primary-dark);
}

.oe-panel-predictions__status--lost {
    background: #fee2e2;
    color: #991b1b;
}

.oe-panel-predictions__status--void,
.oe-panel-predictions__status--push {
    background: var(--oe-color-border);
    color: var(--oe-color-text);
}

.oe-panel-predictions__author {
    font-size: 0.75rem;
    color: var(--oe-color-text-muted);
}

.oe-panel-predictions__view-all {
    display: block;
    padding: 0.875rem 1.5rem;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--oe-color-white) !important;
    text-decoration: none !important;
    background: var(--oe-color-primary, #036133);
    border-radius: 0;
    transition: background-color 0.15s ease;
}

.oe-panel-predictions__view-all:hover,
.oe-panel-predictions__view-all:focus {
    background: var(--oe-color-primary-dark, #024a26);
    color: var(--oe-color-white) !important;
    text-decoration: none !important;
}

/* ==========================================================================
   Casino Panel
   ========================================================================== */

.oe-panel-casino {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.oe-panel-casino__list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    overflow-y: auto;
}

.oe-panel-casino__item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 0.75rem;
    row-gap: 0.25rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--oe-color-bg);
}

.oe-panel-casino__item:last-child {
    border-bottom: none;
}

.oe-panel-casino__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s;
}

.oe-panel-casino__link:hover {
    opacity: 0.8;
}

.oe-panel-casino__logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    background: var(--oe-color-bg);
    flex-shrink: 0;
}

.oe-panel-casino__info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.oe-panel-casino__name-row {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    min-width: 0;
}

.oe-panel-casino__name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--oe-color-text-dark);
    white-space: nowrap;
    flex-shrink: 0;
}

.oe-panel-casino__rating {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.oe-panel-casino__star {
    flex-shrink: 0;
}

.oe-panel-casino__star--filled {
    fill: #f59e0b;
}

.oe-panel-casino__star--empty {
    fill: var(--oe-color-border);
}

.oe-panel-casino__rating-num {
    font-size: 0.75rem;
    color: var(--oe-color-text-light);
    margin-left: 0.25rem;
}

.oe-panel-casino__bonus {
    font-size: 0.8125rem;
    color: var(--oe-color-casino);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.oe-panel-casino__terms {
    flex-basis: 100%;
    font-size: 10px;
    color: var(--oe-color-text-light);
    line-height: 1.3;
    font-style: italic;
}

.oe-panel-casino__terms,
.oe-panel-casino__terms a,
.oe-panel-casino__terms span {
    color: var(--oe-color-text) !important;
}

.oe-panel-casino__terms a {
    text-decoration: underline;
}

.oe-panel-casino__cta {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, var(--oe-color-casino) 0%, var(--oe-color-casino-dark) 100%);
    color: var(--oe-color-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s;
}

.oe-panel-casino__cta:hover {
    background: linear-gradient(135deg, var(--oe-color-casino-dark) 0%, var(--oe-color-casino-darker) 100%);
    color: var(--oe-color-white);
}

.oe-panel-casino__view-all {
    display: block;
    padding: 0.875rem 1.5rem;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--oe-color-white) !important;
    text-decoration: none !important;
    background: var(--oe-color-primary, #036133);
    border-radius: 0;
    transition: background-color 0.15s ease;
}

.oe-panel-casino__view-all:hover,
.oe-panel-casino__view-all:focus {
    background: var(--oe-color-primary-dark, #024a26);
    color: var(--oe-color-white) !important;
    text-decoration: none !important;
}

/* ==========================================================================
   Placeholder Text
   ========================================================================== */

.oe-panel-placeholder {
    color: var(--oe-color-text-light);
    font-size: 0.875rem;
    text-align: center;
    padding: 2rem 1rem;
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
    .oe-slidemenu-trigger,
    .oe-slidemenu-overlay,
    .oe-slidemenu-panel {
        display: none !important;
    }
}