﻿html {
  font-size: 14px;
}

@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%;
}

body {
  margin-bottom: 60px;
}
.inline-block {
    display:inline-block!important;
}
.float-right {
    float:right
}
.float-left {
    float:left
}
.white-text {
    color: #fff!important;
    border: 1px solid!important;
}
select {
    width: 100%;
    padding: 9px;
    border: none;
    border-bottom: 1px solid #dcdcdc;
}
.alert-success {
    --bs-alert-color: #cdffcf;
    --bs-alert-bg: #dbefdc;
    --bs-alert-border-color: #c9e7cb;
}
/* Add this to your site.css or a separate CSS file */
#nprogress .bar {
    background: #29d; /* Change to your desired color */
}

/* Optional: Change the shadow color */
#nprogress .peg {
    box-shadow: 0 0 10px #29d, 0 0 5px #29d;
}
.scroll-card {
    max-height: 350px;
    overflow: auto;
}
.scroll-card-lg {
    max-height: 600px;
    overflow: auto;
}

.avatar-group .avatar {
    background: rgb(29 29 29 / 85%) !important;
}

.multisteps-form__progress button {
    cursor: default;
}
.text-align-center {
    text-align:center
}

@keyframes fadeHighlight {
    0% {
        background-color: #89b0fb;
    }

    100% {
        background-color: transparent;
    }
}

.modal.fade .modal-dialog {
    transform: translateY(-30px);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: translateY(0);
}

.highlight {
    animation: fadeHighlight 3s ease-in-out;
}

.assign-complianceProfile-consent {
    border: 2px dashed #89b0fb;
    padding:12px;
    border-radius:12px;
}

.progressbar-container {

}

.progressbar-container ul {
    list-style: none;
}

/* Modern toggle-like button styles */
.btn-group-toggle .btn {
    transition: background-color 0.3s, color 0.3s;
    border-radius: 0.5rem; /* Rounded corners for a sleek look */
}

.btn-group-toggle .btn-check:checked + .btn {
    background-color: #1976d2;
    color: white;
    border-color: #1976d2;
}

.btn-group-toggle .btn:hover {
    background-color: #e3f2fd;
    border-color: #90caf9;
    color: #1976d2;
}

/* Progress List Styles */
.list-group-item {
    font-weight: 500;
    border: none;
    border-bottom: 1px solid #e9ecef;
}

    .list-group-item:last-child {
        border-bottom: none;
    }

.badge i {
    vertical-align: middle;
}
textarea {
    border-bottom: 1px solid #333;
}
#hrefSetRepresentative, .assigned-to-wrapper a {
    text-decoration: underline;
}

.assigned-to-wrapper {
    margin: 10px 0;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    text-align: center;
}
.font-size-small {
    font-size: 8px;
}

