






.isiustu_vizitini_statistika{
  
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
}



.sdafojosdifhjfff {
    display: inline-block;
    position: relative;
    width: 100%;
}

.sdafojosdifhjfff select {
  width: 100%;
  padding: 10px 40px 10px 14px;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid #d0d7de;
  background-color: #fff;
  color: #111;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}



.sdafojosdifhjfff select:focus {
  outline: none;
  border-color: #000000;
}

/* ▼ rodyklė */
.sdafojosdifhjfff::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 14px;
  color: #2bc06a;
}



    .openImg_hsabdhsd{
          height: 50px;
        width: 50px;
}

.iiuiodshfudsddddfs_vizitine {
      cursor: pointer;
    bottom: 110px;
    right: 50px;
    /* z-index: 3; */


        position: fixed;
    right: 50px;
    /* z-index: 1000; */

        cursor: pointer;
    position: fixed;
    bottom: 110px;
    right: 50px;
    /* z-index: 3; */
    height: 60px;
    width: 60px;
}





.stat-icon {
  color: #2bc06a; /* keičiasi ir SVG spalva */
}


.oiasudufiouasdhifhasifuhf{
    display: flex;
    width: 100%;
    border-bottom: 1px solid #c7c7c7;
    justify-content: space-between;
    padding-bottom: 10px;
}



button {
  padding: 10px 16px;
  font-size: 16px;
  cursor: pointer;
}




/* ===============================
   🌑 BACKDROP
================================ */
#issiustosVizitinesModals {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgb(255, 255, 255);
    margin-left: 250px;
    width: calc(100% - 250px);
}

/* ATIDARYMAS */
.issiustos_vizitines_modals-content {
  animation: slideIn 0.35s ease-out forwards;
}

/* UŽDARYMAS */
.issiustos_vizitines_modals-content.closing {
  animation: slideOut 0.25s ease-in forwards;
}

@keyframes slideOut {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(20px);
    opacity: 0;
  }
}


@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}






#statsSummary{
   margin-bottom: 100px;
}

.oooousdifuyhdsfff{
  padding: 5px;
      overflow: auto;
    height: 100vh;
}
.idsafjksduhfksduhfusdhfkhsdkfhsdfffff {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    color: #fff;
    border: 1px solid #a2a2a2;
    background: #eee;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* ===== MODAL CONTENT ===== */
/* .issiustos_vizitines_modals-content {




        width: 100%;
    padding: 5px;
    border-radius: 8px;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 120px;
} */


/* ===== CLOSE BUTTON ===== */
.issiustos_vizitines_modals-close {
    display: flex;
    flex-direction: column;
    justify-content: center;

}



.stats-header {
  padding-right: 48px; /* kad tekstas nelįstų po X */
}

.stats-header h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.stats-header p {
  margin: 6px 0 0;
  font-size: 14px;
  color: #64748b;
}





.issiustos_vizitines_modals_pagrindinis{
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    height: 93%;
    background: #ffffff;
    flex-direction: column;
    display: flex;
    margin-inline: auto;
    max-width: 700px;
    width: 100%;
    justify-content: space-between;
    margin: 20px auto;
    background-color: #ffffff;
    --start: 100%;
    background-image: repeating-radial-gradient(circle at var(--start), transparent 0%, transparent 10%, rgba(229, 235, 236, 0.33) 10%, rgba(229, 235, 236, 0.33) 17%), linear-gradient(to right, #f1f5f6, #ffffff);
  }
.sdafojosdifhjfff{
  text-align: right;
}


#statsChart {
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(230, 126, 34, 0.15);
    overflow: hidden;
    align-items: center;
}






.stat-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #2563eb;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
















#openImg_vizitines{
      height: 50px;
    width: 50px;
    background: #2bc06a;
    padding: 9px;
    border-radius: 50px;
}




.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f3f4f6;
  font-size: 13px;
  font-weight: 600;
}

.category-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}





.stats-grid {
    display: grid;
  grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-items: start;
    margin-bottom: 10px;
}

.chart_vizitines_wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    margin-bottom: 10px;
}
    .chart_vizitines_wrapper {
  position: relative;
  width: 100%;
  height: 280px; /* desktop */
}




