/* Goridar App CSS - Complete Stylesheet */

/* Strict Mobile Font-Size Locking */
*, *::before, *::after {
    -webkit-text-size-adjust: 100% !important;
    -moz-text-size-adjust: 100% !important;
    -ms-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    font-size-adjust: none !important;
}

body {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    -webkit-tap-highlight-color: transparent;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
}

input, button, select, textarea {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    font-size-adjust: none !important;
}

/* Flexbox utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

/* Positioning */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

/* Spacing */
.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.p-4 {
    padding: 1rem;
}

.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-12 {
    margin-bottom: 3rem;
}

/* On small screens, allow cards/popups to use full width */
@media (max-width: 640px) {
    .max-w-xs,
    .max-w-sm,
    .max-w-md,
    .max-w-lg,
    .max-w-xl,
    .max-w-2xl,
    .max-w-3xl,
    .max-w-4xl,
    .max-w-5xl,
    .max-w-6xl,
    .max-w-7xl {
        max-width: 100% !important;
    }
}

/* On medium screens (tablets), allow more width for cards/popups */
@media (min-width: 641px) and (max-width: 1024px) {
    .max-w-xs,
    .max-w-sm {
        max-width: 100% !important;
    }
    .max-w-md,
    .max-w-lg,
    .max-w-xl {
        max-width: 90% !important;
    }
    .max-w-2xl,
    .max-w-3xl,
    .max-w-4xl {
        max-width: 95% !important;
    }
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Sizing */
.w-full {
    width: 100%;
}

.min-w-full {
    min-width: 100%;
}

.w-2 {
    width: 0.5rem;
}

.w-4 {
    width: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.w-8 {
    width: 2rem;
}

.w-10 {
    width: 2.5rem;
}

.w-20 {
    width: 5rem;
}

.w-24 {
    width: 6rem;
}

.h-2 {
    height: 0.5rem;
}

.h-4 {
    height: 1rem;
}

.h-5 {
    height: 1.25rem;
}

.h-8 {
    height: 2rem;
}

.h-10 {
    height: 2.5rem;
}

.h-20 {
    height: 5rem;
}

.h-24 {
    height: 6rem;
}

.h-screen {
    height: 100vh;
}

.min-h-screen {
    min-height: 100vh;
}

/* Typography */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.leading-relaxed {
    line-height: 1.625;
}

.italic {
    font-style: italic;
}

.drop-shadow-lg {
    filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04));
}

.drop-shadow-md {
    filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07));
}

/* Colors */
.text-white {
    color: #ffffff;
}

.text-white\/50 {
    color: rgba(255, 255, 255, 0.5);
}

.text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}

.text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}

.bg-white {
    background-color: #ffffff;
}

.bg-white\/20 {
    background-color: rgba(255, 255, 255, 0.2);
}

.bg-overlay {
    background: rgba(0, 0, 0, 0.4);
}

/* Gradients */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-brand-600 {
    --tw-gradient-from: #059669;
}

.to-skyx-600 {
    --tw-gradient-to: #0284c7;
}

.from-brand-500 {
    --tw-gradient-from: #10b981;
}

.to-skyx-500 {
    --tw-gradient-to: #0ea5e9;
}

.from-skyx-500 {
    --tw-gradient-from: #0ea5e9;
}

.to-brand-500 {
    --tw-gradient-to: #10b981;
}

/* Brand colors */
.bg-brand-500 {
    background-color: #10b981;
}

.bg-skyx-500 {
    background-color: #0ea5e9;
}

