@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
    --primary: #4599d4;
    --primary-light: #7ab8e3;
    --primary-pale: #d4eaf7;
    --primary-dark: #2d7ab8;
    --bg: #f0f7fd;
    --bg-card: #ffffff;
    --bg-form: #e8f4fc;
    --border: #c2dff0;
    --text: #1a2e3d;
    --text-muted: #5a7a90;
    --accent: #e8762b;
    --success: #2db87a;
    --th-bg: #4599d4;
    --th-text: #ffffff;
    --row-hover: #eaf4fb;
    --shadow: 0 2px 12px rgba(69, 153, 212, 0.12);
    --shadow-lg: 0 8px 32px rgba(69, 153, 212, 0.18);
    --radius: 10px;
    --radius-lg: 16px;
}

html, body {
    border: none;
    margin: 0;
    padding: 0;
}

img, form, table, tr, th, td {
    border: none;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    padding: 0;
    text-align: inherit;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    background: var(--bg);
    background-image:
        radial-gradient(circle at 20% 20%, rgba(69, 153, 212, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(69, 153, 212, 0.05) 0%, transparent 50%);
    min-height: 100vh;
    box-sizing: border-box;
    color: var(--text);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.6rem;
    letter-spacing: -0.01em;
    text-align: left;
}

*, *::before, *::after {
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
    word-wrap: break-word;
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover, a:focus {
    color: var(--primary);
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0s !important;
        transition-duration: 0s !important;
    }
}

b { font-weight: 600; }

img {
    display: block;
    height: auto;
    max-width: 100%;
}

input {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1;
}

input {
    border-color: var(--border);
    color: var(--text);
}

select {
    font-size: 1em;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 0.5em 1em;
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234599d4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8em center;
    padding-right: 2.5em;
}

select:hover, select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(69, 153, 212, 0.15);
}

input[type="radio"] {
    accent-color: var(--primary);
    cursor: pointer;
}

input[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: var(--primary);
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--radius);
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.25;
    margin: 0;
    opacity: 1;
    padding: 1em 2em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    box-shadow: 0 4px 14px rgba(69, 153, 212, 0.35);
}

input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(69, 153, 212, 0.45);
    text-decoration: none;
}

input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(69, 153, 212, 0.3);
}

table {
    border: none;
    border-collapse: collapse;
    border-spacing: 0;
    empty-cells: show;
    font-size: 1.5rem;
    margin: 2rem 0;
    max-width: 100%;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

th, td {
    border: none;
    border-bottom: 1px solid var(--border);
    line-height: 1.5;
    margin: 0;
    overflow: visible;
    padding: 0.75em 1em;
}

th {
    font-weight: 600;
    background: var(--th-bg);
    color: var(--th-text);
    letter-spacing: 0.02em;
    font-size: 1.4rem;
    text-transform: uppercase;
}

td {
    background: var(--bg-card);
    transition: background 0.12s ease;
}

tr:hover td {
    background: var(--row-hover);
}

tr:last-child td {
    border-bottom: none;
}

@media (min-width: 700px) {
    table { font-size: 1.6rem; }
    input[type="submit"] { font-size: 1.5rem; }
}

.medalicon {
  filter: none !important;
  opacity: 1;
  max-width: 35px;
}

