:root {
    --green-dark: #5B7E3C;
    --green-dark-hover: #4A6830;
    --green-medium: #A2CB8B;
    --green-light: #E8F5BD;
    --red-accent: #C44545;
    --red-accent-hover: #A33636;
    --bg-page: #F9F9F7;
    --link-blue: #2B6CB0;
    --link-blue-hover: #1E4E8C;
}

html, body {
    height: 100%;
    margin: 0;
}
body {
    display: flex;
    flex-direction: column;
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg-page);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}
h1 { font-size: 2rem; margin: 0.6em 0 0.4em; }
h2 { font-size: 1.5rem; margin: 0.5em 0 0.3em; }
h3 { font-size: 1.25rem; margin: 0.4em 0 0.25em; }
h4 { font-size: 1.1rem; margin: 0.3em 0 0.2em; }
h5 { font-size: 1rem; margin: 0.3em 0 0.2em; }
h6 { font-size: 0.9rem; margin: 0.3em 0 0.2em; }
.content {
    flex: 1;
}
.footer {
color: #333;
padding: 8px;
text-align: center;
}
.footer a {
    color: #333;
}

/* Utilities */

.margin-top-xs {
    margin-top: 2px;
}
.margin-top-s {
    margin-top: 6px;
}
.margin-top-m {
    margin-top: 12px;
}
.margin-top-l {
    margin-top: 24px;
}
.margin-top-xl {
    margin-top: 48px;
}

.margin-v-xs {
    margin: 2px 0;
}
.margin-v-s {
    margin: 6px 0;
}
.margin-v-m {
    margin: 12px 0;
}
.margin-v-l {
    margin: 24px 0;
}
.margin-v-xl {
    margin: 48px 0;
}



@media (max-width: 640px) {
    .hide-small {
        display: none !important
    }
}

@media (min-width: 641px) and (max-width: 960px) {
    .hide-medium {
        display: none !important;
    }
}

@media (min-width: 961px) {
    .hide-large {
        display: none !important;
    }
}


.container {
    max-width: 980px;
    margin: 0 auto;
}
/* add padding to container on small screens */
@media (max-width: 960px) {
    .container {
        padding: 0 24px;
    }
}
@media (max-width: 640px) {
    .container {
        padding: 0 12px;
    }
}
.w-100 {
    width: 100%;
}
.w-1-12 { width: 8.33%; }
.w-2-12 { width: 16.66%; }
.w-3-12 { width: 25%; }
.w-4-12 { width: 33.33%; }
.w-5-12 { width: 41.66%; }
.w-6-12 { width: 50%; }
.w-7-12 { width: 58.33%; }
.w-8-12 { width: 66.66%; }
.w-9-12 { width: 75%; }
.w-10-12 { width: 83.33%; }
.w-11-12 { width: 91.66%; }
.w-12-12 { width: 100%; }

@media (min-width: 641px) {
    .w-1-12-sm { width: 8.33%; }
    .w-2-12-sm { width: 16.66%; }
    .w-3-12-sm { width: 25%; }
    .w-4-12-sm { width: 33.33%; }
    .w-5-12-sm { width: 41.66%; }
    .w-6-12-sm { width: 50%; }
    .w-7-12-sm { width: 58.33%; }
    .w-8-12-sm { width: 66.66%; }
    .w-9-12-sm { width: 75%; }
    .w-10-12-sm { width: 83.33%; }
    .w-11-12-sm { width: 91.66%; }
    .w-12-12-sm { width: 100%; }
}
.margin-lr-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}

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

a:not(.pure-button) {
    color: var(--link-blue);
    text-decoration: none;
} 
a:not(.pure-button):hover {
    color: var(--link-blue-hover);
    text-decoration: underline;
}

/* a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }​ */

.header-container {
    display: flex;
    align-items: center; /* Align items vertically in the center */
    justify-content: space-between; /* Push items to the edges */
    margin: 12px 0;
}
.header-notice {
    color: #888;
    font-size: 14px;
}

.header-container__left {
    margin: 0; /* Remove default margin to avoid unexpected spacing */
}

.header-container__right {
    margin-left: auto; /* Push the button to the right */
}

.cc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.cc-table th, .cc-table td {
    padding: 12px 15px;
    border: none;
    border-bottom: 1px solid #eee;
}

.cc-table thead tr, tfoot tr {
    background-color: #e7e7e7;
    text-align: left;
}

