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;
}

.navbar {
    background-color: #0197ED; /*navbar color*/
}

.main-red {
    color: #ff0000;
}

.main-blue {
    color: #0197ed;
}

.main-green {
    color: #00B900;
}

.main-orange {
    color: #ff7c2e;
}
.main-grey {
    color: #6c757d;
}

.main-black {
    color: #212529;
}

.navbar-nav .nav-link:hover {
    color: #ff7c2e; /* links color of navbar on hover */
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.footer {
/*    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;*/
    background-color: #f5f5f5;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-link {
    margin-left: auto;
}

.form-check-input:checked {
    background-color: #0197ed !important;
    border-color: #0197ed !important;
}
.btn-action {
    background-color: #00B900;
    border-color: #00B900;
    min-width: 120px;
}

.btn-primary:hover {
    background-color: #ff7c2e;
    border-color: #ff7c2e;
}
/*
.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.btn-primary:focus
{
    background-color: #ff7c2e;
    border-color: #ff7c2e;
}
*/

.btn-primary {
    background-color: #0197ED;
    border-color: #0197ED;
    min-width: 120px;
}

.btn-primary:hover .btn-action {
    background-color: #ff7c2e;
    border-color: #ff7c2e;
}

.btn-primary:focus,
.btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(1, 151, 237, 0.5);
}

.form-container h2 {
    color: #0197ED;
    text-align: start;
    margin-bottom: 20px;
}

.form-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20%;
}

.form-group {
    margin-bottom: 20px;
}

.form-wrapper {
    width: 100%;
    max-width: 400px;
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}
/* nav bar */

.navbar-nav .nav-link {
    color: #0197ED !important;
}

.navbar-nav .nav-link:hover {
    color: #ff7c2e !important;
}

.nav-icon {
    width: 45px;
    height: 45px;
}

.title {
    color: #0197ED;
    text-align: start;
    margin-bottom: 20px;
}

.nav-link:focus,
.nav-link:active {
    outline: none !important;
    box-shadow: none !important;
}

.nav-item.active {
    outline: 2px solid #0197ED;
    border-radius: 5px;
}

.modal-content .btn-primary {
    background-color: #0197ED;
    border-color: #0197ED;
}


.modal-content .btn-primary:hover {
    background-color: #ff7c2e;
    border-color: #ff7c2e;
}

.nav-item .nav-link.active {
    background-color: #0197ED;
    border-color: #0197ED;
}
/*.nav-item .nav-link {
    background-color: #ff7c2e;
    border-color: #ff7c2e;
}*/



/*.container {
    min-width: 1800px;
    background-color: red;
}*/

/* Styles for icons */
.edit-icon {
    cursor: pointer;
}

.add-icon {
    cursor: pointer;
}

/* End styles for icons */

/* Modal error popup  */
#errorModal .modal-title, #infoModal .modal-title, #infoOkModal .modal-title {
    color: white;
}

#errorModal .modal-header, #infoModal .modal-header, #infoOkModal .modal-header {
    background-color: #0197ED;
}
/*hide the standard error output*/
.text-danger ul {
    display: none !important;
}

/* New styles to hide specific elements in manage account page */
.nav.nav-pills #email,
.nav.nav-pills #two-factor {
    display: none;
}


/* styles for note*/
.note {
    display: flex;
    align-items: center;
    background-color: #eef5ff;
    padding: 12px;
    margin: 15px 0;
    border-radius: 6px;
    font-size: 14px;
    color: #2a2a2a;
}

.note::before {
    content: "ℹ️"; 
    font-size: 18px;
    margin-right: 10px;
}

.note-content {
    flex-grow: 1;
}

/* End styles for note*/
#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
}

/*Loader*/
.loader-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Styles apply only to the Account Settings modal */
#accountSettingsModal .modal-dialog.modal-xl {
    max-width: 50%;
    height: 50vh;
}

#accountSettingsModal .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#accountSettingsModal .modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

#accountSettingsModal .section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#accountSettingsModal .section-header {
    font-weight: bold;
    padding: 10px 0;
}