/* Borders */
.border {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

.border-white {
    border-color: #ffffff;
}

.border-white\/30 {
    border-color: rgba(255, 255, 255, 0.3);
}

.rounded {
    border-radius: 0.25rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-full {
    border-radius: 50%;
}

/* Effects */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Transitions */
.transition-transform {
    transition-property: transform;
}

.transition-all {
    transition-property: all;
}

.duration-300 {
    transition-duration: 300ms;
}

/* Active states */
.active\:scale-95:active {
    transform: scale(0.95);
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

.overflow-x-auto {
    overflow-x: auto;
}

/* Scroll snap */
.scroll-snap-container {
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-snap-container::-webkit-scrollbar {
    display: none;
}

.scroll-snap-item {
    scroll-snap-align: start;
}

/* Animations */
.slide-in {
    animation: slideIn 0.6s ease-out forwards;
}

@keyframes slideIn {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Transform utilities */
.transform {
    transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1));
}

.-translate-x-1\/2 {
    --tw-translate-x: -50%;
}

/* Background images */
.bg-cover {
    background-size: cover;
}

.bg-center {
    background-position: center;
}

/* Space utilities */
.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.max-w-sm {
    max-width: 24rem;
}

/* Button styles */
.btn {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:hover {
    background: linear-gradient(135deg, #0284c7, #0369a1);
}

/* Container */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
}

/* Additional utility classes for login */
.p-4 {
    padding: 1rem;
}

.p-10 {
    padding: 2.5rem;
}

.text-gray-900 {
    color: #111827;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-200 {
    color: #e5e7eb;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.border-gray-100 {
    border-color: #f3f4f6;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-brand-500 {
    border-color: #10b981;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-12px {
    border-radius: 12px;
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.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-12 {
    margin-bottom: 3rem;
}

.top-1\/2 {
    top: 50%;
}

.right-4 {
    right: 1rem;
}

.-translate-y-1\/2 {
    --tw-translate-y: -50%;
}

.transform {
    transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1));
}

.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus\:border-brand-500:focus {
    border-color: #10b981;
}

.focus\:scale-105:focus {
    transform: scale(1.05);
}

.focus\:scale-102:focus {
    transform: scale(1.02);
}

.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.ease {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-200 {
    transition-duration: 200ms;
}

.duration-150 {
    transition-duration: 150ms;
}

.block {
    display: block;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-brand-600 {
    --tw-gradient-from: #059669;
}

.to-skyx-600 {
    --tw-gradient-to: #0284c7;
}

/* New Password Page Specific Styles */
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-green-50 {
    --tw-gradient-from: #f0fdf4;
}

.via-white {
    --tw-gradient-via: #ffffff;
}

.to-blue-50 {
    --tw-gradient-to: #eff6ff;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.pt-8 {
    padding-top: 2rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.text-center {
    text-align: center;
}

.absolute {
    position: absolute;
}

.top-8 {
    top: 2rem;
}

.right-6 {
    right: 1.5rem;
}

/* Logout Button Styles - Original Position */
.logout-btn {
    position: absolute;
    top: 2rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.logout-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: #dc2626;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: transparent;
    transform: scale(1.1);
}

.logout-btn:hover svg {
    stroke: #b91c1c;
    transform: rotate(-5deg);
}

.logout-btn:active {
    transform: scale(0.95);
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-4 {
    margin-bottom: 1rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.font-bold {
    font-weight: 700;
}

.text-gray-900 {
    color: #111827;
}

.mt-2 {
    margin-top: 0.5rem;
}

.text-gray-600 {
    color: #4b5563;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.gap-4 {
    gap: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.pin-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #0284c7;
    transition: all 0.2s ease;
}

.pin-dot.filled {
    background: #0284c7;
    transform: scale(1.1);
}

.mx-6 {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.bg-red-50 {
    background-color: #fef2f2;
}

.border {
    border-width: 1px;
}

.border-red-200 {
    border-color: #fecaca;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.p-3 {
    padding: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-red-600 {
    color: #dc2626;
}

/* Keypad styles */
.grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-3 {
    gap: 0.75rem;
}

.mx-6 {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.bg-white {
    background-color: #ffffff;
}

.border-2 {
    border-width: 2px;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.rounded-2xl {
    border-radius: 1rem;
}

.h-16 {
    height: 4rem;
}

.text-xl {
    font-size: 1.25rem;
}

.font-semibold {
    font-weight: 600;
}

.text-gray-700 {
    color: #374151;
}

.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

.hover\:border-gray-300:hover {
    border-color: #d1d5db;
}

.active\:scale-95:active {
    transform: scale(0.95);
}

.transition-transform {
    transition-property: transform;
}

.duration-150 {
    transition-duration: 150ms;
}

.bg-green-600 {
    background-color: #16a34a;
}

.hover\:bg-green-700:hover {
    background-color: #15803d;
}

.text-white {
    color: #ffffff;
}

.col-span-2 {
    grid-column: span 2 / span 2;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.text-gray-500 {
    color: #6b7280;
}

/* Additional styles for new password page */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.min-h-screen {
    min-height: 100vh;
}

.hidden {
    display: none;
}

/* Grid System */
.grid {
    display: grid;
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-6 {
    gap: 1.5rem;
}

/* Flexbox utilities */
.flex-1 {
    flex: 1 1 0%;
}

/* Enhanced PIN dot styles */
.pin-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #0284c7;
    transition: all 0.2s ease;
    background-color: transparent;
}

.pin-dot.filled {
    background: #0284c7;
    transform: scale(1.1);
    box-shadow: 0 0 8px rgba(2, 132, 199, 0.3);
}

/* Enhanced Keypad Styles */
.keypad-btn {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 2px solid #e2e8f0;
    border-radius: 1.25rem;
    height: 4.5rem;
    width: 4.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.keypad-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, transparent, rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.keypad-btn:hover {
    background: linear-gradient(145deg, #f1f5f9, #ffffff);
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
}

.keypad-btn:hover::before {
    opacity: 1;
}

.keypad-btn:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 
        0 2px 4px -1px rgba(0, 0, 0, 0.1),
        0 1px 2px -1px rgba(0, 0, 0, 0.06),
        inset 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.1s ease;
}

.keypad-btn.text-red-500 {
    background: linear-gradient(145deg, #dc2626, #b91c1c);
    border: 2px solid #ef4444;
    color: #ffffff;
    box-shadow: 
        0 4px 6px -1px rgba(220, 38, 38, 0.3),
        0 2px 4px -1px rgba(220, 38, 38, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
        0 0 20px rgba(220, 38, 38, 0.1);
    position: relative;
    overflow: hidden;
}

.keypad-btn.text-red-500::before {
    background: linear-gradient(145deg, transparent, rgba(255, 255, 255, 0.2));
}

.keypad-btn.text-red-500:hover {
    background: linear-gradient(145deg, #ef4444, #dc2626);
    border-color: #f87171;
    transform: translateY(-2px);
    box-shadow: 
        0 10px 15px -3px rgba(220, 38, 38, 0.4),
        0 4px 6px -2px rgba(220, 38, 38, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3),
        0 0 30px rgba(220, 38, 38, 0.2);
}

.keypad-btn.text-red-500:active {
    background: linear-gradient(145deg, #b91c1c, #991b1b);
    transform: translateY(0) scale(0.95);
    box-shadow: 
        0 2px 4px -1px rgba(220, 38, 38, 0.3),
        0 1px 2px -1px rgba(220, 38, 38, 0.2),
        inset 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.keypad-btn.bg-green-500 {
    background: linear-gradient(145deg, #22c55e, #16a34a) !important;
    border-color: #16a34a !important;
    color: #ffffff !important;
}

.keypad-btn.bg-green-500:hover {
    background: linear-gradient(145deg, #16a34a, #15803d) !important;
    border-color: #15803d !important;
}

.keypad-btn .delete-icon {
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: -2px;
}

/* Special glow effect for delete button */
.keypad-btn.text-red-500::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #dc2626, #ef4444, #dc2626);
    border-radius: 1.3rem;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.keypad-btn.text-red-500:hover::after {
    opacity: 0.6;
}

/* Pulse animation for delete button */
@keyframes deletePulse {
    0%, 100% {
        box-shadow: 
            0 4px 6px -1px rgba(220, 38, 38, 0.3),
            0 2px 4px -1px rgba(220, 38, 38, 0.2),
            inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
            0 0 20px rgba(220, 38, 38, 0.1);
    }
    50% {
        box-shadow: 
            0 4px 6px -1px rgba(220, 38, 38, 0.3),
            0 2px 4px -1px rgba(220, 38, 38, 0.2),
            inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
            0 0 30px rgba(220, 38, 38, 0.3);
    }
}

.keypad-btn.text-red-500:hover {
    animation: deletePulse 2s infinite;
}

/* Ripple effect for keypad buttons */
.keypad-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.keypad-btn:active::after {
    width: 100px;
    height: 100px;
}

/* Enhanced grid container */
.keypad-grid {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Number animations */
.keypad-btn span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.keypad-btn:hover span {
    transform: scale(1.1);
}

.keypad-btn:active span {
    transform: scale(0.95);
}

/* Delete button icon */
.keypad-btn .delete-icon {
    font-size: 1.25rem;
    font-weight: 900;
}

/* Error message animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.error-shake {
    animation: shake 0.5s ease-in-out;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.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;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-full {
    border-radius: 50%;
}

.w-full {
    width: 100%;
}

.w-4 {
    width: 1rem;
}

.w-6 {
    width: 1.5rem;
}

.w-8 {
    width: 2rem;
}

.w-10 {
    width: 2.5rem;
}

.w-12 {
    width: 3rem;
}

.w-16 {
    width: 4rem;
}

.w-20 {
    width: 5rem;
}

.h-4 {
    height: 1rem;
}

.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;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.transition-transform {
    transition-property: transform;
}

.transition-all {
    transition-property: all;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
}

.duration-200 {
    transition-duration: 200ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.ease-in-out {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.border-2 {
    border-width: 2px;
}

.border {
    border-width: 1px;
}

.border-white\/30 {
    border-color: rgba(255, 255, 255, 0.3);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.bg-white\/20 {
    background-color: rgba(255, 255, 255, 0.2);
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.max-w-sm {
    max-width: 24rem;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-lg {
    max-width: 32rem;
}

.max-w-xl {
    max-width: 36rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.min-h-screen {
    min-height: 100vh;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.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-12 {
    margin-bottom: 3rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-4 {
    margin-left: 1rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-4 {
    margin-right: 1rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.italic {
    font-style: italic;
}

.leading-relaxed {
    line-height: 1.625;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.cursor-pointer {
    cursor: pointer;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Colors */
.bg-brand-500 {
    background-color: #10b981;
}

.bg-brand-600 {
    background-color: #059669;
}

.bg-brand-700 {
    background-color: #047857;
}

.bg-skyx-500 {
    background-color: #0ea5e9;
}

.bg-skyx-600 {
    background-color: #0284c7;
}

.bg-skyx-700 {
    background-color: #0369a1;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-gray-200 {
    background-color: #e5e7eb;
}

.bg-gray-300 {
    background-color: #d1d5db;
}

.bg-gray-400 {
    background-color: #9ca3af;
}

.bg-gray-500 {
    background-color: #6b7280;
}

.bg-gray-600 {
    background-color: #4b5563;
}

.bg-gray-700 {
    background-color: #374151;
}

.bg-gray-800 {
    background-color: #1f2937;
}

.bg-gray-900 {
    background-color: #111827;
}

.text-gray-50 {
    color: #f9fafb;
}

.text-gray-100 {
    color: #f3f4f6;
}

.text-gray-200 {
    color: #e5e7eb;
}

.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-800 {
    color: #1f2937;
}

.text-gray-900 {
    color: #111827;
}

.text-brand-600 {
    color: #059669;
}

.text-skyx-600 {
    color: #0284c7;
}

.text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}

.text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}

/* Hover States */
.hover\:from-brand-700:hover {
    --tw-gradient-from: #047857;
}

.hover\:to-brand-800:hover {
    --tw-gradient-to: #065f46;
}

.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

.hover\:bg-gray-200:hover {
    background-color: #e5e7eb;
}

.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.active\:scale-95:active {
    transform: scale(0.95);
}

/* Focus States */
.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px;
}

.focus\:ring-blue-500:focus {
    box-shadow: 0 0 0 2px #3b82f6;
}

/* Z-index */
.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-30 {
    z-index: 30;
}

.z-40 {
    z-index: 40;
}

.z-50 {
    z-index: 50;
}

/* Positioning */
.top-0 {
    top: 0;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Welcome gradient */
.welcome-gradient {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

/* Responsive */
@media (max-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .sm\:max-w-2xl {
        max-width: 42rem;
    }
    
    .sm\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Form Styles */
input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

button {
    cursor: pointer;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Error states */
.text-red-500 {
    color: #ef4444;
}

.text-red-600 {
    color: #dc2626;
}

.bg-red-50 {
    background-color: #fef2f2;
}

.border-red-500 {
    border-color: #ef4444;
}

/* Success states */
.text-green-500 {
    color: #10b981;
}

.text-green-600 {
    color: #059669;
}

.bg-green-50 {
    background-color: #f0fdf4;
}

.border-green-500 {
    border-color: #10b981;
}

/* Brand colors */
.bg-brand-100 {
    background-color: #ecfdf5;
}

.text-brand-600 {
    color: #059669;
}

/* Global Font Size Reduction and Motion Removal - Driver Theme Only */
html.driver-theme {
    font-size: 14px !important;
}

body.driver-theme {
    font-size: 14px !important;
}

.driver-theme *, .driver-theme *::before, .driver-theme *::after {
    animation: none !important;
    transition: none !important;
}

/* Global Glassmorphic Toast Notifications */
.fancy-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    width: 90%;
    max-width: 400px;
    padding: 16px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: toastSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease !important;
}

.fancy-toast.slide-out {
    animation: toastSlideOut 0.3s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards !important;
}

.fancy-toast-success {
    background: rgba(240, 253, 244, 0.9);
    border-color: rgba(74, 222, 128, 0.3);
    color: #166534;
}

.fancy-toast-error {
    background: rgba(254, 242, 242, 0.95);
    border-color: rgba(248, 113, 113, 0.3);
    color: #991b1b;
}

.fancy-toast-info {
    background: rgba(240, 249, 255, 0.95);
    border-color: rgba(56, 189, 248, 0.3);
    color: #075985;
}

.fancy-toast-warning {
    background: rgba(254, 253, 242, 0.95);
    border-color: rgba(250, 204, 21, 0.3);
    color: #854d0e;
}

.fancy-toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.fancy-toast-success .fancy-toast-icon {
    background: rgba(74, 222, 128, 0.2);
    color: #10b981;
}

.fancy-toast-error .fancy-toast-icon {
    background: rgba(248, 113, 113, 0.2);
    color: #ef4444;
}

.fancy-toast-info .fancy-toast-icon {
    background: rgba(56, 189, 248, 0.2);
    color: #0ea5e9;
}

.fancy-toast-warning .fancy-toast-icon {
    background: rgba(250, 204, 21, 0.2);
    color: #eab308;
}

.fancy-toast-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
    font-size: 14px;
    flex: 1;
    line-height: 1.4;
}

.fancy-toast-progressbar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 0 0 20px 20px;
    animation: toastProgress 4000ms linear forwards !important;
}

.fancy-toast-success .fancy-toast-progressbar {
    background: #22c55e;
}

.fancy-toast-error .fancy-toast-progressbar {
    background: #ef4444;
}

.fancy-toast-info .fancy-toast-progressbar {
    background: #0ea5e9;
}

.fancy-toast-warning .fancy-toast-progressbar {
    background: #eab308;
}

@keyframes toastSlideIn {
    0% {
        transform: translate(-50%, -40px) scale(0.9);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, 0) scale(1);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    0% {
        transform: translate(-50%, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -40px) scale(0.95);
        opacity: 0;
    }
}

@keyframes toastProgress {
    0% {
        width: 100%;
    }
    100% {
        width: 0%;
    }
}


