:root {
    --touch-target-min: 44px;
    --page-padding-mobile: 16px;
}

.perspective-1000 {
    perspective: 1000px;
}

.transform-style-3d {
    transform-style: preserve-3d;
}

.backface-hidden {
    backface-visibility: hidden;
}

.rotate-y-180 {
    transform: rotateY(180deg);
}

/* Mobile Utilities */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    /* Touch Targets */
    button, input, select, a.mobile-link {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Adjust inputs that are not flex containers */
    input, select {
        display: block;
    }
    
    /* Specific fix for mobile links alignment */
    a.mobile-link {
        justify-content: flex-start;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}
