/* ========================================
   מילנר TV — feature: programme search + reminders
   ======================================== */

/* ----- Search results: programmes ----- */
.fx-search-label {
    padding: 10px 10px 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
}

.fx-prog-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fx-prog-title,
.fx-prog-sub {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fx-prog-sub {
    font-size: 12px;
    color: var(--text-secondary);
}

.fx-prog-bell,
.fx-epg-bell {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: color var(--dur-fast);
}

.fx-prog-bell.fx-on,
.fx-epg-bell.fx-on {
    color: var(--primary-light);
}

.fx-prog-bell.fx-on .icon,
.fx-epg-bell.fx-on .icon {
    fill: currentColor;
}

/* ----- EPG panel bell ----- */
.epg-item.fx-epg-has-bell {
    position: relative;
    padding-inline-end: 52px;
}

.fx-epg-bell {
    position: absolute;
    inset-inline-end: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
}

.fx-epg-bell:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.fx-epg-bell.fx-on:hover { color: var(--primary-light); }

/* ----- Home section ----- */
.fx-rem-item {
    cursor: default;
}

.fx-rem-item:hover {
    background: var(--bg-card);
    border-color: var(--border);
}

.fx-rem-logo {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-xs);
    flex-shrink: 0;
    object-fit: contain;
}

.fx-rem-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fx-rem-title,
.fx-rem-sub {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fx-rem-title { font-weight: 700; }

.fx-rem-sub {
    font-size: 12px;
    color: var(--text-secondary);
}

.fx-rem-remove {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--dur-fast), background var(--dur-fast);
}

.fx-rem-remove:hover {
    color: var(--error);
    background: var(--error-subtle);
}

.fx-rem-more {
    padding: 2px 4px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ----- In-app banner ----- */
.fx-reminder-banner {
    position: fixed;
    top: calc(var(--safe-top, 0px) + 16px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 250;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(520px, calc(100vw - 32px));
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    transition: opacity 0.4s ease, transform 0.4s var(--ease-out);
}

.fx-reminder-banner--hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-16px);
}

.fx-reminder-banner img,
.fx-rb-logo-ph {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: var(--radius-xs);
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
}

.fx-rb-logo-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.fx-rb-info {
    flex: 1;
    min-width: 0;
}

.fx-rb-kicker {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-light);
}

.fx-rb-title,
.fx-rb-channel {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fx-rb-title {
    font-size: 14px;
    font-weight: 700;
}

.fx-rb-channel {
    font-size: 12px;
    color: var(--text-secondary);
}

.fx-rb-actions {
    flex-shrink: 0;
    display: flex;
    gap: 8px;
}

@media (max-width: 480px) {
    .fx-reminder-banner { flex-wrap: wrap; }
    .fx-rb-actions { width: 100%; }
    .fx-rb-actions .fx-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .fx-reminder-banner { transition: none; }
}
