
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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
}

html, body, .app-container {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', sans-serif;
}

/* Sidebar styles */
.sidebar-expanded {
    width: 200px; /* Adjust width based on design */
    background-color: #000e50; /* Dark blue background color */
    color: white;
    height: 100%;
    position: fixed;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar { /* Adjust width based on design */
    background-color: darkblue; /* Dark blue background color */

    height: 100%;
    position: fixed;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-collapsed {
    width: 50px; /* Adjust width based on design */
    background-color: #000e50; /* Dark blue background color */
    color: white;
    height: 100%;
    position: fixed;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-brand {
    display: flex;
    justify-content: center; /* Center logo horizontally */
    padding: 15px 20px; /* Control the spacing around the logo */
    margin-bottom: 20px; /* Space below the logo */
}

.brand-logo {
    width: 100%; /* The logo will fill the width of the sidebar */
    max-height: unset; /* Remove the maximum height if it's not needed */
    height: auto; /* Maintain the aspect ratio */
    display: block; /* Remove any extra space below the image */
}

.nav-item {
    margin: 10px; /* This adds space around each nav item */
}
/* Menu navigation links */
.nav-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
/* Sidebar 2 test*/
.person-icon {
    position: relative;
    width: 100px;
    height: 100px;
    background-color: transparent;
    margin: 50px;
}

    .person-icon .head {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: #e74c3c;
        position: absolute;
        top: 10px;
        left: 35px;
    }

    .person-icon .body {
        width: 100px;
        height: 50px;
        border: 10px solid #e74c3c;
        border-bottom: 0;
        border-radius: 50px 50px 0 0;
        position: absolute;
        top: 40px;
        left: 0;
    }

    .person-icon .arm {
        width: 50px;
        height: 50px;
        border: 10px solid #e74c3c;
        border-radius: 50px;
        position: absolute;
        top: 50px;
    }

        .person-icon .arm.left {
            left: -30px;
            border-right: 0;
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
        }

        .person-icon .arm.right {
            right: -30px;
            border-left: 0;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }


.sidebar2 {
    background-color: #102078;
    color: white;
    width: 50px; /* Default width */
    height: 100vh;
    transition: width 0.5s; /* Smooth transition for expanding and collapsing */
}

    .sidebar2.expanded {
        width: 200px; /* Expanded width */
    }

.icon2 {
    padding: 10px;
    color: white;
    font-size: 24px;
    display: block; /* Ensure icons take full width of sidebar */
}

.text2 {
    display: none;
    animation: border-flicker 2s linear infinite; /* Hide text by default */
}

.sidebar2.expanded .text2 {
    display: inline; /* Show text when expanded */
}

/* Sidebar navigation link styles */
.nav-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin-bottom: 10px; /* Space between menu items */
}

.nav-link {
    display: flex;
    align-items: flex-start;
    color: white; /* Default text color */
    padding: 5px 5px; /* Padding inside the links */
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effect */
}

    .nav-link .icon {
        margin-right: 10px; /* Space between icon and text */
    }

    .nav-link:hover, .nav-link.active {
        background: linear-gradient(180deg, #161882, #000e50); /* Gradient background */
        color: #06c0b6; /* Light tealish text color */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow effect */
        border-radius: 4px; /* Rounded corners for the links */
    }


/* Main container which holds the app bar and content */
.main {
    background-color: wheat;
    /*margin-left: 200px;*/ /* Same as sidebar width */
    height: 100%;
    overflow-y: auto;
    flex-grow: 1;
    flex-direction: column;
}

.app-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF; /* Change this to match your color scheme */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 0 25px;
    height: 60px; /* Adjust as needed */
}

.search-container {
    max-width: 400px;
    align-items: center;
    background-color: #f0f0f0; /* Light grey background */
    padding: 0.375rem 0.75rem;
    border-radius: 20px; /* Rounded corners for the search box */
    flex-grow: 1; /* Allows the search box to fill the space */
    margin-right: 1rem; /* Spacing between search box and app-bar items */
}

    .search-container input[type="text"] {
        border: none;
        background: transparent;
        margin-left: 0.5rem;
        color: #333;
    }

    .search-container i {
        color: #333;
    }

.app-bar-items {
    display: flex;
    align-items: center;
}

.notification-icon {
    position: relative;
    margin-right: 1rem;
}

    .notification-icon i {
        font-size: 1.25rem;
        color: #333;
    }

.notification-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #e53e3e; /* Red background for notification count */
    color: white;
    border-radius: 50%;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    min-width: 1.5rem;
    text-align: center;
}

.user-info {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-name {
    margin-right: 0.5rem;
    font-weight: 600;
}

.user-info i {
    font-size: 0.75rem;
    color: #333;
}

.dropdown-arrow {
    margin-left: 5px;
    /* Add styles for the arrow */
}

/* Content area under app bar */
/*.content {
    overflow-y: hidden;
    background-color: #f4f8fa;
    margin-top: 60px; 
    padding: 20px;
    height: 100%; 
}*/

.nav-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-bottom: 10px;
}

.app-container {
    display: flex;
    flex-direction: row;
    height: 100vh;
}

.nav-item a {
    display: flex;
    align-items: center;
    background-color: #000e50; /* Background color */
    color: #ffffff; /* Text color */
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 4px; /* Rounded corners */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

    .nav-item a .icon {
        margin-right: 10px;
        /* Placeholder for the icon styles */
        /* You might use an icon font or SVGs */
    }

    .nav-item.active a, .nav-item a:hover {
        background-color: #000e50; /* Hover and active background color */
        color: #ffffff; /* Hover and active text color */
    }

.main-content {
    flex-grow: 1;
    padding: 20px;
    margin-top: 60px; /* Same as the height of the app bar */
    height: 100%; /* Subtract the height of the app bar */
    overflow-y: auto; /* Show scrollbar for content only if needed */
}



header {
    background-color: #ffffff;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Other styles for the header */
}

.tabs button {
    background-color: #e9ecef;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    /* Other styles for the tabs */
}

    .tabs button.active {
        background-color: #007bff;
        color: white;
        /* Other styles for the active tab */
    }

.content {
    background-color: #ffffff;
    margin-top: 20px;
    padding: 20px;
    /* Other styles for the content area */
}

table {
    width: 100%;
    border-collapse: collapse;
    /* Other styles for the table */
}

    table th, table td {
        padding: 10px;
        text-align: left;
        border-bottom: 1px solid #dee2e6;
        /* Other styles for table cells */
    }

.leftbar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 170px;
    background: #c0c0c0;
    padding: 15px;
    overflow-y: scroll;
}

.content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 200px;
    right: 30px;
    -webkit-transition: 1s;
}

