@import url('https://fonts.cdnfonts.com/css/gotham');

@tailwind base;
@tailwind components;

@layer components {
  .card { @apply bg-white shadow rounded-lg overflow-hidden mb-6; }
  .card-header { @apply px-6 py-4 border-b border-gray-200; }
  .card-title { @apply text-lg font-medium; }
  .card-subtitle { @apply text-sm text-gray-500 mt-2; }
  .card-body { @apply p-6; }
  .card-buttons-right { @apply flex justify-end pt-6 border-t border-gray-200 mt-8 pb-4; }
  .ping-link { @apply text-indigo-600 hover:text-indigo-700 hover:underline; }
}

.select2-container {
  /* The container where the selectbox is housing*/
  @apply relative box-border align-middle inline-block m-0 mb-2;
}
.select2-container .select2-selection--single {
  /* Selection box itself */
  @apply box-border cursor-pointer block select-none shadow border rounded;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  /* DIV inside Selection box with text, clear button and arrow down*/
  @apply block h-6 pl-1 pr-6 truncate;
}
.select2-container .select2-selection--single .select2-selection__clear {
  /* The DIV where the X is housing to clear the chosen option */
  @apply relative -m-1;
}
.select2-container[dir="rtl"]
  .select2-selection--single
  .select2-selection__rendered {
  /*@apply;*/
}

.select2-container .select2-selection--multiple {
  @apply box-border overflow-hidden h-4 cursor-pointer block select-none;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
  @apply inline-block pl-2 truncate whitespace-nowrap;
}
.select2-container .select2-search--inline {
  /* Search box*/
  @apply float-left;
}
.select2-container .select2-search--inline .select2-search__field {
  @apply box-border border dark:border-gray-600 pl-1 my-1 w-full text-base;
}
.select2-container
  .select2-search--inline
  .select2-search__field::-webkit-search-cancel-button {
  @apply appearance-none;
}

.select2-dropdown {
  /* Dropdown area after the arrow down is clicked */
  @apply absolute block w-auto box-border bg-white dark:bg-slate-700 border-solid border border-gray-200 z-50 float-left;
}

.select2-results {
  @apply block text-black dark:text-gray-300;
}

.select2-results__options {
  @apply list-none m-0 p-0;
}

.select2-results__option {
  /* The rows with results that you see after dropdown.
	Increase p-1 to p-2 to have more space between results */
  @apply p-1 select-none;
}
.select2-results__option[aria-selected] {
  @apply cursor-pointer;
}

.select2-container--open .select2-dropdown {
  /* Dropdown container opened and results are shown*/
  @apply mt-3 left-0;
}

.select2-container--open .select2-dropdown--above {
  /* The left and right borders of the option rows */
  @apply rounded border-gray-400 dark:border-gray-700 shadow;
}

.select2-container--open .select2-dropdown--below {
  /* The left and right borders of the option rows */
  @apply rounded border-gray-400 dark:border-gray-700 shadow;
}

.select2-search--dropdown {
  /* Search dropdown element*/
  @apply block p-2;
}
.select2-search--dropdown .select2-search__field {
  /* Search box itself where you can enter text*/
  @apply h-10 p-1 bg-white dark:bg-slate-500 box-border rounded border-2 border-blue-300 dark:border-gray-700 dark:text-gray-200 outline-none;
  width: 100%;
}
.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
  @apply appearance-none;
}
.select2-search--dropdown.select2-search--hide {
  @apply hidden;
}

.select2-close-mask {
  @apply block w-12 min-w-full m-0 p-0;
  border: 0;
  position: fixed;
  left: 0;
  top: 0;
  min-height: 100%;
  height: auto;
  width: auto;
  opacity: 0;
  z-index: 99;
  background-color: #fff;
  filter: alpha(opacity=0);
}

.select2-hidden-accessible {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}

/*

	Default template settings:

*/

