﻿html, body {
    font-family: ubuntu, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    background-color: #F5F5F5;
}

* {
    padding: 0;
    margin: 0;
}

/* Native-app feel: text is not selectable anywhere except real inputs, and
   taps never flash the WebView's rectangular highlight overlay (it ignores
   border-radius, so cards looked like selected boxes). */
* {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

input, textarea {
    -webkit-user-select: text;
    user-select: text;
}

/* Placeholders are authored lowercase in the translations; render them
   Capitalized (not uppercase) everywhere. */
input::placeholder, textarea::placeholder {
    text-transform: capitalize;
}

/* Subtle pressed feedback on every button so taps feel acknowledged.
   Deliberately gentle: a small scale + slight fade, nothing more. */
button {
    transition: transform 0.08s ease-out, opacity 0.08s ease-out;
}

button:active:not(:disabled) {
    transform: scale(0.96);
    opacity: 0.85;
}


:root {
    --primaryColor: #FF0052;
    --bloodColor: #94002F;
    --baseColor: #000000;
    --grey: #999999;
    --lightGrey: #DDDDDD;
    --white: #ffffff;
    --backgroundColor: #F5F5F5;
    --subBackgroundColor: #F6F6F6;
}


/* Branded startup screen shown before Blazor mounts (replaces "Loading...") */
.startupSplash {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F5;
}

.startupSplash svg {
    animation: startupPulse 1.4s ease-in-out infinite;
}

@keyframes startupPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.85); opacity: 0.7; }
}

/* Pull-to-refresh indicator (injected by js/pullToRefresh.js) */
.ptr-indicator {
    height: 0;
    opacity: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: height .15s ease, opacity .15s ease;
    color: var(--primaryColor);
}

.ptr-indicator .ptr-spinner {
    width: 22px;
    height: 22px;
    box-sizing: border-box;
    border: 3px solid rgba(255, 0, 82, 0.25);
    border-top-color: var(--primaryColor);
    border-radius: 50%;
    display: inline-block;
}

.ptr-indicator.spinning .ptr-spinner {
    animation: ptr-spin .7s linear infinite;
}

@keyframes ptr-spin {
    to { transform: rotate(360deg); }
}

@font-face {
    font-family: 'ubuntu';
    src: url('../fonts/Ubuntu-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'ubuntu';
    src: url('../fonts/Ubuntu-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'ubuntu';
    src: url('../fonts/Ubuntu-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'ubuntu';
    src: url('../fonts/Ubuntu-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'ubuntu';
    src: url('../fonts/Ubuntu-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'ubuntu';
    src: url('../fonts/Ubuntu-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'ubuntu';
    src: url('../fonts/Ubuntu-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'ubuntu';
    src: url('../fonts/Ubuntu-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
