* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove tap highlight and focus outline globally */
*, *:focus, *:active {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

button, input, select, textarea, a {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

button:focus, input:focus, select:focus, textarea:focus, a:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* Performance optimizations for smooth scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Remove blue overscroll effect on mobile */
    overscroll-behavior: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'AZURESans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: url('../docs/fancy-living-room.webp') center center/cover no-repeat, var(--azure-primary);
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 400;
    min-height: 100vh;
    overflow-x: hidden;
    /* Remove blue overscroll effect on mobile */
    overscroll-behavior: none;
    /* Performance: Remove background-attachment fixed from body for better scroll performance */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure all elements inherit the font */
* {
    font-family: inherit;
}

/* Specific font applications */
h1, h2, h3, h4, h5, h6 {
    font-family: 'AZURESans', sans-serif;
}



.title-serif,
.auth-title,
.confirmation-title,
.reg-hero-title {
    font-family: 'TTJenevers', 'AZURESans', serif;
}

input, select, textarea, button {
    font-family: 'AZURESans', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* No-select utility */
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Loading States */
.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Error states */
.error-message {
    color: var(--white);
    padding: 0rem;
    font-size: 0.9rem;
}

/* Empty states */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}