.select2-container--default .select2-selection--single {
  /* Selection bar - Self */
  @apply p-2 h-10 bg-white dark:bg-slate-700 border border-solid dark:border-gray-700;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  /* Selection bar - Text color of the item you selected from the results */
  @apply text-gray-700 dark:text-gray-200;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__clear {
  /* Selection bar - Clear button - If this property is enabled*/
  @apply cursor-pointer float-right text-red-700;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__placeholder {
  /* Selection bar - Color of the placeholder text before selection - If this property is enabled */
  @apply text-gray-600 dark:text-gray-300;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  /* Selection bar - DIV where the arrow pointing down is living*/
  @apply absolute right-0 top-0 h-10 w-8;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  /* Arrow is a CSS triangle that does not exists in Tailwind without a package */
  @apply absolute border-solid h-0 w-0 border-t-4 border-r-4 border-b-0 border-l-4;
  border-color: #000 transparent transparent transparent;
  left: 50%;
  margin-left: -4px;
  margin-top: -2px;
  top: 50%;
}

.select2-container--default[dir="rtl"]
  .select2-selection--single
  .select2-selection__clear {
  /* Selection bar - Clear button - If this property is enabled from right to left*/
  @apply float-left ml-4;
}

.select2-container--default[dir="rtl"]
  .select2-selection--single
  .select2-selection__arrow {
  /* Placement of the dropdown arrow when in rtl mode */
  @apply left-0 right-auto;
}

.select2-container--default.select2-container--disabled
  .select2-selection--single {
  /* Selection by property disabled*/
  @apply cursor-default bg-gray-300;
}
.select2-container--default.select2-container--disabled
  .select2-selection--single
  .select2-selection__clear {
  /* Selection bar - Hide the clear cross when selection bar is disabled*/
  @apply hidden;
}

.select2-container--default.select2-container--open
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: transparent transparent #888 transparent;
  border-width: 0 4px 5px 4px;
}

.select2-container--default .select2-selection--multiple {
  @apply p-1 min-h-full h-full border border-solid dark:border-gray-700 rounded shadow bg-white dark:bg-slate-700;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__rendered {
  @apply box-border list-none m-0 px-1 min-w-full;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__rendered
  li {
  @apply list-none;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__clear {
  @apply float-right cursor-pointer mt-1 mr-2 p-1;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  @apply bg-white dark:bg-slate-700 text-gray-700 dark:text-gray-200 border cursor-default rounded my-1 mr-1 px-2 float-left;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove {
  @apply text-gray-700 dark:text-gray-200 cursor-pointer inline-block mr-1;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove:hover {
  @apply text-gray-700 dark:text-gray-200;
}
.select2-container--default.select2-container--focus
  .select2-selection--multiple {
  @apply border-2 outline-none;
}

.select2-container--default.select2-container--disabled
  .select2-selection__choice__remove {
  @apply hidden;
}
.select2-container--classic
  .select2-selection--multiple
  .select2-selection__choice {
  @apply bg-gray-300 border-2 dark:border-gray-700 shadow rounded float-left cursor-default mt-1 mr-1 px-1;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  /* The border of the search textbox */
  @apply border-solid;
}

.select2-container--default .select2-search--inline .select2-search__field {
  /* Search textbox */
  @apply border-none bg-transparent outline-none shadow-none select-text;
}

.select2-container--default .select2-results > .select2-results__options {
  /* Hight of the dropdown zone where the options or results are visible */
  @apply h-full max-h-32 overflow-y-auto;
}

.select2-container--default .select2-results__option[role="group"] {
  /* No clue what this does */
  @apply p-0;
}

.select2-container--default .select2-results__option[aria-disabled="true"] {
  @apply text-gray-700;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  /* The already selected option row color */
  @apply bg-gray-300 dark:text-gray-700;
}
.select2-results__option--selected {
  @apply hidden;
}
.select2-container--default .select2-results__option .select2-results__option {
  padding-left: 1em;
}
.select2-container--default
  .select2-results__option
  .select2-results__option
  .select2-results__group {
  padding-left: 0;
}
.select2-container--default
  .select2-results__option
  .select2-results__option
  .select2-results__option {
  margin-left: -1em;
  padding-left: 2em;
}
.select2-container--default
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option {
  margin-left: -2em;
  padding-left: 3em;
}
.select2-container--default
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option {
  margin-left: -3em;
  padding-left: 4em;
}
.select2-container--default
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option {
  margin-left: -4em;
  padding-left: 5em;
}
.select2-container--default
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option {
  margin-left: -5em;
  padding-left: 6em;
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  /* Background color and text color of the options rows when select is open */
  @apply bg-gray-100 dark:bg-gray-500 text-gray-700 dark:text-gray-200;
}

.select2-container--default .select2-results__group {
  /* Have no idea what this is for */
  @apply cursor-default block;
  padding: 6px;
}
@tailwind utilities;

@layer components {
  .link-label-blue {
    @apply font-bold text-sm text-blue-500 hover:text-blue-800;
  }

  .black-button {
    @apply text-sm bg-slate-900 text-white px-4 py-2 rounded-lg hover:bg-slate-800 flex items-center;
  }

  .gray-button {
    @apply text-sm bg-slate-200 text-slate-500 px-4 py-2 rounded-lg hover:bg-slate-300 flex items-center;
  }

  .auth-button {
    @apply bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded;
  }

  .link-sidebar {
    @apply flex items-center px-2 py-2 text-sm font-medium text-gray-700 rounded-md hover:bg-gray-100;
  }

  .dropdown-button {
    @apply inline-flex justify-center items-center w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none;
  }

  .dropdown-menu {
    @apply absolute right-0 mt-2 w-48 bg-white rounded-md shadow-xl z-10;
  }

  .dropdown-option {
    @apply block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100;
  }

  .dropdown-option-not-allowed {
    @apply block px-4 py-2 text-sm text-gray-400 cursor-not-allowed;
  }

  .minimal-dropdown-button {
    @apply text-gray-500 hover:text-gray-700 p-1 rounded-full hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500;
  }

  .minimal.dropdown-menu {
    @apply origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none;
  }

  .popover-content {
    @apply z-50 min-w-[200px] max-w-[300px] overflow-hidden text-left;
    box-shadow: 0 2px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 1023px) {
  .sidebar-content {
    transition: transform 0.3s ease-in-out;
  }
  .sidebar-content.-translate-x-full {
    transform: translateX(-100%);
  }
}

.sidebar-content .overflow-y-auto::-webkit-scrollbar {
  display: none;
}

.main-content-scroll::-webkit-scrollbar {
  width: 12px;
}

.main-content-scroll::-webkit-scrollbar-track {
  background: #1a202c;
  border-radius: 10px;
}

.main-content-scroll::-webkit-scrollbar-thumb {
  background: #4a5568;
  border-radius: 10px;
}

.main-content-scroll::-webkit-scrollbar-thumb:hover {
  background: #718096;
}
/*
 * 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.
 *


 */

turbo-cable-stream-source {
    display: none;
}
