﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('font-awesome/css/all.min.css');

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

h1:focus {
    outline: none;
}

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

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgO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9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }
.btn-dark-blue {
    height: 50px;
    border-radius: 5px;
    background-color: #171C5C;
    color: white;
    border-width: 0px;
    width: 100%;
    text-align: center;
    display: block;
    margin: auto;
}
    .btn-dark-blue:hover {
        background-color: white;
        color: #171C5C;
        border: 2px solid #171C5C;
        text-align: center;
        width: 100%;
        display: block;
        margin: auto;
    }

.tblHeader {
    color: white !important;
    background-color: #171C5C !important;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    text-decoration-color: white !important;
    border-radius: 5px !important;
}
.btn-dark-blue2 {
    height: auto; /* Auto height to fit content */
    padding: 8px 16px; /* Add padding to control the height and spacing */
    border-radius: 5px;
    background-color: #171C5C;
    color: white;
    border: none; /* No border */
    width: 100%; /* Full width */
    text-align: center;
    display: flex; /* Use flexbox for better alignment */
    align-items: center; /* Vertically align text and icon */
    justify-content: center; /* Horizontally center content */
    cursor: pointer; /* Make it clickable */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

    .btn-dark-blue2 i {
        margin-left: 8px; /* Space between text and icon */
        transition: transform 0.3s ease; /* Smooth rotation effect */
    }

    .btn-dark-blue2:hover {
        background-color: white;
        color: #171C5C;
        border: 2px solid #171C5C;
    }

    .btn-dark-blue2:active i {
        transform: rotate(180deg); /* Rotate the icon when pressed */
    }

    
.btn-dark-red {
    height: 30px;
    border-radius: 20px;
    background-color: #D20A2E;
    color: white;
    border-width: 0px;
    width: 100%;
    text-align: center;
    display: block;
    margin: auto;
}

    .btn-dark-red:hover {
        background-color: white;
        color: #D20A2E;
        border: 2px solid #D20A2E;
        text-align: center;
        width: 100%;
        display: block;
        margin: auto;
    }

.btn-green {
    height: 30px;
    border-radius: 5px;
    background-color: #0d865a;
    color: white;
    border-width: 0px;
    width: auto; /* Adjust width to fit content */
    text-align: center;
    display: inline-flex; /* Makes it sit inline with the select */
    align-items: center; /* Vertically center the content */
    justify-content: center; /* Horizontally center the content */
    margin-left: 10px; /* Add some space between the select and button */
    margin-right:10px;
    padding: 0 12px; /* Add horizontal padding */
}


    .btn-green:hover {
        background-color: white;
        color: #0d865a;
        border: 2px solid #0d865a;
        text-align: center;
        width: auto;
        display: inline-flex;
        margin-left: 10px;
    }
.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
.styled-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.styled-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
}
.styled-table th,
.styled-table td {
    padding: 12px 15px;
}
.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}
.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}

.display-block {
    display: block;
}

.display-none {
    display: none;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

    .loading-spinner img {
        width: 50px;
        height: 50px;
    }

/* Style the loading spinner or bar */
.loading-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-bar {
    width: 80%;
    height: 10px;
    background-color: #ddd;
    position: relative;
    overflow: hidden;
}

    .loading-bar::after {
        content: "";
        position: absolute;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: #007bff;
        animation: loading 2s infinite;
    }

@keyframes loading {
    to {
        left: 100%;
    }
}

/* Optional: Spinner style */
.loading-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

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

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


