﻿html {
    font-size: 14px;
}

html, body {
    min-height: 100%;
}

.container {
    position: relative;
    opacity: 1;
    z-index: 999;
}
.has-comment {
    background-color: #ffef9d; /* Light yellow; adjust as desired */
    font-weight: bold;
}
.modal {
    z-index: 1050; /* Adjust this value if necessary */
}

.modal-backdrop {
    z-index: 1040; /* Ensure this is less than the modal's z-index */
}
.bodyimg {
    /* repeating-linear-gradient( -55deg, #f2f2f2, #f2f2f2 10px, #e6e6e6 10px, #e6e6e6 20px )*/
    opacity: 1;
    background-image: url('../images/Supportpages_lined_gradient.png');
    width: 100%;
    height: 100%;
    z-index: 1;
    position: absolute;
    top: 0;
}

.bodyOverlay {
    opacity: 0.2;
    background-image: linear-gradient(-55deg, #000, #fff);
    width: 100%;
    height: 100%;
    z-index: 1;
    position: absolute;
    top: 0;
}

table {
    background-color: #fff;
}


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif;
}

table.myFormat tr td {
    font-size: 13px;
    white-space: nowrap;
}

/*th {
    white-space: nowrap;
}*/

table.ProdTable tr td {
    font-size: 13px;
}


.btn-puzzle {
    background-color: #7ac142;
    color: #fff;
}

h1 {
    color: #7ac142;
}

.defaultTextBox {
    outline: none;
    border: none;
    background-color: none;
}

.block {
    display: block;
}

.rb-box {
    width: 100%;
    max-width: 480px;
    margin: 10px auto;
    padding: 1.3em;
    background-color: #ffffff;
    border-radius: .75em;
    text-align: center;
}

/* Custom Radio Button */
p {
    font-size: .9em;
}
/* Containers */


.rb {
    padding: 16px 0;
    text-align: center;
    background: none;
    border-radius: .3em;
}

.rb-tab {
    display: inline-block;
    position: relative;
    width: 20%;
    color: none;
}

.rb-txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: #000000;
}

.rb-spot {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #808080;
    border-radius: 100%;
    cursor: pointer;
    transition: ease .5s;
}

.rb-tab-active .rb-spot {
    background: rgba(0,0,0,.35);
    border: 2px solid rgba(243,49,128,.6);
}

.ProductsTable {
    table-layout: fixed;
}

    .ProductsTable td {
        word-wrap: break-word
    }



.wrapper {
    width: 70%;
}

@media(max-width:992px) {
    .wrapper {
        width: 100%;
    }
}

.panel-heading {
    padding: 0;
    border: 0;
}

.panel-title > a, .panel-title > a:active {
    display: block;
    padding: 15px;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-spacing: 3px;
    text-decoration: none;
}

.panel-heading[aria-expanded="true"]::after {
    content: "\f106";
}

.panel-heading a:before {
    font-family: "FontAwesome";
    content: "\f107";
    float: right;
    transition: all 0.5s;
}

.panel-heading.active a:before {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    transform: rotate(180deg);
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    color: white;
    text-align: left;
    z-index: 999;
}

header {
    color: white;
    z-index: 999999;
}

td {
    white-space: normal !important;
    word-wrap: break-word;
}

.dl {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

    .dl dt,
    .dl dd {
        padding: 0.75rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
    }

    .dl dt {
        vertical-align: bottom;
        /*border-bottom: 2px solid #dee2e6;*/
    }

.table tbody + tbody {
    border-top: 2px solid #dee2e6;
}

.dl-striped dt {
    background-color: rgba(0, 0, 0, 0.05);
}
.file-drop-zone {
    border: 2px dashed #ccc;
    padding: 40px;
    text-align: center;
}

.hover {
    border-color: #aaa;
    background-color: #f0f0f0;
}
/* Dropzone Styles with Rounded Corners */
.dropzone {
    border: 2px dashed #007bff;
    border-radius: 15px; /* This makes the corners rounded */
    min-height: 200px;
    background-color: #e9ecef;
    transition: background-color 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .dropzone:hover {
        background-color: #f1f3f5;
    }

/* Dropzone Cards to Give Consistent Rounded Corners */
.dropzone-card {
    border-radius: 15px; /* Matches the rounded corners of the dropzone */
    padding: 20px;
    background-color: #f8f9fa;
    transition: box-shadow 0.3s ease-in-out;
}

    .dropzone-card:hover {
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    }
.bg-puzzle {
    background-color: #7ac142 !important;
}
@keyframes dot-animation {
    0% {
        content: "Saving";
    }

    25% {
        content: "Saving.";
    }

    50% {
        content: "Saving..";
    }

    75% {
        content: "Saving...";
    }

    100% {
        content: "Saving";
    }
}

.saving-animation::after {
    content: "Saving";
    animation: dot-animation 1.5s infinite;
}
.sortable th {
    cursor: pointer;
}

.employees {
    max-height: 500px; /* or any height you want */
    overflow-y: auto;
}

thead th {
    position: sticky;
    top: 0;
    background-color: darkgray;
    z-index: 2;
}
.email-cell {
    min-width: 160px;
    max-width: 220px;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}
.access-cell {
    min-width: 190px;
    max-width: 260px;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}
.multiselect-container > li > a > label {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ui-autocomplete {
    z-index: 99999 !important; /* ensures it's above most UI layers */
    position: absolute;
}
/* Summernote dialogs & backdrops above layout chrome */
.note-modal,
.note-popover,
.note-handle {
    position: fixed !important; /* escape any transformed parents */
    z-index: 20010 !important;
}

.note-modal-backdrop {
    z-index: 20000 !important;
}

/* (Optional) If your layout header/sidebar has huge z-index, cap them */
.navbar, .site-header, .site-sidebar {
    z-index: 1000; /* ensure below 20000 */
}

/* Sticky column styling */
.freeze-col-1,
.freeze-col-2 {
    position: sticky;
    z-index: 2;
    background: #fff;
    box-shadow: .5px 0 0 #dee2e6 inset;

}
th.freeze-col-1, td.freeze-col-1 {
  width: var(--col1, 180px);
  min-width: var(--col1, 180px);
  max-width: var(--col1, 180px);
}
/* Keep first two columns above others */
.freeze-col-1 {
    left: 0;
    z-index: 3;
}

.freeze-col-2 {
    left: var(--col1, 180px);
    border-right: 2px solid #dee2e6;
}

/* Match Bootstrap striping on sticky columns */
.table-striped tbody tr:nth-of-type(odd) .freeze-col-1,
.table-striped tbody tr:nth-of-type(odd) .freeze-col-2 {
    background-color: #f9f9f9; /* Bootstrap's striped row color */
}

.table-striped tbody tr:nth-of-type(even) .freeze-col-1,
.table-striped tbody tr:nth-of-type(even) .freeze-col-2 {
    background-color: #fff;
}

/* Sticky header alignment */
thead th.freeze-col-1,
thead th.freeze-col-2 {
    background-color: darkgray; /* match header gray */
    z-index: 4;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

/* Positioning for nested dropdown */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -0.25rem;
        display: none;
    }

    /* Show submenu on hover */
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

/* Optional: show main dropdown on hover too */
.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
}

/* Prevent flicker when moving between parent and child menu */
.dropdown-menu li:hover > .dropdown-item {
    background-color: #f8f9fa;
}
