:root {
    --cf-theme-core: #2B404F;
    --cf-theme-100: hsl(205, 30%, 95%);
    --cf-theme-150: hsl(205, 30%, 90%);
    --cf-theme-200: hsl(205, 30%, 85%);
    --cf-theme-250: hsl(205, 30%, 75%);
    --cf-theme-300: hsl(205, 30%, 65%);
    --cf-theme-400: hsl(205, 30%, 55%);
    --cf-theme-500: hsl(205, 30%, 45%);
    --cf-theme-600: hsl(205, 30%, 35%);
    --cf-theme-700: hsl(205, 30%, 25%);
    --cf-theme-800: hsl(205, 30%, 20%);
    --cf-theme-900: hsl(205, 30%, 15%);
    --cf-dark-color: #212121;
    --cf-light-color: #deeefb;
    --cf-orange-color: #ff993b;
    --rz-background-color-primary-light: #dcdce3;
    /* Use platform-native UI fonts for crisp rendering on each OS */
    --rz-text-font-family: system-ui, -apple-system, "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
    --rz-text-title-color: #333746;
    --rz-text-color: #333746;
    --rz-text-secondary-color: #394652;
    --rz-text-disabled-color: #DEDEE0;
    --rz-body-background-color: #ffffff;
    --rz-grid-border: 1px solid #333746;
    --rz-grid-stripe-background-color: #dcdce3;
    --rz-grid-cell-color: #333746;
    --rz-grid-hover-color: #394652;
    --rz-grid-selected-background-color: #5BC0BE;
    --rz-grid-hover-background-color: #95A3AB;
    --rz-grid-column-resizer-helper-background-color: #333746;
    --rz-grid-header-background-color: #DEDEE0;
    --rz-grid-filter-focus-color: #394652;
    --rz-grid-apply-filter-button-background-color: #394652;
    --rz-grid-foot-background-color: #ffffff;
    --rz-grid-header-filter-icon-active-color: #00B2A9;
    --rz-primary: #3B516C;
    --rz-secondary: #5BC0BE;
    --rz-success: #00b262;
    --rz-info: #DEDEE0;
    --rz-warning: #ffea00;
    --rz-danger: #ED0089;
}

.rz-menu {
    background-color: gainsboro
}

html, body {
    /* System font stack chooses native fonts per device: SF on Apple, Segoe UI on Windows, Roboto on Android */
    font-family: system-ui, -apple-system, "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
    font-size: 14px;
    height: 100vh;
}

.mobile-content {
    display: none;
}

.desktop-content {
    display: block;
}

/* Mobile devices (max-width: 768px) */
@media screen and (max-width: 768px) {
    .mobile-content {
        display: block;
    }

    .desktop-content {
        display: none;
    }
}

.page {
    height: 100vh;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #3B516C;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PH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NTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.club:hover {
    text-decoration: underline;
}

.form-section {
    padding-right: 30px;
    padding-bottom: 30px;
}

.form-section-border {
    border: 1px solid #dee2e6;
    padding: 1rem;
}

.form-control-checkbox {
    width: 25%;
}

