html {
  font-size: 14px;
}

.headerBackground {
    background: linear-gradient(to bottom, #1e3c72, #2a5298);
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

html {
  position: relative;
  min-height: 100%;
}

.offcanvas {
    z-index: 1200 !important;
}

header {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.navbar {
    background-color: transparent !important;
    border-bottom: none !important; /* Remove the bottom border */
}

.navbar-collapse {
    background-color: transparent !important;
}

.mainbrand,
.customlink {
    color: white !important;
}

/* Style links in the _LoginPartial if they are direct children of nav-item */
.mainnav .nav-item a {
    color: white !important;
}

/* Style links within the _LoginPartial if it uses a different structure */
/* You might need to inspect the HTML of _LoginPartial to target correctly */
.mainnav li a { /* Example: if links are directly inside list items */
    color: white !important;
}
.bg-image-header {
    background: linear-gradient(135deg, #0d1117, #1c1f2b); /* navy to black */
    /*background-image: url('/images/headerbg2.png');*/ /* Path to your desktop background image */
    background-size: cover; /* Scale the image to cover the entire header */
    background-position: center center; /* Center the image */
    background-repeat: no-repeat; /* Prevent image repetition */
    /* Optional: Add padding to ensure content isn't directly against the image edges */
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Responsive adjustments for smaller screens (example for mobile) */
@media (max-width: 767.98px) { /* Bootstrap's small breakpoint */
    .bg-image-header {
        background: linear-gradient(135deg, #0d1117, #1c1f2b); /* Path to your mobile-specific background image */
        /* You might need to adjust background-size or background-position for mobile */
        /* Example: Center horizontally, align top vertically */
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

/* You can add more media queries for other screen sizes (e.g., tablets) */
@media (min-width: 768px) and (max-width: 991.98px) { /* Bootstrap's medium breakpoint */
    .bg-image-header {
        background: linear-gradient(135deg, #0d1117, #1c1f2b); /* Path to your tablet-specific background image */
        background-position: center center;
    }
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important; /* Default dark color for light navbar */
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important; /* Default light color for dark navbar */
}

/* To change to white for a light navbar */
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* To change to a specific color (e.g., red) */
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 0, 0, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.dropdown-item:hover {
    background-color: #444;
}
.optimized {
    background-color: #e9ecef;
    color: #28a745;
    padding: 0.5em 1em;
    border-radius: 0.25em;
    margin-top: 1em;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}
.sortable:hover {
    cursor: grab; /* Or 'grab', 'row-resize', 'col-resize', etc. */
}
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    opacity: 0.65;
}
/* Further condense with smaller fonts and spacing */
.offcanvas-body p.small {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.7rem;
}

.offcanvas-title.small {
    font-size: 0.9rem;
}

.offcanvas-body h6.small {
    font-size: 0.95rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.list-unstyled.small li {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    padding-left: 1rem;
}

    .list-unstyled.small li i {
        font-size: 0.75rem;
    }

.text-muted.x-small {
    font-size: 0.7rem;
}

.rounded-sm {
    border-radius: 0.2rem !important;
}

.offcanvas-header .btn-close.btn-sm {
    font-size: 0.7rem;
    padding: 0.2rem;
}
.questionnaire-progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, #1e3c72, #2a5298);
    z-index: 1050;
    font-size: 1rem;
    border-top: 3px solid #ffffff30;
}
.left-panel {
    background: linear-gradient(to bottom, #1e3c72, #2a5298);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    z-index: 1;

}

.curve-svg svg {
    display: block;
    height: 100%;
    width: 100%;
}

.right-panel {
    background-color: white;
    padding: 40px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    position: relative;
    z-index: 1;
}

.curve-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 60px;
    z-index: 0;
    overflow: hidden;
}

    .curve-divider svg {
        height: 100%;
        width: 100%;
        display: block;
    }

.form-container {
    max-width: 1000px;
    margin: 50px auto;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: #0d6efd; /* Bootstrap primary color, change as needed */
    color: #fff; /* White text, change as needed */
}

.vertical-line {
    border-left: 6px solid #1e3c72; /* Bootstrap primary or any color */
    padding-left: 1rem;
}

.loader-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-image: url('/images/compliancefort_green.png'); /* Replace with your image URL */
    background-size: 50%; /* Ensures the image covers the wrapper */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    position: relative; /* Ensures correct positioning for the loader */
}

.loader {
    border: 16px solid transparent;
    border-top: 16px solid rgb(72 109 253);
    border-right: 16px solid rgb(195 72 72);
    border-bottom: 16px solid rgb(71 132 83);
    border-left: 16px solid rgb(240 196 13);
    border-radius: 50%;
    width: 100%;
    height: 100%;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    position: absolute; /* Positioned over the background */
    top: 0;
    left: 0;
}

.icon-button.active {
    background-color: #0d6efd; /* Bootstrap primary */
    color: white;
    border-radius: 8px;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*Asset Type & Categories Partial View*/
.widget-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
   
}

    .widget-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        border-color: #0d6efd !important;
        background-color: white;
    }

.widget-icon {
    transition: transform 0.3s ease;
}

.widget-card:hover .widget-icon {
    transform: scale(1.1);
}
/*Asset Type & Categories Partial View*/


.text-card {
    transition: all 0.3s ease;
}
    .text-card:hover {
        transform: translateY(-2px);        
    }
.text-icon {
    transition: transform 0.3s ease;
}

.text-card:hover .text-icon {
    transform: scale(1.1);
}



/* site.css */
.table-highlight2 {
    animation: pulse 2s ease-in-out infinite;
}


@keyframes pulse {
    0% {
        opacity: 1;
        background-color: rgba(255,0,0,0.15);
    }

    50% {
        opacity: 0.7;
        background-color: rgba(255,0,0,0.10);
    }
    100% {
        opacity: 1;
        background-color: rgba(255,0,0,0.15);
    }
}