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

/*

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

*/
html {
  scroll-behavior: smooth;
}

body {
  background-color: rgb(241 245 249);
}

input[readonly],
select[readonly],
textarea[readonly] {
  pointer-events: none;
}

th {
  text-align: left;
}

.border-fff {
  border-color: rgb(255, 255, 255);
}

.border-eee {
  border-color: rgb(238, 238, 238);
}

.pagy {
  display: flex;
  font-family: sans-serif;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: #6b7280;
}
.pagy > :not([hidden]) ~ :not([hidden]) {
  --space-reverse: 0;
  margin-right: calc(0.25rem * var(--space-reverse));
  margin-left: calc(0.25rem * calc(1 - var(--space-reverse)));
}
.pagy a:not(.gap) {
  display: block;
  text-decoration: none;
  border-radius: 0.5rem;
  background-color: #e5e7eb;
  padding: 0.25rem 0.75rem;
  color: inherit;
}
.pagy a:not(.gap):hover {
  background-color: #d1d5db;
}
.pagy a:not(.gap):not([href]) {
  /* disabled links */
  cursor: default;
  background-color: #f3f4f6;
  color: #d1d5db;
}
.pagy a:not(.gap).current {
  background-color: #9ca3af;
  color: white;
}
.pagy label {
  white-space: nowrap;
  display: inline-block;
  border-radius: 0.5rem;
  background-color: #e5e7eb;
  padding: 0.125rem 0.75rem;
}
.pagy label input {
  line-height: 1.5rem;
  border-radius: 0.375rem;
  border-style: none;
  background-color: #f3f4f6;
}

.pagy-info {
  color: #999;
}
.drop-target {
  display: none;
}

.drag-over {
  .drop-target {
    display: block;
  }
}
.gradient-bg {
    background: linear-gradient(-45deg, #E53E3E, #FF6B6B, #1A1A1A, #2D3748);
    background-size: 400% 400%;
    animation: gradient 8s ease infinite;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.text-gradient {
    background: linear-gradient(135deg, #E53E3E, #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(229, 62, 62, 0.2);
}

.red-glow {
    box-shadow: 0 0 20px rgba(229, 62, 62, 0.3);
}

.red-glow:hover {
    box-shadow: 0 0 30px rgba(229, 62, 62, 0.5);
}

.diagonal-stripe {
    position: relative;
    overflow: hidden;
}

.diagonal-stripe::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(229, 62, 62, 0.1), transparent);
    transform: skewX(-45deg);
    transition: left 0.5s ease;
}

.diagonal-stripe:hover::before {
    left: 100%;
}
body {
  margin: 0;
}

.organizations_disabled {
  align-items: center;
  background: url(/assets/splash/padel-white-312bbf76665516bece97b78f8b0ca1b92660d131abf064d99306e2dba324028f.jpg);
  background-size: cover;
  display: flex;
  flex-direction: column;
  gap: 50px;
  height: 100vh;
  justify-content: center;
  margin: 0;
}

.organizations_disabled > .powered-by {
  width: 200px;
}
.ts-control {
  border: none!important;
  font-size: 1em!important;
}

.ts-dropdown,
.ts-control,
.ts-control input {
  font-size: 1em!important;
}

.ts-dropdown [data-selectable].option {
  padding-top: 10px;
  padding-bottom: 10px;
}
/*
 * 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.
 *


 */
