html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.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;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC8ZTkgjdjEuNzY4MzdLIDI5MSA9NC42NzgyIDI5MSA9Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDg 66bG9uZz0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

#data-container.animate .data-item {
    animation: fadeIn .5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.dropdown-container {
    position: relative;
    display: inline-block;
    margin-top: 50px; 
}

.arrow-container {
    position: absolute;
    top: calc(100% + 1px); /* Position the arrow directly below the dropdown with a small gap */
    left: 50%;
    transform: translateX(-50%);
    animation: blink 1.2s ease-in-out 2; /* Blink animation with 2 iterations */
    animation-fill-mode: forwards; /* Keep the final state after the animation completes */
    opacity: 0; /* Start hidden */
}

.arrow {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 45px solid gray;
}

.arrow-text {
    color: black; /* Match the color of the arrow or any color you prefer */
    text-align: center;
    font-size: larger;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    /* Arrow starts fully visible */
    50% {
        opacity: 0;
    }
    /* Arrow flashes transparent halfway through */
    100% {
        opacity: 1;
    }
    /* Arrow becomes visible again after 1st flash */
    /* Added keyframe for 2nd flash */
    60% {
        opacity: 0;
    }
    /* Arrow flashes transparent again at 60% */
    100% {
        opacity: 0;
    }
    /* Arrow remains hidden after the animation */
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.badge-animate {
    animation: fadeIn .3s ease-in-out;
}

@keyframes flip {
    0% {
        transform: perspective(400px) rotateY(0);
    }

    100% {
        transform: perspective(400px) rotateY(360deg);
    }
}

.flip {
    animation: flip 1s ease-in-out;
    animation-iteration-count: 2; /* Flip twice */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(.9);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse .2s;
    animation-iteration-count: 1; /* Pulse twice */
}



    .navbar-toggler:before {
        content: "Menu ";
        left: -51px;
        top: 9px;
        position: absolute;
        width: 30px;
        font-size:smaller;
    }
.form-check-input {
    width: 2em;
    height: 2em;
    accent-color: #007bff; /* Optional: matches Bootstrap primary */
}

.form-check-label {
    font-size: 1.2em;
    /*margin-left: 0.5em;*/
    vertical-align: middle;
}

/* Container for the scrolling text */
.pull-announcement-bar {
    overflow: hidden;
    white-space: nowrap;
    position: static;
    left: 0;
    right: 0;
    background: #343a40;
    color: #fff;
    padding: 0;
    text-align: center;
    z-index: 2000;
    font-size: 1.1em;
    letter-spacing: 0.02em;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    border-radius: 0.5em;
    margin-bottom: 0.5em;
    height: 1.5em;
    display: flex;
    align-items: center;
}

.marquee {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
    animation: marquee 12s linear infinite;
    padding-left: 100%;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}
.bounce-arrow {
    font-size: 2.5rem;
    color: #007bff;
    animation: bounce 1s infinite;
    display: inline-block;
    margin-bottom: 0.25rem;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(12px);
    }
}

.arrow-text {
    font-size: 1rem;
    color: #555;
    margin-top: 0.25rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.popup-message {
    transition: opacity 0.3s ease-in-out;
    z-index: 9999;
}
@keyframes popup-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popup-shrink {
    from {
        transform: translate(-50%, -50%) scale(2.1);
    }

    to {
        transform: translate(-50%, -50%) scale(1);
    }
}
.puller-suggestions {
    max-height: 220px;
    overflow-y: auto;
    border: 2px solid #007bff;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    background: #fff; /* Changed from red to white for clarity */
    margin-top: 2px;
    padding: 0;
    z-index: 1050;
}

.puller-suggestions .list-group-item {
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border: none;
    font-size: 1.15em;
    font-weight: 600;
    color: #1b6ec2; /* Strong blue for text */
    padding: 0.75em 1.25em;
}

.puller-suggestions .list-group-item:hover,
.puller-suggestions .list-group-item:focus {
    background: #007bff;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.puller-suggestions .btn-link {
    color: #888;
    text-decoration: none;
}

.puller-suggestions .btn-link:hover {
    color: #e50000;
    background: none;
    text-decoration: none;
}
.feedback-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 60vh;
    background: linear-gradient(135deg, #eaf3fb 0%, #d6e6f7 100%);
    padding-top: 40px;
}

.feedback-card {
    max-width: 500px;
    width: 100%;
    border-radius: 1rem;
    background: #fff;
}

/* Add this to your global CSS file */
@media print {
    .print-page-break {
        page-break-after: always;
        display: block;
        width: 100%;
    }

    #printSection {
        display: block !important;
    }
}

.dragging {
    opacity: 0.6;
    background-color: #ffeeba !important;
    box-shadow: 0 0 8px 2px #ffc107;
}
.drag-target {
    animation: dropPulse 0.4s;
    background-color: #cce5ff !important;
    border: 2px dashed #007bff;
    box-shadow: 0 0 8px 2px #007bff;
}

@keyframes dropPulse {
    0% { box-shadow: 0 0 8px 2px #007bff; }
    50% { box-shadow: 0 0 16px 4px #007bff; }
    100% { box-shadow: 0 0 8px 2px #007bff; }
}

.tr-drag-transition {
    transition: background-color 0.3s, opacity 0.3s, transform 0.3s;
}

/* Enhanced drag-and-drop with a row hover effect */
.table-sm tbody tr:not(.dragging):not(.drag-target):hover {
    background-color: #e3f2fd !important;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s, border 0.2s;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.12);
    border-left: 3px solid #1976d2;
    border-right: 3px solid #1976d2;
}

.table-sm tbody tr {
    transition: background-color 0.2s, box-shadow 0.2s, border 0.2s;
}

/* Make table rows more compact for drag-and-drop */
.table-sm > tbody > tr,
.table-sm > thead > tr,
.table-sm > tfoot > tr {
    height: 26px; /* Reduce row height */
}

.table-sm td,
.table-sm th {
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    /*font-size: 0.95em;*/
    line-height: 1.1;
}

.table-sm .btn,
.table-sm input[type="button"],
.table-sm a.btn {
    padding: 0.1rem 0.3rem;
   /* font-size: 0.95em;*/
}