.cc-table thead th {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 0.9em;
    color: #333;
}

.cc-table tbody tr:last-child td {
    border-bottom: none;
}

 /* auto-striped */
.cc-table.cc-table-striped tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.cc-table.cc-table-striped tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.cc-table.cc-table-striped tbody tr:hover {
    background-color: rgba(232, 245, 189, 0.3);
}

/* manual striped */
.cc-table tbody tr.even {
    background-color: #fafafa;
}

.cc-table tbody tr.odd {
    background-color: #ffffff;
}

.cc-table tbody tr:hover {
    background-color: rgba(232, 245, 189, 0.3);
}

.cc-table .active {
    font-weight: bold;
}

/* Media query for small viewports */
@media (max-width: 640px) {
    .cc-table {
        font-size: 12px;
    }

    .cc-table th, .cc-table td {
        padding: 8px 4px;
    }
    .cc-table thead {
        font-size: 10px;
    }
}



.cc-alert-flash {
    background: #eef6fc;
    border-left: 4px solid var(--link-blue);
    color: #1a4a6b;
    padding: 1em 1.2em;
    text-align: center;
}
.cc-alert-error {
    background: #fdf0f0;
    border-left: 4px solid var(--red-accent);
    color: var(--red-accent);
    padding: 1em 1.2em;
    text-align: center;
}
.cc-alert-success {
    background: #f0f9e8;
    border-left: 4px solid var(--green-dark);
    color: var(--green-dark);
    padding: 1em 1.2em;
    text-align: center;
}
.cc-alert-success a {
    color: var(--green-dark);
    font-weight: 600;
    text-decoration: underline;
}

.cc-alert {
    background: #f7f7f5;
    border-left: 4px solid #ccc;
    color: #333;
    padding: 12px 12px;
    text-align: center;
    font-size: 14px;
    margin: 12px 0;
}



.navbar form { 
    display: inline-block;
}


.navbar {
    margin-top: 0.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.navbar .left, .navbar .right {
    display: flex;
    gap: 20px;
}

/* Navbar link styling — text-only with highlighter hover */
.navbar a, .navbar button {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #333;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0.2em 0.3em;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.25em;
}

.nav-icon {
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
}
.navbar a::after, .navbar button::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 45%;
    background: rgba(215, 238, 141, 0.9);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: 2px;
}
.navbar a:hover::after, .navbar button:hover::after {
    transform: scaleX(1);
}
.navbar a:hover, .navbar button:hover {
    color: #333;
    text-decoration: none;
    transform: none;
    box-shadow: none;
}

/* Media query for small viewports */
@media (max-width: 640px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
       
    }

    .navbar .left, .navbar .right {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .navbar .left a, .navbar .right a, .navbar .right form, .navbar .right button {
        display: block;
        width: 100%;
        margin: 4px 0;
        text-align: left;
    }
}

/* Forms */
.pure-form input.error {
    border: 2px dashed var(--red-accent);
}

.pure-form-message-inline.error, .pure-form-message.error {
    color: var(--red-accent); 
}

.pure-form-aligned .pure-control-group label {
    width: 15em;
}
.pure-form-aligned .pure-control-group .pure-form-message-inline {
    text-align: left;
}
.pure-form-aligned .pure-control-group {
    margin-bottom: 2.5em
}
.pure-form-aligned .pure-control-group .explanation {
    color: #858585;
    font-size: 0.9em;
    text-align: center;
    width: 50%;
}
@media (max-width: 640px) {
    .pure-form-aligned .pure-control-group .explanation {
        width: 100%;
    }
    .pure-form-aligned .pure-control-group .pure-form-message-inline {
        display: block;
        width: 100%;
        text-align: center;
     }
}


/* Hero section */
.hero__intro {
    text-align: center;
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.hero__headline {
    font-family: 'Fredoka', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 42px;
    line-height: 51px;
    color: #151B32;
}

.hero__highlight {
    color: var(--green-dark);
}

.hero__subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    line-height: 26px;
    color: #555;
    margin-top: 1rem;
}

.hero__cta {
    text-align: center;
    margin: 24px 0;
}

