/* == FizioTérkép – Regisztráció UI == */
:root{
  --fz-primary: #64b19a;
  --fz-primary-2: #9edbc8;
  --fz-text: #0f172a;
  --fz-muted: #4b5563;
  --fz-bg: #f9fbfd;
  --fz-accent: #e2e8f0;
  --fz-radius: 12px;
  --fz-shadow: 0 6px 18px rgba(15,23,42,0.08);
  --fz-focus: 0 0 0 3px rgba(100,177,154,0.35);
}

/* (opcionális – ha globálisan túl erős, töröld vagy scope-olj) */
body{
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--fz-text);
  margin: 0;
  padding: 0;
}

.registration-container{
  max-width: 860px;
  margin: 40px auto;
  background-color: #ffffff;
  padding: 32px 40px;
  border-radius: var(--fz-radius);
  border: 1px solid var(--fz-accent);
  box-shadow: var(--fz-shadow);
  box-sizing: border-box;
}

h1, h2{
  color: var(--fz-text);
  font-weight: 800;
  margin: 0 0 16px;
}

form label{
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--fz-text);
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="url"],
form textarea,
form select{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--fz-accent);
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 15px;
  background: #fff;
  color: var(--fz-text);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

form textarea{
  resize: vertical;
  min-height: 96px;
}

form input:focus,
form textarea:focus,
form select:focus{
  border-color: var(--fz-primary);
  outline: none;
  box-shadow: var(--fz-focus);
}

/* linkek */
form a{
  color: var(--fz-primary);
  text-decoration: underline;
}

/* file input */
input[type="file"]{ margin-top: 10px; }

/* checkboxok */
.checkbox-list{ margin-bottom: 15px; }
.checkbox-list label{
  display: inline-flex; align-items: center; gap: 8px;
  margin-right: 14px;
  font-weight: 400;
  color: var(--fz-text);
}

/* Submit gomb */
form button[type="submit"]{
  background-color: var(--fz-primary);
  color: #fff;
  border: 1px solid var(--fz-primary);
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 20px;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
form button[type="submit"]:hover{
  transform: translateY(-1px);
  box-shadow: var(--fz-shadow);
}

/* Verifikáció pipa/szöveg */
.verified-check{
  color: var(--fz-primary);
  font-size: 1rem;
  margin-left: 6px;
}

/* Progress wrapper */
.fiziomap-progress-wrapper{
  margin-bottom: 2em;
  position: relative;
}

/* Progress bar (alap vonal) */
.fiziomap-progress-bar{
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 28px;
  padding: 0 10px;
}
.fiziomap-progress-bar::before{
  content: '';
  position: absolute;
  top: 18px;
  left: 0; right: 0;
  height: 4px;
  background-color: var(--fz-accent);
  z-index: 0;
}

/* Lépések */
.fiziomap-progress-bar .progress-step{
  position: relative;
  text-align: center;
  flex: 1;
  z-index: 1;
}

/* Körök */
.fiziomap-progress-bar .circle{
  width: 36px; height: 36px; line-height: 36px;
  border-radius: 50%;
  background-color: var(--fz-accent);
  margin: 0 auto;
  color: #fff;
  font-weight: 800;
  position: relative;
  box-shadow: 0 2px 8px rgba(15,23,42,0.08);
}
/* Aktív és kész állapot */
.fiziomap-progress-bar .progress-step.active .circle{ background-color: var(--fz-primary); }
.fiziomap-progress-bar .progress-step.done .circle{ background-color: var(--fz-text); }

/* Címkék a körök alatt */
.fiziomap-progress-bar .label{
  margin-top: 8px;
  font-size: 13px;
  color: var(--fz-muted);
  font-weight: 600;
}

/* Navigációs gombsor */
.registration-buttons{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  gap: 10px;
}
.registration-buttons .button{
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Következő */
.registration-buttons .next-button{
  background-color: var(--fz-primary);
  color: #fff;
  border: 1px solid var(--fz-primary);
}
.registration-buttons .next-button:hover{
  transform: translateY(-1px);
  box-shadow: var(--fz-shadow);
}

/* Vissza */
.registration-buttons .back-button{
  background-color: #fff;
  color: var(--fz-text);
  border: 1px solid var(--fz-accent);
}
.registration-buttons .back-button:hover{
  background-color: var(--fz-bg);
}

/* Mobil finomhangolás */
@media (max-width: 600px){
  .fiziomap-progress-bar .label{ display: none; }
  .registration-container{ padding: 22px; }
}

    /* --- ÁLTALÁNOS STÍLUSOK --- */
    .registration-form-container {
        max-width: 720px;
        margin: 40px auto;
        padding: 20px;
        font-family: 'Inter', sans-serif;
    }

    #fiziomap-registration-form {
        background-color: #ffffff;
        padding: 40px;
        border-radius: 16px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    }
    
    /* Hibajelző üzenetek */
    .error {
        background-color: #fff0f0;
        border: 1px solid #ffcccc;
        color: #c53030;
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 20px;
    }
    .error ul {
        margin: 0;
        padding-left: 20px;
    }

    /* Címek a formon belül */
    #fiziomap-registration-form h2 {
        font-size: 24px;
        font-weight: 700;
        color: #1a3a3a;
        margin-top: 30px;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eef2f2;
    }
    #fiziomap-registration-form h2:first-of-type {
        margin-top: 0;
    }

    /* Form mező wrapper */
    .form-field {
        margin-bottom: 22px;
    }

    .form-field label {
        font-weight: 600;
        color: #3d5c5c;
        display: block;
        margin-bottom: 8px;
    }
    
    /* Input mezők */
    .form-field input[type="text"],
    .form-field input[type="email"],
    .form-field input[type="password"] {
        width: 100%;
        padding: 12px;
        border: 1px solid #d1d9e0;
        border-radius: 8px;
        font-size: 16px;
        font-family: 'Inter', sans-serif;
        box-sizing: border-box;
        transition: border-color 0.3s, box-shadow 0.3s;
    }

    .form-field input:focus {
        outline: none;
        border-color: #008080;
        box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.15);
    }

    /* Helper szövegek */
    .form-helper {
        font-size: 14px;
        color: #555;
        margin: 6px 0 0 0;
        line-height: 1.5;
    }

    /* Checkboxok */
    .form-field--checkbox label {
        display: flex;
        align-items: center;
        gap: 12px;
        font-weight: 500;
        color: #1a3a3a;
    }
    
    .form-field--checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: #008080;
    }
    
    .form-field--checkbox a {
        color: #008080;
        font-weight: 600;
        text-decoration: none;
    }
     .form-field--checkbox a:hover {
        text-decoration: underline;
    }
    
    /* Gombok */
    .registration-buttons {
        margin-top: 30px;
        text-align: right;
    }
    .next-button {
        padding: 12px 28px;
        border: none;
        background-color: #008080;
        color: white;
        border-radius: 8px;
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.3s, transform 0.2s;
    }
    .next-button:hover {
        background-color: #006666;
        transform: translateY(-2px);
    }

