@import 'colors.css';

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Medium';
    src: url('./fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    src: url('/assets/fonts/fa-brands-400.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FontAwesome';
    src: url('/assets/fonts/fa-solid-900.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* Font Awesome */
.fas {
    font-family: 'FontAwesome' !important;
}

/* Global font */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

/* Koniunktura style */
.koniunktura-style {
    font-family: 'Roboto';
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dark-theme .koniunktura-style {
    background-color: #000;
    border: 1px solid #fff;
    color: #fff;
    box-shadow: none;
}

/* Motywy */
.light-theme {
    background-color: var(--lt-background-color);
    color: var(--black-color);
}

/* Majechanie na link w stopce*/
.light-theme #footer a:hover,
.dark-theme #footer a:hover,
#footer .light-theme a:hover,
#footer .dark-theme a:hover {
    color: var(--blue-light-color)
}

.light-theme .navbar,
.light-theme .panel-background {
    background: #fff;
    color: var(--black-color);
}

.dark-theme,
.dark-theme #footer a {
    background-color: var(--dt-background-color);
    color: var(--white-color);
}

.dark-theme .navbar,
.dark-theme .footer,
.dark-theme .panel-background {
    background-color: var(--black-color);
    color: var(--white-color);
}

/* Przycisk w ciemnym motywie */
.dark-theme .btn-secondary {
    background-color: transparent;
    color: #fff;
    /* poprawione z #000 na biały */
    border: 1px solid #fff;
}

/* Global focus outline - only for keyboard navigation */
*:focus-visible {
    outline: 2px solid #888 !important;
    outline-offset: 2px;
}

.dark-theme .btn-secondary:hover,
.dark-theme .btn-secondary:focus,
.dark-theme .btn-secondary:active {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid #fff;
}

.dark-theme .btn-primary {
    background-color: var(--green-color);
    color: #000;
    border: 1px solid #fff;
}

.dark-theme .btn-primary:hover,
.dark-theme .btn-primary:focus,
.dark-theme .btn-primary:active {
    background-color: var(--green-color);
    color: #000;
    border: 1px solid #fff;
}

.dark-theme .btn-primary i,
.dark-theme .btn-primary span {
    color: #000;
}

.dark-theme .btn-secondary i,
.dark-theme .btn-secondary span {
    color: #fff;
}

/* Navbar */
.navbar {
    border-bottom: 3px solid #E0E5EB;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: 2px solid var(--blue-light-color) !important;
    outline-offset: 2px;
    box-shadow: none !important;
}

/* Linki nawigacji */
.nav-link,
.nav-link:hover {
    color: var(--black-color);
    position: relative;
    text-decoration: none;
}

.nav-link.active {
    font-weight: bold;
}

/* Podkreślenie aktywnego linku */
.nav-link::after,
.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 3px;
    transition: background-color 0.3s ease;
}

.light-theme .nav-link.active::after {
    background-color: #001D77;
}

.dark-theme .nav-link.active::after {
    background-color: #fff;
}

.nav-link:hover::after {
    background-color: #ccd1e3;
}

/* Przycisk do zmiany języka i przewodnika */
.lang-switch-btn,
.guide-switch-btn {
    background-color: transparent;
    border: none;
    border-radius: 7px;
    padding: 1px 5px;
    margin: 0 10px;
    color: var(--black-color);
}

/* Linki na stronach */
.light-theme .accessibility-page a,
.methodology-page a {
    color: #001D77;
}

.dark-theme .accessibility-page a {
    color: #fff;
}

/* Accessibility link */
.accessibility-link {
    color: white;
    font-size: 14px;
}

/* Nagłówki */
.indicator-title-paragraph,
.indicator-title-paragraph-h2,
.indicator-title-name,
.indicator-title-details,
.indicator-title-region,
.indicator-title-period {
    font-family: 'Roboto';
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
    white-space: normal;
    display: block;
}

.indicator-title-paragraph {
    text-align: left;
}