table th {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

thead th {
    color: #fff;
}

.card {
    border-radius: .5rem;
}

.table-scroll {
    border-radius: .5rem;
}

    .table-scroll table thead th {
        font-size: 1.25rem;
    }

thead {
    top: 0;
    position: sticky;
}

.datepicker table tr td span, .datepicker table tr th {
    color: #333;
}

.datepicker {
    margin: 0 auto;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    display: block;
    left: 50%;
    transform: translateX(-50%);
}
/*
#wrestlerDateOfBirth {
    margin-left: 1ch;
}*/

.date-of-birth-container {
    margin-left: 1ch;
}

.spacing {
    padding-left: 15px;
    padding-right: 15px;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 55%;
    position: absolute;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.spinner-okwa {
    left: 50%;
    position: absolute;
}

.circle {
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    font-size: 12px;
    color: #3C506C;
    text-align: center;
    background: #5BC1BD;
}

.circle-85 {
    width: 85px;
    height: 85px;
    line-height: 85px;
    border-radius: 50%;
    font-size: 30px;
    color: #3C506C;
    text-align: center;
    background: #5BC1BD;
}

.bg-grey {
    background-color: gainsboro;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card-item.fixed-size-card {
    /*width: 100%; /* or whatever fixed width you want */
    /*height: 475px; /* or whatever fixed height you want */
    overflow-y: auto; /* this will hide the overflow */
    /* If you want the overflow content to be scrollable, use overflow-y: auto; instead of overflow: hidden; */
}

.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-text {
    justify-content: center;
    text-align: center;
}

/*@media (max-width: 768px) {
    .rz-dialog-wrapper{
        top:50%;                       
    }
}*/

@media (min-width: 769px) and (max-width: 1024px) {
    /* Medium screen styles */
}

@media (min-width: 1025px) {
    /* Larger screen styles */
}

@media (max-width: 768px) {
    .custom-card {
        flex-direction: column;
    }

    .custom-stack {
        text-align: center;
    }

    .rz-dialog-wrapper {
        top: 50px;
    }
}

/* Hide these by default */
.custom-card, .other-sections {
    display: none;
}

/* Show when screen size is larger than 500px */
@media screen and (min-width: 500px) {
    .custom-card, .other-sections {
        display: block;
    }
}

/* Show only QR code card when screen size is less than 500px */
@media screen and (max-width: 499px) {
    .qr-code-card {
        display: block;
    }
}

.email-popup .radzen-form {
    background: rgba(127, 213, 206, 0.6);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.small-button {
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}



.company__logo img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}


.card-item-header {
    height: 175px;
}

.ewp-w75 {
    width: 75px;
}

.ewp-w100 {
    width: 100px;
}

.ewp-w115 {
    width: 115px;
}

.ewp-w125 {
    width: 125px;
}

.ewp-w150 {
    width: 150px;
}

li {
    cursor: pointer;
}


.main-content {
    width: 50%;
    border-radius: 20px;
    box-shadow: 0 5px 5px rgba(0,0,0,.4);
    margin: 20em auto;
    display: flex;
}

.company__info {
    background-color: #008080;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.fa-android {
    font-size: 3em;
}

@media screen and (max-width: 640px) {
    .main-content {
        width: 90%;
    }

    .company__info {
        display: none;
    }

    .login_form {
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }
}

@media screen and (min-width: 642px) and (max-width:800px) {
    .main-content {
        width: 70%;
    }
}

.row > h2 {
    color: #008080;
}

.login_form {
    background-color: #fff;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

form {
    padding: 0 2em;
}

.form__input {
    width: 100%;
    border: 0px solid transparent;
    border-radius: 0;
    border-bottom: 1px solid #aaa;
    padding: 1em .5em .5em;
    padding-left: 2em;
    outline: none;
    margin: 1.5em auto;
    transition: all .5s ease;
}

    .form__input:focus {
        border-bottom-color: #008080;
        box-shadow: 0 0 5px rgba(0,80,80,.4);
        border-radius: 4px;
    }

.btn {
    transition: all .5s ease;
    width: 100%;
    border-radius: 30px;
    color: #008080;
    font-weight: 600;
    background-color: #fff;
    border: 1px solid #008080;
    margin-top: 1.5em;
    margin-bottom: 1em;
}

    .btn:hover, .btn:focus {
        background-color: #008080;
        color: #fff;
    }


    .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    }

.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: #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");
    }


/* #region Sticky Footer */
html,
body {
    height: 100%;
    /* Use the same system font stack sitewide to avoid overrides */
    font-family: var(--rz-text-font-family);
}

body {
    display: flex;
    flex-direction: column;
    background-color: var(--cf-theme-100);
    color: var(--cf-dark-color);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex-grow: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', sans-serif;
}

footer {
    flex-shrink: 0;
}

/* #endregion Sticky Footer */

.navbar,
.footer {
    background-color: #D8D8D8;
}

.footer {
    color: #3C506C;
}

.socialicons {
    font-size: 2rem;
    padding-left: .5rem;
    color: grey;
    transition: color 0.2s;
}

    .socialicons:hover {
        color: var(--cf-orange-color);
    }

.productionImage {
    max-width: 300px;
    padding: .5rem;
    max-height: 100px;
}

.imagePosterPlaceHolder {
    aspect-ratio: 2/3;
}

.fade-in {
    animation: fade-in 0.8s ease-in;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.ui-datatable-odd > td {
    background-color: lightblue;
}

/* Copyright responsive text */
.copyright-full {
    display: none;
}

.copyright-short {
    display: block;
}

/* Show full copyright on medium and larger screens */
@media (min-width: 576px) {
    .copyright-full {
        display: block;
    }

    .copyright-short {
        display: none;
    }
}

/* Page title standardization */
.ewp-page-title-row {
    padding: 0.75rem 0 0.25rem 0;
}

.ewp-page-title {
    font-weight: 700;
    font-size: 1.375rem; /* baseline size similar to Schedule page */
    margin: 0;
}

@media (min-width: 576px) {
    .ewp-page-title { font-size: 1.5rem; }
}

/* Standard system UI font class (device-native) */
.ewp-font-system{
    font-family: var(--rz-text-font-family) !important;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Board area - left navigation */
.board-sidenav{
    width:100%;
}

.board-nav-list{
    padding: .25rem 0;
}

.board-nav-item{
    display:flex;
    align-items:center;
    width:100%;
    gap:.4rem;
    padding:.375rem .5rem;
    border-radius:.375rem;
    border:0;
    background:transparent;
    color:var(--rz-text-color, inherit);
    text-align:left;
    cursor:pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.board-nav-item:hover{
    background:var(--rz-base-200, rgba(0,0,0,.04));
}
.board-nav-item.active{
    background:var(--rz-primary-50, rgba(0,122,204,.10));
    color:var(--rz-primary, #006cbe);
}

/* Reusable section title style */
.ewp-section-title{
    font-weight:600;
    margin:0 0 .5rem 0;
    color: var(--rz-text-color);
}

    /* Mobile service menu overlay for Board page */
    .board-service-menu-trigger{ font-weight:600; }
    .board-service-overlay{
        position: fixed;
        top: var(--app-topbar-height, 56px);
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0,0,0,.35);
        z-index: 1050;
    }
    .board-service-panel{
        position: absolute;
        top: 0; left: 0; bottom: 0;
        width: 260px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0,0,0,.18);
        padding: .5rem;
    }
    .board-service-header{
        display:flex; align-items:center; justify-content:space-between;
        padding: .25rem .25rem .5rem .25rem;
        font-weight:600;
    }
    .board-sidenav-fixed{ width: 100%; /* respect grid column width to avoid overlapping */ }

    /* Header row with left icon trigger */
    .board-header{ display:flex; align-items:center; gap:.5rem; margin-bottom: 1rem; }
    .board-service-menu-trigger-icon{
        display:inline-flex; flex-direction:column; align-items:center; justify-content:center;
        padding: 0; margin: 0 .4rem 0 0;
        background: transparent; border: 0; box-shadow: none;
        color: var(--rz-text-color);
    text-align:center;
    width: 56px; /* ensure label sits under larger 50px icon */
    }
    .board-service-menu-trigger-icon:hover{ color: var(--rz-primary, #006cbe); background: transparent; }
    .board-service-menu-trigger-icon:focus{ outline: 2px solid var(--rz-primary, #006cbe); outline-offset: 2px; border-radius: 6px; }
    .board-service-menu-trigger-icon .rz-icon, .board-service-menu-trigger-icon .material-icons{ font-size:50px; line-height:1; }
    .board-service-menu-trigger-icon .label{ display:block; font-size:.7rem; color: var(--rz-text-secondary-color); margin-top:2px; line-height:1; }
    .vr-visually-hidden{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

    /* Azure-like command bar for Board pages */
    .az-cmdbar-actions .rz-button{
        --btn-padding-x: .5rem;
        --btn-padding-y: .25rem;
        padding: var(--btn-padding-y) var(--btn-padding-x);
    }
    .az-cmd .rz-button-text{ display:flex; align-items:center; gap:.35rem; font-weight:600; }
    .az-ellipsis .rz-button{ border-radius: 8px; }

    /* Overflow menu for mobile */
    .az-menu-overlay{ position: fixed; top: var(--app-topbar-height, 56px); left:0; right:0; bottom:0; background: transparent; z-index: 1090; }
    .az-menu{ position: absolute; top: calc(100% + 4px); right:0; min-width: 220px; background:#fff; border:1px solid #e5e7eb; border-radius:8px; box-shadow: 0 8px 24px rgba(0,0,0,.18); z-index: 1100; padding:.25rem 0; }
    .az-menu-item{ display:flex; align-items:center; width:100%; gap:.5rem; padding:.5rem .75rem; border:0; background: transparent; text-align:left; cursor:pointer; }
    .az-menu-item:hover{ background: rgba(0,0,0,.04); }
