 /* Přepínač */
.switch-buttons {
display: flex;
justify-content: center;
gap: 20px;
margin-bottom: 40px;
}

.switch-buttons button {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 12px 32px;
font-weight: 600;
font-size: 19px;
border-radius: 999px;
cursor: pointer;
transition: all 0.3s ease;
}

/* Prodávám */
#btn-prodavam {
border: 2px solid #001B5E; /* Dark Blue */
background: #fff;
color: #001B5E;
}
#btn-prodavam.active {
background: #001B5E;
color: #fff;
}

/* Nakupuji */
#btn-nakupuji {
border: 2px solid #0149FF; /* světle modrá */
background: #fff;
color: #0149FF;
}
#btn-nakupuji.active {
background: #0149FF;
color: #fff;
}

/* Panely kroků */
.process-step {
flex: 1 1 calc(25% - 30px);
background: #fff;
border-radius: 20px;
padding: 30px 20px 40px 20px;
transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
display: flex;
flex-direction: column;
border: 3px solid transparent;
min-height: 340px;
height: 320px;
}

/* Barva borderu kroků podle módu */
#how-section[data-mode="prodavam"] .process-step {
border-color: #001B5E; /* Dark Blue */
}
#how-section[data-mode="nakupuji"] .process-step {
border-color: #0149FF; /* světle modrá */
}

/* Hover efekt */
.process-step:hover {
transform: translateY(-4px);
box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* Tablet a menší */
@media (max-width: 768px) {
.switch-buttons button {
  padding: 10px 20px;
  font-size: 16px;
  min-width: 120px;
}
}

/* Malý mobil */
@media (max-width: 480px) {
.switch-buttons {
  flex-direction: column;   /* pod sebe */
  align-items: stretch;
  gap: 12px;
}
.switch-buttons button {
  width: 100%;
  min-width: unset;
  justify-content: center;
}
}


.extra-buttons {
display: flex;
justify-content: center;
flex-wrap: wrap;    /* umožní zalomení na menších displejích */
gap: 20px;
padding: 30px 0;    /* padding kolem řady tlačítek */
}

.extra-btn {
width: 120px;
height: 120px;
border-radius: 12px;
border: 2px solid #001B5E;
background: #fff;
color: #001B5E;
font-size: 22px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
}

.extra-btn:hover {
background: #001B5E;
color: #fff;
}

.extra-btn.active {
background: #0149FF;
border-color: #0149FF;
color: #fff;
}

/* Diagram */
.process-diagram {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    text-align: center;
    align-items: flex-start; /* přidáno - boxy budou mít individuální výšku */
  }

  .icon-circle {
width: 80px;
height: 80px;
margin: 0 auto 20px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 36px;
color: #fff; /* defaultně bílá ikonka */
flex-shrink: 0;
transition: background-color 0.6s ease;
}

/* Prodávám = tmavě modrá */
#how-section[data-mode="prodavam"] .icon-circle {
background-color: #001B5E; /* Dark Blue */
}

/* Nakupuji = světle modrá */
#how-section[data-mode="nakupuji"] .icon-circle {
background-color: #0149FF; /* světle modrá */
}


  .process-step h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #001B5E;
  }
  .process-step p {
    font-size: 15px;
    min-height: 60px;
    color: #333;
  }
  
  .process-step.open {
    display: block;
  }
@media (max-width: 900px) {
.process-diagram {
  flex-direction: column;
  gap: 24px;
}

}
.extra-documents {
background: #CDCFDE;   /* šedý box */
border-radius: 12px;
padding: 15px;
margin-top: 30px;
background: #CDCFDE; /* šedý box zůstává */
}

.extra-heading {
text-align: center;
font-size: 20px;
font-weight: 600;
color: #001B5E;
margin-top: 10px;
}


.extra-content {
display: flex;
flex-wrap: wrap;
gap: 40px;
margin-top: 0px;
justify-content: center;
background: transparent !important; /* žádné pozadí */
box-shadow: none !important;        /* jistota že tam není stín */
}


.document-square {
width: 150px;
height: 120px;
background: #001B5E;     /* Dark Blue */
color: #fff;
border-radius: 8px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-decoration: none;
font-size: 20px;
text-align: center;
padding: 5px;
transition: all 0.2s ease;
}

.document-square i {
font-size: 30px;
margin-bottom: 12px;
}

.document-square:hover {
background: #0149FF;   /* světle modrá na hover */
color: #fff;           /* text i ikona bílé */
}

.document-square:hover span,
.document-square:hover i {
color: #fff;
}


.detail-text {
  display: none;
  font-size: 14px;
  color: #555;
  text-align: left;
  margin-top: 12px;
  padding-left: 0;
  padding-top: 16px;
}

.process-step.open .detail-text {
  display: block;
}

.detail-text ul {
list-style: none;
padding-left: 0;
margin: 0;
}
.detail-text li {
position: relative;
padding-left: 36px;
margin-top: 10px;
}
.detail-text li::before {
content: "\f00c";
font-family: "Font Awesome 5 Free";
font-weight: 900;
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 24px;
height: 24px;
background: #e3f0ff;
color: #0149FF;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 15px;
box-sizing: border-box;
padding: 0;
}

.detail-text li {
position: relative;
padding-left: 36px; /* upraveno podle většího kolečka */
margin-bottom: 10px;
}

.detail-text ul {
counter-reset: item;
}






.process-step.open {
height: 650px;
min-height: 320px;
}

.detail-btn {
margin-top: auto;
margin-bottom: 0;
align-self: center;
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: #e3f0ff;
border-radius: 50%;
font-size: 18px;
color: #0149FF;
cursor: pointer;
transition: background 0.2s, color 0.2s;
border: none;
outline: none;
}
.detail-btn::before {
content: "\f078"; /* Font Awesome šipka dolů */
font-family: "Font Awesome 5 Free";
font-weight: 900;
font-size: 22px;
color: #0149FF;
display: block;
margin: auto;
}

.process-step.open .detail-btn::before {
content: "\f077"; /* Font Awesome šipka nahoru */
}

.documents-list {
list-style: none;
padding: 0;
margin: 0;
}

.documents-list li {
margin: 8px 0;
}

.documents-list a {
text-decoration: none;
color: #001B5E; /* Dark Blue */
font-weight: 500;
display: flex;
align-items: center;
gap: 8px;
transition: color 0.2s;
}

.documents-list a:hover {
color: #0149FF; /* světlejší modrá */
}