.indicator-title-paragraph-h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.indicator-title-name {
    font-size: 32px;
    position: relative;
    margin-bottom: 5px;
}

.indicator-title-details {
    font-size: 24px;
}

.indicator-title-region {
    font-size: 20px;
    text-transform: uppercase;
}

.indicator-title-period {
    font-family: 'Roboto Medium';
}

/* Nagłówki na stronach accessibility i privacy */
.accessibility-h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.accessibility-h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 15px 0 8px 0;
}

/* Odpowiedniki H4, H5, H6 */
.indicator-h4 {
    font-size: 20px;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

.indicator-h5 {
    font-size: 16px;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

.indicator-h6 {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

/* Nagłówek karty na explore */
.explore-card-title {
    font-size: 16px;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

/* Kolory nagłówków zależnie od motywu */
.light-theme .indicator-title-name {
    color: #333;
}

.light-theme .indicator-title-details,
.light-theme .indicator-title-period {
    color: #000;
}

.light-theme .indicator-title-details a {
    color: var(--blue-light-color);
}

.dark-theme .indicator-title-details,
.dark-theme .indicator-title-period {
    color: #fff;
}

.dark-theme .indicator-title-details a {
    color: var(--blue-light-color-dark);
}

/* Loading containers */
.loading-container {
    height: 100%;
}

.loading-container-50 {
    height: 30%;
}

.loading-container-main-map {
    height: 90%;
}

/* Przycisk w stylu karty */
.btn-card-style {
    width: 100%;
    border: none;
    padding: 0;
    margin: 0;
    border-radius: 10px;
    text-align: left;
}

/* Select menu */
.Select-menu-outer {
    font-size: 14px;
}

/* Przyciski nawigacji */
.cmp-back-btn,
.access-back-btn {
    border-radius: 10px;
    background: var(--lt-primary-right);
    padding: 10px 15px;
    border: none;
    position: relative;
    text-align: left;
    z-index: 1001;
    margin-left: 0;
}

.cmp-back-btn {
    width: 85px;
    top: 20px;
}

.access-back-btn {
    width: 250px;
    height: 40px;
    bottom: 20px;
}

/* Tabele */
table {
    width: 100%;
    margin: 5px 0;
    font-size: 16px;
    text-align: center;
    background-color: var(--white-color);
    border: none;
    border-radius: 8px;
}

.dark-theme table {
    background-color: #1e1e1e;
    color: #f0f0f0;
    border-radius: 8px;
    border: none;
}

th {
    background-color: white;
    color: black;
    font-weight: bold;
    padding: 7px;
}

td {
    padding: 7px;
    text-align: center;
}

/* Grupy w tabeli */
.table-header-group {
    font-size: 15px;
    font-weight: bold;
    background-color: #F8F9FB;
    color: black;
}

.group-row {
    font-weight: bold;
    background-color: #f4f6f8;
    text-align: center;
    color: black;
    width: 10%;
}

.left-group-value-row,
.right-group-value-row {
    text-align: left;
    width: 45%;
}

.group-value-row {
    font-weight: bold;
    text-align: center;
    color: black;
}

/* Scroll */
html {
    scroll-behavior: smooth;
}

.scroll-offset {
    scroll-margin-top: 70px;
}

.scroll-offset:target {
    animation: flash-highlight 1s ease-out;
}

.cmp-table-header,
.cmp-table-header th {
    background-color: #ffffff;
}

/* --- CIEMNY MOTYW --- */
.dark-theme .cmp-table-header,
.dark-theme .cmp-table-header th {
    background-color: #2a2a2a !important;
}

.dark-theme table th {
    background-color: #2a2a2a;
    color: #f0f0f0;
    font-weight: bold;
    padding: 7px;
}

.dark-theme table td {
    padding: 7px;
    text-align: center;
    color: #ddd;
    background-color: transparent;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dark-theme .table-header-group {
    background-color: #2a2a2a;
    color: #f0f0f0;
}

/* Prevent user selection on map SVG container */
.js-plotly-plot .plotly .svg-container {
    user-select: none;
    -webkit-user-select: none;
}

.js-plotly-plot .plotly .main-svg {
    user-select: none;
    -webkit-user-select: none;
}

.dark-theme .group-row {
    background-color: #333;
    color: #f0f0f0;
}

.dark-theme .left-group-value-row,
.dark-theme .right-group-value-row {
    color: #ddd;
}

.dark-theme .group-value-row {
    color: #f0f0f0;
}

@keyframes flash-highlight {
    0% {
        background-color: #ccd1e3;
    }

    100% {
        background-color: transparent;
    }
}

/* Linki i hovery */
#cmp-modal-open:hover,
#btn-lng:hover,
#btn-guide:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Kolory tła */
.bg-green {
    background-color: #B5D33D;
    color: black;
}

.bg-red {
    background-color: #E1B1C1;
    color: black;
}

.bg-gray {
    background-color: #edeeef;
    color: black;
}

/* Przycisk modalny */
.cmp-modal-btn {
    color: black;
    border: none;
    background-color: transparent;
    text-align: left;
    margin-left: 20px;
}

.cmp-modal-btn:hover {
    opacity: 0.2;
    text-decoration: underline;
}

/* Plotly wykres */
.modebar-group,
.modebar {
    background-color: transparent !important;
}

/* Akordeon */
.accordion,
.accordion-item,
.accordion-button {
    border: none !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: #342e68;
    color: #fff;
    border-radius: 10px !important;
}

.accordion-button.collapsed {
    background-color: #f8f9fa;
    color: #000;
    border-radius: 10px !important;
}

.accordion-button:not(.collapsed)::after {
    filter: invert(100%) !important;
    font-size: 0.8rem;
    transform: scale(0.7) rotate(180deg);
    transition: transform 0.3s ease;
}

.accordion-button.collapsed::after {
    font-size: 0.8rem;
    transform: scale(0.7) rotate(0deg);
    transition: transform 0.3s ease;
}

.accordion-item .accordion-header {
    font-size: 26px;
    font-weight: bold;
    color: #0056b3;
    border-radius: 10px;
    background-clip: padding-box;
    padding: 3px 5px;
    border: none;
}

.accordion-item {
    margin-bottom: 5px;
}

/* Jasny motyw - domyślny */
#home-left-accordion {
    color: var(--black-color);
}

/* Ciemny motyw */
.dark-theme #home-left-accordion {
    background-color: var(--black-color);
}

/* Style dla pojedynczych itemów accordion w ciemnym motywie */
.dark-theme #home-left-accordion .accordion-item {
    border-bottom: 1px solid var(--white-color);
    background-color: var(--black-color);
}

/* Style dla nagłówków accordion */
.dark-theme #home-left-accordion .accordion-button {
    background-color: var(--black-color);
    color: var(--white-color);
    border: 1px solid var(--white-color) !important;
    border-radius: 10px;
}

/* Aktywny (otwarty) accordion button */
.dark-theme #home-left-accordion .accordion-button:not(.collapsed) {
    background-color: var(--green-color);
    color: var(--black-color);
    border-color: #FFD700;
}

