@import "tailwindcss";
@source "../../resources/views/**/*.blade.php";

@layer base {
  body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
  }
}

[x-cloak] {
  display: none !important;
}

/* Premium Glassmorphism and Depth styling */
.card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.02), 0 2px 6px -1px rgba(0, 0, 0, 0.01);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -4px rgba(99, 102, 241, 0.08), 0 4px 12px -2px rgba(99, 102, 241, 0.03);
  border-color: rgba(99, 102, 241, 0.25);
}

.btn {
  @apply inline-flex items-center justify-center rounded-xl px-4 py-2.5 text-sm font-semibold transition-all duration-200 cursor-pointer select-none;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
  box-shadow: 0 4px 12px 0 rgba(99, 102, 241, 0.3);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px 0 rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-soft {
  @apply bg-indigo-50/70 text-indigo-700 hover:bg-indigo-100/90 border border-indigo-100/30;
}

.badge {
  @apply inline-flex items-center rounded-lg px-2.5 py-1 text-xs font-semibold tracking-wide bg-slate-100 text-slate-700 border border-slate-200/50 transition-colors duration-200;
}

/* Extra premium styling utilities */
.text-gradient {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Beautiful Interactive Inputs */
.input {
  display: block;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background-color: rgba(248, 250, 252, 0.6);
  padding: 10px 14px;
  font-size: 0.875rem; /* 14px */
  line-height: 1.25rem;
  color: #1e293b; /* slate-800 */
  outline: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input::placeholder {
  color: #94a3b8; /* slate-400 */
}

.input:hover {
  border-color: rgba(203, 213, 225, 0.9);
  background-color: rgba(248, 250, 252, 0.8);
}

.input:focus {
  border-color: #6366f1; /* indigo-500 */
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

/* For textarea, make sure it has proper styling */
textarea.input {
  min-height: 80px;
  resize: vertical;
}

/* For select drop downs, reset default styling if needed or style select option */
select.input {
  appearance: none;
  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='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  padding-right: 36px;
}

/* Fine-tune datetime picker padding and layout appearance */
input[type="date"].input,
input[type="month"].input {
  padding-right: 12px;
}


