.col-24 {
  min-height: 500px;
}
.col-24-1 {
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 0.5px solid #ddd;
  padding: 10px;
  margin-bottom: 15px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
html.dark-mode .col-24-1 {
  background-color: #181818;
  color: #f3f3f3;
  border: none;
}
.col-25 {
    width: 49%;
    margin-top: 25px;
    box-sizing: border-box;
}
[id] {
  scroll-margin-top: 150px;
}
table {
width: 100%;
table-layout: fixed;
border-collapse: collapse;
background-color: ;
}
td.left,
td.right {
font-size: 0.85em;
font-weight: 400;
padding: 5px 5px;
}
td.right {
text-align: right;
}
td.left {
text-align: left;
}
td.center {
text-align: center;
}
html.dark-mode td {
color: #f3f3f3;
}
tr.dark {
background-color: #d9effc;
color: #222;
}
tr.light {
background-color: #fff;
color: #222;
}
html.dark-mode tr.dark {
background-color: #121212;
}
html.dark-mode tr.light {
background-color: #181818;
}
td.underline-cell {
border-bottom: 0.5px solid #222;
}
html.dark-mode td.underline-cell {
border-bottom: 0.5px solid #f3f3f3;
}
.section-title {
display: block;
text-align: left;
font-size: 1.1em;
font-weight: 500;
margin-top: 10px;
margin-bottom: 10px;
margin-left: 10px;
color: #222;
}
.section-sub-title {
display: block;
text-align: left;
font-size: 1.1em;
font-weight: 500;
margin-top: 25px;
margin-bottom: -10px;
margin-left: 10px;
color: #222;
}
.section-chart-title {
    display: block;
    text-align: center;
    font-size: 1em;
    font-weight: 400;
    margin-top: 20px;
    margin-bottom: 0px;
}
.section-source {
font-size: 0.8em;
font-style: italic;
margin-bottom: 25px;
margin-left: 10px;
color: #555;
}
html.dark-mode .section-title,
html.dark-mode .section-sub-title,
html.dark-mode .section-source {
color: #f3f3f3;
}
.section-description {
display: block;
text-align: left;
line-height: 1.7em;
font-size: 1em;
font-weight: 400;
margin-top: 25px;
color: #222;
}
html.dark-mode .section-description {
color: #f3f3f3;
}
canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    box-sizing: border-box;
}
.date-select {
  padding: 5px 10px;
  background-color: #fff;
  color: #222;
  border-radius: 10px;
  border: 0.5px solid #ddd;
}
html.dark-mode .date-select {
  background-color: #151515;
  color: #f3f3f3;
  border: 0.5px solid #444;
}
.currentPrice {
font-size: 1.5em;
font-weight: 500;
margin-top: 15px;
}
.currentPriceDiff {
font-size: 1em;
font-weight: 400;
}
span.top-title {
font-size: 1em;
font-weight: 400;
}
button.top-title {
font-size: 1em;
font-weight: 400;
}
a.top-title {
font-size: 1em;
font-weight: 400;
}
button.chart {
  padding: 6px 8px;
  font-size: 0.9em;
  border: 0.5px solid #ddd;
  background-color: #f9f9f9;
  cursor: pointer;
  border-radius: 10px;
  margin-top: 15px;
  margin-bottom: 15px;
  transition: all 0.2s ease;
}
button.chart:hover {
  color: #f3f3f3;
  background-color: #0f70bf;
  border: 0.5px solid #0f70bf;
}
button.chart.active {
  color: #f3f3f3;
  background-color: #0f70bf;
  border: 0.5px solid #0f70bf;
}
html.dark-mode button.chart {
  color: #f3f3f3;
  background-color: #121212;
  border: 0px solid ;
}
html.dark-mode button.chart:hover {
  color: #f3f3f3;
  background-color: #0f70bf;
  border: 0px solid ;
}
html.dark-mode button.chart.active {
  color: #f3f3f3;
  background-color: #0f70bf;
  border: 0px solid ;
}
.logo-container {
display: flex;
justify-content: center;
align-items: center;
}
.company-logo {
height: 90px;
width: px;
}
.company-logo.light-mode {
display: inline;
}
.company-logo.dark-mode {
display: none;
}
.dark-mode .company-logo.light-mode {
display: none;
}
.dark-mode .company-logo.dark-mode {
display: inline;
}
.text-container {
display: block;
float: left;
justify-content: left;
align-items: left;
}