/* Styl kart prywatności */
.privacy-card {
    background: var(--white-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.privacy-card .card-title,
.card-title {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.privacy-card .card-text {
    flex-grow: 1;
    font-size: 16px;
    color: #333;
}

/* Ciemny motyw - opcjonalnie */
.dark-theme .privacy-card {
    background: #1e1e1e;
    color: #eee;
    box-shadow: none;
}

.dark-theme .privacy-card .card-text {
    color: #ddd;
}

/* Jasny motyw dropdown */
.custom-dropdown {
  background-color: transparent !important;
  font-size: 13px;
  width: 100%;
  position: relative;
}

.custom-dropdown .Select-control {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  height: 42px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.2s ease-in-out !important;
  cursor: pointer !important;
  position: relative !important;
  display: block !important;
}

.custom-dropdown:hover .Select-control {
  border-color: #001d77 !important;
  box-shadow: 0 2px 8px rgba(0, 29, 119, 0.08) !important;
}

.custom-dropdown.is-focused .Select-control,
.custom-dropdown .Select-control:focus,
.custom-dropdown .Select.is-focused > .Select-control,
.custom-dropdown .Select.is-open > .Select-control {
  border-color: #001d77 !important;
  box-shadow: 0 0 0 3px rgba(0, 29, 119, 0.12) !important;
}

/* Selected Value & Placeholder - Constrained so it never overlaps the arrow on the right */
.custom-dropdown .Select-value,
.custom-dropdown .Select-placeholder {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 36px !important;
  bottom: 0 !important;
  padding-left: 14px !important;
  padding-right: 6px !important;
  line-height: 40px !important;
  height: 40px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

.custom-dropdown .Select-value-label {
  font-family: 'Roboto', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  display: block !important;
}

.custom-dropdown .Select-placeholder {
  color: #64748b !important;
}

/* Input element for searching */
.custom-dropdown .Select-input {
  height: 40px !important;
  line-height: 40px !important;
  padding-left: 14px !important;
  padding-right: 36px !important;
  margin: 0 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
}

.custom-dropdown .Select-input > input {
  font-family: 'Roboto', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  height: 40px !important;
  line-height: 40px !important;
}

/* Arrow Zone - Positioned at right edge */
.custom-dropdown .Select-arrow-zone {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: none !important;
}

.custom-dropdown .Select-arrow {
  border-color: #64748b transparent transparent !important;
  border-style: solid !important;
  border-width: 5px 4.5px 0 4.5px !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
  display: inline-block !important;
}

.custom-dropdown:hover .Select-arrow {
  border-top-color: #001d77 !important;
}

.custom-dropdown .Select.is-open .Select-arrow {
  transform: rotate(180deg) !important;
  border-top-color: #001d77 !important;
}

.custom-dropdown .Select-clear-zone {
  display: none !important;
}

/* Dropdown Popup Menu (Jasny motyw) */
.custom-dropdown .Select-menu-outer {
  border-radius: 10px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.05) !important;
  margin-top: 6px !important;
  background-color: #ffffff !important;
  overflow: hidden !important;
  z-index: 1050 !important;
}

.custom-dropdown .Select-menu {
  max-height: 240px !important;
  border-radius: 10px !important;
  padding: 4px 0 !important;
  background-color: #ffffff !important;
}

.custom-dropdown .Select-option,
.custom-dropdown .VirtualizedSelectOption {
  padding: 10px 14px !important;
  font-size: 13px !important;
  font-family: 'Roboto', sans-serif !important;
  color: #334155 !important;
  background-color: #ffffff !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
  cursor: pointer !important;
}

.custom-dropdown .Select-option.is-focused,
.custom-dropdown .VirtualizedSelectOption.is-focused,
.custom-dropdown .VirtualizedSelectOption:hover,
.custom-dropdown .VirtualizedSelectFocusedOption {
  background-color: #f1f5f9 !important;
  color: #001d77 !important;
  font-weight: 500 !important;
}

.custom-dropdown .Select-option.is-selected,
.custom-dropdown .VirtualizedSelectOption.is-selected,
.custom-dropdown .VirtualizedSelectSelectedOption {
  background-color: #eff6ff !important;
  color: #001d77 !important;
  font-weight: 600 !important;
}

/* Dropdown w ciemnym motywie */
.dark-theme .custom-dropdown,
.dark-theme .dash-dropdown {
  color: #f8fafc !important;
}

.dark-theme .custom-dropdown .Select-control,
.dark-theme .Select-control {
  background-color: #1e293b !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
  color: #f8fafc !important;
}

.dark-theme .custom-dropdown:hover .Select-control,
.dark-theme .Select-control:hover {
  border-color: var(--green-color) !important;
  box-shadow: 0 2px 6px rgba(181, 211, 61, 0.15) !important;
}

.dark-theme .custom-dropdown.is-focused .Select-control,
.dark-theme .custom-dropdown .Select-control:focus,
.dark-theme .custom-dropdown .Select.is-focused > .Select-control,
.dark-theme .custom-dropdown .Select.is-open > .Select-control,
.dark-theme .Select.is-focused > .Select-control,
.dark-theme .Select.is-open > .Select-control {
  border-color: var(--green-color) !important;
  box-shadow: 0 0 0 3px rgba(181, 211, 61, 0.2) !important;
}

.dark-theme .custom-dropdown .Select-value,
.dark-theme .custom-dropdown .Select-value-label,
.dark-theme .custom-dropdown .Select-placeholder,
.dark-theme .custom-dropdown .Select-input,
.dark-theme .custom-dropdown .Select-input > input,
.dark-theme .Select-value,
.dark-theme .Select-value-label,
.dark-theme .Select-placeholder,
.dark-theme .Select-input,
.dark-theme .Select-input > input {
  color: #f8fafc !important;
  caret-color: #f8fafc !important;
}

.dark-theme .custom-dropdown .Select-placeholder,
.dark-theme .Select-placeholder {
  color: #94a3b8 !important;
}

.dark-theme .custom-dropdown .Select-arrow,
.dark-theme .Select-arrow {
  border-top-color: #94a3b8 !important;
}

.dark-theme .custom-dropdown:hover .Select-arrow,
.dark-theme .custom-dropdown .Select.is-open .Select-arrow,
.dark-theme .Select.is-open .Select-arrow {
  border-top-color: var(--green-color) !important;
}

.dark-theme .custom-dropdown .Select-menu-outer,
.dark-theme .Select-menu-outer {
  background-color: #1e293b !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
}

.dark-theme .custom-dropdown .Select-menu,
.dark-theme .Select-menu {
  background-color: #1e293b !important;
}

.dark-theme .custom-dropdown .Select-option,
.dark-theme .custom-dropdown .VirtualizedSelectOption,
.dark-theme .custom-dropdown .Select-noresults,
.dark-theme .Select-option,
.dark-theme .VirtualizedSelectOption,
.dark-theme .Select-noresults {
  color: #e2e8f0 !important;
  background-color: #1e293b !important;
}

.dark-theme .custom-dropdown .Select-menu-outer *,
.dark-theme .Select-menu-outer * {
  color: #e2e8f0;
}

.dark-theme .custom-dropdown .Select-option.is-focused,
.dark-theme .custom-dropdown .VirtualizedSelectOption.is-focused,
.dark-theme .custom-dropdown .VirtualizedSelectOption:hover,
.dark-theme .custom-dropdown .VirtualizedSelectFocusedOption,
.dark-theme .Select-option.is-focused,
.dark-theme .Select-option:hover,
.dark-theme .VirtualizedSelectOption.is-focused,
.dark-theme .VirtualizedSelectOption:hover,
.dark-theme .VirtualizedSelectFocusedOption {
  background-color: #334155 !important;
  color: var(--green-color) !important;
  font-weight: 500 !important;
}

.dark-theme .custom-dropdown .Select-option.is-focused *,
.dark-theme .custom-dropdown .VirtualizedSelectOption.is-focused *,
.dark-theme .custom-dropdown .VirtualizedSelectOption:hover *,
.dark-theme .custom-dropdown .VirtualizedSelectFocusedOption *,
.dark-theme .Select-option.is-focused *,
.dark-theme .Select-option:hover *,
.dark-theme .VirtualizedSelectOption.is-focused *,
.dark-theme .VirtualizedSelectOption:hover *,
.dark-theme .VirtualizedSelectFocusedOption * {
  color: var(--green-color) !important;
}

.dark-theme .custom-dropdown .Select-option.is-selected,
.dark-theme .custom-dropdown .VirtualizedSelectOption.is-selected,
.dark-theme .custom-dropdown .VirtualizedSelectSelectedOption,
.dark-theme .Select-option.is-selected,
.dark-theme .VirtualizedSelectOption.is-selected,
.dark-theme .VirtualizedSelectSelectedOption {
  background-color: #0f172a !important;
  color: var(--green-color) !important;
  font-weight: 600 !important;
}

.dark-theme .custom-dropdown .Select-option.is-selected *,
.dark-theme .custom-dropdown .VirtualizedSelectOption.is-selected *,
.dark-theme .custom-dropdown .VirtualizedSelectSelectedOption *,
.dark-theme .Select-option.is-selected *,
.dark-theme .VirtualizedSelectOption.is-selected *,
.dark-theme .VirtualizedSelectSelectedOption * {
  color: var(--green-color) !important;
}

/* Margin bottom helper */
.mb-4 {
    margin-bottom: 0.8rem !important;
}

/* Carousel overrides */
#carousel-autoplay,
#carousel-autoplay .mantine-Carousel-slide {
    padding: 0 !important;
}

/* Indykatory */
.indicator-box {
    text-align: center;
    height: 100%;
    min-height: 15vh;
}

.indicator-h4 {
    font-size: 32px;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

.indicator-name {
    font-size: 12px;
    margin-bottom: 0 !important;
    font-family: 'Roboto', sans-serif;
}

.indicator-name p {
    margin: 0 !important;
}

.indicator-value {
    font-size: 32px;
    color: #001d77;
    font-family: 'Roboto Medium', sans-serif;
}

/* Małe tytuły na stronie głównej */
.home-title-small {
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: #475569;
    margin-bottom: 6px;
    display: block;
    white-space: nowrap;
    text-transform: uppercase;
}

.dark-theme .home-title-small {
    color: #94a3b8;
}

/* Linki ogólnie */
a {
    color: var(--black-color);
    text-decoration: none;
}

a:hover,
.dark-theme a:hover,
.light-theme .indicator-title-details a:hover,
.dark-theme .indicator-title-details a:hover {
    color: var(--green-color);
}

/* Linki w ciemnym motywie */
.dark-theme a {
    color: var(--blue-light-color-dark);
}

/* Przyciski podstawowe */
.btn-primary {
    background-color: #001d77;
    border: 2px solid #001d77;
    color: white;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover {
    background-color: #001a66;
    border-color: #001a66;
}

.btn-secondary {
    background-color: white;
    border: 2px solid #E2E2E2;
    color: #484550;
    transition: border-color 0.3s, color 0.3s;
}

.btn-secondary:hover {
    border-color: #001d77;
    background-color: var(--white-color);
    color: #001d77;
}

/* Hover kart */
.hover-card {
    transition: background-color 0.3s ease;
    background-color: #fff;
}

.dark-theme .hover-card {
    background-color: #121212;
    color: #fff;
}

/* Plotly cursor */
.js-plotly-plot .cursor-crosshair,
.js-plotly-plot .nsewdrag,
.js-plotly-plot .draglayer .xy {
    cursor: default !important;
}

/* Select options */
.Select-option,
.Select-single-value {
    font-weight: normal !important;
}

/* Responsywność */
@media (min-width: 768px) {
    .right-tile-scroll {
        max-height: 76vh;
        overflow-y: auto;
    }

    .nav-spacing {
        margin-right: 20px;
    }
}

@media (max-width: 767.98px) {
    .right-tile-scroll {
        max-height: none;
        overflow-y: visible;
    }

    .nav-spacing {
        margin-top: 10px;
    }
}

/* Tabela bez pionowych linii */
.no-vertical-lines {
    width: 100%;
    border-collapse: collapse;
}

.no-vertical-lines td,
.no-vertical-lines th {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}