/* --- Gemeinsamer Toggle-Style --- */
.cb-toggle {
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Header allgemein */
.cb-toggle-header {
  cursor: pointer;
  background: #f9f9f9;
  padding: 12px 16px;
}

/* obere Zeile: Titel + Icon */
.cb-toggle-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cb-toggle-title h3,
.cb-toggle-title {
  margin: 0;
  font-size: 16px !important;
  font-family: "Lato", sans-serif !important;
  font-weight: 600;
}

.toggle-icon {
  font-size: 18px;
  font-weight: bold;
  flex-shrink: 0;
}

/* zweite Zeile: Zusatzinfos (volle Breite) */
.cb-toggle-header-extra {
  margin-top: 8px;
}

/* Inhalt */
.cb-toggle-content {
  display: none;
  padding: 12px 16px;
  border-top: 1px solid #eee;
}

/* --- Progress bar für Wochen --- */
.progress-wrapper {
  width: 100%;
}

.progress-bar {
  height: 4px !important;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 4px !important;
}

.progress-fill {
  height: 100%;
  background: #F34E3A;
  width: 0;
  transition: width 0.4s ease;
}

.progress-text {
  font-size: 12px;
  color: #666;
}

/* --- Tage-Liste --- */
.plan-days {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-day {
  border-bottom: 1px solid #eee;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.cb-toggle-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.plan-day:last-child {
  border-bottom: none;
}

.plan-day-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.plan-day-link:hover {
  background: #fafafa;
}

/* --- Checkbox für Tage --- */
.day-toggle {
  flex-shrink: 0;
  width: 18px !important;
  height: 18px !important;
  border: 2px solid #F34E3A;
  border-radius: 50%;
  cursor: pointer;
}

.day-toggle.completed {
  background: #F34E3A;
  position: relative;
}

.day-toggle.completed::after {
  content: "✓";
  color: white;
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* --- Exercise-Karten --- */
.exercise-card {
  border: 1px solid #eee;
  border-radius: 6px;
  margin-bottom: 10px;
  background: #fff;
}

.exercise-meta {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}

.exercise-thumb img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
}


.exercise-steps {
  margin-top: 15px;
}

.exercise-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.exercise-step .step-icon {
  width: 15px;
  height: 15px;
  margin-right: 10px;
  flex-shrink: 0;
  margin-top: 3px;
}

.exercise-step .step-text {
  font-size: 16px;
  line-height: 1.4;
}

.exercise-more {
  margin-top: 20px;
}





.day-footer {
    position: fixed;
    bottom: 88px;
    gap: 12px;
    background: #fff;
    padding: 15px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
    width:100%;
    left: 0;
}
.day-complete-btn {
    background: #F34E3A;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 5px;
    cursor: pointer;
}





.h2-account.fusion-responsive-typography-calculated, .h2-account {
  font-family:"Lato" !important;
  font-size: 16px !important;
}



.styled-progress-form {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.styled-progress-form .acf-repeater .acf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fafafa;
}

.styled-progress-form .acf-field {
  margin-bottom: 12px;
}

.styled-progress-form .acf-label label {
  font-weight: bold;
  color: #333;
}

.styled-progress-form input[type="submit"] {
  background: #4caf50;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
}
