/* Quick action buttons */
.quick-action-btn {
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
}

.quick-action-btn:hover {
  border-color: #00dfd8;
  background: #f0fdfc;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quick-action-btn:active {
  transform: translateY(0);
}

/* Regex pattern buttons */
.regex-pattern-btn {
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
  text-align: left;
}

.regex-pattern-btn:hover {
  border-color: #00dfd8;
  background: #f0fdfc;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.regex-pattern-btn:active {
  transform: translateY(0);
}

/* Button animations */
button {
  transition: all 0.2s ease;
}

button:active {
  transform: scale(0.98);
}

/* Checkbox styling */
input[type="checkbox"] {
  cursor: pointer;
  accent-color: #00dfd8;
}

/* Textarea focus effects */
textarea:focus,
input:focus {
  box-shadow: 0 0 0 3px rgba(0, 223, 216, 0.1);
}

/* Scrollbar styling */
textarea::-webkit-scrollbar {
  width: 10px;
}

textarea::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

textarea::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

textarea::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Statistics panel */
.bg-\[\#1E1E2F\] {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hover effects for option cards */
label:has(input[type="checkbox"]) {
  transition: all 0.2s ease;
}

label:has(input[type="checkbox"]):hover {
  background-color: #f9fafb;
}

/* Batch operation cards */
.border.rounded-lg.p-4 {
  transition: all 0.2s ease;
}

.border.rounded-lg.p-4:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .text-4xl {
    font-size: 2rem;
  }

  .grid-cols-2 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .lg\:col-span-2 {
    grid-column: span 1;
  }
}

/* Prose styling for blog content */
.prose {
  color: #374151;
  max-width: 90%;
}

.prose h2 {
  color: #111827;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3;
}

.prose h3 {
  color: #1f2937;
  font-weight: 600;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.4;
}

.prose h4 {
  color: #374151;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.prose p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  line-height: 1.75;
}

.prose strong {
  color: #111827;
  font-weight: 600;
}

.prose ul {
  list-style-type: disc;
  padding-left: 1.625em;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding-left: 0.375em;
}

/* Shadow effects for cards */
.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Smooth transitions */
* {
  transition-property: background-color, border-color, color, fill, stroke;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid #00dfd8;
  outline-offset: 2px;
}

/* Custom color utilities */
.text-\[\#00DFD8\] {
  color: #00dfd8;
}

.bg-\[\#1E1E2F\] {
  background-color: #1e1e2f;
}

.border-\[\#00DFD8\] {
  border-color: #00dfd8;
}

.ring-\[\#00DFD8\] {
  --tw-ring-color: #00dfd8;
}

.hover\:text-\[\#00DFD8\]:hover {
  color: #00dfd8;
}

.hover\:bg-\[\#2a2a3f\]:hover {
  background-color: #2a2a3f;
}

.focus\:ring-\[\#00DFD8\]:focus {
  --tw-ring-color: #00dfd8;
}

/* Animation for alerts and notifications */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulse animation for active elements */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

button:active {
  animation: pulse 0.3s ease;
}