#accountSettingsModal .section-body {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

#accountSettingsModal .section-footer {
    margin-top: auto;
    padding: 10px;
    text-align: left;
    border-top: 1px solid #ddd;
    background-color: #f9f9f9;
}

#accountSettingsModal .section-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#accountSettingsModal .tab-button {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background-color: #f1f1f1;
    cursor: pointer;
    flex: 1;
    text-align: center;
}

#accountSettingsModal .tab-button.active {
    background-color: #0197ED;
    color: #fff;
}

/* End Styles apply only to the Account Settings modal */


/*DataTable*/

.column-toggle-panel {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
}
#dt-search-0:focus {
    border: 1px solid white !important;
    outline-color: #0197ED;
}
/*EndDataTable*/

/*Main page Datatables*/
/* Selected row color */
table.dataTable tbody tr.selected > *,
table.dataTable tbody tr.odd.selected > *,
table.dataTable tbody tr.selected:hover > * {
    box-shadow: inset 0 0 0 9999px #c9e5fc !important;
    color: #333 !important;
    background-color: #fff !important;
}
#invoiceTable {
    margin-bottom: 1%;
}
#invoiceTable tr td {
    height: 30px;
}
#invoiceTable tfoot input {
    font-size: clamp(12.5px, 1.5vw, 13.7px);
}
#invoiceTable tfoot select {
    font-size: clamp(12.5px, 1.5vw, 13.7px);
    font-weight: bold;
}
#invoiceTable tfoot select option:checked {
    font-weight: bold;
}
.highlight-row {
    outline: 1px solid #0197ED;
    border-radius: 5px;
}

td.details-control {
    text-align: center;
    color: forestgreen !important;
    cursor: pointer;
}

td.details-control:hover {
    background-color: #0197ED !important;
}

tr.shown td.details-control {
    color: #0197ED !important;
}

.nested-table {
    border-collapse: collapse;
    width: 100%;
    outline: 2px solid #777777;
    border-radius: 5px;
}

.nested-table th, .nested-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.nested-table th {
    background-color: #f2f2f2;
}

.nested-table tbody tr:hover {
    background-color: #f2f2f2;
}

.nested-table tfoot td {
    font-weight: bold;
    text-align: right;
}
/*End Main page Datatables*/

/* Datatable product prices & allegro offers table*/
/* Table headers (including in fixedHeader) */
table.dataTable thead th,
div.dataTables_scrollHeadInner table thead th {
    font-size: clamp(9px, 1.5vw, 11.5px) !important;
    padding: 6px !important;
    box-sizing: border-box;
}

/* Table footers, if used */
table.dataTable tfoot th,
div.dataTables_scrollFootInner table tfoot th {
    font-size: clamp(9px, 1.5vw, 11.5px) !important;
    padding: 6px !important;
    box-sizing: border-box;
}

/* Filter inputs in header/footer (normal and fixedHeader clones) */
table.dataTable thead input,
table.dataTable tfoot input,
div.dataTables_scrollHeadInner input,
div.dataTables_scrollFootInner input {
    font-size: clamp(9px, 1.5vw, 11.5px) !important;
    padding: 4px !important;
    height: auto;
    box-sizing: border-box;
}

/* Placeholder text inside input fields */
table.dataTable input::placeholder {
    font-size: clamp(9px, 1.5vw, 11.5px) !important;
}

/* Custom font size for rows in allegro offers table */
#offersTable td {
    font-size: clamp(9.5px, 1.2vw, 11.5px);
}

/*End  Datatable product prices*/

/* Styles for custom tooltip */
.custom-tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.custom-tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
}

.custom-tooltip .tooltip-text.tooltip-wide {
    width: 350px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.4;
}

.custom-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
/* End Styles for  custom tooltip */

/*Indicatiors*/
.price-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
    background-color: currentColor;
}

.green-indicator {
    background-color: #00b900;
}

.orange-indicator {
    background-color: orange;
}

.action-icons {
    display: flex;
    justify-content: space-between;
}
/*End Indicators*/



