﻿
.bold-row {
    background-color: #DFF5D8 !important;
    font-weight: bold !important;
}

/* Global selected row color for all SfGrids */
.e-grid .e-rowcell.e-selectionbackground,
.e-grid .e-altrow .e-rowcell.e-selectionbackground {
    background-color: #FFD699 !important; /* light orange */
    font-weight: bold !important;
}

/* Keep hover consistent */
.e-grid .e-row.e-hover,
.e-grid .e-altrow.e-hover {
    background-color: inherit !important;
}


.e-toolbar-item.e-template:has(.e-searchinput.e-input) {
    margin-right: calc(100% - 250px) !important; /* Apply your styles here */
}


.btn-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* spacing between buttons */
}

@font-face {
    font-family: 'ArialRound';
    src: url('Assets/Fonts/ARLRDBD.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.orange-checkbox {
    accent-color: orange;

}

.custom-dialog .e-footer-content .e-btn {
    background-color: #ED8E0E !important;
    color: #fff !important;
    border-color: #ED8E0E !important;
}

    .custom-dialog .e-footer-content .e-btn:hover {
        background-color: #ED8E0E !important;
    }

/* 🔹 Tab header label color */
.custom-dialog .e-tab .e-tab-header .e-toolbar-item .e-tab-text {
    color: #000000 !important;
    font-weight: 500 !important;
}

/* Active tab text */
.custom-dialog .e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-text {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Hover text */
.custom-dialog .e-tab .e-tab-header .e-toolbar-item:hover .e-tab-text {
    color: #ED8E0E !important;
}

/* 🔹 Remove Syncfusion default underline completely */
.custom-dialog .e-tab .e-tab-header::after,
.custom-dialog .e-tab .e-tab-header .e-indicator,
.custom-dialog .e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-text::after {
    display: none !important;
}

/* 🔹 Custom underline for active tab */
.custom-dialog .e-tab .e-tab-header .e-toolbar-item.e-active {
    border-bottom: 3px solid #ED8E0E !important; /* your underline */
}



.vh-100 {
    min-height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}
.rounded-frame {
    border-radius: 15px; /* Adjust the value for roundness */
    box-shadow: 0 0px 10px 10px rgba(0, 0, 0, 0.1); /* Adjust the values for shadow */
    border-width: thin;
    border-color: gray;
    padding: 20px;
    background-color: white;
    border: 3px solid #000000;
}

/* Target InputText inside form-floating */
.form-floating .form-control {
    background-color: #ffffff !important; /* always white */
    color: #000000 !important; /* text black */
}

    /* Optional: maintain white background when focused */
    .form-floating .form-control:focus {
        background-color: #ffffff !important;
        color: #000000 !important;
        box-shadow: none; /* remove Bootstrap focus shadow if desired */
    }

/* All InputText states */
input.form-control,
input.form-control:focus,
input.form-control:disabled,
input.form-control[readonly] {
    background-color: #ffffff !important; /* force white */
    color: #000000 !important; /* black text */
    border: 1px solid #ced4da; /* keep Bootstrap border */
}


/* Option 1: Target this specific link */
p > a {
    color: #000000 !important; /* force black */
    text-decoration: none; /* optional */
}

    p > a:hover {
        color: #333333 !important; /* slightly lighter black on hover */
        text-decoration: underline; /* optional */
    }

/* Option 2: Use a custom class instead */
a.custom-link {
    color: #000000 !important;
    text-decoration: none;
}

    a.custom-link:hover {
        color: #333333 !important;
        text-decoration: underline;
    }


.edit-wide {
    width: 450px;
}

.edit-medium {
    width: 350px;
}

.edit-narrow {
    width: 300px;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

h1 {
    background-color: #b8bdca;
    color: #ffffff;
    border-radius: 10px;
    padding: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    font-size: x-large;
}

h2 {
    color: dimgray;
    text-align: left;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    font-size: xx-large;
    font-family: "ArialRound";
}

button.no-focus-outline:focus {
    outline: none !important;
    box-shadow: none !important;
}

.btn-custom {
    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;
}

.btn-outline-custom {
    color: #000000; /* text color */
    border-color: #000000; /* border color */
    background-color: transparent; /* keep it transparent */
    font-weight: 500;
    border-radius: 6px; /* optional */
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

    .btn-outline-custom:hover {
        color: #ffffff; /* text turns white on hover */
        background-color: #000000; /* background turns black on hover */
        border-color: #000000; /* border stays black */
    }

.btn-custom {
    background-color: #000000; /* solid black */
    border-color: #000000;
    color: #ffffff; /* white text */
    font-weight: 500;
    border-radius: 6px; /* optional: slightly rounded */
    padding: 0.5rem 1rem; /* optional: same as Bootstrap defaults */
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

    .btn-custom:hover {
        background-color: #333333; /* lighter black on hover */
        border-color: #333333;
        color: #ffffff;
    }


.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcu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Q3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
}

.e-input-group {
    width: unset !important;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.e-input {
    border: 1px solid !important;
    border-color: rgb(118, 118, 118) !important;
    padding: 1px 2px !important;
    border-radius: 2px !important;
}

.e-input-focus {
    box-shadow: unset !important;
}

.e-input:focus-visible {
    outline: -webkit-focus-ring-color auto 1px !important;
    outline-offset: 0px !important;
}

.e-ddl.e-input-group {
    width: 100% !important;
    line-height: 1.5 !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
}

    .e-ddl.e-input-group:focus {
        border-color: #86b7fe !important;
        outline: 0 !important;
        box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25) !important;
    }

.e-dropdownlist {
    border: unset !important;
    padding: .375rem 2.25rem .375rem .75rem !important;
    color: #212529 !important
}

.e-dropdownbase, .e-ddl.e-popup {
    border-radius: 10px !important;
}

.table, .table th, .table td {
    border: none;
    padding: 8px;
}

    .table th {
        text-align: left;
        background-color: #f8f9fa;
        font-weight: bold;
    }

    .table tr {
        border-top: 1px solid lightgray;
    }