/* Color scheme from golfspil.com */
:root {
    --primary-dark: #002933;
    --success-green: #198754;
    --light-gray: #f8f9fa;
    --border-gray: #e0e0e0;
}
* {
    outline-color: transparent !important;
}
:focus-visible {
    outline: none!important;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Oxanium', cursive;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Prevent mobile zoom on input focus - minimum 16px font size */
input, select, textarea {
    font-size: 16px !important;
}

/* Fixed header styling */
.fluent-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: var(--success-green);
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}
/* Score badge styles */
.score-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1em;
    text-align: center;
    min-width: 32px;
}

.score-par {
    background-color: white;
    color: #002933;
    border: 2px solid #002933;
}

.score-bogey {
    background-color: black;
    color: white;
}

.score-double-bogey {
    background-color: #0d6efd;
    color: white;
}

.score-birdie {
    background-color: #dc3545;
    color: white;
}

.score-eagle {
    background-color: #ffc107;
    color: #002933;
}