/* ============================================= */
/* ==   REGISZTRÁCIÓ - 2. LÉPÉS SPECIFIKUS    == */
/* ============================================= */

/* STEP2 – panaszok + szakterület listák */
#fiziomap-registration-form-step2 .checkbox-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;           /* ← nagyobb sor- és oszloptáv */
  align-items: start;
  margin-top: 10px;
}

#fiziomap-registration-form-step2 .checkbox-grid label{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;       /* ← belső tér */
  border: 1px solid #eef2f2;
  border-radius: 10px;
  background: #fff;
  line-height: 1.25;        /* ← ne legyen “összefolyós” szöveg */
}

#fiziomap-registration-form-step2 .checkbox-grid label:hover{
  background: #f7fcfc;
  border-color: #cce2de;
}

#fiziomap-registration-form-step2 .checkbox-grid input[type="checkbox"]{
  width: 16px;
  height: 16px;
  margin-top: 2px;          /* ← szép igazítás a szöveghez */
}

/* Mobil */
@media (max-width: 640px){
  #fiziomap-registration-form-step2 .checkbox-grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
/* --- Navigációs Gombok --- */
/* 
 * A gombokat tartalmazó konténer átalakítása,
 * hogy a "Vissza" és "Tovább" gomb a két szélre kerüljön.
 */
.registration-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Új "Vissza" gomb stílusa */
.back-button {
    background-color: transparent;
    color: #008080;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.back-button:hover {
    background-color: #e6f3f1; /* Finom háttérszín hoveren */
}


/* --- Reszponzív szabályok --- */
@media (max-width: 640px){
  .checkbox-grid{ grid-template-columns: 1fr; }
}


@media (max-width: 480px) {
    .checkbox-grid {
        grid-template-columns: 1fr; /* Kisebb mobilokon 1 oszlop */
    }
}
/* ============================================= */
/* ==   REGISZTRÁCIÓ - 3. LÉPÉS SPECIFIKUS    == */
/* ============================================= */

/* --- Egyedi Fájlfeltöltő Zóna --- */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed #d1d9e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
}
.file-upload-wrapper:hover {
    border-color: #008080;
    background-color: #f7fcfc;
}
/* A valódi input elrejtése */
.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}
.file-upload-text {
    font-weight: 600;
    color: #008080;
    pointer-events: none; /* Biztosítja, hogy a kattintás az inputra menjen */
}
.file-upload-text span {
    display: block;
    font-weight: 400;
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}
/* A kiválasztott fájl nevének megjelenítése */
#file-name {
    margin-top: 15px;
    font-weight: 500;
    color: #1a3a3a;
    font-size: 15px;
}
/* ============================================= */
/* ==   REGISZTRÁCIÓ - 4. LÉPÉS SPECIFIKUS    == */
/* ============================================= */