.hero__countdown {
    text-align: center;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.hero__countdown-time {
    color: var(--green-dark);
}

/* Penalty scene */
.penalty-scene__divider {
    width: 50%;
    height: 12px;
    margin: 3rem auto;
    background: url('/static/img/divider.svg') no-repeat center / 100% 100%;
}

.penalty-scene {
    position: relative;
    width: 75%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.penalty-scene__goal {
    position: relative;
    z-index: 1;
    width: 100%;
}
.penalty-scene__goal img {
    width: 100%;
    height: auto;
    display: block;
}

.penalty-scene__keeper {
    position: absolute;
    top: 20%;
    z-index: 2;
    width: 25%;
    animation: keeper-sway 2.5s ease-in-out infinite;
}
.penalty-scene__keeper img {
    width: 100%;
    height: auto;
    display: block;
}

.penalty-scene__ball-row {
    position: relative;
    margin-top: 140px;
    display: flex;
    justify-content: center;
}

.penalty-scene__ball {
    position: relative;
    z-index: 3;
    width: 64px;
    height: 64px;
    animation: ball-pulsate 1.2s ease-in-out infinite;
    cursor: pointer;
}
.penalty-scene__ball img {
    width: 100%;
    height: auto;
    display: block;
}

.penalty-scene__hint {
    position: absolute;
    left: calc(50% + 44px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-family: 'Fredoka', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    animation: hint-nudge 1.5s ease-in-out infinite;
    pointer-events: none;
    transition: opacity 0.2s;
}

.penalty-scene__hint--hidden {
    opacity: 0;
}

@keyframes hint-nudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

/* Penalty score tracking */
.penalty-scene__score {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.penalty-scene__dots {
    display: flex;
    gap: 8px;
}

.penalty-scene__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: background 0.3s, transform 0.3s;
}

.penalty-scene__dot--goal {
    background: var(--green-dark);
    transform: scale(1.1);
}

.penalty-scene__dot--save {
    background: var(--red-accent);
    transform: scale(1.1);
}

.penalty-scene__dot--miss {
    background: #bbb;
    transform: scale(1.1);
}

@keyframes keeper-sway {
    0%, 100% { transform: translateX(-80%); }
    50% { transform: translateX(80%); }
}

@keyframes ball-pulsate {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

.penalty-scene__ball--kicked {
    animation: none;
}

/* Direction gauge */
.penalty-gauge {
    position: absolute;
    transform: translate(-50%, -100%);
    width: 120px;
    z-index: 15;
    pointer-events: none;
}

.penalty-gauge__track {
    position: relative;
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: visible;
}

.penalty-gauge__indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    margin-top: -7px;
    background: var(--green-dark);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    transition: none;
}

.penalty-scene__goal--shake {
    animation: goal-shake 0.5s ease;
}

.penalty-scene__keeper--shake {
    animation: keeper-shake 0.5s ease;
}

@keyframes goal-shake {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-6px) rotate(-1deg); }
    30% { transform: translateX(5px) rotate(1deg); }
    45% { transform: translateX(-4px) rotate(-0.5deg); }
    60% { transform: translateX(3px) rotate(0.5deg); }
    75% { transform: translateX(-2px); }
}

@keyframes keeper-shake {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-8px); }
    30% { transform: translateX(7px); }
    45% { transform: translateX(-5px); }
    60% { transform: translateX(4px); }
    75% { transform: translateX(-2px); }
}

.penalty-scene__tor {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, 0);
    font-family: 'Fredoka', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--green-dark);
    opacity: 0;
    pointer-events: none;
    z-index: 20;
    text-shadow: 0 2px 8px rgba(91, 126, 60, 0.3);
}

.penalty-scene__tor--save {
    color: var(--red-accent);
    text-shadow: 0 2px 8px rgba(196, 69, 69, 0.3);
}

.penalty-scene__tor--visible {
    opacity: 1;
}

.penalty-scene__tor--fade {
    transition: all 1.2s ease-out;
    opacity: 0;
    transform: translate(-50%, -60px);
}

/* Button overrides */
.pure-button {
    border-radius: 10px;
    padding: 0.6em 1.4em;
    font-weight: 500;
    transition: all 0.2s ease;
}
.pure-button:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}
.pure-button-primary, a.pure-button-primary {
    background-color: var(--green-dark);
}
.pure-button-primary:hover, a.pure-button-primary:hover {
    background-color: var(--green-dark-hover);
}

/* General styles for all status links */
a.status-label {
    display: inline-block;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-align: center; /* Center the emoji */
    line-height: 1.5; /* Vertically center the emoji */
}
a.status-label:hover {
    color: transparent;
    text-decoration: none;
}

