/* Custom styles have been moved into the tailwind.config script in index.html.
  This file is for global styles that are not covered by Tailwind's utility classes.
*/

* {
    touch-action: manipulation;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Base font and color settings */
body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #f8fafc;
    color: #172940;
    font-size: 16px; /* Prevents zoom on iOS */
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

#app {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Base heading styles */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

button, a.button {
    min-height: 44px;
    min-width: 44px;
    padding: 12px 16px;
}

button:active {
    transform: scale(0.98);
}

input, select, textarea {
    font-size: 16px; /* Prevents zoom */
}

.modal-content {
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Dashboard-specific styles */
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.3s ease;
}

.fade-enter-from, .fade-leave-to {
    opacity: 0;
}

.modal-backdrop {
    backdrop-filter: blur(4px);
}
