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

/*

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

*/

.text-center {
  text-align: -webkit-center;
}

.translate-x-fullx2 {
  transform: translateX(200%);
}


body.sign-in-page {
  background: url(/assets/sign_in-ae734f80d173d1f884b2f26f245e69da99189ed7edba4e291ccef5c468539892.jpeg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

::-webkit-input-placeholder {
  /* WebKit browsers */
  text-transform: none;
}

:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  text-transform: none;
}

::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  text-transform: none;
}

:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  text-transform: none;
}

::placeholder {
  /* Recent browsers */
  text-transform: none;
}

html {
  font-feature-settings: 'cv03', 'cv04', 'cv11';
}

body {
  font-family: Inter var, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent scrolling while dialog is open */
body:has(dialog[data-dialog-target='dialog'][open]) {
  overflow: hidden;
}

/* Customize the dialog backdrop */
dialog {
  box-shadow: 0 0 0 100vw rgb(0 0 0 / 0.5);
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* Add animations */
dialog[data-dialog-target='dialog'][open] {
  animation: fade-in 200ms forwards;
}

dialog[data-dialog-target='dialog'][closing] {
  animation: fade-out 200ms forwards;
}

.animate-flash-delete {
  animation: flash-red 0.5s ease-in-out;
}

@keyframes flash-red {
  from {
    background-color: #FECACA;
  }

  to {
    background-color: transparent;
  }
}

.gradient {
  background: rgb(248 250 252);
  -moz-background: linear-gradient(180deg, rgba(255, 255, 255, 1) 84%, rgba(0, 0, 0, 1) 100%);
  -webkit-background: linear-gradient(180deg, rgba(255, 255, 255, 1) 84%, rgba(0, 0, 0, 1) 100%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 84%, rgba(0, 0, 0, 1) 100%);
}

.gradient2 {
  background: rgb(248 250 252);
  -moz-background: linear-gradient(180deg, rgba(255, 255, 255, 1) 76%, rgba(0, 0, 0, 1) 100%);
  -webkit-background: linear-gradient(180deg, rgba(255, 255, 255, 1) 76%, rgba(0, 0, 0, 1) 100%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 76%, rgba(0, 0, 0, 1) 100%);
}

.plentify-purple {
  background-color: #DEDAFF;
}

.plentify-purple-darker {
  --tw-border-opacity: 1;
  border-color: #5F34D2;
}
/*
 * 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.
 *


 */
