/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-30jtd1sh3f] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-30jtd1sh3f] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ycxpcballi],
.components-reconnect-repeated-attempt-visible[b-ycxpcballi],
.components-reconnect-failed-visible[b-ycxpcballi],
.components-pause-visible[b-ycxpcballi],
.components-resume-failed-visible[b-ycxpcballi],
.components-rejoining-animation[b-ycxpcballi] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-ycxpcballi],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-ycxpcballi],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-ycxpcballi],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-ycxpcballi],
#components-reconnect-modal.components-reconnect-retrying[b-ycxpcballi],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-ycxpcballi],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-ycxpcballi],
#components-reconnect-modal.components-reconnect-failed[b-ycxpcballi],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-ycxpcballi] {
    display: block;
}


#components-reconnect-modal[b-ycxpcballi] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-ycxpcballi 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-ycxpcballi 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-ycxpcballi 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-ycxpcballi]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-ycxpcballi 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-ycxpcballi {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-ycxpcballi {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-ycxpcballi {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-ycxpcballi] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-ycxpcballi] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-ycxpcballi] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-ycxpcballi] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-ycxpcballi] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-ycxpcballi] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-ycxpcballi] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-ycxpcballi 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-ycxpcballi] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-ycxpcballi {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Home.Razor.rz.scp.css */
.login-screen[b-81at7ck6ia] {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: linear-gradient(160 deg, #f3f7f9 0%, #dbe7ef 100%);
}

.login-card[b-81at7ck6ia] {
  width: min(100%, 24rem);
  background: #ffffff;
  border-radius 14px;
  padding: 1.5rem;
  box-shadow: 0 120px 24px rgba(0,0,0,0.12);
  display: grid;
  gap: 0.75rem;
}

.login-card h1[b-81at7ck6ia] {
  margin: 0;
  font-size: 1.7rem;
}

.login-card p[b-81at7ck6ia] {
  margin: 0;
  color: #4a5560;
}

.remember-row[b-81at7ck6ia] {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #334255;
}

.passphrase-input[b-81at7ck6ia],
.name-input[b-81at7ck6ia] {
  width: 100%;
  border: 1px solid #c4ced6;
  border-radius: 8px;
  padding: 0.28rem 0.5rem;
  font-size: 0.84rem;
  line-height: 1.1;
  box-sizing: border-box;
}

.primary-btn[b-81at7ck6ia],
.secondary-btn[b-81at7ck6ia],
.medal-btn[b-81at7ck6ia],
.year-btn[b-81at7ck6ia] {
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  user-select: none;
  white-space: nowrap;
}

.primary-btn[b-81at7ck6ia] {
  background: #1266d6;
  color: #fff;
  padding: 0.24rem 0.55rem;
  font-size: 0.82rem;
  line-height: 1.1;
}

.secondary-btn[b-81at7ck6ia] {
  background: #dde4ea;
  color: #233041;
  padding: 0.2rem 0.5rem;
  line-height: 1.1;
}

.app-shell[b-81at7ck6ia] {
  min-height: 100vh;
  display: flex;
  background: #f6f8fa;
}

.years-menu[b-81at7ck6ia] {
  width: 7rem;
  background: #202a39;
  color: #ecf1f6;
  padding: 0.7rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.menu-title[b-81at7ck6ia] {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  opacity: 0.8;
}

.year-btn[b-81at7ck6ia] {
  width: 100%;
  text-align: center;
  padding: 0.28rem 0.45rem;
  background: #888;
  color: #ecf1f6;
  font-size: 0.78rem;
}

.year-btn.active[b-81at7ck6ia] {
  background: #1266d6;
}

.main-content[b-81at7ck6ia] {
  flex: 1;
  padding: 0.4rem;
  display: block;
}

.toolbar[b-81at7ck6ia] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.45rem;
  background: #dfe7ef;
  border: 1px solid #c8d4df;
  border-radius: 8px;
  padding: 6px 8px;
  margin-bottom: 8px;
}

.role[b-81at7ck6ia] {
  font-weight: 600;
  color: #344255;
  font-size: 0.8rem;
}

.add-user-row[b-81at7ck6ia] {
  display: flex;
  gap: 0.3rem;
}

.users-list[b-81at7ck6ia] {
  display: grid;
  gap: 0.2rem;
}

.user-row[b-81at7ck6ia] {
  background: #fff;
  border: 1px solid #d9e0e7;
  border-radius: 8px;
  padding: 8px;
  display: grid;
  gap: 0.24rem;
}
  .user-row.gold[b-81at7ck6ia],
  .occasion-item.gold[b-81at7ck6ia] {
    background: linear-gradient(160deg, #f2c94c 0%, #f3f7f9 100%);
  }

  .user-row.silver[b-81at7ck6ia],
  .occasion-item.silver[b-81at7ck6ia] {
    background: linear-gradient(160deg, #c8d0db 0%, #f3f7f9 100%);
  }

  .user-row.bronze[b-81at7ck6ia],
  .occasion-item.bronze[b-81at7ck6ia] {
    background: linear-gradient(160deg, #d1966b 0%, #f3f7f9 100%);
  }

  .user-row.application[b-81at7ck6ia],
  .occasion-item.application[b-81at7ck6ia] {
    background: linear-gradient(160deg, #6aa 0%, #f3f7f9 100%);
  }

  .user-row.delete-exists[b-81at7ck6ia],
  .occasion-item.deleted[b-81at7ck6ia] {
    background: linear-gradient(160deg, #f66 0%, #f3f7f9 100%);
    text-decoration: line-through;
  }

.user-name[b-81at7ck6ia] {
  font-size: 1.1rem;
  font-weight: 600;
  color: #243346;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-line[b-81at7ck6ia] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  min-width: 0;
}

.line-actions[b-81at7ck6ia] {
  display: flex;
  gap: 0.14rem;
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
}

.medal-with-count[b-81at7ck6ia] {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.medal-count[b-81at7ck6ia] {
  min-width: 12px;
  font-size: 0.66rem;
  line-height: 1;
  color: #334255;
  text-align: center;
}

.danger-btn[b-81at7ck6ia] {
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  width: 1.5rem;
  height:1.5rem;
  line-height: 1;
  /*display: inline-flex;*/
  align-items: center;
  padding: 0;
  background: #e15757;
  text-align: center;
  color: white;
}

.medal-btn[b-81at7ck6ia] {
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  font-size: 0;
  border-radius: 50%;
  color: #1b2430;
  margin: 2px 0;
}

.medal-btn.gold[b-81at7ck6ia] {
  background: #f2c94c;
}

.medal-btn.silver[b-81at7ck6ia] {
  background: #c8d0db;
}

.medal-btn.bronze[b-81at7ck6ia] {
  background: #d1966b;
}

.medal-btn.application[b-81at7ck6ia] {
  background: #6aa;
}

.error-text[b-81at7ck6ia] {
  color: #b01414;
  font-size: 0.9rem;
}

.occasion-list[b-81at7ck6ia] {
  border-top: 1px dashed #d9e0e7;
  padding-top: 0.2rem;
  display: grid;
  gap: 0.1rem;
}

.occasion-item[b-81at7ck6ia] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: #485869;
}

.occasion-left[b-81at7ck6ia] {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.occasion-right[b-81at7ck6ia] {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 24px; /* Ensures consistent height */
}

.signature-info[b-81at7ck6ia] {
  margin-right: 1em;
  display: inline-flex;
  align-items: center; /* Ensures vertical alignment */
}

.occasion-remove-btn[b-81at7ck6ia] {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1rem;
  margin-left: 8px
}

.delete-button-placeholder[b-81at7ck6ia] {
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 8px;
}

.occasion-point-input[b-81at7ck6ia] {
  width: 30px;
}

.occasion-update-btn[b-81at7ck6ia] {
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  margin-top: 1px;
  margin-left: 8px;
  vertical-align: central;
  
  /*display: flex;*/
/*  justify-content: center;
  align-items: center;
  border-radius: 50%;
*/}

@media(max-width: 720px) {
  .app-shell[b-81at7ck6ia] {
    flex-direction: column;
  }

  .years-menu[b-81at7ck6ia] {
    width: 100%;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
  }

  .menu-title[b-81at7ck6ia] {
    margin-right: 0.5rem;
    white-space: nowrap;
  }

  .year-btn[b-81at7ck6ia] {
    width: auto;
    white-space: nowrap;

  }

  .adduser-row[b-81at7ck6ia] {
    flex-direction: column;
  }

  .users-list[b-81at7ck6ia] {
    overflow-x: auto;
  }

  .main-content[b-81at7ck6ia] {
    padding: 0.25rem;
  }
}

.present[b-81at7ck6ia] {
  background-color: #c7f7c7; /* light‑green */
}
