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

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #0b0f19;
    color: #f3f4f6;
}

h1:focus {
    outline: none;
}

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

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

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

.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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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: 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");
    }

code {
    color: #c02d76;
}

/* Legacy layout rules from MAUI Darts project */
.btnfik-red {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;    
    padding-top: 12px;
    padding-bottom: 12px;
    color: #dc3545;
    border-color: #dc3545;
}

.btnfik-green {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    padding-top: 12px;
    padding-bottom: 12px;
    color: #26b050;
    border-color: #26b050;
}

.btnfik-blue {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    padding-top: 12px;
    padding-bottom: 12px;
    color: #007bff;
    border-color: #007bff;
}

.btnfik-red:active {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btnfik-blue:active {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btnfik-green:active {
    color: #fff;
    background-color: #26b050;
    border-color: #26b050;
}

.btnfik-blue:disabled {
    color: silver;
    background-color: #fff;
    border-color: silver;
}

.btnfik-red:disabled {
    color: silver;
    background-color: #fff;
    border-color: silver;
}

.btnfik-green:disabled {
    color: silver;
    background-color: #fff;
    border-color: silver;
}

.pressed {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.grid-container {
    display: grid;
    gap: 8px;    
    padding: 5px;
}

.grid-item {    
    text-align: center;
    padding: 0px;    
}

.item1 {
    grid-column: 1 / span 2;
    grid-row: 1;
}

.item2 {
    grid-column: 3;
    grid-row: 1 / span 2;
}

.item5 {
    grid-column: 1 / span 3;
    grid-row: 3;
}

.it1 {
    grid-column: 1;
    grid-row: 1;
}

.it2 {
    grid-column: 2;
    grid-row: 1;
}

.it3 {
    grid-column: 3;
    grid-row: 1;
}

.it4 {
    grid-column: 4;
    grid-row: 1;
}

.it5 {
    grid-column: 5;
    grid-row: 1;
}

.itbck {
    grid-column: 1;
    grid-row: 5 / span 2;
}

.itok {
    grid-column: 5;
    grid-row: 5 / span 2;
}

/* Custom premium login page styles */
.login-container {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.glass-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    color: #fff;
}

.logo-area {
    text-align: center;
    margin-bottom: 30px;
}

.target-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.logo-area h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
    color: #fff;
}

.subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    display: block;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    pointer-events: none;
}

.glass-input {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    color: #fff !important;
    padding: 12px 12px 12px 42px !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #007bff !important;
    box-shadow: 0 0 0 4px rgba(38, 143, 255, 0.25) !important;
    outline: none !important;
}

.uppercase-input {
    text-transform: uppercase;
}

.btn-primary-custom {
    background: #007bff;
    border: none;
    color: #fff;
    padding: 12px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: #0069d9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(38, 143, 255, 0.3);
}

.btn-primary-custom:active {
    transform: translateY(0);
}

.btn-primary-custom:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.link-custom {
    color: #00bfff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.link-custom:hover {
    color: #00d5ff;
    text-decoration: underline;
}

.register-footer {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.text-danger-custom {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

.alert-danger-custom {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff8e8e;
    border-radius: 8px;
    padding: 12px;
    font-size: 0.85rem;
}

.alert-success-custom {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #81e695;
    border-radius: 8px;
    padding: 12px;
    font-size: 0.9rem;
}

.success-icon {
    font-size: 2.5rem;
    color: #28a745;
}

.text-muted-custom {
    color: rgba(255, 255, 255, 0.45) !important;
    font-size: 0.75rem;
    margin-top: 4px;
    display: block;
}

/* Force column layout globally to prevent header from displaying side-by-side on large screens */
.page {
    flex-direction: column !important;
    min-height: 100vh;
    background-color: #0b0f19;
}

/* ==========================================
   DARK THEMING & GLASSMORPHISM OVERRIDES
   ========================================== */

/* Globals & Typography */
html, body {
    background-color: #0b0f19 !important;
    color: #f3f4f6 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    color: #ffffff !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
}

/* Typography elements with inline colors */
h1 *, h2 *, h3 *, h4 *, h5 *, h6 *,
.display-1 *, .display-2 *, .display-3 *, .display-4 *, .display-5 *, .display-6 * {
    color: inherit !important;
}

/* Force dark theme text color on standard paragraph/span elements that have dark text classes */
.text-dark {
    color: #f3f4f6 !important;
}
.text-secondary {
    color: #9ca3af !important;
}
.text-muted, .text-body-secondary {
    color: #9ca3af !important;
}
.text-light-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Links */
a, .btn-link {
    color: #3b82f6;
    transition: color 0.2s ease;
}
a:hover, .btn-link:hover {
    color: #60a5fa;
}

/* Glassmorphic Cards */
.card {
    background: rgba(17, 24, 39, 0.65) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37) !important;
    color: #f3f4f6 !important;
}
.card-header {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}
.card-body {
    background-color: transparent !important;
}
.card-footer {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Specific background helpers */
.bg-light {
    background-color: rgba(255, 255, 255, 0.04) !important;
}
.bg-white {
    background-color: rgba(17, 24, 39, 0.65) !important;
}

/* Tables */
.table, .table-hover, .table-striped {
    color: #f3f4f6 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.table th, .table td, .table thead th {
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f3f4f6 !important;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.02) !important;
}
.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
}
.table td *, .table th * {
    color: inherit !important;
}
/* Subtitle/mute texts in table cells */
.table .text-muted, .table td.text-muted, .table td .text-secondary {
    color: #9ca3af !important;
}

/* Modals */
.modal-content {
    background: rgba(17, 24, 39, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6) !important;
    color: #f3f4f6 !important;
}
.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background-color: transparent !important;
}
.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    background-color: transparent !important;
}
.modal-body {
    background-color: transparent !important;
}
.modal-backdrop.show {
    opacity: 0.7 !important;
    background-color: #020617 !important;
}

