/* Utility Classes - Replacing common inline styles */

/* Image Sizing Utilities */
.img-avatar-sm {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.img-avatar-md {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.img-avatar-lg {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.img-avatar-xl {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.img-preview {
    max-width: 150px;
}

/* Positioning Utilities */
.pos-overlay-top-left {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    background: rgba(0,0,0,0.5);
}

.pos-overlay-top-right {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    background: rgba(0,0,0,0.5);
    padding: 8px;
    border-radius: 4px;
}

.pos-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
    max-height: 100%;
    overflow-y: auto;
}

/* Height Utilities */
.h-200 {
    height: 200px;
}

.h-300 {
    height: 300px;
}

.performer-image-height {
    height: 300px;
    overflow: hidden;
}

/* Text Shadow Utilities */
.text-shadow-dark {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Font Size Utilities */
.fs-2-5rem {
    font-size: 2.5rem;
    line-height: 1;
    font-weight: bold;
}

.fs-3rem {
    font-size: 3rem;
}

.fs-2rem {
    font-size: 2rem;
}

.fs-1rem {
    font-size: 1rem;
    text-transform: uppercase;
}

.fs-0-7rem {
    font-size: 0.7rem;
}

.fs-0-75rem {
    font-size: 0.75rem;
}

.fs-0-65rem {
    font-size: 0.65rem;
}

/* Display and Visibility Utilities */
.hide-element {
    display: none;
    visibility: hidden;
    opacity: 0;
    height: 0;
    width: 0;
    position: absolute;
    left: -9999px;
}

/* Dropdown Utilities */
.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

/* Text Overflow Utilities */
.text-ellipsis-2-lines {
    max-height: 3em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Background Image Utilities */
.bg-event-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Border Utilities */
.border-no-bottom {
    border: 0;
}

/* Flex Utilities */
.d-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}