﻿@import url('/lib/open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --header-height: 5.5rem;
}

body {
    font-size: 0.8rem;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

a.grid-link {
    color: default;
    text-decoration: underline;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.left-nav-shadow {
    box-shadow: 5px 5px 10px #dadada;
    border-radius: 8px;
    padding: 1rem;
}
.page {
    display: flex;
    flex-direction: row;
    /*height: 100vh;*/
    height: calc(100vh - var(--header-height));
    /*position: relative;*/
}
.nav-content {
    flex: 0;
    height: calc(100vh - var(--header-height));
    background-color: rgba(240,240,240,1);
}

.body-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 16px;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}


/* Note: This selector is now more specific to avoid conflicts with modal components */
body > .footer,
.page-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

dl dt {
    min-height: 2rem;
}

table {
    width: 100%;
    border: none;
    border-collapse: collapse;
    box-sizing: border-box;
    border-spacing: 0;
    empty-cells: show;
    outline: 0;
    table-layout: fixed;
}

table td {
    overflow: hidden;
    text-overflow: ellipsis;
}

.table th, .table td {
    padding: 0.4rem;
}

.tcol-descr {
    max-width: 15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tcol-small {
    width: 7rem;
}

.tcol-med {
    width: 9rem;
}

.tcol-descr {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sel-productgroups {
    margin: 0 10px 0 10px;
    width: 10rem !important;
    text-overflow: ellipsis;
    overflow: hidden;
}

.product-image {
    max-width: 15rem;
}

#validationSummary ul li {
    font-weight: bold;
    color: #cc5555;
}

.fi-app-logo {
    width: 16em;
}



.form-control:disabled, .form-control[readonly] {
    background-color: #d0d0d0;
    opacity: 1;
}

.form-control {
    border-color: rgba(0, 0, 0, 0.28);
}

.container-fluid, .container-sm, .container-md, .container-lg, .container-xl {
    padding-left: 0;
}

/* ----------------- QuickGrid ----------------------*/
.quickgrid thead th.w1 { width: 10em; }
.quickgrid thead th.w2 { width: 20em; }
.quickgrid thead { border-bottom: solid 2px #afafaf; }
.quickgrid tbody { background-color: #f1f1f1; }

/* Subtle stripe effect */
.quickgrid tr:nth-child(even) {
    background: rgba(255,255,255,0.4);
}

/* Don't collapse rows even if they are empty */
.quickgrid tbody tr { height: 1.8rem; }

.page-size-chooser {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.page-size-chooser select {
    margin: 0 1rem;
    padding: 0.25rem 0.5rem;
}

div.blazored-toast-container {
    z-index: 100;
}

.product-list-container-scrollable {
    height: 65vh !important;
}

.trk-flex-container {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}
.trk-flex-1 {
    flex-grow: 1;
}
.trk-flex-0 {
    flex-grow: 0;
}
.trk-widget-container-vertical-align {
    min-height: 300px;
    display: flex;
    justify-content: center;
    margin-top: 200px;
    margin-left: 275px;
}
.trk-widget-vertical-align {
    min-height: 300px;
    display: flex;
    justify-content: center;
    max-width: 600px;
    width: 100%;
}
.trk-widget-large-font {
    font-size: 1.15em; /* Slightly larger than default */
}
.trk-widget-heading {
    font-size: 2em;
    font-weight: bold;
}
.trk-widget-label {
    font-size: 1em;
    font-weight: bold;
}
.trk-widget-error, .trk-widget-success {
    font-size: 1.1em;
    font-weight: initial;
}
.trk-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    font-size: 1.1em;
}
.trk-message {
    display: flex;
    align-items: flex-start;
    padding: 0.75em 1em;
    margin-top: 1em;
    border-radius: 6px;
    border-left: 6px solid;
    background: #fff;
    font-size: 1.05em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.trk-message-error {
    border-color: #dc3545;
    color: #a71d2a;
    background: linear-gradient(90deg, #fff 90%, #ffeaea 100%);
}
.trk-message-success {
    border-color: #0F6929;
    color: #0F6929;
    background: linear-gradient(90deg, #fff 90%, #eaffea 100%);
}

.trk-session-warning-bar {
    width: 100%;
    background: #444;
    color: #f8f9fa;
    font-size: 0.9rem;
    font-weight: 400;
    text-align: center;
    padding: 0.32rem 0 0.32rem 50px; /* top, right, bottom, left */
    border-top: 1px solid #d32f2f;
    box-shadow: 0 2px 8px rgba(44,62,80,0.08);
    letter-spacing: 0.01em;
    margin-bottom: 0.5rem;
    margin-left: 10px;
    align-items: center;
    gap: 1em;
    box-sizing: border-box;
    border-radius: 0 0 12px 12px;
}
    .trk-session-warning-bar .font-weight-bold {
        font-weight: 500;
    }

.trk-session-seconds {
    display: inline-block;
    background: #d32f2f;
    color: #fff;
    font-size: 0.9em;
    font-weight: 500;
    padding: 0.08em 0.7em;
    border-radius: 2em;
    margin: 0 0.15em;
    box-shadow: 0 2px 8px rgba(211,47,47,0.10);
    border: 1px solid #d32f2f;
    transition: background 0.2s, color 0.2s;
}

/* Trakkit Footer Styles */
.trakkit-footer {
    margin-top: auto;
    background-color: #fff;
    width: 100%;
}

.footer-share-section {
    background-color: #f8f9fa;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #dee2e6;
}

.footer-share-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 1.2rem;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}

.social-icon-facebook:hover {
    background: #1877f2;
    color: #fff;
}

.social-icon-twitter:hover {
    background: #1da1f2;
    color: #fff;
}

.social-icon-linkedin:hover {
    background: #0077b5;
    color: #fff;
}

.social-icon-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: #fff;
}

.social-icon-email:hover {
    background: #ea4335;
    color: #fff;
}

/* Footer Main Section */
.footer-main {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0;
}

.footer-column {
    margin-bottom: 2rem;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-contact-info p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.footer-contact-info a {
    color: #3498db;
    text-decoration: none;
}

.footer-contact-info a:hover {
    color: #5dade2;
    text-decoration: underline;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-love-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}