.stat-note {
  margin-top: 10px;
  font-size: 12px;
  color: #7f8c8d;
  line-height: 1.4;
  font-style: italic;
}




/* @media (max-width: 768px) {
  .chart_vizitines_wrapper {
    min-height: 220px;
  }
} */

@media (max-width: 420px) {
  .chart_vizitines_wrapper {
  height: 180px;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* paskutinė kortelė – per visą plotį */
  .stats-grid .stat-card:last-child {
    grid-column: 1 / -1;
  }
}



.sildjfisudhuuuuu{
      font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
}
.stat-card {
     border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* border: 1px solid rgb(199 199 199); */
    position: relative;
    border: 1px solid rgba(230, 126, 34, 0.15);
    overflow: hidden;
    align-items: center;
}


.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;

    
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.stat-icon {
    /* flex-shrink: 0; */
    /* border-radius: 14px; */
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    /* background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1)); */
    /* border: 2px solid rgba(102, 126, 234, 0.2); */
    /* width: 50px; */
    /* height: 50px; */
    /* padding: 5px; */
    /* --tw-bg-opacity: 1; */
    /* background-color: #915db1; */
    /* border-radius: 9999px; */
    /* --tw-border-opacity: 1; */
    width: 40px;
    height: 40px;

    
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  color: #667eea;
  filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}
.stxxxxzxcxcczcd{
  display: flex;
  align-items: center;
}
/* Pataisyti SVG spalvas pagal kortelę */
.stat-card:nth-child(1) .stat-icon svg { color: #667eea; }
.stat-card:nth-child(2) .stat-icon svg { color: #4fd1c5; }
.stat-card:nth-child(3) .stat-icon svg { color: #ed8936; }

.stat-card:nth-child(1) .stat-icon { 
    border-color: rgba(237, 137, 54, 0.2);
}
.stat-card:nth-child(2) .stat-icon { 
    border-color: rgba(237, 137, 54, 0.2);
}
.stat-card:nth-child(3) .stat-icon { 
    border-color: rgba(237, 137, 54, 0.2);

  
}


.stat-card:nth-child(3){ 
/* background: #52ba792e; */
  
}

#stat-top-cat{
    font-size: 14px;
    font-weight: 600;
    align-items: center;
    gap: 10px;

}


.stat-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    font-size: 11px;
    color: #b49800;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stats-dynamics {
      margin: 10px 0 10px;
    padding: 5px 14px;
    background: #52ba792e;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    align-items: center;
    gap: 10px;


}
.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    letter-spacing: -0.2px;
}

.stat-unit {
  font-size: 14px;
  font-weight: 500;
  color: #a0aec0;
  margin-left: 4px;
}
.iiisuidyfhiudshfff{
      display: flex;
    flex-direction: column;
    align-items: baseline;
}
/* Responsive dizainas */
@media (max-width: 768px) {

  .stat-icon {
    width: 45px;
    height: 45px;
    padding: 5px;
}

  /* .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .stat-card {
    padding: 20px;
    gap: 16px;
  }
  
  .stat-icon {
    width: 48px;
    height: 48px;
  }
  
  .stat-icon svg {
    width: 24px;
    height: 24px;
  }
   */
  /* .stat-value {
    font-size: 28px;
  } */
}

/* Animacijos */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-card {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }






/* Base styles for all devices */
.chart-wrapper {
  width: 100%;
  position: relative;
  
}

.chart-wrapper canvas {
  width: 100% !important;
margin-bottom: 20px;

  height: 400px;
}






@media (max-width: 768px) {
    .iiuiodshfudsddddfs_vizitine {
        position: fixed;
        bottom: 180px;
        right: 15px;
        z-index: 2;
        width: 50px;
        height: 50px;
    }
    .issiustos_vizitines_modals_pagrindinis{
              margin: 0px auto;
        width: 100%;
        height: 100%;
        max-width: 1100px;
        padding: 0px;
        border-radius: 0px;
    }
}



@media (max-width: 768px) {
 #issiustosVizitinesModals {
        margin-left: 0;
        padding: 0px;
        width: 100%;
    }
}