/* Forms & Inputs */
.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    transition: all 0.25s ease !important;
}
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}
.form-control:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25) !important;
    color: #ffffff !important;
    outline: none !important;
}
.form-label, label, .col-form-label {
    color: #e5e7eb !important;
    font-weight: 500 !important;
}

/* Form Switch (Toggle) */
.form-check-input {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.form-check-input:checked {
    background-color: #10b981 !important;
    border-color: #10b981 !important;
}

/* Buttons */
.btn {
    border-radius: 8px !important;
    font-weight: 500 !important;
    transition: all 0.25s ease !important;
}
.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35) !important;
    transform: translateY(-1px);
}
.btn-secondary, .btn-outline-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #f3f4f6 !important;
}
.btn-secondary:hover, .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}
.btn-success {
    background: linear-gradient(135deg, #10b981, #047857) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
}
.btn-success:hover {
    background: linear-gradient(135deg, #059669, #065f46) !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35) !important;
    transform: translateY(-1px);
}
.btn-danger {
    background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2) !important;
}
.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #991b1b) !important;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35) !important;
    transform: translateY(-1px);
}
.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #b45309) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2) !important;
}
.btn-warning:hover {
    background: linear-gradient(135deg, #d97706, #92400e) !important;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35) !important;
    transform: translateY(-1px);
}
.btn-info {
    background: linear-gradient(135deg, #06b6d4, #0e7490) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2) !important;
}
.btn-info:hover {
    background: linear-gradient(135deg, #0891b2, #155e75) !important;
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.35) !important;
    transform: translateY(-1px);
}

/* Button Outlines */
.btn-outline-primary {
    background: transparent !important;
    border: 1px solid #3b82f6 !important;
    color: #3b82f6 !important;
}
.btn-outline-primary:hover {
    background: #3b82f6 !important;
    color: #ffffff !important;
}
.btn-outline-success {
    background: transparent !important;
    border: 1px solid #10b981 !important;
    color: #10b981 !important;
}
.btn-outline-success:hover {
    background: #10b981 !important;
    color: #ffffff !important;
}
.btn-outline-danger {
    background: transparent !important;
    border: 1px solid #ef4444 !important;
    color: #ef4444 !important;
}
.btn-outline-danger:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
}
.btn-outline-warning {
    background: transparent !important;
    border: 1px solid #f59e0b !important;
    color: #f59e0b !important;
}
.btn-outline-warning:hover {
    background: #f59e0b !important;
    color: #ffffff !important;
}
.btn-outline-info {
    background: transparent !important;
    border: 1px solid #06b6d4 !important;
    color: #06b6d4 !important;
}
.btn-outline-info:hover {
    background: #06b6d4 !important;
    color: #ffffff !important;
}

/* Badges */
.badge {
    font-weight: 600 !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
}
.badge.bg-primary {
    background-color: rgba(59, 130, 246, 0.15) !important;
    color: #93c5fd !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
}
.badge.bg-secondary {
    background-color: rgba(156, 163, 175, 0.15) !important;
    color: #e5e7eb !important;
    border: 1px solid rgba(156, 163, 175, 0.3) !important;
}
.badge.bg-success {
    background-color: rgba(16, 185, 129, 0.15) !important;
    color: #a7f3d0 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}
.badge.bg-danger {
    background-color: rgba(239, 68, 68, 0.15) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}
.badge.bg-warning {
    background-color: rgba(245, 158, 11, 0.15) !important;
    color: #fde68a !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}
.badge.bg-info {
    background-color: rgba(6, 182, 212, 0.15) !important;
    color: #a5f3fc !important;
    border: 1px solid rgba(6, 182, 212, 0.3) !important;
}

/* Alerts */
.alert {
    border-radius: 12px !important;
    padding: 16px !important;
    border: 1px solid transparent !important;
    background: rgba(17, 24, 39, 0.45) !important;
    color: #f3f4f6 !important;
    backdrop-filter: blur(8px) !important;
}
.alert-success {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
    color: #a7f3d0 !important;
}
.alert-danger {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: rgba(239, 68, 68, 0.25) !important;
    color: #fca5a5 !important;
}
.alert-warning {
    background: rgba(245, 158, 11, 0.1) !important;
    border-color: rgba(245, 158, 11, 0.25) !important;
    color: #fde68a !important;
}
.alert-info {
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: rgba(59, 130, 246, 0.25) !important;
    color: #93c5fd !important;
}

/* Nav Pills / Tabs inside cards */
.nav-pills {
    background: rgba(255, 255, 255, 0.04) !important;
    border-radius: 10px !important;
    padding: 4px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.nav-pills .nav-link {
    color: #9ca3af !important;
    border-radius: 8px !important;
    transition: all 0.2s !important;
    font-weight: 500 !important;
}
.nav-pills .nav-link.active {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25) !important;
}
.nav-pills .nav-link:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

/* Tabs (.nav-tabs) */
.nav-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.nav-tabs .nav-link {
    color: #9ca3af !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    transition: all 0.2s ease !important;
}
.nav-tabs .nav-link:hover {
    color: #ffffff !important;
    border-bottom-color: rgba(255, 255, 255, 0.2) !important;
}
.nav-tabs .nav-link.active {
    color: #3b82f6 !important;
    border-bottom-color: #3b82f6 !important;
    font-weight: 600 !important;
}

/* Layout Header Override */
header.border-bottom {
    background-color: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
header.border-bottom .btn-outline-info {
    border-color: rgba(6, 182, 212, 0.4) !important;
    color: #a5f3fc !important;
}
header.border-bottom .btn-outline-info:hover {
    background: #06b6d4 !important;
    color: #ffffff !important;
}

/* Dropdown Menu in Header */
.dropdown-menu {
    background-color: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
}
.dropdown-item {
    color: #e5e7eb !important;
    transition: background-color 0.2s ease !important;
}
.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}
.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dropdown-item-text {
    color: #9ca3af !important;
}
.dropdown-item-text span.text-dark {
    color: #ffffff !important;
}

/* ==========================================
   SCORING SCREEN (/counter) SPECIAL CUSTOMIZATIONS
   ========================================== */

/* Fixed Top container */
.fixed-top.bg-white {
    background-color: #0b0f19 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #f3f4f6 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}
.fixed-top.bg-white * {
    color: #f3f4f6 !important;
}
.fixed-top.bg-white .bg-primary {
    background-color: rgba(37, 99, 235, 0.2) !important;
    border: 1px solid rgba(37, 99, 235, 0.4) !important;
    color: #ffffff !important;
}
.fixed-top.bg-white .text-secondary {
    color: #9ca3af !important;
}
.fixed-top.bg-white .badge.text-bg-dark {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}
.fixed-top.bg-white .badge.text-bg-danger {
    background-color: rgba(239, 68, 68, 0.2) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

/* Advisor Banner and Rounds Info */
.info.border-dark-subtle, .info.border-secondary {
    background-color: rgba(17, 24, 39, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f3f4f6 !important;
}

/* Legacy MAUI Buttons (btnfik-*) */
.btnfik-blue {
    background-color: rgba(59, 130, 246, 0.08) !important;
    border: 1px solid rgba(59, 130, 246, 0.25) !important;
    color: #93c5fd !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: all 0.2s ease !important;
}
.btnfik-blue:hover:not(:disabled) {
    background-color: rgba(59, 130, 246, 0.2) !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3) !important;
}
.btnfik-blue:disabled {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.04) !important;
    color: rgba(255, 255, 255, 0.12) !important;
    cursor: not-allowed !important;
}

.btnfik-red {
    background-color: rgba(239, 68, 68, 0.08) !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    color: #fca5a5 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}
.btnfik-red:hover:not(:disabled) {
    background-color: rgba(239, 68, 68, 0.2) !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3) !important;
}
.btnfik-red:disabled {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.04) !important;
    color: rgba(255, 255, 255, 0.12) !important;
    cursor: not-allowed !important;
}
.btnfik-red.pressed {
    background-color: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5) !important;
}

.btnfik-green {
    background-color: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    color: #a7f3d0 !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    transition: all 0.2s ease !important;
}
.btnfik-green:hover:not(:disabled) {
    background-color: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.5) !important;
}
.btnfik-green:disabled {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.04) !important;
    color: rgba(255, 255, 255, 0.12) !important;
    cursor: not-allowed !important;
}