.bg-image-1 {
  background-image: url('../../picture/bg1.jpg');
}
.bg-image-2 {
  background-image: url('../../picture/bg2.jpg');
}
.bg-image-3 {
  background-image: url('../../picture/bg3.jpg');
}
.bg-image-4 {
  background-image: url('../../picture/bg4.jpg');
}
.bg-image-5 {
  background-image: url('../../picture/bg5.jpg');
}
.bg-image-6 {
  background-image: url('../../picture/bg6.jpg');
}
.bg-image-7 {
  background-image: url('../../picture/bg7.jpg');
}
.bg-image-8 {
  background-image: url('../../picture/bg8.jpg');
}
.bg-image-9 {
  background-image: url('../../picture/bg9.jpg');
}
.bg-image-10 {
  background-image: url('../../picture/bg10.jpg');
}
.bg-image-11 {
  background-image: url('../../picture/bg11.jpg');
}
.bg-image-12 {
  background-image: url('../../picture/bg12.jpg');
}
html.dark-mode .bg-image-1 {
  background-image: url('../../picture/bg1d.jpg');
}
html.dark-mode .bg-image-2 {
  background-image: url('../../picture/bg2d.jpg');
}
html.dark-mode .bg-image-3 {
  background-image: url('../../picture/bg3d.jpg');
}
html.dark-mode .bg-image-4 {
  background-image: url('../../picture/bg4d.jpg');
}
html.dark-mode .bg-image-5 {
  background-image: url('../../picture/bg5d.jpg');
}
html.dark-mode .bg-image-6 {
  background-image: url('../../picture/bg6d.jpg');
}
html.dark-mode .bg-image-7 {
  background-image: url('../../picture/bg7d.jpg');
}
html.dark-mode .bg-image-8 {
  background-image: url('../../picture/bg8d.jpg');
}
html.dark-mode .bg-image-9 {
  background-image: url('../../picture/bg9d.jpg');
}
html.dark-mode .bg-image-10 {
  background-image: url('../../picture/bg10d.jpg');
}
html.dark-mode .bg-image-11 {
  background-image: url('../../picture/bg11d.jpg');
}
html.dark-mode .bg-image-12 {
  background-image: url('../../picture/bg12d.jpg');
}



.blur-section {
  position: relative;
  margin-bottom: ;
}
.blur-overlay {
  background-size: cover;
  background-position: cente;
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 10;
  border-radius: 10px;
  min-height: 498px;
}
.blur-overlay p {
    margin-left: 40px;
    margin-right: 40px;
    text-align: center;
}
.blur-content {
  filter: blur(3px);
  pointer-events: none;
  user-select: none;
  transition: filter 0.3s ease;
}
.blur-section.unlocked .blur-content {
  filter: none;
  pointer-events: auto;
  user-select: auto;
}


html.dark-mode .blur-overlay p {
  color: #f3f3f3;
}

.blur-section.unlocked .blur-overlay {
  display: none;
}


.info-box {
    border-radius: 8px;
    border: 1px dashed #ddd;
}
.info-box:hover {
    border-radius: 8px;
    border: 1px dashed #3490dc;
}
html.dark-mode .info-box {
    border-radius: 8px;
    border: 1px dashed #333;
}
html.dark-mode .info-box:hover {
    border-radius: 8px;
    border: 1px dashed #0f70bf;
}
.info-box-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.premium-text {
  color: #0f70bf;
}
.info-box-link .info-box {
  cursor: pointer;
}

.header-bc-company {
position: relative;
overflow: hidden;
margin-bottom: 0px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border: 0.5px solid #ddd;
border-bottom: 0px;
}
html.dark-mode .header-bc-company {
    border: 0px;
}
.bc-company-wraper {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 400px;
background-size: cover;
background-position: top;
background-repeat: no-repeat;
-webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0));
-webkit-mask-size: 100% 100%; mask-size: 100% 100%; z-index: 0;
}
html.dark-mode .bc-company-wraper {
mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0));
}
.bc-company {
position: relative;
z-index: 1;
height: px;
display: flex;
flex-wrap: wrap;
align-items: flex-start;
margin-top: 10px;
margin-bottom: 10px;
}

.bc-company-text-l {
background-color: rgba(255, 255, 255, 0.94);
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
padding-left: 20px;
}
.bc-company-text-r {
background-color: rgba(255, 255, 255, 0.94);
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
padding-left: 20px;
}

html.dark-mode .bc-company-text-l {
background-color: rgba(24, 24, 24, 0.96);
}
html.dark-mode .bc-company-text-r {
background-color: rgba(24, 24, 24, 0.96);
}

@media (max-width: 768px) {
    .bc-company-text-l {
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        border-bottom-left-radius: 0px;
        
  }
    .bc-company-text-r {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        border-top-right-radius: 0px;
    }
}

.chart-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: none;
  pointer-events: none;
  /* Dodane linie */
  width: 30px;
  height: 30px;
}

.chart-loader img {
  width: 100%; /* Obrazek wypełni kontener-loader */
  height: 100%;
  opacity: 0.99;
}
.buffett-badge {
  background-color: #fff3cd;
  color: #0f70bf;
  font-size: 0.8em;
  padding: 4px 10px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 10px;
  font-weight: normal;
  letter-spacing: 0.3px;
}
html.dark-mode .buffett-badge {
  background-color: #4a3f17;
}
