/* =========================================================
   myGasztro – PROFIL OLDAL – TISZTA ALAP V2
   Fájl: myg-profile-custom.css

   Cél:
   - külső fehér lepedő levétele
   - desktopon kulturált felső váltógombok
   - mobilon egymás alatti váltógombok
   - szélesebb desktop tartalom
   - profilkártya véglegesített tipó és státuszblokk
   - visszafogottabb címsorok desktopon és mobilon is

   FONTOS:
   - teljes fájlcsere
   - HTML-hez nem nyúlunk
   - a meglévő tablogika marad
   ========================================================= */


/* =========================================================
   [BLOCK A] KÜLSŐ FEHÉR LEPEDŐ LEVÉTELE
   ========================================================= */

article.entry.content-bg.single-entry:has(.myg-sub-profile),
article.entry.content-bg.single-entry:has(.myg-sub-profile) > .entry-content-wrap,
article.entry.content-bg.single-entry:has(.myg-sub-profile) .entry-content.single-content{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

article.entry.content-bg.single-entry:has(.myg-sub-profile) > .entry-content-wrap,
article.entry.content-bg.single-entry:has(.myg-sub-profile) .entry-content.single-content{
  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* =========================================================
   [BLOCK B] OLDAL ALAP WRAPPER
   ========================================================= */

.myg-sub-profile{
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 18px 22px 32px;
  box-sizing: border-box;
}

.myg-sub-profile *{
  box-sizing: border-box;
}


/* =========================================================
   [BLOCK C] TAB TARTALMAK ALAPMŰKÖDÉS
   ========================================================= */

.myg-sub-profile__tab-content{
  display: none;
}

.myg-sub-profile__tab-content--active{
  display: block;
}


/* =========================================================
   [BLOCK D] FELSŐ NAVIGÁCIÓ – DESKTOP ALAP
   ========================================================= */

.myg-sub-profile__tabs{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.myg-sub-profile__tab{
  appearance: none;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(20,34,56,0.08);
  border-radius: 16px;
  background: #ffffff;
  color: #5f6875;
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(20,34,56,0.06);
  transition: all 0.18s ease;
}

.myg-sub-profile__tab:hover{
  transform: translateY(-1px);
  border-color: rgba(255,152,39,0.35);
}

.myg-sub-profile__tab--active{
  background: #ff9827;
  color: #ffffff;
  border-color: #ff9827;
  box-shadow: 0 10px 22px rgba(255,152,39,0.20);
}


/* =========================================================
   [BLOCK E] ALAP KÁRTYA
   ========================================================= */

.myg-sub-profile__card{
  background: #ffffff;
  border: 1px solid rgba(20,34,56,0.06);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 10px 26px rgba(20,34,56,0.06);
  margin: 0 auto 22px;
  width: 100%;
  max-width: 1040px;
}


/* =========================================================
   [BLOCK F] PROFIL – FELSŐ KÁRTYA ELRENDEZÉS
   ========================================================= */

.myg-sub-profile__tab-content[data-tab-content="profile"] .myg-sub-profile__card:first-child{
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px 32px;
  align-items: start;
}

.myg-sub-profile__avatar{
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid rgba(20,34,56,0.06);
  box-shadow: 0 8px 18px rgba(20,34,56,0.06);
}

.myg-sub-profile__avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* =========================================================
   [BLOCK G] PROFIL – NÉV / EMAIL / META / STÁTUSZKÁRTYÁK
   ========================================================= */

.myg-sub-profile__info{
  min-width: 0;
}

.myg-sub-profile__name{
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 800;
  color: #243244;
  letter-spacing: -0.025em;
  word-break: break-word;
}

.myg-sub-profile__email{
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.32;
  color: #647080;
  word-break: break-word;
}

.myg-sub-profile__meta{
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid #e6e9ee;
  font-size: 15px;
  line-height: 1.35;
  color: #99a3af;
}

.myg-sub-profile__subscription{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid #e6e9ee;
}

.myg-sub-profile__tier,
.myg-sub-profile__expiry,
.myg-sub-profile__status{
  min-height: 88px;
  border-radius: 20px;
  background: #fafbfc;
  border: 1px solid rgba(20,34,56,0.05);
  padding: 12px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.myg-sub-profile__tier-label,
.myg-sub-profile__expiry-label{
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #99a3af;
}

.myg-sub-profile__tier-value{
  font-size: 16px;
  line-height: 1.15;
  font-weight: 800;
  color: #ff9827;
  word-break: break-word;
}

.myg-sub-profile__expiry-value{
  font-size: 16px;
  line-height: 1.15;
  font-weight: 800;
  color: #243244;
  word-break: break-word;
}

.myg-sub-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.myg-sub-badge--success{
  background: rgba(40,180,99,0.12);
  color: #17884d;
}


/* =========================================================
   [BLOCK H] KÖZÖS CÍMSORLOGIKA A BELSŐ KÁRTYÁKHOZ
   Cél:
   - ne üvöltsenek a desktop címsorok
   - mobilon is legyenek szolidabbak
   ========================================================= */

.myg-sub-profile__card--referral h3,
.myg-sub-shared-diaries__header h3,
.myg-sub-profile__tab-content[data-tab-content="professional"] h3{
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.14;
  font-weight: 800;
  color: #243244;
  letter-spacing: -0.02em;
}


/* =========================================================
   [BLOCK I] AJÁNLÓI KÁRTYA
   ========================================================= */

.myg-sub-profile__card--referral > p{
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.5;
  color: #6a7380;
}

.myg-sub-profile__referral-code,
.myg-sub-profile__referral-link{
  margin-bottom: 18px;
}

.myg-sub-profile__referral-code label,
.myg-sub-profile__referral-link label{
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #8d97a5;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.myg-sub-profile__copy-row{
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.myg-sub-profile__code,
.myg-sub-profile__referral-link .myg-input{
  flex: 1 1 auto;
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid #d9dee6;
  background: #ffffff;
  font-size: 16px;
  line-height: 50px;
  color: #243244;
  box-shadow: inset 0 1px 2px rgba(20,34,56,0.03);
}

.myg-sub-profile__referral-link .myg-input{
  line-height: normal;
}


/* =========================================================
   [BLOCK J] GOMBOK / COPY GOMBOK / ALSÓ AKCIÓK
   ========================================================= */

.myg-sub-copy-btn{
  appearance: none;
  border: 1px solid #ff9827;
  background: #ffffff;
  color: #ff8a2b;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.myg-sub-copy-btn:hover{
  background: #fff7ef;
}

.myg-sub-copy-btn--danger{
  border-color: rgba(220,76,76,0.28);
  color: #c94848;
}

.myg-sub-copy-btn--danger:hover{
  background: #fff3f3;
}

.myg-sub-profile__actions{
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}

.myg-btn,
.myg-btn--outline{
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 18px;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.18s ease;
}

.myg-btn--outline{
  border: 1px solid #d7dde5;
  background: #ffffff;
  color: #243244;
}

.myg-btn--outline:hover{
  background: #fafbfc;
}


/* =========================================================
   [BLOCK K] MEGOSZTOTT NAPLÓK – WRAPPER + FEJLÉC
   ========================================================= */

.myg-sub-shared-diaries{
  width: 100%;
  min-width: 0;
}

.myg-sub-shared-diaries__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.myg-sub-shared-diaries__header .myg-sub-copy-btn{
  background: #ff8a2b;
  color: #ffffff;
  border-color: #ff8a2b;
}

.myg-sub-shared-diaries__header .myg-sub-copy-btn:hover{
  background: #f58222;
}


/* =========================================================
   [BLOCK L] MEGOSZTOTT NAPLÓK – LISTA
   ========================================================= */

.myg-sub-shared-diaries__list{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.myg-sub-shared-diaries__item{
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 18px 20px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 20px;
  background: #fafbfc;
  border: 1px solid rgba(20,34,56,0.06);
  box-shadow: 0 6px 18px rgba(20,34,56,0.04);
}

.myg-sub-shared-diaries__item-info{
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.myg-sub-shared-diaries__item-dates{
  display: block;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: #243244;
  word-break: break-word;
}

.myg-sub-shared-diaries__item-created{
  display: block;
  font-size: 14px;
  line-height: 1.35;
  color: #8e98a5;
  word-break: break-word;
}

.myg-sub-shared-diaries__item-actions{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn{
  min-width: 132px;
}


/* =========================================================
   [BLOCK M] myVIP KÁRTYA + ŰRLAP ALAP
   ========================================================= */

.myg-sub-profile__tab-content[data-tab-content="professional"] .myg-sub-profile__card{
  max-width: 920px;
}

.myg-sub-profile__tab-content[data-tab-content="professional"] > .myg-sub-profile__card > p{
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.55;
  color: #5f6875;
}

.myg-sub-form{
  width: 100%;
}

.myg-sub-form__field{
  margin-bottom: 18px;
}

.myg-sub-form__field label{
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #243244;
}

.myg-sub-form textarea,
.myg-sub-form input[type="url"],
.myg-sub-form input[type="text"]{
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #d9dee6;
  background: #ffffff;
  font-size: 16px;
  line-height: 1.45;
  color: #243244;
}

.myg-sub-form textarea{
  min-height: 120px;
  resize: vertical;
}

.myg-sub-form__actions{
  margin-top: 20px;
}

.myg-sub-form__actions .myg-btn,
.myg-sub-form__actions .myg-btn--primary{
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 18px;
  background: #ff9827;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(255,152,39,0.20);
}

.myg-sub-form__actions .myg-btn:hover,
.myg-sub-form__actions .myg-btn--primary:hover{
  background: #f58222;
}


/* =========================================================
   [BLOCK N] TABLET
   ========================================================= */

@media (max-width: 980px){
  .myg-sub-profile{
    width: 100%;
    padding: 16px 16px 24px;
  }

  .myg-sub-profile__name{
    font-size: 32px;
  }

  .myg-sub-profile__subscription{
    grid-template-columns: 1fr;
  }

  .myg-sub-profile__tier,
  .myg-sub-profile__expiry,
  .myg-sub-profile__status{
    min-height: 94px;
  }

  .myg-sub-shared-diaries__item{
    grid-template-columns: 1fr;
    align-items: start;
  }

  .myg-sub-shared-diaries__item-actions{
    justify-content: flex-start;
  }
}


/* =========================================================
   [BLOCK O] MOBIL
   ========================================================= */

@media (max-width: 640px){
  .myg-sub-profile{
    padding: 14px 12px 22px;
  }

  .myg-sub-profile__tabs{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 18px;
  }

  .myg-sub-profile__tab{
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    font-size: 15px;
    text-align: center;
    justify-content: center;
  }

  .myg-sub-profile__card{
    padding: 18px;
    border-radius: 22px;
    margin-bottom: 18px;
  }

  .myg-sub-profile__tab-content[data-tab-content="profile"] .myg-sub-profile__card:first-child{
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .myg-sub-profile__avatar{
    width: 92px;
    height: 92px;
    margin: 0 auto;
  }

  .myg-sub-profile__info{
    text-align: center;
  }

  .myg-sub-profile__name{
    font-size: 28px;
    margin-bottom: 8px;
  }

  .myg-sub-profile__email{
    font-size: 17px;
    margin-bottom: 18px;
  }

  .myg-sub-profile__meta{
    padding-top: 18px;
    font-size: 15px;
  }

  .myg-sub-profile__subscription{
    gap: 12px;
    padding-top: 18px;
  }

  .myg-sub-profile__tier,
  .myg-sub-profile__expiry,
  .myg-sub-profile__status{
    min-height: 92px;
    padding: 16px 14px;
  }

  .myg-sub-profile__tier-value{
    font-size: 22px;
    color: #ff9827;
  }

  .myg-sub-profile__expiry-value{
    font-size: 19px;
  }

  .myg-sub-badge{
    min-height: 38px;
    font-size: 14px;
    padding: 0 14px;
  }

  .myg-sub-profile__card--referral h3,
  .myg-sub-shared-diaries__header h3,
  .myg-sub-profile__tab-content[data-tab-content="professional"] h3{
    font-size: 24px;
    line-height: 1.16;
    margin-bottom: 10px;
  }

  .myg-sub-profile__card--referral > p,
  .myg-sub-profile__tab-content[data-tab-content="professional"] > .myg-sub-profile__card > p{
    font-size: 15px;
    margin-bottom: 18px;
  }

  .myg-sub-profile__copy-row{
    flex-direction: column;
    align-items: stretch;
  }

  .myg-sub-profile__code,
  .myg-sub-profile__referral-link .myg-input,
  .myg-sub-copy-btn{
    width: 100%;
  }

  .myg-sub-profile__actions{
    justify-content: stretch;
  }

  .myg-sub-profile__actions .myg-btn,
  .myg-sub-profile__actions .myg-btn--outline{
    width: 100%;
  }

  .myg-sub-shared-diaries__header{
    align-items: stretch;
  }

  .myg-sub-shared-diaries__header .myg-sub-copy-btn{
    width: 100%;
  }

  .myg-sub-shared-diaries__item{
    padding: 16px;
    border-radius: 18px;
  }

  .myg-sub-shared-diaries__item-dates{
    font-size: 17px;
    line-height: 1.35;
  }

  .myg-sub-shared-diaries__item-created{
    font-size: 13px;
  }

  .myg-sub-shared-diaries__item-actions{
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  .myg-sub-shared-diaries__item-actions .myg-sub-copy-btn{
    width: 100%;
    min-width: 0;
  }

  .myg-sub-form__actions .myg-btn,
  .myg-sub-form__actions .myg-btn--primary{
    width: 100%;
  }
}


/* =========================================================
   [BLOCK P] EXTRA SZŰK MOBIL
   ========================================================= */

@media (max-width: 420px){
  .myg-sub-profile__tab{
    font-size: 14px;
    padding: 0 12px;
  }

  .myg-sub-profile__name{
    font-size: 24px;
  }

  .myg-sub-profile__email{
    font-size: 16px;
  }

  .myg-sub-shared-diaries__item-dates{
    font-size: 16px;
  }

  .myg-sub-copy-btn{
    min-height: 46px;
    border-radius: 14px;
    font-size: 14px;
    padding: 0 14px;
  }

  .myg-btn,
  .myg-btn--outline{
    min-height: 48px;
    border-radius: 16px;
    font-size: 15px;
  }
}

/* =========================================================
   [PATCH 01] PROFIL – DIAMOND SZÍN FIX
   Cél:
   - a csomag neve minden nézetben myGasztro narancs legyen
   ========================================================= */

.myg-sub-profile__tab-content[data-tab-content="profile"] .myg-sub-profile__tier-value{
  color: #ff9827 !important;
}

/* =========================================================
   [PATCH 02] PROFIL – MÁSOLÁS GOMB STABILIZÁLÁS
   Cél:
   - ne legyen puha árnyékos "puding" gomb
   - legyen tiszta fehér háttér + narancs keret
   - hovernél ne haljon el a kinézet
   - aktív/fókusz állapot legyen kulturált
   ========================================================= */

.myg-sub-copy-btn{
  background: #ffffff !important;
  color: #ff9827 !important;
  border: 1px solid #ff9827 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease !important;
}

.myg-sub-copy-btn:hover{
  background: #fff7ef !important;
  color: #ff9827 !important;
  border-color: #ff9827 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.myg-sub-copy-btn:focus,
.myg-sub-copy-btn:focus-visible{
  outline: none !important;
  background: #fff7ef !important;
  color: #ff9827 !important;
  border-color: #ff9827 !important;
  box-shadow: 0 0 0 3px rgba(255,152,39,0.14) !important;
}

.myg-sub-copy-btn:active{
  background: #ffe8cf !important;
  color: #ff9827 !important;
  border-color: #ff9827 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* =========================================================
   [PATCH 03] PROFIL – MÁSOLÁS GOMB KATTINTÁSI UGRÁS FIX
   Cél:
   - kattintáskor ne nőjön meg a gomb
   - ne tolja arrébb a mellette lévő mezőt
   ========================================================= */

.myg-sub-copy-btn{
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
}

.myg-sub-copy-btn:focus,
.myg-sub-copy-btn:focus-visible,
.myg-sub-copy-btn:active{
  transform: none !important;
}

.myg-sub-copy-btn:focus,
.myg-sub-copy-btn:focus-visible{
  box-shadow: inset 0 0 0 1px #ff9827 !important;
}

/* =========================================================
   [PATCH 04] PROFIL – MÁSOLÁS GOMB FIX SZÉLESSÉG DESKTOPON
   Cél:
   - kattintáskor ne változzon a gomb szélessége
   - ne nyomja be a mellette lévő kód/link mezőt
   - mobilon maradjon a mostani jó viselkedés
   ========================================================= */

@media (min-width: 641px){

  .myg-sub-profile__copy-row{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 124px !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  .myg-sub-profile__copy-row .myg-sub-copy-btn{
    width: 124px !important;
    min-width: 124px !important;
    max-width: 124px !important;
    flex: none !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  .myg-sub-profile__copy-row .myg-sub-copy-btn:hover,
  .myg-sub-profile__copy-row .myg-sub-copy-btn:focus,
  .myg-sub-profile__copy-row .myg-sub-copy-btn:focus-visible,
  .myg-sub-profile__copy-row .myg-sub-copy-btn:active{
    width: 124px !important;
    min-width: 124px !important;
    max-width: 124px !important;
    transform: none !important;
  }

  .myg-sub-profile__copy-row .myg-sub-profile__code,
  .myg-sub-profile__copy-row .myg-input{
    min-width: 0 !important;
    width: 100% !important;
  }
}

/* =========================================================
   [PATCH 05] PROFIL – AJÁNLÓI KÓD / LINK SOR EGYSÉGESÍTÉS
   Cél:
   - a felső és alsó mező pontosan egyforma magas legyen
   - a két Másolás gomb is teljesen egyezzen
   - karcsúbb, kecsesebb magasság desktopon és mobilon is
   ========================================================= */

.myg-sub-profile__code,
.myg-sub-profile__referral-link .myg-input,
.myg-sub-profile__copy-row .myg-sub-copy-btn{
  min-height: 48px !important;
  height: 48px !important;
  box-sizing: border-box !important;
}

.myg-sub-profile__code,
.myg-sub-profile__referral-link .myg-input{
  display: flex !important;
  align-items: center !important;
  padding: 0 16px !important;
  margin: 0 !important;
  border-radius: 16px !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

.myg-sub-profile__code{
  font-family: inherit !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.myg-sub-profile__referral-link .myg-input{
  appearance: none !important;
  -webkit-appearance: none !important;
}

.myg-sub-profile__copy-row .myg-sub-copy-btn{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 16px !important;
  line-height: 1 !important;
}

@media (max-width: 640px){
  .myg-sub-profile__code,
  .myg-sub-profile__referral-link .myg-input,
  .myg-sub-profile__copy-row .myg-sub-copy-btn{
    min-height: 46px !important;
    height: 46px !important;
  }

  .myg-sub-profile__code,
  .myg-sub-profile__referral-link .myg-input{
    padding: 0 14px !important;
  }
}

/* =========================================================
   [PATCH 06] PROFIL – KIJELENTKEZÉS GOMB FINOMÍTÁS
   Cél:
   - desktopon középre kerüljön
   - legyen határozottabb, a másolás gombok stílusához közelebb
   - mobilon maradjon teljes szélességű és középen
   ========================================================= */

.myg-sub-profile__actions{
  display: flex !important;
  justify-content: center !important;
  margin-top: 10px !important;
}

.myg-sub-profile__actions .myg-btn.myg-btn--outline{
  min-height: 48px !important;
  padding: 0 22px !important;
  border-radius: 16px !important;
  border: 1px solid #ff9827 !important;
  background: #ffffff !important;
  color: #ff9827 !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

.myg-sub-profile__actions .myg-btn.myg-btn--outline:hover{
  background: #fff7ef !important;
  color: #ff9827 !important;
  border-color: #ff9827 !important;
  box-shadow: none !important;
}

.myg-sub-profile__actions .myg-btn.myg-btn--outline:focus,
.myg-sub-profile__actions .myg-btn.myg-btn--outline:focus-visible,
.myg-sub-profile__actions .myg-btn.myg-btn--outline:active{
  background: #fff7ef !important;
  color: #ff9827 !important;
  border-color: #ff9827 !important;
  box-shadow: none !important;
  transform: none !important;
  outline: none !important;
}

@media (max-width: 640px){
  .myg-sub-profile__actions{
    justify-content: stretch !important;
  }

  .myg-sub-profile__actions .myg-btn.myg-btn--outline{
    width: 100% !important;
  }
}

/* =========================================================
   [PATCH 07] MEGOSZTOTT NAPLÓK – GOMBHIERARCHIA + DÁTUM FINOMÍTÁS
   Cél:
   - desktopon a nagy dátum legyen kisebb és szolidabb
   - a 3 gomb egységes méretű legyen
   - Megnyitás = elsődleges
   - Link másolás = másodlagos
   - Törlés = finom danger
   - mobilon is ugyanaz a gombstílus öröklődjön
   ========================================================= */


/* ---------------------------------------------------------
   1) Desktop dátum finomítás
   --------------------------------------------------------- */
@media (min-width: 641px){
  .myg-sub-shared-diaries__item-dates{
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
  }

  .myg-sub-shared-diaries__item-created{
    font-size: 13px !important;
    line-height: 1.35 !important;
    color: #98a2af !important;
  }
}


/* ---------------------------------------------------------
   2) Közös gombméret – mindenhol egységes
   --------------------------------------------------------- */
.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn{
  min-width: 150px !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 16px !important;
  border-radius: 16px !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease !important;
}


/* ---------------------------------------------------------
   3) Megnyitás – elsődleges narancs gomb
   --------------------------------------------------------- */
.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn[href]{
  background: #ff9827 !important;
  color: #ffffff !important;
  border: 1px solid #ff9827 !important;
}

.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn[href]:hover{
  background: #f58222 !important;
  color: #ffffff !important;
  border-color: #f58222 !important;
}


/* ---------------------------------------------------------
   4) Link másolás – másodlagos, fehér háttér + narancs keret
   --------------------------------------------------------- */
.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn[data-copy]{
  background: #ffffff !important;
  color: #ff9827 !important;
  border: 1px solid #ff9827 !important;
}

.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn[data-copy]:hover{
  background: #fff7ef !important;
  color: #ff9827 !important;
  border-color: #ff9827 !important;
}


/* ---------------------------------------------------------
   5) Törlés – finom danger, nem harsány
   --------------------------------------------------------- */
.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn--danger{
  background: #ffffff !important;
  color: #d35a5a !important;
  border: 1px solid rgba(211,90,90,0.45) !important;
}

.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn--danger:hover{
  background: #fff5f5 !important;
  color: #c94848 !important;
  border-color: rgba(201,72,72,0.55) !important;
}


/* ---------------------------------------------------------
   6) Focus / active – ne ugráljon
   --------------------------------------------------------- */
.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn:focus,
.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn:focus-visible,
.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn:active{
  transform: none !important;
  outline: none !important;
  box-shadow: none !important;
}


/* ---------------------------------------------------------
   7) Mobilon maradjon a mostani elrendezés, csak egységes stílus
   --------------------------------------------------------- */
@media (max-width: 640px){
  .myg-sub-shared-diaries__item-actions .myg-sub-copy-btn{
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    min-height: 46px !important;
    font-size: 15px !important;
  }
}

/* =========================================================
   [PATCH 08] KÖZPONTI NARANCS + SHARED DIARIES GOMB CLEANUP
   Cél:
   - egységes myGasztro narancs használat
   - a megosztott naplók gombjai legyenek karcsúbbak desktopon
   - a korábbi profil oldali narancsos elemek is ugyanazt a színt kapják
   ========================================================= */


/* ---------------------------------------------------------
   1) Központi myGasztro narancs – a jó, felső tabos árnyalat
   --------------------------------------------------------- */
:root{
  --myg-accent-orange: #fb9825;
  --myg-accent-orange-hover: #f08c18;
  --myg-accent-orange-soft: #fff7ee;
}


/* ---------------------------------------------------------
   2) Profil oldali narancsos elemek egységesítése
   --------------------------------------------------------- */
.myg-sub-profile__tier-value,
.myg-sub-profile__tab-content[data-tab-content="profile"] .myg-sub-profile__tier-value{
  color: var(--myg-accent-orange) !important;
}

.myg-sub-copy-btn{
  color: var(--myg-accent-orange) !important;
  border-color: var(--myg-accent-orange) !important;
}

.myg-sub-copy-btn:hover{
  background: var(--myg-accent-orange-soft) !important;
  color: var(--myg-accent-orange) !important;
  border-color: var(--myg-accent-orange) !important;
}

.myg-sub-profile__actions .myg-btn.myg-btn--outline{
  color: var(--myg-accent-orange) !important;
  border-color: var(--myg-accent-orange) !important;
}

.myg-sub-profile__actions .myg-btn.myg-btn--outline:hover,
.myg-sub-profile__actions .myg-btn.myg-btn--outline:focus,
.myg-sub-profile__actions .myg-btn.myg-btn--outline:focus-visible,
.myg-sub-profile__actions .myg-btn.myg-btn--outline:active{
  background: var(--myg-accent-orange-soft) !important;
  color: var(--myg-accent-orange) !important;
  border-color: var(--myg-accent-orange) !important;
}


/* ---------------------------------------------------------
   3) Megosztott naplók – "Új napló megosztása" gomb
   --------------------------------------------------------- */
.myg-sub-shared-diaries__header .myg-sub-copy-btn{
  background: #ffffff !important;
  color: var(--myg-accent-orange) !important;
  border: 1px solid var(--myg-accent-orange) !important;
  box-shadow: none !important;
}

.myg-sub-shared-diaries__header .myg-sub-copy-btn:hover{
  background: var(--myg-accent-orange-soft) !important;
  color: var(--myg-accent-orange) !important;
  border-color: var(--myg-accent-orange) !important;
}


/* ---------------------------------------------------------
   4) Megosztott naplók – gombok egységes alap
   --------------------------------------------------------- */
.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn{
  min-width: 138px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  border-radius: 14px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease !important;
}


/* ---------------------------------------------------------
   5) Megnyitás – elsődleges
   --------------------------------------------------------- */
.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn[href]{
  background: var(--myg-accent-orange) !important;
  color: #ffffff !important;
  border: 1px solid var(--myg-accent-orange) !important;
}

.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn[href]:hover{
  background: var(--myg-accent-orange-hover) !important;
  color: #ffffff !important;
  border-color: var(--myg-accent-orange-hover) !important;
}


/* ---------------------------------------------------------
   6) Link másolás – másodlagos
   --------------------------------------------------------- */
.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn[data-copy]{
  background: #ffffff !important;
  color: var(--myg-accent-orange) !important;
  border: 1px solid var(--myg-accent-orange) !important;
}

.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn[data-copy]:hover{
  background: var(--myg-accent-orange-soft) !important;
  color: var(--myg-accent-orange) !important;
  border-color: var(--myg-accent-orange) !important;
}


/* ---------------------------------------------------------
   7) Törlés – finom danger
   --------------------------------------------------------- */
.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn--danger{
  background: #ffffff !important;
  color: #d35a5a !important;
  border: 1px solid rgba(211,90,90,0.38) !important;
}

.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn--danger:hover{
  background: #fff5f5 !important;
  color: #c94848 !important;
  border-color: rgba(201,72,72,0.5) !important;
}


/* ---------------------------------------------------------
   8) Focus / active – ne ugráljon
   --------------------------------------------------------- */
.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn:focus,
.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn:focus-visible,
.myg-sub-shared-diaries__item-actions .myg-sub-copy-btn:active,
.myg-sub-shared-diaries__header .myg-sub-copy-btn:focus,
.myg-sub-shared-diaries__header .myg-sub-copy-btn:focus-visible,
.myg-sub-shared-diaries__header .myg-sub-copy-btn:active{
  transform: none !important;
  outline: none !important;
  box-shadow: none !important;
}


/* ---------------------------------------------------------
   9) Desktop dátum finomítás
   --------------------------------------------------------- */
@media (min-width: 641px){
  .myg-sub-shared-diaries__item-dates{
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
  }

  .myg-sub-shared-diaries__item-created{
    font-size: 13px !important;
    line-height: 1.35 !important;
    color: #98a2af !important;
  }
}


/* ---------------------------------------------------------
   10) Mobil – maradjon a mostani elrendezés, egységes színnel
   --------------------------------------------------------- */
@media (max-width: 640px){
  .myg-sub-shared-diaries__item-actions .myg-sub-copy-btn,
  .myg-sub-shared-diaries__header .myg-sub-copy-btn{
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    min-height: 46px !important;
    font-size: 15px !important;
    border-radius: 14px !important;
  }
}

/* =========================================================
   [PATCH 09] MYVIP – CSAK A JELENTKEZÉSI ŰRLAP ÁLLAPOTÁBAN
   Cél:
   - a vizuális szövegcsere csak akkor fusson,
     amikor tényleg a jelentkezési űrlap látszik
   - a jóváhagyott / aktív státusz nézetet ne zavarja meg
   ========================================================= */


/* ---------------------------------------------------------
   1) FELSŐ BEVEZETŐ SZÖVEG – csak akkor, ha van űrlap
   --------------------------------------------------------- */
.myg-sub-profile__tab-content[data-tab-content="professional"] > .myg-sub-profile__card:has(.myg-sub-form) > p{
  position: relative !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  margin: 0 0 22px !important;
}

.myg-sub-profile__tab-content[data-tab-content="professional"] > .myg-sub-profile__card:has(.myg-sub-form) > p::before{
  content: "Szakember vagy?\A\A A myVIP egy kifejezetten edzőknek, dietetikusoknak és életmód-szakembereknek szóló, ingyenes és kötetlen szakmai státusz.\A\A Jóváhagyás után a myGasztro teljes rendszerét használhatod saját célra, és legfeljebb 3 aktív étrendet is létrehozhatsz benne, amelyeket megoszthatsz a klienseiddel.";
  white-space: pre-line !important;
  display: block !important;
  color: #5f6875 !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
}


/* ---------------------------------------------------------
   2) CHECKBOX SZÖVEG – csak az űrlap checkboxánál
   --------------------------------------------------------- */
.myg-sub-profile__tab-content[data-tab-content="professional"] .myg-sub-form .myg-sub-form__field label[style*="display:flex"] span{
  position: relative !important;
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.myg-sub-profile__tab-content[data-tab-content="professional"] .myg-sub-form .myg-sub-form__field label[style*="display:flex"] span::before{
  content: "Megértettem, hogy a myVIP szakmai státusz admin jóváhagyáshoz kötött, a myGasztro teljes rendszerének használatát teszi lehetővé, és legfeljebb 3 aktív étrend létrehozását biztosítja.";
  display: block !important;
  color: #243244 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  font-weight: 600 !important;
}


/* ---------------------------------------------------------
   3) CHECKBOX ELRENDEZÉS
   --------------------------------------------------------- */
.myg-sub-profile__tab-content[data-tab-content="professional"] .myg-sub-form .myg-sub-form__field label[style*="display:flex"]{
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

.myg-sub-profile__tab-content[data-tab-content="professional"] .myg-sub-form .myg-sub-form__field label[style*="display:flex"] input[type="checkbox"]{
  flex: 0 0 auto !important;
  width: 18px !important;
  height: 18px !important;
  margin: 3px 0 0 !important;
}


/* ---------------------------------------------------------
   4) JELENTKEZÉS GOMB KÖZÉPRE DESKTOPON
   --------------------------------------------------------- */
.myg-sub-profile__tab-content[data-tab-content="professional"] .myg-sub-form .myg-sub-form__actions{
  display: flex !important;
  justify-content: center !important;
}

.myg-sub-profile__tab-content[data-tab-content="professional"] .myg-sub-form .myg-sub-form__actions .myg-btn,
.myg-sub-profile__tab-content[data-tab-content="professional"] .myg-sub-form .myg-sub-form__actions .myg-btn--primary{
  min-width: 280px !important;
}


/* ---------------------------------------------------------
   5) MOBIL FINOMÍTÁS
   --------------------------------------------------------- */
@media (max-width: 640px){
  .myg-sub-profile__tab-content[data-tab-content="professional"] > .myg-sub-profile__card:has(.myg-sub-form) > p::before{
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .myg-sub-profile__tab-content[data-tab-content="professional"] .myg-sub-form .myg-sub-form__field label[style*="display:flex"] span::before{
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .myg-sub-profile__tab-content[data-tab-content="professional"] .myg-sub-form .myg-sub-form__actions{
    justify-content: stretch !important;
  }

  .myg-sub-profile__tab-content[data-tab-content="professional"] .myg-sub-form .myg-sub-form__actions .myg-btn,
  .myg-sub-profile__tab-content[data-tab-content="professional"] .myg-sub-form .myg-sub-form__actions .myg-btn--primary{
    min-width: 0 !important;
    width: 100% !important;
  }
}

/* =========================================================
   [PATCH 11] PROFIL OLDAL – KADENCE HERO KIKAPCSOLÁSA
   Cél:
   - a Profil oldal ugyanúgy induljon, mint a GasztroTár
   - a felső külön Kadence címsorsáv eltűnjön
   - megszűnjön a hatalmas üres hely
   ========================================================= */

body.page-id-1875 .entry-hero.page-hero-section{
  display: none !important;
}

body.page-id-1875 #primary{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page-id-1875 .content-container.site-container,
body.page-id-1875 #main.site-main,
body.page-id-1875 .content-wrap,
body.page-id-1875 .entry-content-wrap,
body.page-id-1875 .entry-content.single-content{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page-id-1875 .mygasztro-section-title.sloganFade{
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

/* =========================================================
   [PATCH 12] PROFIL OLDAL – BEKÚSZÓ CÍMSOR PICIT LEJJEBB
   Cél:
   - a hero marad kikapcsolva
   - a bekúszó címsor ne legyen túl közel a felső menühöz
   - a GasztroTár ritmusához közelítsen
   ========================================================= */

body.page-id-1875 .mygasztro-section-title.sloganFade{
  margin-top: 26px !important;
  margin-bottom: 22px !important;
}

@media (max-width: 640px){
  body.page-id-1875 .mygasztro-section-title.sloganFade{
    margin-top: 22px !important;
    margin-bottom: 18px !important;
  }
}

/* =========================================================
   [BLOCK Q ELEJE] PROFIL / REGISZTRÁCIÓ – ZÁRT TESZT KAPU
   Cél:
   - a /regisztracio/ jelszóvédett oldalt myGasztro kapuvá alakítjuk
   - helyes sorrend: üdvözlés → tájékoztató → jelszómező
   - a zárt tesztelés címsor nem üvölt, egy sorban marad desktopon
   - HTML-hez nem nyúlunk
   ========================================================= */


/* ---------------------------------------------------------
   Q/1 – Regisztrációs oldal külső lepedő / wrapper finomítás
   --------------------------------------------------------- */

body.page-id-1873 .entry-hero.page-hero-section{
  display: none !important;
}

body.page-id-1873 #primary,
body.page-id-1873 .content-container.site-container,
body.page-id-1873 #main.site-main,
body.page-id-1873 .content-wrap,
body.page-id-1873 article.entry,
body.page-id-1873 .entry-content-wrap,
body.page-id-1873 .entry-content.single-content{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page-id-1873 .entry-content-wrap{
  padding-left: 16px !important;
  padding-right: 16px !important;
}


/* ---------------------------------------------------------
   Q/2 – Jelszóvédett regisztrációs kapu kártya
   --------------------------------------------------------- */

body.page-id-1873 .post-password-form{
  width: min(100%, 680px) !important; /* ITT állítod a kártya szélességét. */
  margin: 82px auto 70px !important;  /* ITT állítod a felső/alsó távolságot. */
  padding: 38px 38px 34px !important;

  background: rgba(255,255,255,0.96) !important;
  border: 1px solid rgba(20,34,56,0.07) !important;
  border-radius: 26px !important;
  box-shadow: 0 16px 42px rgba(20,34,56,0.08) !important;

  text-align: center !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}


/* ---------------------------------------------------------
   Q/3 – Felső üdvözlés + tájékoztató szöveg
   FONTOS:
   - ::before = üdvözlés + zárt tesztelés címsor
   - ::after = magyarázó szöveg
   - orderrel kényszerítjük, hogy ezek a jelszómező ELŐTT legyenek
   --------------------------------------------------------- */

body.page-id-1873 .post-password-form::before{
  content: "Üdvözlünk!\A A myGasztro oldala jelenleg zárt tesztelés alatt áll.";
  white-space: pre-line !important;

  order: 1 !important;
  display: block !important;
  width: 100% !important;

  margin: 0 0 18px !important;

  color: #243244 !important;
  font-size: 30px !important; /* ITT állítod az „Üdvözlünk!” méretét. */
  line-height: 1.3 !important;
  font-weight: 850 !important;
  letter-spacing: -0.025em !important;
}

/* A második sor visszafogása trükk nélkül nem célzottan lehetséges,
   ezért az egész blokk méretét kordában tartjuk, és desktopon egy sorban marad. */
body.page-id-1873 .post-password-form::after{
  content: "Most még csak meghívott tesztelők tudnak regisztrálni, hogy a rendszert nyugodtan, alaposan végig tudjuk próbálni.\A\A Addig is nézz körül a GasztroTárban – hamarosan szélesebb körben is indulunk.";
  white-space: pre-line !important;

  order: 2 !important;
  display: block !important;

  max-width: 560px !important;
  margin: 4px auto 32px !important; /* ITT állítod a magyarázó szöveg és a jelszómező közti levegőt. */

  color: #65707f !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
}


/* ---------------------------------------------------------
   Q/4 – WordPress alap szöveg elrejtése / jelszóblokk sorrend
   --------------------------------------------------------- */

/* Üres első p eltüntetése */
body.page-id-1873 .post-password-form > p:first-of-type:empty{
  display: none !important;
}

/* Eredeti WP szöveg elrejtése */
body.page-id-1873 .post-password-form > p:nth-of-type(2){
  display: none !important;
}

/* A jelszó sor a tájékoztató szöveg UTÁN jön */
body.page-id-1873 .post-password-form > p:last-of-type{
  order: 3 !important;

  width: 100% !important;
  max-width: 520px !important;
  margin: 0 auto !important;
  padding: 0 !important;

  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 14px !important;
  align-items: end !important;
  text-align: left !important;
}


/* ---------------------------------------------------------
   Q/5 – Jelszó label és mező
   --------------------------------------------------------- */

body.page-id-1873 .post-password-form label{
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;

  margin: 0 !important;

  color: transparent !important; /* Az eredeti "Jelszó:" szöveget elrejtjük. */
  font-size: 0 !important;
  line-height: 0 !important;
}

body.page-id-1873 .post-password-form label::before{
  content: "Meghívott tesztelő vagy? Add meg a kapott jelszót.";
  display: block !important;

  color: #243244 !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 800 !important;
  text-align: left !important;
}

body.page-id-1873 .post-password-form input[type="password"]{
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;

  margin: 0 !important;
  padding: 0 15px !important;

  border: 1px solid #d9dee6 !important;
  border-radius: 15px !important;
  background: #ffffff !important;

  color: #243244 !important;
  font-size: 17px !important;
  line-height: 48px !important;

  box-shadow: inset 0 1px 2px rgba(20,34,56,0.03) !important;
  outline: none !important;
  box-sizing: border-box !important;
}

body.page-id-1873 .post-password-form input[type="password"]:focus{
  border-color: rgba(251,152,37,0.65) !important;
  box-shadow: 0 0 0 3px rgba(251,152,37,0.12) !important;
}


/* ---------------------------------------------------------
   Q/6 – Küldés gomb
   --------------------------------------------------------- */

body.page-id-1873 .post-password-form input[type="submit"]{
  appearance: none !important;
  -webkit-appearance: none !important;

  height: 48px !important;
  min-height: 48px !important;

  margin: 0 !important;
  padding: 0 24px !important;

  border: 0 !important;
  border-radius: 15px !important;
  background: var(--myg-accent-orange, #fb9825) !important;
  color: #ffffff !important;

  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 850 !important;

  cursor: pointer !important;
  box-shadow: 0 10px 22px rgba(251,152,37,0.20) !important;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
}

body.page-id-1873 .post-password-form input[type="submit"]:hover{
  background: var(--myg-accent-orange-hover, #f08c18) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 26px rgba(251,152,37,0.24) !important;
}

body.page-id-1873 .post-password-form input[type="submit"]:active,
body.page-id-1873 .post-password-form input[type="submit"]:focus,
body.page-id-1873 .post-password-form input[type="submit"]:focus-visible{
  outline: none !important;
  transform: none !important;
}


/* ---------------------------------------------------------
   Q/7 – Desktop finomhangolás: zárt tesztelés szöveg halkítása
   Megjegyzés:
   CSS pseudo-elemen belül külön sor külön stílusozása nem tiszta,
   ezért itt a teljes felső blokkot visszafogottabbra vesszük.
   --------------------------------------------------------- */

@media (min-width: 641px){
  body.page-id-1873 .post-password-form::before{
    font-size: 28px !important;
    line-height: 1.32 !important;
  }
}


/* ---------------------------------------------------------
   Q/8 – Mobil finomhangolás
   --------------------------------------------------------- */

@media (max-width: 640px){

  body.page-id-1873 .entry-content-wrap{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.page-id-1873 .post-password-form{
    width: 100% !important;
    margin: 42px auto 44px !important;
    padding: 28px 18px 24px !important;
    border-radius: 22px !important;
  }

  body.page-id-1873 .post-password-form::before{
    font-size: 23px !important;
    line-height: 1.26 !important;
    margin-bottom: 16px !important;
  }

  body.page-id-1873 .post-password-form::after{
    font-size: 15px !important;
    line-height: 1.52 !important;
    margin-bottom: 28px !important;
  }

  body.page-id-1873 .post-password-form > p:last-of-type{
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    text-align: center !important;
  }

  body.page-id-1873 .post-password-form label{
    text-align: center !important;
  }

  body.page-id-1873 .post-password-form label::before{
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }

  body.page-id-1873 .post-password-form input[type="password"],
  body.page-id-1873 .post-password-form input[type="submit"]{
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 14px !important;
  }
}


/* =========================================================
   [BLOCK Q VÉGE] PROFIL / REGISZTRÁCIÓ – ZÁRT TESZT KAPU
   ========================================================= */

/* =========================================================
   [BLOCK R ELEJE] PROFIL – KILÉPETT ÁLLAPOT / BELÉPÉSI KAPU
   Cél:
   - a /profil/ oldal kilépett állapotát myGasztro kapuvá alakítjuk
   - a bekúszó címsort NEM piszkáljuk
   - a külső nagy fehér lepedőt eltávolítjuk
   - a meglévő belépési link marad, csak szebb megjelenést kap
   - HTML-hez nem nyúlunk
   ========================================================= */


/* ---------------------------------------------------------
   R/1 – Külső nagy fehér lepedő levétele kilépett profilnál
   --------------------------------------------------------- */

body.page-id-1875 article.entry.content-bg.single-entry:has(.myg-sub-form-container),
body.page-id-1875 article.entry.content-bg.single-entry:has(.myg-sub-form-container) > .entry-content-wrap,
body.page-id-1875 article.entry.content-bg.single-entry:has(.myg-sub-form-container) .entry-content.single-content{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

body.page-id-1875 article.entry.content-bg.single-entry:has(.myg-sub-form-container) > .entry-content-wrap,
body.page-id-1875 article.entry.content-bg.single-entry:has(.myg-sub-form-container) .entry-content.single-content{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.page-id-1875 .content-container.site-container,
body.page-id-1875 #main.site-main,
body.page-id-1875 .content-wrap{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}


/* ---------------------------------------------------------
   R/2 – Külső wrapper rendezése
   --------------------------------------------------------- */

body.page-id-1875 .myg-sub-form-container{
  width: min(100%, 620px) !important; /* ITT állítod a belépési kártya szélességét. */
  margin: 0 auto 54px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}


/* ---------------------------------------------------------
   R/3 – Belépési kártya alap
   --------------------------------------------------------- */

body.page-id-1875 .myg-sub-form-card{
  width: 100% !important;
  margin: 0 auto !important;
  padding: 34px 34px 32px !important;

  background: rgba(255,255,255,0.96) !important;
  border: 1px solid rgba(20,34,56,0.07) !important;
  border-radius: 26px !important;
  box-shadow: 0 16px 42px rgba(20,34,56,0.08) !important;

  text-align: center !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}


/* ---------------------------------------------------------
   R/4 – Saját cím és magyarázó szöveg
   Sorrend:
   1. cím
   2. magyarázó szöveg
   3. bejelentkezés gomb
   --------------------------------------------------------- */

body.page-id-1875 .myg-sub-form-card::before{
  content: "Belépés a mySpace felületre";
  order: 1 !important;

  display: block !important;
  margin: 0 0 18px !important;

  color: #243244 !important;
  font-size: 26px !important; /* ITT állítod a cím méretét. */
  line-height: 1.18 !important;
  font-weight: 850 !important;
  letter-spacing: -0.025em !important;
}

body.page-id-1875 .myg-sub-form-card::after{
  content: "Itt éred el a saját profilodat, jogosultságaidat, megosztásaidat és személyes beállításaidat.";
  order: 2 !important;

  display: block !important;
  max-width: 480px !important;
  margin: 0 auto 28px !important; /* ITT állítod a szöveg és a gomb közti levegőt. */

  color: #65707f !important;
  font-size: 16px !important;
  line-height: 1.58 !important;
  font-weight: 500 !important;
}


/* ---------------------------------------------------------
   R/5 – Eredeti belépési szöveg átalakítása gombbá
   --------------------------------------------------------- */

body.page-id-1875 .myg-sub-form-card p{
  order: 3 !important;

  margin: 0 !important;
  padding: 0 !important;

  color: transparent !important; /* Az eredeti mondatot elrejtjük, de a link megmarad. */
  font-size: 0 !important;
  line-height: 0 !important;

  display: flex !important;
  justify-content: center !important;
}

body.page-id-1875 .myg-sub-form-card p a{
  appearance: none !important;
  -webkit-appearance: none !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-width: 210px !important;
  min-height: 50px !important;
  padding: 0 28px !important;

  border-radius: 16px !important;
  border: 1px solid var(--myg-accent-orange, #fb9825) !important;
  background: var(--myg-accent-orange, #fb9825) !important;
  color: #ffffff !important;

  font-size: 0 !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  text-decoration: none !important;

  box-shadow: 0 10px 22px rgba(251,152,37,0.20) !important;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
}

body.page-id-1875 .myg-sub-form-card p a::before{
  content: "Bejelentkezés";
  font-size: 15px !important;
  line-height: 1 !important;
}

body.page-id-1875 .myg-sub-form-card p a:hover{
  background: var(--myg-accent-orange-hover, #f08c18) !important;
  border-color: var(--myg-accent-orange-hover, #f08c18) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 26px rgba(251,152,37,0.24) !important;
}

body.page-id-1875 .myg-sub-form-card p a:focus,
body.page-id-1875 .myg-sub-form-card p a:focus-visible,
body.page-id-1875 .myg-sub-form-card p a:active{
  outline: none !important;
  transform: none !important;
}


/* ---------------------------------------------------------
   R/6 – Mobil finomhangolás
   --------------------------------------------------------- */

@media (max-width: 640px){

  body.page-id-1875 .myg-sub-form-container{
    width: 100% !important;
    padding: 0 14px !important;
    margin-bottom: 42px !important;
  }

  body.page-id-1875 .myg-sub-form-card{
    padding: 28px 18px 26px !important;
    border-radius: 22px !important;
  }

  body.page-id-1875 .myg-sub-form-card::before{
    font-size: 23px !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
  }

  body.page-id-1875 .myg-sub-form-card::after{
    font-size: 15px !important;
    line-height: 1.52 !important;
    margin-bottom: 24px !important;
  }

  body.page-id-1875 .myg-sub-form-card p a{
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    border-radius: 14px !important;
  }
}


/* =========================================================
   [BLOCK R VÉGE] PROFIL – KILÉPETT ÁLLAPOT / BELÉPÉSI KAPU
   ========================================================= */

/* =========================================================
   MYGASZTRO – BEJELENTKEZÉS OLDAL
   /bejelentkezes/ – login form dizájn + nagy fehér lepedő eltávolítása
   ========================================================= */

/* Csak arra az oldalra hat, ahol ténylegesen a myGasztro login form van */
body:has(#myg-login-form) .content-wrap,
body:has(#myg-login-form) .site-container,
body:has(#myg-login-form) .entry,
body:has(#myg-login-form) .entry-content-wrap,
body:has(#myg-login-form) .entry-content,
body:has(#myg-login-form) .single-content {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Kadence / tartalom fehér lepedő kiiktatása */
body:has(#myg-login-form) .entry {
    max-width: none !important;
}

body:has(#myg-login-form) .entry-content-wrap {
    padding: 0 !important;
    margin: 0 !important;
}

/* Login oldal külső elrendezése */
body:has(#myg-login-form) .myg-sub-form-container {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 520px !important;
    padding: 70px 20px 90px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Bejelentkezési kártya */
body:has(#myg-login-form) .myg-sub-form-card {
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    padding: 42px 42px 34px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(221, 221, 221, 0.85) !important;
    border-radius: 22px !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.10) !important;
    text-align: left !important;
}

/* Fejléc */
body:has(#myg-login-form) .myg-sub-form-card__header {
    text-align: center !important;
    margin-bottom: 28px !important;
}

body:has(#myg-login-form) .myg-sub-form-card__header h2 {
    margin: 0 0 8px !important;
    color: #263244 !important;
    font-size: 30px !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
}

body:has(#myg-login-form) .myg-sub-form-card__header p {
    margin: 0 !important;
    color: #6f7b8c !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

/* Form */
body:has(#myg-login-form) .myg-sub-form {
    width: 100% !important;
}

body:has(#myg-login-form) .myg-sub-form__group {
    margin-bottom: 20px !important;
}

body:has(#myg-login-form) .myg-sub-form__group label {
    display: block !important;
    margin-bottom: 8px !important;
    color: #263244 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

/* Input mezők */
body:has(#myg-login-form) .myg-input,
body:has(#myg-login-form) input[type="text"],
body:has(#myg-login-form) input[type="password"] {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    background: #f8fafc !important;
    border: 1px solid #dfe5ec !important;
    border-radius: 12px !important;
    color: #263244 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

body:has(#myg-login-form) .myg-input:focus,
body:has(#myg-login-form) input[type="text"]:focus,
body:has(#myg-login-form) input[type="password"]:focus {
    background: #ffffff !important;
    border-color: #ef7d22 !important;
    box-shadow: 0 0 0 4px rgba(239, 125, 34, 0.12) !important;
}

/* Jelszó mező + szem ikon */
body:has(#myg-login-form) .myg-sub-form__password-wrapper {
    position: relative !important;
    width: 100% !important;
    display: block !important;
}

body:has(#myg-login-form) .myg-sub-form__password-wrapper input[type="password"],
body:has(#myg-login-form) .myg-sub-form__password-wrapper input[type="text"] {
    padding-right: 56px !important;
}

body:has(#myg-login-form) .myg-sub-form__toggle-password {
    position: absolute !important;
    top: 50% !important;
    right: 8px !important;
    width: 40px !important;
    height: 40px !important;
    transform: translateY(-50%) !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 10px !important;
    background: transparent !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #7b8794 !important;
}

body:has(#myg-login-form) .myg-sub-form__toggle-password:hover {
    background: rgba(239, 125, 34, 0.10) !important;
}

body:has(#myg-login-form) .myg-sub-eye-icon,
body:has(#myg-login-form) .myg-sub-eye-icon img {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    opacity: 0.62 !important;
}

/* Checkbox sor – igazítás + levegő */
body:has(#myg-login-form) .myg-sub-form__group--checkbox {
    margin-top: 6px !important;
    margin-bottom: 26px !important;
}

body:has(#myg-login-form) .myg-sub-form__checkbox-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #263244 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
}

body:has(#myg-login-form) .myg-sub-form__checkbox-label input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 18px !important;
    accent-color: #ef7d22 !important;
    transform: translateY(0) !important;
}

/* Bejelentkezés gomb */
body:has(#myg-login-form) #myg-login-btn,
body:has(#myg-login-form) .myg-btn--primary {
    width: 100% !important;
    min-height: 50px !important;
    padding: 13px 22px !important;
    border: none !important;
    border-radius: 12px !important;
    background: #ef7d22 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    box-shadow: 0 8px 18px rgba(239, 125, 34, 0.22) !important;
    cursor: pointer !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

body:has(#myg-login-form) #myg-login-btn:hover,
body:has(#myg-login-form) .myg-btn--primary:hover {
    background: #df711c !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 22px rgba(239, 125, 34, 0.28) !important;
}

/* Alsó regisztrációs link */
body:has(#myg-login-form) .myg-sub-form-card__footer {
    margin-top: 34px !important;
    padding-top: 24px !important;
    border-top: 1px solid rgba(223, 229, 236, 0.8) !important;
    text-align: center !important;
    color: #6f7b8c !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

body:has(#myg-login-form) .myg-sub-form-card__footer a {
    color: #ef7d22 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body:has(#myg-login-form) .myg-sub-form-card__footer a:hover {
    color: #df711c !important;
    text-decoration: underline !important;
}

/* Üzenetek */
body:has(#myg-login-form) .myg-sub-form__message {
    margin-bottom: 18px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    background: #fff4eb !important;
    color: #9a4b08 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

/* Mobil */
@media (max-width: 768px) {
    body:has(#myg-login-form) .myg-sub-form-container {
        min-height: auto !important;
        padding: 34px 16px 70px !important;
        align-items: flex-start !important;
    }

    body:has(#myg-login-form) .myg-sub-form-card {
        max-width: 100% !important;
        padding: 30px 22px 28px !important;
        border-radius: 20px !important;
    }

    body:has(#myg-login-form) .myg-sub-form-card__header {
        margin-bottom: 24px !important;
    }

    body:has(#myg-login-form) .myg-sub-form-card__header h2 {
        font-size: 26px !important;
    }

    body:has(#myg-login-form) .myg-sub-form-card__header p {
        font-size: 14px !important;
    }

    body:has(#myg-login-form) .myg-input,
    body:has(#myg-login-form) input[type="text"],
    body:has(#myg-login-form) input[type="password"] {
        height: 48px !important;
        font-size: 16px !important;
    }

    body:has(#myg-login-form) .myg-sub-form__checkbox-label {
        gap: 11px !important;
        font-size: 15px !important;
    }

    body:has(#myg-login-form) .myg-sub-form-card__footer {
        margin-top: 28px !important;
        padding-top: 22px !important;
    }
}