/**
 * Utility Classes - Display, Positioning, State Management
 * Consolidated utilities and responsive helpers
 */

/* ===========================================
   DISPLAY UTILITIES
   =========================================== */

.hidden {
    display: none !important;
}

.visible-block {
    display: block !important;
}

.visible-flex {
    display: flex !important;
}

.visible-inline-block {
    display: inline-block !important;
}

/* Display utilities override for loading element */
.loading.hidden {
    display: none !important;
}

/* ===========================================
   EVENT BLOCK STAR ICON UTILITIES
   =========================================== */

.event-star {
    position: absolute;
    top: -4px;
    right: 2px;
    font-size: 2rem;
    text-shadow: var(--text-shadow-medium);
    cursor: pointer;
    z-index: 10;
    transition: all 0.1s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.event-star--favorite {
    text-shadow: var(--color-favorite-star-transparent) 0px 0px 6px;
    color: var(--color-favorite-star);
}

.event-star--not-favorite {
    color: var(--color-neutral-light);
    filter: drop-shadow(0 0 1px var(--color-neutral-light));
    text-shadow:
        0 0 1px var(--text-shadow-medium),
}

.event-star:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* ===========================================
   EVENT TITLE UTILITIES
   =========================================== */

.event-title--with-star {
    padding-right: 16px;
}

/* ===========================================
   TOOLTIP UTILITIES
   =========================================== */

.tooltip-fixed {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
}

/* ===========================================
   MODAL UTILITIES
   =========================================== */

.modal--visible {
    display: flex !important;
}

.body--modal-open {
    overflow: hidden !important;
}

/* ===========================================
   TIMELINE UTILITIES
   =========================================== */

.timeline-marker {
    position: absolute;
}

.timeline-highlight {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 35;
    pointer-events: none;
}

/* ===========================================
   POSITIONING UTILITIES
   =========================================== */

.pos-absolute {
    position: absolute;
}

.pos-relative {
    position: relative;
}

.pos-fixed {
    position: fixed;
}

/* ===========================================
   Z-INDEX UTILITIES
   =========================================== */

.z-10 {
    z-index: 10;
}

.z-35 {
    z-index: 35;
}

.z-max {
    z-index: 10000;
}

/* ===========================================
   INTERACTION UTILITIES
   =========================================== */

.pointer-events-none {
    pointer-events: none;
}

.cursor-pointer {
    cursor: pointer;
}

.user-select-none {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* ===========================================
   DYNAMIC POSITIONING UTILITIES
   =========================================== */

.tooltip-animate {
    opacity: 1 !important;
}

.tooltip-animate--scale {
    transform: scale(1) !important;
}

/* ===========================================
   TRANSITION UTILITIES
   =========================================== */

.transition-tooltip {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* ===========================================
   TRANSFORM UTILITIES
   =========================================== */

.scale-09 {
    transform: scale(0.9);
}

.scale-1 {
    transform: scale(1);
}

.opacity-0 {
    opacity: 0;
}

.opacity-1 {
    opacity: 1;
}