.pr-20 {
    padding-right:20px
}
.pl-20 {
    padding-left:20px
}
.dropdown-toggle::after {
    display: none!important;
}
`-menu {
    z-index: 9991;
}
.mask {
    text-align: center;
    padding: 91px 0;
}
.icon-btn-shortcut {
    cursor: pointer;
    z-index: 99;
    position: absolute;
    left: 44%;
}
.icon-btn-shortcut span {
    padding: 10px 0;
    border: none;
    color: #fff;
    line-height: 1;
    font-weight: 300;
    margin: 0px -8px 0;
}
.progress-bar-striped {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
}

@keyframes progress-bar-stripes {
    from {
        background-position: 1rem 0;
    }

    to {
        background-position: 0 0;
    }
}

.progress-bar-animated {
    animation: progress-bar-stripes 1s linear infinite;
}

.welcome-greeting {
    opacity: 0.1;
    position: absolute;
    top: 10%;
}
.txt-not-required {
    font-size:10px;
    color:#fff;
    padding: 8px;
}

/********* Notifications ***************/

.unread-notification {
    background-color: rgba(233, 236, 239, 0.5);
    position: relative;
}

    .unread-notification:before {
        content: '';
        position: absolute;
        width: 8px;
        height: 8px;
        background-color: #0d6efd;
        border-radius: 50%;
        top: 16px;
        left: 10px;
    }

#notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    border-radius: 50%;
    font-size: 0.6rem;
    padding: 3px 6px;
}

.nav-item.dropdown.pe-2 {
    position: relative;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.toast.bg-gradient-info {
    z-index: 1080;
}

/* Notification bell animation */
@keyframes bell-ring {
    0% {
        transform: rotate(0);
    }

    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-15deg);
    }

    30% {
        transform: rotate(10deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(5deg);
    }

    60% {
        transform: rotate(-5deg);
    }

    70%, 100% {
        transform: rotate(0);
    }
}

.fa-bell.new-notification {
    animation: bell-ring 1s ease;
    color: #0d6efd !important;
}
.table-responsive {
    max-height: none !important;
    overflow-y: hidden!important;
    overflow-x: auto;
}
.toast.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9999 !important;
}
.brand-logo-menu {
    object-fit:contain;
    height:150px!important;
}
:root {
    --primary-color: #000;
    --secondary-color: grey;
}

.tenant-indicator {
    background-color: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.system-tenant {
    background-color: #ffc107;
    color: #343a40;
}

.navbar-brand img {
    max-height: 40px;
}
.dropdown-menu {
    z-index: 9991;
    right: 0;
    left: auto;
    min-width: 12rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 0.875rem;
    color: var(--text-color);
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
}

/* For dropdowns that should appear on the left side */
.dropdown-menu-start {
    right: auto;
    left: 0;
}

/* Fix dropdown alignment when it's opened from right-aligned elements */
.navbar-nav .dropdown-menu {
    position: absolute;
    float: none;
}

/* Improve dropdown header style */
.dropdown-header {
    display: block;
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    font-size: 0.75rem;
    color: #6c757d;
    white-space: nowrap;
    font-weight: 700;
    text-transform: uppercase;
}

/* Set consistent dropdown item styles */
.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    clear: both;
    font-weight: 400;
    color: var(--text-color);
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.dropdown-item:hover, .dropdown-item:focus {
    color: var(--primary-color);
    text-decoration: none;
    background-color: rgba(var(--primary-color-rgb), 0.05);
}

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: var(--primary-color);
}

.dropdown-item.disabled, .dropdown-item:disabled {
    color: #6c757d;
    pointer-events: none;
    background-color: transparent;
}


/* Fix dropdown positioning on mobile */
@media (max-width: 767.98px) {
    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }

    .dropdown-menu {
        right: auto;
        left: 0;
        width: 100%;
    }
}

.section-header h6 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.organization-selector .btn-outline-primary {
    border: 2px solid #e9ecef;
    color: #6c757d;
    transition: all 0.3s ease;
}

.organization-selector .btn-check:checked + .btn-outline-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.password-strength .progress {
    background-color: #f8f9fa;
    border-radius: 0.25rem;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.input-group-text {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-left: none;
    color: #6c757d;
    font-size: 0.875rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Subdomain validation feedback */
.subdomain-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.75rem;
}

/* Enhanced form validation styles */
.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.8-.8.8.8.8-.8L6.23 4.5l-.8-.8-.8.8-.8-.8-.8.8.8.8z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4 1.4-1.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.coming-soon-overlay {
    position: relative;
    overflow: hidden;
    pointer-events: none; /* This blocks all clicks on the entire element */
}

.coming-soon-overlay * {
    pointer-events: none; /* Ensures all child elements are also non-clickable */
}

.coming-soon-overlay::after {
    content: attr(data-message, 'Coming Soon');
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    font-weight: 600;
    z-index: 10;
    pointer-events: auto; /* Re-enable for the overlay to capture events */
    border-radius: 10px;
}

/* Optional: Change cursor to indicate non-clickable */
.coming-soon-overlay::after {
    cursor: not-allowed;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.9;
    }

    50% {
        opacity: 1;
    }
}
.card-subscription {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.subscription-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.usage-indicator {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.usage-bar {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #ffc107, #dc3545);
    transition: width 0.3s ease;
}

.nav-link-text {
    color: #fff!important;
}
.rotate-180 {
    transform: rotate(180deg);
}

/* Top-level Clients link hover */
.nav-link-dropdown {
    background: none !important;
    color: #fff !important;
    transition: background 0.2s !important;
}

.nav-link-dropdown:hover,
.nav-link-dropdown:focus {
    background: rgba(255,255,255,0.13) !important; /* highlight color */
    color: #fff !important;
}

/* Submenu (Businesses/Individuals) hover */
.navbar-nav .nav-link:not(.nav-link-dropdown):hover,
.navbar-nav .nav-link:not(.nav-link-dropdown):focus {
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
}

/* Prevent parent li:hover from affecting child link */
.nav-item:hover > .nav-link-dropdown:not(:hover):not(.active) {
    background: none !important;
    color: #fff !important;
}
/* reset any inherited background */
.nav-link-dropdown {
    background: none;
    color: #fff;
}

.collapse .nav-link {
    background: none;
    color: #fff;
}

    /* highlight only the element that the pointer is ON */
    .nav-link-dropdown:hover,
    .collapse .nav-link:hover {
        background: rgba(255,255,255,.15);
    }

/* keep the usual highlight when the link is truly .active */
.nav-link.active {
    background: rgba(255,255,255,.25);
}

/* Learning Center Styles */
.process-list {
    counter-reset: none;
}

.badge.rounded-circle {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.learning-content h3 {
    color: #333;
    font-size: 1.25rem;
    font-weight: 600;
}

.nav-link.active {
    background-color: #f8f9fa;
    border-radius: 0.25rem;
    font-weight: 500;
}
.employee-checkbox-wrapper {
        padding: 12px 40px 12px 12px;
        border-radius: 8px;
        background-color: white;
        border: 1px solid #e0e0e0;
        transition: all 0.2s ease;
        cursor: pointer;
    }

    .employee-checkbox-wrapper:hover {
        border-color: #2196F3;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .employee-checkbox {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        cursor: pointer;
    }

    .employee-checkbox:checked ~ .employee-label {
        color: inherit;
    }

    .employee-checkbox:checked + .employee-label .employee-name {
        color: #1976D2;
        font-weight: 600;
    }

    .employee-checkbox-wrapper:has(.employee-checkbox:checked) {
        background-color: #E3F2FD;
        border-color: #2196F3;
    }

    .employee-label {
        cursor: pointer;
        margin-bottom: 0;
        padding-left: 0;
    }

    .avatar-wrapper {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .avatar-initials {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #2196F3;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 500;
        font-size: 14px;
    }

    .employee-checkbox:checked ~ .employee-label .avatar-initials {
        background-color: #1976D2;
    }

    .employee-info {
        min-width: 0;
    }

    .employee-name {
        font-weight: 500;
        color: #333;
        margin-bottom: 2px;
    }

    .employee-details {
        font-size: 13px;
        color: #666;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .employee-email {
        color: #666;
    }

    .employee-divider {
        margin: 0 8px;
        color: #ccc;
    }

    .employee-department {
        color: #2196F3;
        font-weight: 500;
    }

    .selection-summary {
        border: 1px solid #e0e0e0;
    }

/* Remove overflow constraints from table containers */
.table-responsive {
    overflow: visible !important;
}

.card-body {
    overflow: visible !important;
}

/* Ensure dropdown menus appear above other elements */
.dropdown-menu {
    position: absolute !important;
    z-index: 1050;
}

/* Alternative: Use fixed positioning for context menus */
.context-menu-dropdown {
    position: fixed !important;
    z-index: 9999;
}

.btn-primary, 
.btn.bg-gradient-primary,
.btn-primary:hover, 
.btn.bg-gradient-primary:hover {
    box-shadow:none!important;
}