@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
.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;
}
