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



@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue;
  }
  .form-field {
    @apply border mb-4 p-2 rounded-xl focus:outline-none  block w-full m-auto;
  }
  .error {
    @apply text-red;
  }
  .invalid {
    @apply border-red;
  }
  
  .draggable-mirror {
    @apply max-w-sm;
  }

  .draggable-source--is-dragging {
    @apply opacity-20 ;
  } 

  .gjs-cv-canvas {
    @apply top-2 left-[8%]
  }
  .gjs-editor {
    @apply bg-white;

  }

  .gjs-block__media svg {
    @apply w-6 h-6 m-auto

  }

 

  .simple-select {
    @apply border-grey-light border-2 text-xs rounded block w-40 p-2 text-black capitalize;
  }
  .search-field {
    @apply border-grey-light border-2 text-xs rounded-3xl block px-5 py-2 text-black placeholder-black;
  }


  #sku_criteria .cell {
     @apply inline-flex items-center gap-2  rounded-md px-4 py-2 border-solid border-2
 }
  #sku_criteria .cell.active {
    @apply bg-grey-200 border-dark-grey ; 
  }
   
  #sku_criteria .cell.empty {
    @apply border-dashed text-dark-grey ; 
  }

  #sku_criteria .listbox {
    @apply absolute mt-2 bg-white border-2 rounded-md max-h-96 overflow-auto z-10 w-full border-medium-grey; 
  }

  #sku_criteria .listbox .option  {
    @apply py-2 px-2 cursor-pointer ; 
  }

  #sku_criteria .listbox .option:hover {
    @apply bg-medium-grey;
  }
  #sku_criteria .listbox .option[aria-selected="true"] {
    @apply bg-medium-grey;
  }

}


@import url("https://fonts.googleapis.com/css?family=Montserrat");
:root {
  --gjs-primary-color: #fff;
  --gjs-secondary-color: #000;
  --gjs-soft-light-color: #eef2f5; 
  --gjs-main-light-color: grey;


}


.draggable-mirror {
  z-index: 9999 !important;
  pointer-events: none;

}

.modal {
  position: fixed;
  z-index: 2;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal .modal-content {
  background-color: #fff; 
  z-index: 3;
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%);
  position: absolute;
  width: 50%; 
  min-height: 400px;
 }

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


 */


