/* otp-plugin.css
   Extracted Tailwind-like utilities prefixed with 'otp-'
   Includes only the utilities used in the provided HTML.
*/
.otp-fixed {
    position: fixed;
    z-index: 99999;
    user-select: none;
}

.otp-inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Layout & container */
.otp-min-h-screen { min-height: 100vh; }
.otp-flex { display: flex; }
.otp-items-center { align-items: center; }
.otp-justify-center { justify-content: center; }
.otp-w-full { width: 100%; }
.otp-max-w-2xl { max-width: 42rem; } /* 672px */
.otp-max-w-md { max-width: 28rem; } /* 448px */

/* Spacing */
.otp-p-8 { padding: 2rem; }
.otp-p-6 { padding: 1.5rem; }
.otp-p-4 { padding: 1rem; }
.otp-p-2 { padding: 0.5rem; }
.otp-px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.otp-px-4 { padding-left: 1rem; padding-right: 1rem; }
.otp-py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.otp-py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.otp-pl-12 { padding-left: 3rem; }
.otp-pr-4 { padding-right: 1rem; }
.otp-px-4 { padding-left: 1rem; padding-right: 1rem; }
.otp-mt-8 { margin-top: 2rem; }
.otp-mb-8 { margin-bottom: 2rem; }
.otp-mb-4 { margin-bottom: 1rem; }
.otp-mt-2 { margin-top: 0.5rem; }
.otp-mt-1 { margin-top: 0.25rem; }
.otp-mb-2 { margin-bottom: 0.5rem; }
.otp-gap-2 { gap: 0.5rem; }

/* Typography */
.otp-text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.otp-text-2xl { font-size: 1.5rem; line-height: 2rem; }
.otp-text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.otp-text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.otp-text-lg { font-size: 1.125rem; line-height: 1.75rem; color: #000; }
.otp-text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.otp-text-xs { font-size: 0.75rem; line-height: 1rem; }

.otp-font-bold { font-weight: 700; }
.otp-font-semibold { font-weight: 600; }
.otp-font-medium { font-weight: 500; }

/* Colors (Tailwind-ish defaults) */
.otp-bg-white { background-color: #ffffff; }
.otp-bg-gray-50 { background-color: #f9fafb; }
.otp-bg-green-50 { background-color: #ecfdf5; }
.otp-bg-red-50 { background-color: #fff1f2; }

.otp-text-white { color: #ffffff; }
.otp-text-gray-900 { color: #111827; }
.otp-text-gray-700 { color: #374151; }
.otp-text-gray-600 { color: #4b5563; }
.otp-text-gray-500 { color: #6b7280; }
.otp-text-gray-300 { color: #d1d5db; }

.otp-text-green-600 { color: #16a34a; }
.otp-border-green-200 { border-color: #bbf7d0; }
.otp-border-red-200 { border-color: #fecaca; }

.otp-bg-blue-600 { background-color: #2563eb; }
.otp-bg-blue-700 { background-color: #1d4ed8; }
.otp-text-blue-600 { color: #2563eb; }
.otp-text-blue-700 { color: #1d4ed8; }

.otp-bg-indigo-600 { background-color: #4f46e5; }
.otp-from-blue-600 { --otp-grad-from: #2563eb; }
.otp-to-indigo-600 { --otp-grad-to: #4f46e5; }

.otp-from-blue-50 { --otp-bg-from: #eff6ff; }
.otp-to-indigo-100 { --otp-bg-to: #eef2ff; }

/* Borders & rounding */
.otp-border-2 { border-width: 2px; }
.otp-border-gray-300 { border-color: #d1d5db; }
.otp-rounded-lg { border-radius: 0.5rem; }
.otp-rounded-t-lg { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; }

/* Shadows */
.otp-shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }

/* Display helpers */
.otp-hidden { display: none !important; }
.otp-block { display: block; }
.otp-relative { position: relative; }
.otp-absolute { position: absolute; }
.otp-left-3 { left: 0.75rem; }
.otp-top-3 { top: 0.75rem; }
.otp-text-center { text-align: center; }
.otp-justify-between { justify-content: space-between; }
.otp-underline { text-decoration: underline; }

/* Flex helpers */
.otp-items-start { align-items: flex-start; }
.otp-justify-between { justify-content: space-between; }
.otp-justify-center { justify-content: center; }

/* Form & input */
.otp-w-full { width: 100%; }
.otp-border { border-width: 1px; border-style: solid; }
.otp-border-2 { border-width: 2px; border-style: solid; }

.otp-focus-outline-none:focus { outline: none; }
.otp-focus-border-blue-600:focus { border-color: #2563eb; }
.otp-focus-ring-2:focus { box-shadow: 0 0 0 6px rgba(37,99,235,0.08); } /* subtle ring */
.otp-tracking-widest { letter-spacing: 0.3em; }

/* Buttons & states */
.otp-bg-blue-600 { background-color: #2563eb; }
.otp-bg-green-600 { background-color: #16a34a; }
.otp-hover-bg-blue-700:hover { background-color: #1d4ed8; }
.otp-hover-bg-green-700:hover { background-color: #15803d; }
.otp-hover-bg-white:hover { background-color: rgba(255,255,255,0.08); }
.otp-hover-bg-opacity-20 { /* used with hover-bg-white to simulate white overlay */ }

.otp-text-white { color: #fff; }
.otp-opacity-50 { opacity: 0.5; }
.otp-cursor-not-allowed { cursor: not-allowed; }
.otp-disabled { pointer-events: none; }

/* Transitions */
.otp-transition { transition: all 150ms ease-in-out; }
.otp-duration-200 { transition-duration: 200ms; }

/* Utility groups */
.otp-space-y-4 > * + * { margin-top: 1rem; }
.otp-space-y-3 > * + * { margin-top: 0.75rem; }
.otp-space-y-2 > * + * { margin-top: 0.5rem; }
.otp-space-y-1 > * + * { margin-top: 0.25rem; }

/* Text weight helpers */
.otp-font-semibold { font-weight: 600; }
.otp-font-medium { font-weight: 500; }

/* Text sizes for inputs */
.otp-text-2xl { font-size: 1.5rem; line-height: 2rem; }
.otp-tracking-widest { letter-spacing: 0.3em; }

/* Spinner animation */
@keyframes otp-spin {
  to { transform: rotate(360deg); }
}
.otp-animate-spin { display: inline-block; animation: otp-spin 1s linear infinite; }

/* Backdrop and gradients */
.otp-bg-black { background-color: rgba(0,0,0,1); }
.otp-bg-opacity-50 { background-color: rgba(0,0,0,0.5); }

/* Gradient helpers (used on body and header) */
.otp-bg-gradient-to-br { background-image: linear-gradient(135deg, var(--otp-bg-from, #eff6ff), var(--otp-bg-to, #eef2ff)); }
.otp-bg-gradient-to-r { background-image: linear-gradient(90deg, var(--otp-grad-from, #2563eb), var(--otp-grad-to, #4f46e5)); }

/* Small helpers */
.otp-cursor-pointer { cursor: pointer; }
.otp-text-red-600 { color: #dc2626; }
.otp-border-green-200 { border-color: #bbf7d0; }
.otp-border-red-200 { border-color: #fecaca; }