/* Type select card overrides (CreateTournament.razor) */
.type-select-card {
    border: 2px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(17, 24, 39, 0.65) !important;
}
.type-select-card:hover {
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}
.type-select-card.active-type-card {
    border-color: #3b82f6 !important;
    background-color: rgba(59, 130, 246, 0.12) !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.25) !important;
}

/* Style HTML option tags inside selects to prevent white-on-white text in browsers */
select option, .form-select option, .form-control option {
    background-color: #111827 !important;
    color: #ffffff !important;
}

/* List Group / List Group Item overrides */
.list-group {
    background-color: rgba(17, 24, 39, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.list-group-item {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #e5e7eb !important;
    transition: all 0.2s ease !important;
}

/* Hover and active states for list item action */
.list-group-item-action:hover {
    background-color: rgba(255, 255, 255, 0.07) !important;
    color: #ffffff !important;
}

.list-group-item-action:focus {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #e5e7eb !important;
}

.list-group-item.active {
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important;
    z-index: 2 !important;
}
.list-group-item.active h6, .list-group-item.active span {
    color: #ffffff !important;
}

/* Disabled state */
.list-group-item:disabled,
.list-group-item.disabled {
    background-color: rgba(255, 255, 255, 0.01) !important;
    color: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.04) !important;
    cursor: not-allowed !important;
}
.list-group-item:disabled h6, 
.list-group-item:disabled .text-muted,
.list-group-item.disabled h6,
.list-group-item.disabled .text-muted {
    color: rgba(255, 255, 255, 0.2) !important;
}




