/* BollettaSmart Custom CSS - Production Ready */
/* Mantiene tutti i colori emerald/blue che funzionano perfettamente */

/* Reset base */
*,::after,::before{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}
::after,::before{--tw-content:''}
html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:'Outfit',ui-sans-serif,system-ui,sans-serif}
body{margin:0;line-height:inherit;font-family:'Outfit',sans-serif}

/* Utility Classes */
.container{width:100%;margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem}
@media (min-width:640px){.container{max-width:640px}}
@media (min-width:768px){.container{max-width:768px}}
@media (min-width:1024px){.container{max-width:1024px}}
@media (min-width:1280px){.container{max-width:1280px}}

/* Layout */
.relative{position:relative}
.flex{display:flex}
.inline-flex{display:inline-flex}
.grid{display:grid}
.hidden{display:none}
.items-center{align-items:center}
.justify-between{justify-content:space-between}
.justify-center{justify-content:center}
.flex-col{flex-direction:column}
.flex-wrap{flex-wrap:wrap}
.gap-2{gap:0.5rem}
.gap-3{gap:0.75rem}
.gap-4{gap:1rem}
.gap-6{gap:1.5rem}
.gap-8{gap:2rem}
.space-x-8>:not([hidden])~:not([hidden]){margin-left:2rem}
.space-y-2>:not([hidden])~:not([hidden]){margin-top:0.5rem}
.space-y-3>:not([hidden])~:not([hidden]){margin-top:0.75rem}

/* Responsive Grid */
.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}
.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:768px){
  .md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .md\:flex{display:flex}
  .md\:hidden{display:none}
  .md\:text-4xl{font-size:2.25rem;line-height:2.5rem}
  .md\:text-5xl{font-size:3rem;line-height:1}
  .md\:w-auto{width:auto}
}

/* Spacing */
.p-2{padding:0.5rem}
.p-4{padding:1rem}
.p-6{padding:1.5rem}
.p-8{padding:2rem}
.p-10{padding:2.5rem}
.px-4{padding-left:1rem;padding-right:1rem}
.px-6{padding-left:1.5rem;padding-right:1.5rem}
.px-8{padding-left:2rem;padding-right:2rem}
.px-12{padding-left:3rem;padding-right:3rem}
.px-16{padding-left:4rem;padding-right:4rem}
.py-2{padding-top:0.5rem;padding-bottom:0.5rem}
.py-3{padding-top:0.75rem;padding-bottom:0.75rem}
.py-4{padding-top:1rem;padding-bottom:1rem}
.py-5{padding-top:1.25rem;padding-bottom:1.25rem}
.py-6{padding-top:1.5rem;padding-bottom:1.5rem}
.py-6{padding-top:1.5rem;padding-bottom:1.5rem}
.py-12{padding-top:3rem;padding-bottom:3rem}
.py-20{padding-top:5rem;padding-bottom:5rem}
.mb-2{margin-bottom:0.5rem}
.mb-3{margin-bottom:0.75rem}
.mb-4{margin-bottom:1rem}
.mb-6{margin-bottom:1.5rem}
.mb-8{margin-bottom:2rem}
.mb-10{margin-bottom:2.5rem}
.mb-16{margin-bottom:4rem}
.mt-2{margin-top:0.5rem}
.mt-6{margin-top:1.5rem}
.mt-8{margin-top:2rem}
.mt-10{margin-top:2.5rem}
.mt-12{margin-top:3rem}
.mr-2{margin-right:0.5rem}
.mr-3{margin-right:0.75rem}

/* Sizing */
.w-full{width:100%}
.w-10{width:2.5rem}
.w-12{width:3rem}
.w-16{width:4rem}
.w-20{width:5rem}
.h-6{height:1.5rem}
.h-8{height:2rem}
.h-10{height:2.5rem}
.h-12{height:3rem}
.h-16{height:4rem}
.h-20{height:5rem}
.max-w-3xl{max-width:48rem}
.max-w-5xl{max-width:64rem}

