/*
  Inter Font
  Load the Inter font from Google Fonts CDN
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Support for Inter var (variable font) */
@supports (font-variation-settings: normal) {
  @import url('https://rsms.me/inter/inter.css');
  html { font-family: 'Inter var', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; }
}

/* Fallback for browsers that don't support variable fonts */
@supports not (font-variation-settings: normal) {
  html { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; }
}
.logo-container {
    height: auto;
    overflow:hidden;
    position:relative;
}

.videoshowlogo img {
    position:absolute;
}

.modal ul {
    list-style: disc;
    margin-left: 1.5rem;
    padding-left: 1rem;
}

.modal ol {
    list-style: decimal;
    margin-left: 1.5rem;
    padding-left: 1rem;
}


video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.drag-chosen {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 150ms ease, box-shadow 150ms ease;
    z-index: 50;
}

.drag-ghost {
    opacity: 0.3;
    background-color: #f3f4f6; /* opcional para distinguir el clon */
    border-radius: 8px;
}

.drag-animation {
    transition: transform 200ms ease-in-out;
}

.drag-placeholder {
    height: 64px;
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    background-color: #f9fafb;
    margin: 0.25rem 0;
    transition: all 0.2s ease-in-out;
}

.upload-loader-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.upload-loader-spinner {
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-top: 6px solid #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.upload-loader-text {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
}

.image_carousel_items_container {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.image_carousel_items_container .carousel-item .delete-carousel-item{
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.selected-carousel-item {
    border: 1px solid #3b82f6;
    border-radius: 0.5rem; /* rounded-lg */
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Fix for Safari image display in modals */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
        .flex-col img {
            max-width: 100%;
            height: auto;
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }
    }
}
.filter_active {
  position: relative;
  cursor: default;
  user-select: none;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  padding-right: 2.25rem;
  color: white;
  background-color: #3d5b81;
  outline: none;
}

.filter_inactive {
  position: relative;
  cursor: default;
  user-select: none;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  padding-right: 2.25rem;
  color: #111827;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

.selected-stroke svg {
    stroke: #F2383A;
}

.unselected-stroke svg {
    stroke: white;
}


.selected-fill svg {
    fill: #F2383A;
}

.unselected-fill svg {
    fill: white;
}

@layer base {
    /* Always show number input spinners */
    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
        opacity: 1 !important;      /* Always visible */
        pointer-events: auto !important;
    }

    /* Firefox support (optional, keeps consistent styling) */
    input[type="number"] {
        -moz-appearance: number-input;
    }
}

/* Dashboard Card Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-bounce-in {
    animation: bounceIn 0.6s ease-out;
}

.animate-slide-down {
    animation: slideDown 0.2s ease-out;
}

/* Drag and drop states */
.drag-ghost {
    opacity: 0.4;
}

.drag-chosen {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Loading bar animation */
@keyframes loading-bar {
    0% {
        width: 0%;
        transform: translateX(-100%);
    }
    50% {
        width: 70%;
        transform: translateX(0%);
    }
    100% {
        width: 100%;
        transform: translateX(100%);
    }
}

.animate-loading-bar {
    width: 0%;
    animation: loading-bar 1.5s ease-in-out infinite;
}

/* Tag Request Modal Styles */
.tag-request-modal-container [data-tag-request-modal-target="modal"] {
    transition: opacity 0.3s ease-in-out;
}

.tag-request-modal-container [data-tag-request-modal-target="modal"].hidden {
    opacity: 0;
    pointer-events: none;
}

.tag-request-modal-container [data-tag-request-modal-target="modal"]:not(.hidden) {
    opacity: 1;
    pointer-events: all;
}

/* Modal panel animation */
.tag-request-modal-container [data-tag-request-modal-target="form"] {
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-1rem) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Ensure overlay is above other content */
.tag-request-modal-container [data-tag-request-modal-target="modal"] {
    z-index: 9999;
}
