*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    padding: 0;
    background: #f6f8fc;
    font-family: 'Inter', system-ui, sans-serif;
    color: #111827;
}

/* Mobile responsive app card sizing */
.min-h-screen {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    background: #f6f8fc;
}

/* Base custom input designs */
input {
    width: 100%;
    height: 54px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #111827 !important;
    padding-left: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

input:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
    outline: none;
}

/* Responsive Sticky Container for action button */
.fixed-btn-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 408px;
    z-index: 999;
}

#next-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    color: #fff !important;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25) !important;
    transition: all 0.2s ease;
    width: 100%;
}

#next-btn:disabled {
    opacity: 0.5 !important;
    transform: none !important;
    cursor: not-allowed;
}

/* Loading animation spinner configuration */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Prevent layout breaking arrows inside inputs */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}