a.status-live {
    background-color: red; /* Red background color */
    color: transparent; /* Hide the text */
    position: relative; /* Position for the pseudo-element */
}

.status-live::before {
    color: white;
    content: "live";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the icon */
}


a.status-live:hover {
    background-color: darkred; /* Darker red on hover for better visual feedback */
}

/* Specific styles for each status type */
a.status-pending {
    /* background-color: grey; */
    color: transparent; /* Hide the text */
    position: relative; /* Position for the pseudo-element */
}

a.status-pending::before {
    content: "\231B"; /* Unicode for hourglass */
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the icon */
}

a.status-done {
    background-color: transparent;
    color: transparent; /* Hide the text */
    position: relative; /* Position for the pseudo-element */
}

a.status-done::before {
    content: "\2714"; /* Unicode for checkmark */
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the icon */
}

a.status-future {
    background-color: transparent;
    color: transparent; /* Hide the text */
    position: relative; /* Position for the pseudo-element */
}

a.status-future::before {
    content: "\23F1"; /* Unicode for stopwatch */
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the icon */
}



.match-details {
    margin: 24px 0;
}

.match-details.match-details-top {
    margin-top: 48px;
}
.match-details__subtitle {
    font-size: 0.8em;
    color: lightslategray;
    text-transform: uppercase;
    margin: 0;
}
.match-details__result {
    font-size: 2em;
    margin: 0;
}
.muted {
    font-size: 0.8em;
    color: lightslategray;
    text-transform: uppercase;
    margin: 0;
}
.result-details {
    font-size: 0.8em;
    color: lightslategray;
    margin: 0;
}
.team-none {
    color: rgb(116, 116, 116);
}

/* Live indicator */

.live-indicator {
    display: flex;
    align-items: center;
  }
  
  .live-indicator__circle {
    background-color: #e33a00;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0;
    position: relative;
  
    &::before, &::after {
      display: block;
      width: 20px;
      height: 20px;
      background-color: #e33a00;
      content: '';
      opacity: 0.4;
      border-radius: 50%;
      
      position: absolute;
      top: -4px;
      left: -4px;
      box-shadow: 0 0 10px 0 rgba(230, 56, 0, 0.4);
    }
    
    &::before {
      animation: grow 2s infinite;
    }
  }
  
  .live-indicator__text {
    margin-left: 10px;
    color: #e33a00;
    font-weight: bold;
  }
  
  
  @keyframes grow {
    0%    { transform: scale(0); }
    60%  { transform: scale(1.5); }
    100%  { transform: scale(0); }
  }


  /* navbar for match phase selection */

  .tabs {
    margin-top: 24px;
    display: flex;
    justify-content: space-between; 
    align-items: stretch;
    padding: 0.5rem 0 0;
    border-bottom: 2px solid #eee;
    background: none;
  }
  .tabs h2 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
  }
  
  .tabs ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: stretch;
  }
  
  .tabs li {
    padding-left: 1rem;
    font-size: 90%;
    display: flex;
    align-items: stretch;
  }
  
  .tabs .active a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
  }
  .tabs .active a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 3px;
    background: var(--green-medium);
    border-radius: 2px;
  }
  
  .tabs a {
    text-decoration: none;
    color: var(--link-blue);
    position: relative;
    display: flex;
    align-items: center;
    padding-bottom: 0.5rem;
  }
  .tabs a:hover {
    color: #333;
    text-decoration: none;
  }
  
/* 
    Tabs: Small devices
  */
  @media only screen and (max-width: 640px) {
    .tabs {
      flex-direction: column;
      align-items: flex-start;
    }
    .tabs ul {
      flex-direction: column;
      padding-top: 0.5rem;
    }
    .tabs li {
      padding: 0.5rem 0;
      padding-left: 0;
    }
  } 


/*
Prev/next buttons for mobile view
*/