.panel {
    position: absolute;
    top: 0;
    width: 100%;
    margin-top: 0px;
    bottom: 0px;
    padding: 15px;
    -webkit-transition-duration: 0.5s;
    -webkit-transform-origin: 50px -300px;
    left: 100px;
    opacity: 0;
}

.default {
    left: 0;
    opacity: 1;
}

.panel:target ~ .default {
    left: 100px;
    opacity: 0;
}

.panel:target {
    left: 0;
    opacity: 1;
}

.link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.menuitem {
    position: relative;
    background: #a0a0a0;
    padding: 5px;
}

    .menuitem:not(:last-child) {
        margin-bottom: 5px;
    }

.expandable-content {
    display: none;
}

.profile-pic {
    background-color: #CBD5E0;
    border-radius: 9999px;
}

.status-pill {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    display: inline-block;
}

.status-pill-approved {
    background-color: #68d391;
    color: white;
}

.status-pill-lost {
    background-color: #e53e3e;
    color: white;
}

.status-pill-proposed {
    background-color: #dd6b20;
    color: white;
}

.status-pill-active {
    background-color: #3182ce;
    color: white;
}

p {
    font-size: 1.4em;
    margin: 0;
    margin-bottom: 10px;
    text-align: center;
}
/* General Styles */
.bg-white {
    background-color: white;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.p-5 {
    padding: 1.25rem;
}

.mt-4 {
    margin-top: 1rem;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Styles for the card */
.detail-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: auto;
    margin: 16px;
    font-size: 14px;
}

    /* Spacing within the card */
    .detail-card .content {
        padding: 20px;
    }

    /* Header styles */
    .detail-card .header {
        display: flex;
        justify-content: space-between;
        padding-bottom: 20px;
        border-bottom: 1px solid #eee;
    }

        .detail-card .header .item {
            text-align: center;
            padding: 0 10px;
        }

    /* Body styles */
    .detail-card .body {
        padding: 20px 0;
    }

        .detail-card .body .section {
            padding: 10px 0;
        }

        /* Subsection styles */
        .detail-card .body .subsection {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        /* Subsection with separated items */
        .detail-card .body .subsection-separated {
            border-top: 1px solid #eee;
            padding-top: 10px;
        }

    /* Tags for the carrier */
    .detail-card .tag {
        background-color: #eee;
        border-radius: 12px;
        padding: 3px 8px;
        display: inline-block;
        margin-right: 5px;
    }

    /* Styling for 'new' tag */
    .detail-card .new-tag {
        background-color: #d1ecf1;
        color: #0c5460;
        border-radius: 12px;
        padding: 3px 8px;
        display: inline-block;
        margin-right: 5px;
    }

/* Utilizes Flexbox to handle responsive behavior */
@media (max-width: 600px) {
    .detail-card .header .item,
    .detail-card .body .subsection {
        flex-direction: column;
        text-align: left;
    }

    .detail-card .header,
    .detail-card .body .subsection {
        padding: 10px;
    }
}
/* Styling for the section titles like 'Policies' and 'Submissions' */
.section-title {
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.25rem;
}

/* Styling for the information grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    font-size: 0.9rem;
}

/* Styling for the items in the grid */
.info-item {
    margin-bottom: 0.5rem;
}

/* Section for policies and submissions */
.section {
    border-top: 1px solid #eaeaea;
    padding-top: 1rem;
}

/* Individual rows within policies and submissions */
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    align-items: center;
    font-size: 0.9rem;
}

/* Styling for carrier tags in the submissions section */
.carrier-tag {
    display: inline-block;
    background-color: #e2e8f0;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    margin-right: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.25rem;
    color: #333;
    /* Responsive adjustments for a collapsible sidebar */
    @media (max-width: 768px) {
        .sidebar {
            width: 60px; /* Smaller width for collapsed sidebar */
        }

        .detail-panel {
            grid-template-columns: 1fr;
        }

        .nav-item {
            margin: 5px; /* Smaller space around each nav item */
        }

        .search-container input[type="text"] {
            width: 100px; /* Shorten the input field on smaller screens */
        }

        .notification-icon,
        .user-info {
            display: none; /* Hide these on smaller screens if necessary */
        }
    }

    @media print {
        body {
            width: 8.5in;
            height: 11in;
            margin: 0;
            transform: scale(0.77);
            transform-origin: 0 0;
        }
    }

    .table-bordered td, .table-bordered th

{
    border: 1px solid #000 !important;
}
