/* Loading screen (shown until the app starts), in AthloTrack's brand gradient */
.avalonia-splash {
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, #0D47A1 0%, #1565C0 45%, #1E88E5 100%);
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    justify-content: center;
    align-items: center;
    display: flex;
    pointer-events: none;
}

.athlo-splash {
    text-align: center;
    color: #FFFFFF;
}

.athlo-splash img {
    border-radius: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.athlo-splash h1 {
    margin: 18px 0 4px;
    font-size: 34px;
    font-weight: 700;
}

.athlo-splash p {
    margin: 0;
    font-size: 15px;
    color: #CFE3FF;
    animation: athlo-pulse 1.4s ease-in-out infinite;
}

@keyframes athlo-pulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

.avalonia-splash.splash-close {
    transition: opacity 200ms, display 200ms;
    display: none;
    opacity: 0;
}

/* "New version" banner (update.js), above the app */
.athlo-update {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 24px;
    margin: 0 auto;
    width: fit-content;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: calc(100% - 32px);
    box-sizing: border-box;
    padding: 10px 10px 10px 18px;
    border-radius: 24px;
    background: #003366;
    color: #FFFFFF;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.athlo-update button {
    flex: none;
    border: 0;
    border-radius: 18px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #FFD54F, #FFB300);
    color: #222222;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
