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

@font-face {
  font-family: "NunitoUI";
  src: url(/assets/NunitoSans-dc39e2e5d157b193fcfde51953b2b9d540c10f7917ea7f716287b51ea6ec49db.ttf) format("ttf");
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: only light;
  }
}

@layer utilities {
  input[list]::-webkit-calendar-picker-indicator {
    display: none !important;
    -webkit-appearance: none;
  }

  input[list]::-webkit-list-button {
    display: none !important;
    -webkit-appearance: none;
  }
  .select-arrow {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: no-repeat right center / 22px 22px;
  }

    .select-arrow {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23A8A8A8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    }

    .select-arrow:hover {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23212229' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    }

    .select-arrow:focus {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%233b82f6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 12l4-4 4 4'/%3e%3c/svg%3e");
    }
    .select-arrow:disabled {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23A8A8A8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
        cursor: not-allowed;
    }

    .select-arrow:disabled:hover {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23A8A8A8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    }

    .select-arrow:disabled:focus {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23A8A8A8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    }
}

#autoCompleteInternationalCode {
  border: none;
  focus-outline: none;
}

.radio-image-remove {
  background-image: none !important;
}

.asterisk {
  @apply text-red-stepper;
}

.form-field-style {
  @apply px-0 py-1 border-x-0 border-t-0 border-b-[1px] border-line-color hover:border-black focus:border-black focus:ring-0;
}

.badge-base {
  @apply flex w-fit h-fit cursor-help whitespace-nowrap select-none border-[1.5px] px-[12px] py-[2px] rounded-full text-[12px] font-bold;
}

.stage-badge {
  @apply badge-base text-dark-blue border-dark-blue;
}

.role-badge {
  @apply badge-base text-badge-purple border-badge-purple;
}

.text-field {
    @apply flex items-center w-full border-x-0 border-t-0 border-b-[1px]
    border-line-color placeholder-line-color px-0 text-text-gray
    hover:shadow-[0_0.5px_0_0_#212229] hover:border-b-dark hover:text-dark
    focus:shadow-[0_0.5px_0_0_#3b82f6] focus:ring-0 focus:border-b-focus-blue focus:text-dark;
}

.text-field-left-padding {
    @apply flex items-center w-full border-x-0 border-t-0 border-b-[1px]
    border-line-color placeholder-line-color pl-12 text-text-gray
    hover:shadow-[0_0.5px_0_0_#212229] hover:border-b-dark hover:text-dark
    focus:shadow-[0_0.5px_0_0_#3b82f6] focus:ring-0 focus:border-b-focus-blue focus:text-dark
    disabled:border-dashed disabled:text-line-color disabled:bg-transparent;
}

.text-field:disabled {
    @apply border-dashed text-line-color bg-transparent cursor-not-allowed;
}

.text-field:disabled:hover {
    @apply shadow-none border-b-line-color text-line-color;
}

.text-field:disabled:focus {
    @apply shadow-none border-b-line-color text-line-color;
}

.text-field-label {
    @apply flex items-center text-base font-medium text-text-gray
    transition-colors mb-3;
}

.text-field:not(:disabled) + .text-field-label {
    @apply group-hover:text-dark group-focus-within:text-focus-blue;
}

.text-field:disabled + .text-field-label {
    @apply text-line-color;
}


.submit-button-filled {
    @apply cursor-pointer flex px-[16px] py-[8px] bg-focus-blue text-[16px] text-white font-medium justify-center items-center
    focus:ring-0 focus:outline-0 transition-all duration-700 hover:bg-button-hover
disabled:bg-button-focus;
}

.modal-right {
    display: flex;
    justify-content: flex-end;
}

.modal-right .modal-box {
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
}

.modal-toggle:checked ~ .modal-right .modal-box {
    transform: translateX(0);
}

.modal-right .modal-backdrop {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-toggle:checked ~ .modal-right .modal-backdrop {
    opacity: 1;
}

.gradient-button {
    @apply cursor-pointer flex py-2 text-base bg-gradient-to-r from-gradient-green to-gradient-purple text-white font-semibold rounded-none transition-all duration-700 ease-in-out hover:bg-gradient-to-l hover:from-gradient-purple hover:to-gradient-green hover:shadow-lg transform hover:scale-[1.02] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gradient-green justify-center items-center;
}

.gradient-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#generate-credentials:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #9ca3af;
}

#generate-credentials:disabled:hover {
    background-color: #9ca3af;
    transform: none;
}
/*
 * 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.
 *


 */
