/* =========================================================
   FixParking Prices — centered table like HostParking
   (FixParking green accent)
   ========================================================= */

.fp-prices{
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(0,0,0,.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.fp-prices__head{
  margin: -22px -18px 14px;
  padding: 16px 18px 14px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: linear-gradient(180deg, rgba(7,10,16,.08), rgba(7,10,16,0));
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}

.fp-prices__title{
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.fp-prices__sub{
  margin: 0;
  color: rgba(0,0,0,.62);
  font-weight: 700;
  font-size: 13px;
}

.fp-prices__tabs{
  display:flex;
  gap:8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 14px 0 14px;
}

.fp-prices__tab{
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .02em;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.fp-prices__tab:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

.fp-prices__tab.is-active{
  border-color: rgba(24,211,122,.55);
  box-shadow: 0 0 0 3px rgba(24,211,122,.18);
}

.fp-prices__tableWrap{
  border: 1px solid rgba(0,0,0,.06);
  margin-top: 6px;
  max-height: 420px;
  overflow: auto;
  border-radius: 16px;
  background: rgba(255,255,255,.98);
}

.fp-prices__tableWrap::-webkit-scrollbar{ width: 10px; height: 10px; }
.fp-prices__tableWrap::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.18);
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,.95);
}
.fp-prices__tableWrap::-webkit-scrollbar-track{ background: transparent; }

.fp-prices__table{
  width: min(660px, 100%);   
  margin: 0 auto;          
  border-collapse: separate;
  border-spacing: 0;
}

.fp-prices__table thead th{
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px 14px;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 14px rgba(0,0,0,.04);
  font-size: 13px;
  font-weight: 900;
  text-align: center;      
}

.fp-prices__table tbody td{
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-weight: 800;
  text-align: center;       
}

.fp-prices__table tbody tr:nth-child(even){
  background: rgba(0,0,0,.015);
}

.fp-prices__table tbody tr:hover{
  background: rgba(24,211,122,.06);
}

.fp-prices__price{
  font-weight: 900;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}

.fp-prices__loading{
  text-align:center;
  color: rgba(0,0,0,.55);
  font-weight: 800;
  padding: 16px 14px;
}

.fp-prices__note{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(24,211,122,.10);
  border: 1px solid rgba(24,211,122,.18);
  font-size: 13px;
  font-weight: 800;
  color: rgba(0,0,0,.78);
}

@media (max-width: 520px){
  .fp-prices{
    padding: 18px 14px;
    border-radius: 18px;
  }

  .fp-prices__head{
    margin: -18px -14px 12px;
    padding: 14px 14px 12px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
  }

  .fp-prices__tableWrap{
    max-height: 360px;
  }

  .fp-prices__table{
    width: 100%;
  }

  .fp-prices__table thead{
    display: none;
  }

  .fp-prices__table tbody tr{
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px 12px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    background: #fff;
  }

  .fp-prices__table tbody tr:nth-child(even){
    background: rgba(0,0,0,.01);
  }

  .fp-prices__table tbody td{
    border: 0;
    padding: 0;
    text-align: left;
  }

  .fp-prices__table tbody td:first-child{
    color: rgba(0,0,0,.72);
    font-weight: 900;
  }

  .fp-prices__table tbody td:first-child::before{
    content: "Počet dnů: ";
    font-weight: 900;
    color: rgba(0,0,0,.45);
  }

  .fp-prices__table tbody td:last-child{
    text-align: right;
  }

  .fp-prices__table tbody td:last-child::before{
    content: "Cena: ";
    font-weight: 900;
    color: rgba(0,0,0,.45);
    margin-right: 6px;
  }
}
