/* Globalne */
@media (max-width: 768px) {
    .container-fluid {
        display: none;
    }
}

a {
  color: var(--bs-dark-border-subtle);
  text-decoration: none;
}

a:hover {
  color: #ff4a57;
}

.container-bg-round-shadow {
  background: url("../../assets/img/SVG/detail-cal-bg-top.svg") top / 210px no-repeat, url("../../assets/img/SVG/detail-cal-bg-bottom.svg") bottom / 200px no-repeat, #23263a;
  border-radius: 48px;
  box-shadow: 0px 0px 20px 8px rgba(0,0,0,0.33);
}

.dark-round-stroke {
  background: #1d2035;
  border-radius: 26px;
  border: 2px solid #2b2d41;
}

/* Calendar - Grid */

.grid-calendar {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 1rem;
  grid-template-rows: 25px;
}

.first-row-days {
  display: flex;
  justify-content: center;
  background-color: #1d2035;
  border: 1px solid #414042;
  border-radius: 20px;
}

.day-cell {
  padding: 1rem;
  background-color: #2b2d41;
  border: 1px solid #414042;
  border-radius: 20px;
}

.tech-event {
  border: 2px solid #ff4a57;
}

.bonus-event {
  border: 2px solid #d7df23;
}

.today-event {
  background: linear-gradient(-145deg, #ec6062 0%, #862f81 100%);
  border: 1px solid #ff4a57;
  color: #fff;
  animation-name: today-anim;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-out;
}

@keyframes today-anim {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
  100% {
    transform: scale(1);
  }
}

.cell-content {
  height: 100%;
  /*display: flex;*/
  flex-direction: column;
  justify-content: space-between;
}

.cell-date {
  display: flex;
  justify-content: space-between;
  color: #ff4a57;
  margin-bottom: 12px;
}

.date-today {
  color: #fff;
}

.cell-event-name {
    position: relative;
    display: inline-block;
}

.tooltip {
    visibility: hidden;
    width: 500px;  
    background-color:#23263a;
    text-align: left;
    border-radius: 24px;
    padding: 24px 0 0 24px;
    position: absolute;
    z-index: 1;
    bottom: 25%;
    left: 50%;
    /*margin-left: -60px;*/
    opacity: 0;
    border: 1px solid #3a3d58;
    box-shadow: 0px 0px 20px 8px rgba(0, 0, 0, 0.33);
    transition: 600ms;
    flex-direction: column;
    display: flex; 
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: 5px;
    border-width: 5px;
    border-style: solid;
   border-color: darkgrey transparent transparent transparent;
}

.cell-event-name:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* Lista wydarzeń */

.lista-wydarzen-heading-bg {
  background: #1d2035;
  border-radius: 48px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom: 2px solid rgb(17,19,31);
}

.lista-wydarzen-bg {
  background: #23263a;
  border-radius: 48px;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
  border-top-right-radius: 0px;
  border-top-left-radius: 0px;
}

.lista-wydarzen-lista-bg {
  background: #2b2d41;
  border: 2px solid #414042;
  border-radius: 28px;
}

.event-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
}

.event-item-md {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.event-title-container {
  padding: 8px 12px;
  margin: 8px;
  background-color: #414042;
  border-radius: 20px;
  color: #fff;
  font-weight: bold;
}

@media (min-width: 768px) {
  .event-item {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .event-item {
    justify-content: center;
  }
}

.godzina-wydarzenia {
color: rgb(255,74,87);
font-weight: 500;
text-wrap: nowrap;
}

/* Kalendarz - Kolor obwódki dla aktualnego dnia */
.current-day-event {
  border: 2px solid #0dcaf0; /* Niebieska obwódka dla aktualnego dnia */
}

/* Multi-day Events */
.multi-day-start {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-right: 2px solid #ff4a57; /* Dodanie granicy po prawej stronie */
    background-color: #2b2d41;
}

.multi-day-end {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-left: 2px solid #ff4a57; /* Dodanie granicy po lewej stronie */
    background-color: #2b2d41;
}

.multi-day-middle {
    border-left: 2px solid #ff4a57;
    border-right: 2px solid #ff4a57;
    background-color: #ffd700; /* Zmiana koloru tła dla środkowych dni */
}

.day-cell.multi-day {
    position: relative;
}

.day-cell > .cell-content {
    height: 100%;
}

.multi-day-highlight {
  background-color: #ffff99; 
  border-radius: 5px;
}