/* Colors & Backgrounds */
.bg-white{background-color:#ffffff}
.bg-emerald-50{background-color:#ecfdf5}
.bg-emerald-500{background-color:#10b981}
.bg-blue-50{background-color:#eff6ff}
.bg-blue-500{background-color:#3b82f6}
.bg-purple-50{background-color:#faf5ff}
.bg-slate-50{background-color:#f8fafc}
.bg-slate-800{background-color:#1e293b}
.bg-emerald-200{background-color:#a7f3d0}
.bg-blue-200{background-color:#bfdbfe}
.bg-purple-200{background-color:#e9d5ff}

/* Gradients - Mantiene tutti i colori che funzionano */
.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}
.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}
.from-emerald-50{--tw-gradient-from:#ecfdf5;--tw-gradient-to:rgba(236,253,245,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}
.from-emerald-500{--tw-gradient-from:#10b981;--tw-gradient-to:rgba(16,185,129,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}
.from-emerald-600{--tw-gradient-from:#059669;--tw-gradient-to:rgba(5,150,105,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}
.to-blue-50{--tw-gradient-to:#eff6ff}
.to-blue-500{--tw-gradient-to:#3b82f6}
.to-blue-600{--tw-gradient-to:#2563eb}

/* Text Colors */
.text-transparent{color:transparent}
.text-white{color:#ffffff}
.text-slate-400{color:#94a3b8}
.text-slate-500{color:#64748b}
.text-slate-600{color:#475569}
.text-slate-700{color:#334155}
.text-slate-800{color:#1e293b}
.text-emerald-600{color:#059669}
.text-emerald-700{color:#047857}
.text-blue-700{color:#1d4ed8}
.text-purple-700{color:#7c3aed}

/* Typography */
.text-sm{font-size:0.875rem;line-height:1.25rem}
.text-lg{font-size:1.125rem;line-height:1.75rem}
.text-xl{font-size:1.25rem;line-height:1.75rem}
.text-2xl{font-size:1.5rem;line-height:2rem}
.text-3xl{font-size:1.875rem;line-height:2.25rem}
.text-4xl{font-size:2.25rem;line-height:2.5rem}
.text-5xl{font-size:3rem;line-height:1}
.font-medium{font-weight:500}
.font-semibold{font-weight:600}
.font-bold{font-weight:700}
.font-extrabold{font-weight:800}
.text-center{text-align:center}
.leading-relaxed{line-height:1.625}

/* Gradient Text */
.bg-clip-text{-webkit-background-clip:text;background-clip:text}

/* Borders & Rounded */
.rounded-lg{border-radius:0.5rem}
.rounded-xl{border-radius:0.75rem}
.rounded-2xl{border-radius:1rem}
.rounded-full{border-radius:9999px}
.border{border-width:1px}
.border-2{border-width:2px}
.border-dashed{border-style:dashed}
.border-slate-100{border-color:#f1f5f9}
.border-slate-300{border-color:#cbd5e1}

/* Shadows */
.shadow-sm{box-shadow:0 1px 2px 0 rgba(0,0,0,0.05)}
.shadow-md{box-shadow:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06)}
.shadow-lg{box-shadow:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05)}
.shadow-xl{box-shadow:0 20px 25px -5px rgba(0,0,0,0.1),0 10px 10px -5px rgba(0,0,0,0.04)}
.shadow-2xl{box-shadow:0 25px 50px -12px rgba(0,0,0,0.25)}

/* Effects */
.cursor-pointer{cursor:pointer}
.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-duration:150ms}
.transition-colors{transition-property:color,background-color,border-color;transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-duration:150ms}
.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-duration:150ms}
.duration-300{transition-duration:300ms}
.scale-105{transform:scale(1.05)}

/* Hover States */
.hover\:text-emerald-600:hover{color:#059669}
.hover\:text-white:hover{color:#ffffff}
.hover\:shadow-lg:hover{box-shadow:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05)}
.hover\:shadow-2xl:hover{box-shadow:0 25px 50px -12px rgba(0,0,0,0.25)}
.hover\:scale-105:hover{transform:scale(1.05)}
.hover\:border-emerald-500:hover{border-color:#10b981}
.hover\:underline:hover{text-decoration:underline}

/* Animations */
.animate-spin{animation:spin 1s linear infinite}
@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}

/* Custom Drop Zone */
#drop-zone{transition:all 0.3s ease}
#drop-zone.active{border-color:#10b981;background-color:#d1fae5}

/* Responsive Utilities */
@media (min-width:640px){
  .sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}
}

@media (min-width:1024px){
  .lg\:px-8{padding-left:2rem;padding-right:2rem}
}