@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;
}

.guidance-dark-grey {
  color: #201a33;
}

.guidance-purple-darker {
  color: #5F34D2;
}

.guidance-bg-light-grey {
  background-color: #F9F8FC;
}

.deployment-page-title {
  color: #3E3B66;
  font-family: "Inter var", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 2rem;
}

.deployment-list-item {
  color: #3E3B66;
  font-family: "Inter var", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
}

.deployment-search-input {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  color: #3E3B66;
  font-family: "Inter var", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
}

.deployment-search-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.deployment-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.deployment-menu-card {
  background-color: #f3f4f6;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

.deployment-menu-title {
  color: #3E3B66;
  font-family: "Inter var", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
}

.deployment-menu-subtitle {
  color: #6b7280;
  font-family: "Inter var", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.25rem;
  margin-top: 0.125rem;
}

.deployment-permissions-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.deployment-permissions-add {
  color: #3E3B66;
}

.deployment-permissions-list {
  font-family: "Inter var", ui-sans-serif, system-ui, sans-serif;
}

.deployment-nav-list {
  font-family: "Inter var", ui-sans-serif, system-ui, sans-serif;
}

.deployment-nav-list-item {
  color: inherit;
  text-decoration: none;
}

.deployment-nav-list-item:hover .deployment-list-item {
  color: #5b21b6;
}

.deployment-permissions-badge {
  background-color: #ede9fe;
  border-radius: 9999px;
  color: #3E3B66;
  display: inline-flex;
  font-family: "Inter var", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1rem;
  padding: 0.125rem 0.625rem;
}

.deployment-permissions-subtext {
  color: #6b7280;
  font-family: "Inter var", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
  margin-top: 0.25rem;
}

.deployment-permissions-delete {
  color: #ef4444;
}

.deployment-permissions-edit {
  color: #4b5563;
}

.deployment-permissions-close {
  color: #3E3B66;
}

.deployment-form-label {
  color: #111827;
  display: block;
  font-family: "Inter var", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
}

.deployment-form-select {
  appearance: none;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  color: #111827;
  font-family: "Inter var", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  padding: 0.625rem 2.5rem 0.625rem 0.75rem;
}

.deployment-form-input {
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  color: #111827;
  font-family: "Inter var", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  padding: 0.625rem 0.75rem;
}

.deployment-form-divider {
  background-color: #e5e7eb;
  border: 0;
  height: 1px;
  margin: 1.25rem 0;
}

.deployment-form-page {
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - 14rem);
}

.deployment-form-with-footer {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.deployment-form-fields {
  flex: 1 1 auto;
}

.deployment-form-actions {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 2rem;
}

.deployment-wizard-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.deployment-wizard-secondary-button {
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  color: #3E3B66;
  display: flex;
  font-family: "Inter var", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  justify-content: center;
  line-height: 1.25rem;
  padding: 0.625rem 0.75rem;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.deployment-wizard-secondary-button:hover {
  background-color: #f9fafb;
}

.deployment-field-block {
  margin-bottom: 2rem;
}

.deployment-field-block:last-child {
  margin-bottom: 0;
}

.deployment-field-label {
  color: #111827;
  display: block;
  font-family: "Inter var", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
}

.deployment-field-controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.deployment-visibility-selector {
  display: flex;
  width: 100%;
  background-color: #f3f4f6;
  border-radius: 9999px;
  padding: 0.25rem;
}

.deployment-visibility-option {
  flex: 1 1 0;
  min-width: 0;
  border: 0;
  background: transparent;
  border-radius: 9999px;
  color: #374151;
  cursor: pointer;
  font-family: "Inter var", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  padding: 0.625rem 0.5rem;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.deployment-visibility-option.is-selected {
  background-color: #ede9fe;
  color: #3E3B66;
}

.deployment-field-default {
  width: 100%;
}

.deployment-field-default-input {
  appearance: none;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  color: #111827;
  display: block;
  font-family: "Inter var", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  margin-top: 0;
  padding: 0.625rem 0.75rem;
  width: 100%;
}

.deployment-field-default-input::placeholder {
  color: #9ca3af;
}

.deployment-field-sublabel {
  color: #374151;
  display: block;
  font-family: "Inter var", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
  margin-top: 0.75rem;
}

.deployment-field-default .deployment-field-default-input + .deployment-field-sublabel,
.deployment-field-default .deployment-field-sublabel + .deployment-field-default-input {
  margin-top: 0.75rem;
}

select.deployment-field-default-input {
  color: #111827;
}

select.deployment-field-default-input:invalid,
select.deployment-field-default-input option[value=""] {
  color: #9ca3af;
}
/*
 * 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.
 *


 */
