﻿:root {
  --primary-grad: linear-gradient(135deg, #000000, #3533cd);
  --secondary-grad: linear-gradient(135deg, #004aad, #cb6ce6);
  --text-dark: #222;
  --text-light: #fff;
  --radius: 20px;
  --font-body: 'Dosis', sans-serif;
  --font-heading: 'League Gothic', sans-serif;
}
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  margin: 0;
  color: var(--text-dark);
  overflow-x: hidden;
}
.app-loading-screen {
  display: flex;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  font-family: sans-serif;
  background: linear-gradient(135deg, #000000, #3533cd);
  margin: 0;
}
.app-loading-image {
  justify-self: center;
}
.app-loading-text {
  font-family: Dosis;
  font-weight: 900;
  color: white;
  justify-self: center;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.valid.modified:not([type=checkbox]) {
  outline: 1px solid #26b050;
}
.invalid {
  outline: 1px solid red;
}
.validation-message {
  color: red;
}
#blazor-error-ui {
  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 {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}
.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVp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jEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NUMyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}
.blazor-error-boundary::after {
  content: "An error has occurred.";
}
.loading-progress {
  position: absolute;
  display: block;
  width: 8rem;
  height: 8rem;
  inset: 20vh 0 auto 0;
  margin: 0;
}
.loading-progress circle {
  fill: none;
  stroke: #e0e0e0;
  stroke-width: 0.6rem;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
}
.loading-progress circle:last-child {
  stroke: #1b6ec2;
  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");
}
code {
  color: #c02d76;
}
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}
.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}
.section-padding {
  padding: 80px 20px;
}
.text-gradient {
  background: var(--primary-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-header {
  text-align: center;
}
.section-header-large-gap {
  margin-bottom: 50px;
}
.section-header-medium-gap {
  margin-bottom: 40px;
}
.heading-xl {
  font-size: 3rem;
}
.about-intro-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.2rem;
}
.btn-design {
  background: var(--primary-grad);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1.2rem;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.2s;
}
.btn-design:hover {
  transform: scale(1.02);
}
.btn-info {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
  padding: 10px 26px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.btn-info:hover {
  background: var(--text-light);
  color: #004aad;
  transform: translateY(-2px);
}
.feature-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px 20px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.4s, background 0.4s;
  opacity: 0;
}
.feature-card.visible {
  animation: fadeInUp 0.8s backwards;
  opacity: 1;
}
.feature-card.visible:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.about-grid-centered {
  justify-content: center;
}
.card-common {
  background: var(--primary-grad);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-bottom: 5px solid #3533cd;
  color: var(--text-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}
.card-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background-color: #ddd;
}
picture {
  display: block;
  width: 100%;
  overflow: hidden;
}
picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-details {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-name {
  font-size: 2rem;
  margin: 0;
  color: white;
}
.card-rank {
  color: whitesmoke;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}
.rz-dialog-mask {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  animation: dialogFadeIn 0.2s ease-out;
}
.rz-dialog.app-dialog {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border-top: 6px solid #cb6ce6;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  animation: dialogPopIn 0.25s ease-out;
}
.rz-dialog.app-dialog .rz-dialog-titlebar {
  background: var(--primary-grad);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
}
.rz-dialog.app-dialog .rz-dialog-title {
  font-family: var(--font-heading);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.6rem;
  margin: 0;
}
.rz-dialog.app-dialog .rz-dialog-titlebar-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--text-light);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.rz-dialog.app-dialog .rz-dialog-titlebar-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}
.app-dialog-content {
  background: var(--text-light);
  color: var(--text-dark);
  padding: 30px 28px;
  overflow-y: auto;
  flex: 1 1 auto;
}
@media (max-width: 768px) {
  .app-dialog-content {
    padding: 22px 18px;
  }
}
@keyframes dialogFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes dialogPopIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
/* --- Content primitives reused across every dialog family --- */
.dialog-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.dialog-header-centered {
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.dialog-header-icon {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--secondary-grad);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}
.dialog-eyebrow {
  display: block;
  color: #004aad;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin-bottom: 2px;
}
.dialog-header-title {
  margin: 0;
  font-size: 1.5rem;
}
.result-dialog-title {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.dialog-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.dialog-section-title {
  font-size: 1.3rem;
  margin: 24px 0 12px 0;
  color: #004aad;
}
.dialog-list {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dialog-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}
.dialog-list li i {
  flex: 0 0 auto;
  margin-top: 3px;
  color: #cb6ce6;
}
.dialog-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.dialog-meta-item {
  background: rgba(53, 51, 205, 0.06);
  border-left: 4px solid #cb6ce6;
  border-radius: 10px;
  padding: 12px 16px;
}
.dialog-meta-item .dialog-meta-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  margin-bottom: 4px;
}
.dialog-meta-item .dialog-meta-value {
  font-weight: 700;
  color: #004aad;
}
.dialog-quote {
  font-style: italic;
  border-left: 4px solid #cb6ce6;
  padding: 10px 20px;
  margin: 20px 0;
  color: #444;
  background: rgba(203, 108, 230, 0.06);
  border-radius: 0 10px 10px 0;
}
.dialog-photo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.dialog-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #cb6ce6;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}
.dialog-badge {
  background: var(--secondary-grad);
  color: var(--text-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.dialog-timeline {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  border-left: 3px solid #cb6ce6;
}
.dialog-timeline li {
  position: relative;
  padding: 0 0 18px 24px;
}
.dialog-timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #004aad;
}
.dialog-timeline li:last-child {
  padding-bottom: 0;
}
.dialog-timeline-year {
  display: block;
  font-weight: 800;
  color: #004aad;
}
.dialog-accomplishments {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dialog-accomplishments li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(53, 51, 205, 0.06);
  border-radius: 10px;
  padding: 12px 16px;
}
.dialog-accomplishments li i {
  flex: 0 0 auto;
  font-size: 1.3rem;
  color: #cb6ce6;
}
.dialog-cta-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
  color: #555;
}
.dialog-cta-note strong {
  color: #004aad;
}
.dialog-photo-banner {
  margin: 20px 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.dialog-photo-banner img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.dialog-photo-caption {
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: center;
  font-size: 0.85rem;
  font-style: italic;
  color: #666;
}
.dialog-photo-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}
.dialog-photo-duo figure {
  margin: 0;
}
.dialog-photo-duo img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
@media (max-width: 480px) {
  .dialog-photo-duo {
    grid-template-columns: 1fr;
  }
}