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


@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
  .btn-pink {
    @apply flex gap-2 rounded-md py-3 px-5 bg-[#ff529e] text-white text-sm block font-medium hover:bg-[#ff80b8] hover:cursor-pointer;
  }
  .btn-admin {
    @apply py-2 px-3 rounded-md w-[160px] mb-2 flex items-center uppercase text-xs font-medium hover:text-[#ff529e];
  }
  .btn-admin:hover {
    @apply text-[#ff529e] bg-gray-50;
  }
  .btn-admin.active {
    @apply text-[#ff529e] bg-[#ff529e] bg-opacity-10;
  }
  .header-bg {
    background: linear-gradient(160deg, #A86AA0 6%,#F8EEF7 90%) !important;
    background: linear-gradient(160deg, #ff529e 6%,#F8EEF7 90%) !important;
  }
  /* Filter Styles */
  .filter-field {
    @apply rounded-md w-full border-2 border-gray-300 text-sm mt-1 focus:border-[#ff80b8] focus:ring-0;
  }
  .filter-label {
    @apply text-sm text-gray-500;
  }
  /* Filter Radio: Putas y Escorts, Masajistas, Trans... */
  .radio-label {
    @apply flex items-center justify-center w-full py-2 gap-3 cursor-pointer bg-gray-100 text-gray-500 hover:bg-gray-200;
  }
  .hidden-radio {
    @apply absolute opacity-0;
  }
  .hidden-radio:checked + .radio-label {
    @apply bg-[#fff4f9] text-[#ff2484];
  }
  .svg-path {
    fill: #bbb;
    stroke: #bbb;
    transition: fill 0.3s ease, stroke 0.3s ease;
  }
  .hidden-radio:checked + .radio-label .svg-path {
    fill: #ff80b8;
    stroke: #ff80b8;
  }
  .estado-label {
    @apply px-3 py-1 text-sm font-medium rounded-full;
  }
  .estado-label.publicado {
    @apply bg-green-100 text-green-800;
  }
  .estado-label.pendiente {
    @apply bg-yellow-100 text-yellow-800;
  }
  .fade {
    animation-name: fade;
    animation-duration: 0.5s;
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }
}

/* Estilos para el ordenamiento de imágenes */
#sortable-images.sorting .sortable-image:hover {
  border-color: transparent !important;
}

.sortable-drag .sortable-image {
  border-color: rgb(236 72 153) !important;
}

input[type="range"]::-webkit-slider-thumb {
  pointer-events: auto;
}

input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
}

.turbolinks-progress-bar {
  height: 5px;
  background-color: red;
}
/*
 * 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.
 *


 */