/* --- Rádiógomb rács a munkavégzési módhoz --- */
.radio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}
.radio-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #d1d9e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.radio-card:hover {
    background-color: #f7fcfc;
    border-color: #a6d5d3;
}
.radio-card input[type="radio"] {
    margin-right: 12px;
    accent-color: #008080;
    width: 18px;
    height: 18px;
}
.radio-card span {
    font-weight: 600;
    color: #1a3a3a;
}
input[type="radio"]:checked + span {
    color: #008080;
}

/* --- Alsó szekciók (Rendelő, Házhoz megy stb.) --- */
.sub-section {
    margin-top: 30px;
    border: 1px solid #eef2f2;
    border-radius: 12px;
    padding: 25px;
}
.sub-section > h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 20px;
}
.sub-section > .form-helper {
    margin-bottom: 25px;
}

/* --- Rendelő elem és törlés gomb --- */
.office-item {
    padding: 20px;
    border: 1px dashed #d1d9e0;
    border-radius: 8px;
    margin-bottom: 20px;
}
/* Az első rendelő törlés gombjának elrejtése */
.office-item:first-child .remove-office-btn {
    display: none;
}
.add-item-btn {
    background-color: #e6f3f1;
    color: #008080;
    font-weight: 700;
}
.add-item-btn:hover {
     background-color: #d1e7e4;
}
.remove-office-btn {
    background-color: #fff0f0;
    color: #c53030;
    margin-top: 10px;
}
.remove-office-btn:hover {
    background-color: #ffcccc;
}

/* --- Input mező melletti gomb --- */
.input-with-button {
    display: flex;
    gap: 10px;
}
.input-with-button input {
    flex-grow: 1;
}
.input-with-button .map-locate-btn {
    flex-shrink: 0;
    padding: 0 15px;
    background-color: transparent;
    color: #008080;
    border: 1px solid #008080;
}

/* Térkép stílusa */
.map-picker {
    width: 100%;
    height: 250px;
    margin: 15px 0;
    border-radius: 8px;
}

/* --- Házhoz menés - Címke lista stílusok --- */
.selected-towns-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    border: 1px solid #eef2f2;
    border-radius: 8px;
    margin-top: 10px;
    min-height: 40px;
}
.selected-town {
    background-color: #e6f3f1;
    color: #006666;
    padding: 5px 10px;
    border-radius: 6px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.remove-town {
    border: none;
    background: transparent;
    color: #008080;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

/* --- Reszponzív --- */
@media (max-width: 640px) {
    .radio-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================= */
/* ==   REGISZTRÁCIÓ - 5. LÉPÉS SPECIFIKUS    == */
/* ============================================= */

.summary-wrapper h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a3a3a;
    margin-bottom: 5px;
}
.summary-wrapper > .form-helper {
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.summary-block {
    background: #fff;
    border: 1px solid #eef2f2;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}
.summary-block h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a3a3a;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #eef2f2;
    padding-bottom: 10px;
}
.summary-block dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 10px 20px;
    margin: 0;
}
.summary-block dt {
    font-weight: 600;
    color: #3d5c5c;
}
.summary-block dd {
    margin-left: 0;
    font-weight: 500;
    color: #1a3a3a;
}

/* Fizetési információs sáv */
.payment-info {
    background-color: #e6f3f1;
    border: 1px solid #cce2de;
    border-left: 4px solid #008080;
    padding: 15px;
    border-radius: 8px;
    color: #006666;
    line-height: 1.6;
}

#fiziomap-final-form h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a3a3a;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef2f2;
}