.pagination {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .pagination ul {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    padding: 0;
    margin: 0;
    gap: 10px;
  }
  
  .pagination li {
    text-align: center;
  }
  
  .pagination li:first-child,
  .pagination li:last-child {
    flex: 1;
  }
  
  .pagination li:nth-child(2) {
    flex: 2;
  }
  
  .pagination a, .pagination .disabled {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }
  .pagination .disabled {
    color: #7d7d7d;
    background-color: #fff;
    border: none;
  }
  
  .pagination a:hover {
    background-color: #e0e0e0;
  }
  
  .pagination li:nth-child(2) a {
    font-weight: bold;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
  }
  
  .pagination li:first-child a,
  .pagination li:last-child a {
    font-size: 14px;
  }
  
  @media (max-width: 480px) {
    .pagination a,  .pagination .disabled {
      padding: 8px 5px;
      font-size: 14px;
    }
    
    .pagination ul {
      gap: 5px;
    }
  }


  /* wrapped page */
  .wrapped-podium {
    font-size: 20px;
    padding: 24px 12px;
    border: 1px solid #ccc;
    border-radius: 12px;
    margin: 24px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(0deg, #e4e4e4, #f7f7f7);
  }
  @media (max-width: 480px) {
    .wrapped-podium {
      justify-content: space-between;
    }
  }


  .wrapped-podium-line-1 { 
    /* margin-bottom: 6px; */
  }
  .badge-place {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-left: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }
  
  .badge-place-1 {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border: 2px solid #DAA520;
  }
  
  .badge-place-2 {
    background: linear-gradient(45deg, #C0C0C0, #A9A9A9);
    border: 2px solid #808080;
  }
  
  .badge-place-3 {
    background: linear-gradient(45deg, #CD7F32, #8B4513);
    border: 2px solid #A0522D;
  }


  /* confetti */

    .confetti-container {
        width: 100%;
        height: 1px;
    }
    .confetti {
        width: 15px;
        height: 15px;
        background-color: #f2d74e;
        position: absolute;
        left: 50%;
        animation: confetti 5s ease-in-out -2s infinite;
        transform-origin: left top;
    }
    .confetti:nth-child(1) {
        background-color: #f2d74e; left: 10%; animation-delay: 0;
    }
    .confetti:nth-child(2) {
        background-color: #95c3de; left: 20%; animation-delay: -5s;
    }
    .confetti:nth-child(3) {
        background-color: #ff9a91; left: 30%; animation-delay: -3s;
    }
    .confetti:nth-child(4) {
        background-color: #f2d74e; left: 40%; animation-delay: -2.5s;
    }
    .confetti:nth-child(5) {
        background-color: #95c3de; left: 50%; animation-delay: -4s;
    }
    .confetti:nth-child(6) {
        background-color: #ff9a91; left: 60%; animation-delay: -6s;
    }
    .confetti:nth-child(7) {
        background-color: #f2d74e; left: 70%; animation-delay: -1.5s;
    }
    .confetti:nth-child(8) {
        background-color: #95c3de; left: 80%; animation-delay: -2s;
    }
    .confetti:nth-child(9) {
        background-color: #ff9a91; left: 90%; animation-delay: -3.5s;
    }
    .confetti:nth-child(10) {
        background-color: #f2d74e; left: 100%; animation-delay: -2.5s;
    }

    @keyframes confetti {
        0% { transform: rotateZ(15deg) rotateY(0deg) translate(0,0); }
        25% { transform: rotateZ(5deg) rotateY(360deg) translate(-5vw,20vh); }
        50% { transform: rotateZ(15deg) rotateY(720deg) translate(5vw,60vh); }
        75% { transform: rotateZ(5deg) rotateY(1080deg) translate(-10vw,80vh); }
        100% { transform: rotateZ(15deg) rotateY(1440deg) translate(10vw,110vh); }
    }


/* Admin event sections */
.admin-event {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1em 1.5em;
    margin-bottom: 1.5em;
    background: #fafafa;
}
.admin-event h3 {
    margin-top: 0;
}
.admin-event__actions {
    margin-bottom: 1em;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    align-items: center;
}
.admin-action-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.admin-action-list li {
    margin-bottom: 0.25em;
}
.link-button {
    background: none;
    border: none;
    padding: 0;
    color: var(--link-blue);
    cursor: pointer;
    font: inherit;
}
.link-button:hover {
    color: var(--link-blue-hover);
    text-decoration: underline;
}

/* Badge styles for import status */
.badge {
    display: inline-block;
    padding: 0.2em 0.6em;
    font-size: 0.85em;
    border-radius: 3px;
}
.badge-warning {
    background-color: #f0ad4e;
    color: #fff;
}
.badge-new {
    background-color: #5cb85c;
    color: #fff;
}
