/* ========================================
   POST SHARED STYLES
   Consolidated styles for post-related components
   ======================================== */





/* ========================================
   POST MEDIA & CAROUSEL
   ======================================== */

.embed-container {
    --video--width: 1296;
    --video--height: 540;
    position: relative;
    padding-bottom: calc(var(--video--height) / var(--video--width) * 100%); /* 41.66666667% */
    overflow: hidden;
    max-width: 100%;
    background: black;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Lightbox Navigation */
.ekko-lightbox-nav-overlay a {
    opacity: 1;
    color: black;
}

/* Carousel Styles */
.carousel {
    position: relative;
    overflow: hidden;
    background: transparent !important;
    border-radius: 8px;
}

.carousel-inner {
    background: transparent !important;
    border-radius: 8px;
    position: relative;
}

.carousel-item {
    background: transparent !important;
    border-radius: 8px;
    position: relative;
}

.carousel-item img {
    display: block;
    width: 100%;
    height: auto;
    background: transparent !important;
    border: none;
    outline: none;
    border-radius: 8px;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    z-index: 15;
    background: transparent !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5) !important;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 10px;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Carousel Indicator Overlay */
.carousel-indicator-overlay {
    position: absolute;
    bottom: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 20;
    pointer-events: none; /* Prevent interference with image clicks */
    top: auto !important; /* Ensure it's not positioned from top */
    width: auto;
    text-align: center;
}

.carousel-indicator {
    background: rgba(0, 0, 0, 0.12);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    line-height: 1.2;
    min-width: 30px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.3px;
    position: relative;
    bottom: 0;
    margin: 0 auto;
}

.carousel-indicator i {
    font-size: 8px;
    margin-right: 3px;
    opacity: 0.9;
}

.current-slide {
    font-weight: 600;
}

.total-slides {
    opacity: 0.9;
}

/* Override any Bootstrap default carousel indicators */
.carousel-indicators {
    display: none !important;
}

/* Ensure no background colors are applied to carousel elements */
.carousel * {
    background-color: transparent !important;
}

/* Specific fix for image containers - remove hover effects */
.carousel-item a {
    display: block;
    background: transparent !important;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
}

.carousel-item a:hover {
    background: transparent !important;
    opacity: 1; /* Remove opacity change */
    transform: none; /* Remove scaling effect */
    transition: none; /* Remove transition */
}

/* Fix for any potential Bootstrap 3 compatibility issues */
.carousel .item {
    background: transparent !important;
}

.carousel .item img {
    background: transparent !important;
}

/* Ensure lightbox compatibility */
.ekko-lightbox {
    background: rgba(0, 0, 0, 0.9) !important;
}

.ekko-lightbox-nav-overlay {
    background: transparent !important;
}

/* ========================================
   POST UTILITY CLASSES
   ======================================== */

.text-purple {
    color: #b94a99;
}

.border-pinned {
    border: 1px solid #6066e2;
}

/* ========================================
   COMMON UTILITY CLASSES
   ======================================== */

/* Display utilities */
.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-inline-block {
    display: inline-block !important;
}

.d-inline {
    display: inline !important;
}

/* Width utilities */
.w-100 {
    width: 100% !important;
}

.w-50 {
    width: 50px !important;
}

.w-250 {
    width: 250px !important;
}

/* Height utilities */
.h-100 {
    height: 100% !important;
}

.h-38 {
    height: 38px !important;
}

.h-32 {
    height: 32px !important;
}

.h-40 {
    height: 40px !important;
}

.h-60 {
    height: 60px !important;
}

/* Position utilities */
.position-sticky {
    position: sticky !important;
}

.position-absolute {
    position: absolute !important;
}

.position-relative {
    position: relative !important;
}

.top-20 {
    top: 20px !important;
}

/* Cursor utilities */
.cursor-pointer {
    cursor: pointer !important;
}

/* Font size utilities */
.fs-14 {
    font-size: 14px !important;
}

.fs-48 {
    font-size: 48px !important;
}

.fs-095 {
    font-size: 0.95rem !important;
}

.fs-09 {
    font-size: 0.9rem !important;
}

.fs-0875 {
    font-size: 0.875rem !important;
}

/* Padding utilities */
.p-0 {
    padding: 0 !important;
}

.p-2 {
    padding: 0.5rem !important;
}

.p-3 {
    padding: 1rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

.p-5 {
    padding: 3rem !important;
}

.px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.px-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.pt-1 {
    padding-top: 0.25rem !important;
}

.pt-2 {
    padding-top: 0.5rem !important;
}

.pt-4 {
    padding-top: 1.5rem !important;
}

.pb-1 {
    padding-bottom: 0.25rem !important;
}

.pb-2 {
    padding-bottom: 0.5rem !important;
}

.pb-3 {
    padding-bottom: 1rem !important;
}

.pl-3 {
    padding-left: 1rem !important;
}

.pl-4 {
    padding-left: 1.5rem !important;
}

.pr-4 {
    padding-right: 1.5rem !important;
}

/* Margin utilities */
.m-0 {
    margin: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-n30 {
    margin-top: -30px !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.ml-0 {
    margin-left: 0 !important;
}

.ml-2 {
    margin-left: 0.5rem !important;
}

.ml-4 {
    margin-left: 1.5rem !important;
}

.mr-0 {
    margin-right: 0 !important;
}

.mr-2 {
    margin-right: 0.5rem !important;
}

.mr-3 {
    margin-right: 1rem !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Background utilities */
.bg-transparent {
    background: transparent !important;
}

.bg-purple {
    background-color: purple !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Color utilities */
.text-white {
    color: white !important;
}

.text-secondary {
    color: #6c757d !important;
}

.text-muted {
    color: #6c757d !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #28a745 !important;
}

.text-primary {
    color: #007bff !important;
}

/* Border utilities */
.border-radius-4 {
    border-radius: 4px !important;
}

.border-radius-8 {
    border-radius: 8px !important;
}

.border-radius-12 {
    border-radius: 12px !important;
}

.border-radius-16 {
    border-radius: 16px !important;
}

.border-radius-50 {
    border-radius: 50% !important;
}

/* Text alignment */
.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

/* Flexbox utilities */
.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-center {
    justify-content: center !important;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .d-md-none {
        display: none !important;
    }
    
    .d-md-block {
        display: block !important;
    }
}

@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }
    
    .d-md-none {
        display: none !important;
    }
}

/* ========================================
   COMPONENT-SPECIFIC STYLES
   ======================================== */

/* Profile sidebar */
.profile-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

/* Social media icons */
.social-icon {
    width: 24px;
    height: 24px;
}

.social-icon-facebook {
    color: #1877F2;
}

.social-icon-instagram {
    color: #E4405F;
}

.social-icon-twitter {
    color: #000000;
}

.social-icon-youtube {
    color: #FF0000;
}

.social-icon-twitch {
    color: #9146FF;
}

.social-icon-reddit {
    color: #FF4500;
}

/* Badge styles */
.badge-custom {
    font-size: 14px;
    padding: 8px 12px;
}

.badge-purple {
    background-color: purple;
    color: white;
    font-weight: bold;
    display: inline;
    width: 50px;
    text-align: center;
    border-radius: 16px;
    font-size: 14px;
}

/* Form elements */
.input-group-text-custom {
    background-color: #f8f9fa;
    color: #6c757d;
}

.btn-custom {
    height: 38px;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1;
    display: flex;
    align-items: center;
}

.btn-custom-small {
    height: 32px;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

/* Locked post styles */
.locked-post {
    padding: 3rem;
    text-align: center;
    color: #6c757d;
}

/* Creator agreement */
.creator-agreement {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    background-color: #f8f9fa;
    font-size: 0.9em;
    line-height: 1.5;
}

/* Block user modal */
.block-user-avatar {
    width: 60px;
    height: 60px;
}

.block-user-form {
    margin: 0 10px;
}

.block-user-textarea {
    resize: vertical;
}

/* PWA config images */
.pwa-config-img {
    max-width: 100px;
}

/* Range slider styles */
.range-box {
    /* Add any specific range box styles here */
}

.sl-audience {
    width: 50px;
}

/* Dropdown styles */
.dropdown-menu-custom {
    min-width: 200px;
}

.dropdown-menu-positioned {
    position: absolute;
}

/* Progress bar styles */
.progress-custom {
    display: none;
}

.progress-bar-custom {
    width: 0%;
}

/* Copyright text */
.copyright-text {
    font-size: 0.95rem;
    color: #c6c6c6;
} 