@charset "UTF-8";
/* CSS Document */

.hidden {
    display: none !important;
}

.overlay {
  position: fixed; top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.95);
  display: flex; justify-content: center; align-items: center;
  z-index: 9999; opacity: 0; transition: opacity .5s;
}
.overlay.show { opacity: 1; }
.hidden { display:none; }


/**
  * Admin Buttons
*/

/* Admin Buttons */
.admin-btn-wrapper {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
    padding: 10px 25px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}


/**
 * Movie Action Buttons - Styles & Animations
 * Add this to your existing CSS file
 */

/* Button wrapper transitions */
.movie-btn-wrapper {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    border-radius: 8px;
    padding: 10px 25px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
    .movie-btn-wrapper {
        padding: 10px 15px;
    }
}

@media (max-width: 992px) {
    .movie-btn-wrapper {
        padding: 10px 10px;
    }
}

/* Individual button color schemes - CUSTOMIZE THESE */

/* Watchlist - Black inactive, Bright Green active */
.movie-btn-watchlist {
    background-color: #9BCCD0;
}
.movie-btn-watchlist .movie-btn-icon,
.movie-btn-watchlist .movie-btn-text {
    color: #E22028;
}

.movie-btn-watchlist.active {
    background-color: #E22028;
}
.movie-btn-watchlist.active .movie-btn-icon,
.movie-btn-watchlist.active .movie-btn-text {
    color: #9BCCD0;
}

/* Watched - Green */
.movie-btn-watched {
    background-color: #FBBa16;
}
.movie-btn-watched.active {
    background-color: #00492C;
}
.movie-btn-watched .movie-btn-icon,
.movie-btn-watched .movie-btn-text {
    color: #00492C;
}
.movie-btn-watched.active .movie-btn-icon,
.movie-btn-watched.active .movie-btn-text {
    color: #FBBa16;
}

/* Like - Pink/Red */
.movie-btn-like {
    background-color: #000000;
}
.movie-btn-like.active {
    background-color: #fb7185;
}
.movie-btn-like .movie-btn-icon,
.movie-btn-like .movie-btn-text {
    color: #EFEFEF;
}

/* Recommend - Blue */
.movie-btn-recommend {
    background-color: #B1D8B8;
}
.movie-btn-recommend.active {
    background-color: #E04C26;
}
.movie-btn-recommend .movie-btn-icon,
.movie-btn-recommend .movie-btn-text {
    color: #EFEFEF;
}

/* Container styling */
.movie-action-buttons {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Override Bootstrap's row > * styling */
.movie-action-buttons > .movie-btn-wrapper {
    width: auto !important;
    flex: 0 0 auto !important;
}

/* Extra specificity to override Bootstrap */
.row.movie-action-buttons > .movie-btn-wrapper {
    width: auto !important;
    flex: 0 0 auto !important;
}

.movie-btn-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Active state styling */
.movie-btn-wrapper.active {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Processing state (prevent double-clicks) */
.movie-action-btn.processing {
    opacity: 0.6;
    pointer-events: none;
}

/* Icon animations */
.movie-btn-icon {
    transition: all 0.3s ease;
}

.movie-btn-wrapper:hover .movie-btn-icon {
    transform: scale(1.1);
}

.movie-btn-icon-bounce {
    animation: iconBounce 0.3s ease;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Text transitions */
.movie-btn-text {
    transition: all 0.3s ease;
}

/* Hide/Show animations for conditional buttons */
.movie-btn-conditional {
    transition: all 0.3s ease;
    transform-origin: left center;
}

.movie-btn-conditional.hidden {
    opacity: 0;
    transform: scaleX(0.8);
    pointer-events: none;
    max-width: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* Reveal animation */
.movie-btn-reveal {
    animation: revealButton 0.4s ease;
}

@keyframes revealButton {
    0% {
        opacity: 0;
        transform: scaleX(0.8);
    }
    60% {
        transform: scaleX(1.05);
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Hide animation */
.movie-btn-hide {
    animation: hideButton 0.3s ease;
}

@keyframes hideButton {
    0% {
        opacity: 1;
        transform: scaleX(1);
    }
    100% {
        opacity: 0;
        transform: scaleX(0.8);
    }
}

/* Ripple effect on click (optional enhancement) */
.movie-btn-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(var(--base-color-rgb, 100, 100, 255), 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

.movie-btn-wrapper:active::after {
    width: 200%;
    height: 200%;
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .movie-action-buttons > .movie-btn-wrapper {
        width: 130px !important;
        flex: 0 0 130px !important;
    }
    
    .movie-btn-wrapper {
        padding: 8px 15px !important;
    }
    
    .movie-btn-icon {
        font-size: 16px !important;
        margin-bottom: 4px !important;
    }
    
    .movie-btn-text {
        font-size: 12px;
    }
}

/* Accessibility - focus states */
.movie-action-btn:focus {
    outline: 2px solid var(--base-color, #6464ff);
    outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
.movie-action-btn * {
    transition: all 0.2s ease;
}

/* Compact button variant for card listings */
.movie-btn-wrapper.compact {
    padding: 6px 12px;
    min-width: 80px;
    width: auto;
    font-size: 12px;
    white-space: nowrap;
    background: transparent !important;
    border: none !important;
}

.movie-btn-wrapper.compact:hover {
    background: transparent !important;
    box-shadow: none;
    transform: none;
}

.movie-btn-wrapper.compact.active {
    background: transparent !important;
    box-shadow: none;
    transform: none;
}

.movie-btn-wrapper.compact .movie-btn-icon {
    font-size: 14px;
    margin-bottom: 0;
}

.movie-btn-wrapper.compact .movie-action-btn {
    flex-direction: row;
    gap: 4px;
}

/* Add to Drop Button - Teal Blue */
.movie-btn-add-to-drop {
    background-color: #20B2AA; /* Light Sea Green / Teal */
}

.movie-btn-add-to-drop.active {
    background-color: #008B8B; /* Dark Cyan */
}

.movie-btn-add-to-drop i,
.movie-btn-add-to-drop .movie-btn-icon,
.movie-btn-add-to-drop span,
.movie-btn-add-to-drop .movie-btn-text {
    color: #FFFFFF !important;
}

.movie-btn-add-to-drop.active i,
.movie-btn-add-to-drop.active .movie-btn-icon,
.movie-btn-add-to-drop.active span,
.movie-btn-add-to-drop.active .movie-btn-text {
    color: #FFFFFF !important;
}

/* Trailer Modal - Better Close Button */
.mfp-wrap .mfp-close {
    color: #ffffff !important;
    opacity: 1 !important;
    font-size: 44px !important;
    width: 44px;
    height: 44px;
    line-height: 38px;
    right: 10px;
    top: 10px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.5);
}

.mfp-wrap .mfp-close:hover {
    opacity: 0.7 !important;
}

.mfp-wrap .mfp-close {
    display: none !important;
}

.bg-feature-drop {
    background-color: #E22028 !important;
}