/* Custom CSS Overrides for Levi's Landing Page */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Custom Selection Color */
::selection {
    background-color: #C41230;
    color: white;
}

/* Form floating labels utility */
.peer-focus\:scale-75 {
    transform: scale(0.75) translateY(-0.6rem);
}

.peer-focus\:translate-y-\[-10px\] {
    transform: translateY(-10px) scale(0.75);
}

/* Base Preline/Tailwind Tabs Customization */
[role="tablist"] {
    -webkit-tap-highlight-color: transparent;
}

/* Subtle background grain effect if needed */
.bg-noise {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

/* To ensure text visibility and pixel perfect adjustments */
.font-heading {
    letter-spacing: -0.02em;
}

.font-sans {
    letter-spacing: -0.01em;
}

/* Preline Checkbox custom color overrides to match Levi's red */
input[type="checkbox"]:checked {
    background-color: #C41230;
    border-color: #C41230;
}

input[type="checkbox"]:focus {
    box-shadow: 0 0 0 2px rgba(196, 18, 48, 0.2);
}

.maincontainer {
    margin-top: 40px;
}

/* Ensure inputs remove default borders and background on focus per design */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus {
    outline: none;
    background-color: #ffffff;
    border-bottom-color: #C41230;
}