/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 ÖSSZEGZŐ ÖSSZES VEGYES    🟢🟢🟢
                                  🟢🟢🟢                             
                                  🟢🟢🟢
                                  🟢🟢🟢
                                  🟢🟢🟢
                                      */

/* ================= Alap CSS-reset ================= */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');

* { 

    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= TESTEZÁROK, BODY ================= */
/* 1) Nullázd a lapot és tedd a fixed-et erőssé */
/* 1) Reset és mindig fix gördítősáv hely (hogy ne változzon a layout scroll esetén) */
html {
  overflow-x: hidden;   /* ne engedje, hogy a teljes oldalon vízszintes scroll legyen */
}
body {
  margin: 0;
  padding: 0;
}

.modal-body{
  max-height: 100svh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* iOS lendületgörgetés */
  scroll-behavior: auto;             /* NE legyen smooth itt */
  overscroll-behavior: contain;      /* ne csússzon át a háttérre */
}

/* Flex szülőkben KELL, különben jön a darabosság */
.modal__dialog{ display:flex; flex-direction:column; }
.modal-body{ min-height:0; } 


.filters-toggle {
  display: flex;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 600; /* vastagabb, mint a normál */
  cursor: pointer;
  user-select: none;
}

.filters-toggle .filters-icon {
  width: 20px;
  height: 20px;
  margin-top: -4px;
  vertical-align: middle;
  margin-right: 4px;
}

.filters-toggle .label {
  font-size: 18px;
}


.filters-toggle .chev {
  font-size: 28px; /* nagyíthatod ha kell */
  line-height: 1;
}



  .filters-toggle:focus {
    outline: 2px solid #eeebeb;
    outline-offset: 2px;
  }

  
  /* Mobil / kisebb tablet: a gomb látszik, a wrapper alapból zárt */
/* 1024-ig: gomb látszik, wrapper alapból zárt */
@media (max-width: 1024px) {
  .filters-toggle { display: block; }
  #filtersWrapper { display: none; }
  #filtersWrapper.open { display: block; }
}

/* 1025-től: mindig nyitva, gomb rejtve */
@media (min-width: 1025px) {
  .filters-toggle { display: none; }
  #filtersWrapper { display: block; }
}

#contactsSidebar {
    padding-bottom: 100px;   /* kb. a menü + footer magassága */
    overflow-y: auto;       /* maradhat scrollos */
}

  
.filters-toggle {
  display: flex;
  align-items: center;   /* függőlegesen középre igazítja a tartalmat */
  justify-content: center; /* vízszintesen középre teszi az egész nyíl+szöveg blokkot */
  padding: 8px 12px;      /* gomb belső térköz */
  font-size: 16px;        /* szöveg méret */
}

.filters-toggle .chev {
  font-size: 45px;        /* nyíl nagyobb */
  margin-right: 8px;      /* távolság a szövegtől */
  line-height: 1;
}

.detail-toggle {
  display: flex;
  align-items: center;       /* függőleges középre igazítás */
  justify-content: center;   /* vízszintes középre */
  gap: 6px;
  cursor: pointer;
  user-select: none;
  font-size: 18px;
  margin-top: 15px;
  margin-bottom: 10px;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

/* Szöveg vastagabb */
.detail-toggle__label {
  font-weight: 600;
  margin-bottom: 10px;
}

/* Nyíl ikon mérete */
.detail-toggle__icon {
  width: 20px;
  height: 20px;
  margin-top: -4px;
  vertical-align: middle;
  transition: transform .2s ease;
}

/* Plusz jel maradhat normál helyén, de középre igazításnál itt nincs auto margin */
.detail-toggle__plus {
  font-weight: 700;
}

#profileModal {
    position: fixed;
    inset: 0;
    z-index: 1040; /* Bootstrap modal alatt, de backdropjuk felett */
    background: rgba(0, 0, 0, 0.7);
}

/* Ez kell, hogy a gift modal rá tudjon jönni */
.modal-backdrop {
    z-index: 1050 !important;
}

.modal {
    z-index: 1060 !important;
}



#imageModal {
  display: none;
  justify-content: center;   /* vízszintesen középen */
  align-items: center;       /* függőlegesen középen */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  z-index: 9999;
}

.modal-image-wrapper {
  position: fixed;       /* a teljes képernyőhöz képest */
  top: 50%;              /* közép függőlegesen */
  left: 50%;             /* közép vízszintesen */
  transform: translate(-50%, -50%); /* pontos középre tolás */
  max-width: 90vw;       /* szélektől arányos távolság */
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;      /* ha akarsz háttért */
  padding: 10px;         /* kis belső margó */
  box-sizing: border-box;
}

.modal-content {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}


.gift-choice-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;   /* vízszintesen középre */
  justify-content: center;
  text-align: center;
}

.gift-choice {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;          /* enyhén lekerekített */
  padding: 10px;
  width: 100%;
  max-width: 320px;
  margin: 8px auto;
  cursor: pointer;
  font-size: 18px !important;
  text-align: left;
  color: #333;
  transition: background 0.2s, border-color 0.2s;
}

.gift-choice:hover {
  background: #f9f9f9;
  border-color: #999;
}

.gift-choice:active {
  background: #eee;
}


.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-evenly !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  padding: 0;
  background: rgba(207, 42, 42, 0.87);
  z-index: 1000;
  transition: transform 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* szebb elválasztás a tartalomtól */
}

/* Ha görgetéskor „el van rejtve” */
.top-bar.hidden {
  transform: translateY(-100%);
}



/* Hogy a tartalom ne bújjon a header alá */
.content {
  margin-top: 80px;              /* állítsd be a header valós magasságára */
  padding: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

      .top-bar a {
            color: white;
            text-decoration: none;
    padding: 10px 15px;
            display: flex;
            align-items: center;
             font-family: 'Poppins', sans-serif;
             font-weight: 500;
             font-size: 20px;
        }
      .top-bar a img {
    margin-right: 7px;
    width: 40px; height: 30px;
    
}

.top-bar a:hover {
    background-color: #ce2e3e;
    border-radius: 5px;
}

/* ================= TARTALOM (CONTENT) ================= */
.content {
    flex: 1;
    margin-top: 80px;  /* a top-bar miatt */
    padding: 20px;
    max-width: 1200px;
    margin-left: auto; margin-right: auto;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

/* ================= SIDEBAR ================= */
.sidebar {
    position: fixed;
    left: 0;
    top: 80px; /* a top-bar alá tolva */
    width: 200px;
    height: calc(100vh - 80px);
    background-color: #f1f1f1;
    padding: 15px;
    overflow-y: auto;
    box-sizing: border-box;
}
.sidebar a {
    display: block;
    padding: 10px;
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.sidebar a:hover {
    background-color: #555;
    color: white;
}

/* ================= FŐ TARTALOM DOBOZ (KONTÉNER) ================= */
.container {
    margin-left: 220px; /* a sidebar miatt */
    padding: 20px;
    max-width: calc(100% - 240px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ================= KERESŐ DOBOZ ================= */
.search-box {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
    position: relative;
    display: none; /* Alapból rejtett */
}

/* ================= USER-IMAGES FÜLKE ================= */
.user-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    width: 100%;
}

.user-images img,
.user-image {
    width: 100%;
    max-width: 100px;
    height: auto;
    margin: 5px auto;
    object-fit: contain;
    display: block;
    cursor: pointer;
    border-radius: 8px;
}
.like-icon {
    display: block;
    margin: 10px auto;
    width: 50px;
    height: 50px;
    cursor: pointer;
}
.user-name {
    font-size: 14px;
    margin-top: 5px;
    cursor: pointer;
}
.user-city {
    font-size: 12px;
    color: #555;
    margin-top: 3px;
}
.user-age {
    font-size: 12px;
    color: #777;
}

.saved-search-sticky{
  position: sticky;
  top: 64px;                 /* a felső fix header magassága */
  z-index: 20;
  background:#fff;
  padding:10px;
  margin:10px 0;
}

/* ================= NAME-DAY ÉS BIRTHDAY BOXOK ================= */
.name-day, .birthday {
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    width: 100%;
}

/* ================= MODALOK KÖZÖS STÍLUSAI ================= */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}
.modal-content,
.modal-content-container {
    background-color: #fff;
    margin: auto;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.close, .close-image-modal {
    position: absolute;
    top: 0px; right: 8px;
    color: #919090;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}
.close:hover,
.close-image-modal:hover {
    color: black;
}

/* ================= PROFIL ÉS PROFIL-FÜGGVÉNYEK ================= */
.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    
}
.profile-header {
    text-align: center;
    margin-bottom: 0px;
    
}
.profile-header img.large {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgb(255, 255, 255);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: width 0.3s ease, height 0.3s ease;
}
.profile-header img.small {
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    border: 4px solid rgba(207, 42, 42);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: width 0.3s ease, height 0.3s ease;
}
.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 7px;
    margin-bottom: 7px;

    width: 100%;
}
.user-info h2 {
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

 
.custom-checkbox {
   accent-color: #cf2a2ade;
}
.custom-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox-label input[type="checkbox"] {
  display: none;
}

.custom-checkbox-label .checkbox {
  width: 15px;
  height: 15px;
  border: 1px solid #0e0d0de3; /* nagyon sötétszürke */
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  background-color: white;
}

.custom-checkbox-label input[type="checkbox"]:checked + .checkbox::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 9px;
  height: 9px;
  background-color: rgba(207, 42, 42, 1);
  border-radius: 50%;
}

.custom-circle-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
  }

  .custom-circle-radio input[type="radio"] {
    display: none;
  }

  .custom-circle-radio .circle {
   width: 15px;
  height: 15px;
  border: 1px solid #0e0d0de3; /* nagyon sötétszürke */
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  background-color: white;
  }

  .custom-circle-radio input[type="radio"]:checked + .circle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 9px;
  height: 9px;
  background-color: rgba(207, 42, 42, 1);
  border-radius: 50%;
  }

/* ================= TOGGLE GOMBOK ÉS KAPCSOLT TARTALMAK ================= */
.toggle-buttons {
    display: flex;
    justify-content: center;
    margin-top: 1px;
    width: 100%;
}
.toggle-button {
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px 5px 0 0;
    font-size: 16px;
    margin-right: -1px;
    position: relative;
    z-index: 1;
}
.toggle-button:hover {
    background-color: #0056b3;
}
.toggle-button.active {
    background-color: #0056b3;
    color: white;
    z-index: 2;
}
.profile-info,
.search-criteria-container,
.photos-container,
.external-info {
    margin-top: 20px;
    display: none;
    width: 100%;
    padding: 20px;
    background-color: #f4f4f4;
    text-align: center;
    border-radius: 0 0px 0px 0px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.profile-info p,
.search-criteria-container p,
.external-info p {
    margin: 10px 0;
    font-size: 18px;
}


.profile-info strong,
.search-criteria-container strong,
.external-info strong {
    font-weight: bold;
}
.profile-info ul,
.photos-container ul {
    list-style-type: none;
    padding: 0;
}
.profile-info ul li,
.photos-container ul li {
    background-color: #e1e1f1;
    display: inline-block;
    margin: 5px;
    padding: 10px 15px;
    border-radius: 0px;
    font-size: 16px;
}
.photos-container img {
    max-width: 150px;
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}
.photos-container img:hover {
    transform: scale(1.05);
}

/* ================= NYILAK A MODALON BELÜL ================= */
.arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    user-select: none;
    transform: translateY(-50%);
    z-index: 1001;
}
.arrow.left {
    left: 10px;
}
.arrow.right {
    right: 10px;
}

/* ================= IMAGE-MODAL SPECIFIC ================= */


/* ================= LIKES-COUNT HIBASTÁBLÁZAT ================= */
.likes-count {
    color: red;
    font-size: 16px;
    margin-top: -28px;
}

/* ================= ÜZENETEK (CHAT) ================= */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 300px;
    width: 100%;
    overflow-y: auto;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    position: relative;
    top: 20px;
}
.chat-message {
    position: relative;
    margin-bottom: 40px;
    padding: 10px;
    border-radius: 10px;
    max-width: 100%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
}
.sent-message {
    background-color: #dcf8c6;
    margin-left: auto;
    text-align: right;
}
.received-message {
    background-color: #ffffff;
    margin-right: auto;
    text-align: left;
}
/* CHAT IDŐBÉLYEGZŐ */
.timestamp {
    position: absolute;
    font-size: 12px;
    color: #000000;
    background-color: rgba(255, 182, 193, 0.8);
    padding: 4px 8px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.chat-message:hover .timestamp {
    opacity: 1;
}
.received-message .timestamp {
    bottom: -20px;
    right: 0;
}
.sent-message .timestamp {
    top: 0;
    left: -80px;
}

/* ================= ÜZENETKÜLDŐ MEZŐ ================= */
#messageInputContainer {
    display: flex;
    align-items: center;
    margin-top: 10px;
}
#messageInput {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
}
button {
    padding: 10px 20px;
    background-color: rgba(207, 42, 42);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color #881e1ed9;
}
button:hover {
    background-color: #45a049;
}

/* ================= ÜZENET-OLDAL-SZERKEZET ================= */
.sidebar-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 100px 20px 0 20px;
}
.sidebar-buttons button {
    width: 150px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-align: left;
}
.sidebar-buttons button:hover {
    background-color: #45a049;
}
.message-container {
    margin-top: 20px;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.message-item {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.message-item p {
    margin: 5px 0;
}
.message-item .recipient {
    font-weight: bold;
    color: #4CAF50;
}
.message-item .timestamp {
    font-size: 12px;
    color: #888;
    float: right;
}

/* ================= NINCS ÜZENET ESETÉN ================= */
.no-messages {
    text-align: center;
    color: #888;
    font-size: 16px;
    margin-top: 20px;
}

/* ================= INBOX ================= */
.inbox-container {
    max-width: 600px;
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.inbox-message {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.inbox-message:last-child {
    border-bottom: none;
}
.inbox-message .sender {
    font-weight: bold;
    color: #333;
}
.inbox-message .timestamp {
    font-size: 12px;
    color: #777;
    float: right;
}
.inbox-message p {
    margin: 5px 0;
}

/* ================= ÉRTESÍTÉSEK ================= */
.notifications {
    padding: 20px;
    width: 120%;
}
.notifications h2 {
    margin-bottom: 20px;
}
.messages, .likes, .image-likes, .view-requests {
    margin-bottom: 30px;
}
.messages ul, .likes ul, .image-likes ul, .view-requests ul {
    list-style-type: none;
    padding: 0;
}
.messages li, .likes li, .image-likes li, .view-requests li {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}
.messages li:last-child, .likes li:last-child, .image-likes li:last-child, .view-requests li:last-child {
    border-bottom: none;
}
.image-likes img, .view-requests img {
    max-width: 100px;
    height: auto;
    display: block;
    margin-top: 10px;
}

/* ================= ÜZENET ÍRÁS ÉS GOMBOK ================= */
.message-form {
    margin-top: 20px;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
}
.message-form h3 {
    margin-bottom: 10px;
    color: rgba(207, 42, 42);
}
.message-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    margin-bottom: 10px;
}
.message-form button {
    padding: 10px 20px;
    background-color: rgba(207, 42, 42);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.message-form button:hover {
    background-color: #0056b3;
}
#messageStatus {
    margin-top: 10px;
    font-size: 14px;
    color: green;
}

/* ================= HIBAÜZENET (FORM) ================= */
.error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
}

/* ================= FORMULÁRIUM (ALAP) ================= */
form {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
}
label {
    font-weight: bold;
    margin-top: 10px;
}
input, select {
    padding: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
}
button {
    padding: 10px 20px;
    background-color: rgba(207, 42, 42, 0.87);
    color: white;
    border: none;
    cursor: pointer;
}
button:hover {
    background-color: #cf2a2aa6;
}

/* ================= BLOG/CARD STÍLUSOK ================= */
.card {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    background: #f9f9f9;
    width: 100%;
}
.card img {
    max-width: 100%;
    margin: 10px 0;
}

/* ================= TÁBLÁZATOK ================= */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}
.actions button {
    margin-right: 5px;
}

/* ================= LÁBLÉC ================= */
.footer {
    padding: 10px;
    background-color: #f3f3f3;
    border-top: 1px solid #ccc;
    text-align: center;
}
.footer a {
    margin: 0 10px;
    color: inherit;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
.footer-social img {
    width: 24px; height: 24px;
    margin: 0 8px;
    vertical-align: middle;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}
.footer-social img:hover {
    filter: none;
}
.footer-text {
    font-size: 12px;
}
.theme-switcher {
    margin-bottom: 10px;
}
.theme-switcher button {
    padding: 6px 12px;
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
.theme-switcher button:hover {
    background-color: #666;
}

/* ================= DARK MODE ================= */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea,
body.dark-mode .form-group input,
body.dark-mode .form-group select {
    background-color: #1e1e1e;
    color: #e0e0e0;
    border: 1px solid #444;
}
body.dark-mode form,
body.dark-mode .container,
body.dark-mode .content,
body.dark-mode .profile-container,
body.dark-mode .message-form,
body.dark-mode .modal-container {
    background-color: #1a1a1a;
    color: #ddd;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}
body.dark-mode .sidebar,
body.dark-mode .top-bar {
    background-color: #232323;
    color: #ddd;
    border-right: 1px solid #333;
}
body.dark-mode .sidebar a,
body.dark-mode .top-bar a {
    color: #ccc;
}
body.dark-mode .sidebar a:hover,
body.dark-mode .top-bar a:hover {
    background-color: #333;
    color: #fff;
}
body.dark-mode button,
body.dark-mode .toggle-button {
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
}
body.dark-mode button:hover,
body.dark-mode .toggle-button:hover {
    background-color: #555;
    border-color: #666;
}
body.dark-mode .user-container,
body.dark-mode .profile-info,
body.dark-mode .photos-container,
body.dark-mode .search-box,
body.dark-mode .message-item {
    background-color: #1c1c1c;
    border: 1px solid #333;
    color: #eee;
}
body.dark-mode .offer-bubble {
    background-color: #333;
    color: #fff;
}
body.dark-mode .offer-bubble:hover {
    background-color: #444;
}
body.dark-mode .user-name,
body.dark-mode .user-city,
body.dark-mode .user-age {
    color: #ccc;
}
body.dark-mode a {
    color: #87cefa;
}
body.dark-mode a:hover {
    color: #fff;
    text-decoration: underline;
}
body.dark-mode .modal-content {
    background-color: #1a1a1a;
    color: #fff;
}
body.dark-mode .footer.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
    border-top: 1px solid #444;
}

/* ================= „AJÁNLATI BUBORÉKOK” ================= */
.offer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 1px;
    padding: 10px;
    background-color: #f4f4f4;
    border-radius: 15px;
    width: 100%;
    max-width: 100%;
    
}
.offer-bubble {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 15px;
    padding: 4px 8px;
    margin: 6px;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: 0 2px 4px rgb(255, 255, 255);
    border: 1px solid rgba(207, 42, 42, 0.473);

}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

.offer-bubble.selected {
    background: #ffffff;
    transform: scale(1.15);
    order: -1;
    border: 1px solid rgba(207, 42, 42, 0.473);
    display: inline-flex;
    align-items: center;
    background-color: #cf2a2a1a;
    border-radius: 15px;
    padding: 4px 8px;
    margin: 6px;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 2px 4px rgb(255, 255, 255);
    border: 1px solid #cf2a2ade


}
.offer-search {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #ff6b81;
    border-radius: 20px;
    font-size: 16px;
    text-align: center;
    outline: none;
    transition: all 0.3s ease-in-out;
}
.offer-search:focus {
    border-color: #ff4d6d;
    box-shadow: 0 0 10px rgba(255, 107, 129, 0.5);
}
.container {
  margin-bottom: 60px;
}
/* ================= INBOX-ÜZENETEK ================= */
.inbox-container { /* fent már definiálva */ }
.inbox-message { /* fent már definiálva */ }

/* ================= TRANSACTIONS TABLE ================= */
.transactions-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: sans-serif;
}
.transactions-table th,
.transactions-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}
.transactions-table th {
    background-color: #f0f0f8;
    font-weight: bold;
}
.transactions-table tr:nth-child(even) {
    background-color: #fafafa;
}
.transactions-table tr:hover {
    background-color: #eef;
}

/* ================= „PRO / NONPRO” ÖSSZEHASONLÍTÓ OLDAL ================= */
.pro-info, .nonpro-info {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    width: 100%;
}
.pro-info h2, .nonpro-info h2 {
    margin-top: 0;
    color: #cf2a2ad9;
}
.pro-info p, .nonpro-info p {
    line-height: 1.6;
    margin: 15px 0;
}
.btn {
    display: inline-block;
    background-color: #cf2a2ad9;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s;
    margin-top: 20px;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background-color: #cf2a2aa6;
}
.features-list {
    list-style: disc inside;
    margin-left: 20px;
}
.features-list li {
    margin-bottom: 8px;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.comparison-table th, .comparison-table td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: center;
}
.expired {
    color: #b30000;
    font-weight: bold;
}

/* ================= FORM CÉLÚ SZEKCIÓK ================= */
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}
.date-group {
    display: flex;
    gap: 10px;
}
.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 10px;
}
.language-group {
    margin-top: 10px;
}

/* ================= HIGHLIGHT-ÉS PRO RIBBON ================= */
.highlight-button {
    background-color: gold;
    color: black;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    margin-top: 10px;
}
#highlightMessage {
    position: fixed;
    bottom: 20px; right: 20px;
    background-color: #cf2a2ad9; color: white;
    padding: 15px; border-radius: 10px;
    z-index: 9999; display: none;
}
.highlight-info {
    background-color: #fff5cc;
    color: #333;
    border: 1px solid gold;
    padding: 10px 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: bold;
}
.highlight-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    
}
.highlight-choice {
    background-color:rgba(207, 42, 42, 0.87);
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
}
.highlight-choice:hover:not(:disabled) {
    background-color: rgba(207, 42, 42, 0.87);

}
.highlight-choice:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.highlight-choice.selected {
    background-color: gold;
    color: black;
    border-color: darkorange;
}

/* ================= UPLOAD BUTTON ================= */
#uploadButton {
    background-color: grey;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: not-allowed;
    transition: background-color 0.3s ease;
}
#uploadButton.active {
    background-color: #cf2a2ad9;
    cursor: pointer;
}

/* ================= ONLINE-DOT ÉS BADGE ================= */
.online-dot {
    display: inline-block;
    margin-left: 6px;
    width: 10px; height: 10px;
    background-color: limegreen;
    border: 2px solid white;
    border-radius: 50%;
    vertical-align: middle;
}
.online-dot.offline {
    background-color: lightgray;
}


/* ================= PROFILE-PICTURE-RELATED ================= */

.money-badge {
    position: absolute;
    bottom: 4px; right: 4px;
    width: 22px; height: 22px;
    z-index: 10;
    border-radius: 50%;
    background: white;
    padding: 2px;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

/* ================= CREDITS ÉS BRAND CAROUSEL ================= */

.brand-carousel {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
}
.brand-button {
    min-width: 120px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    text-align: center;
    background: #fff;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* ================= PONTOPTIONS ÉS VERIFY ================= */
.amount-options {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.amount-button {
    padding: 8px 12px;
    background-color: #eee;
    border-radius: 6px;
    cursor: pointer;
}
.amount-button:hover {
    background-color: #ddd;
}
.brand-section {
    margin-bottom: 40px;
}
.verify-warning {
    font-size: 13px;
    color: #d9534f;
    margin-top: 12px;
}
.verify-warning a {
    color: #d9534f;
    text-decoration: underline;
    font-weight: bold;
}

/* ================= PONTFELTÖLTÉS ÉS FIZETÉSI MODAL ================= */


/* ================= MÓDULSZEKTIONS (pl. KIVÁLASZTÁS) ================= */
.modal .close {
    float: right;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* ================= FAQ-SECTION ================= */
.faq-section {
    max-width: 800px;
    margin-top: 55px;
    padding: 20px;
}
.faq-section h1 {
    text-align: center;
    margin-bottom: 40px;
}
.faq-section h2 {
    color: #cf2a2ad9;
    margin-top: 30px;
}
.faq-section h3 {
    margin-top: 20px;
    color: #333;
}
.faq-section p {
    margin-bottom: 10px;
}

/* ================= DROPDOWN-OK ================= */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropbtn {
    background-color: #ff6b81;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}
.dropdown-content {
            display: none;
            position: absolute;
            background-color: white;
            min-width: 160px;
            z-index: 2000;
            border-radius: 5px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            top: 100%;
            right: 0;
        }
  .dropdown-content a {
            color: #333;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
              font-family: 'Poppins', sans-serif;
              font-weight: 500;
        }
.dropdown-content a:hover {
    background-color: #f0f0f0;
}
   .dropdown:hover .dropdown-content {
            display: block !important;
        }
  
/* Mobilon: 1 oszlop, középre igazítva */
.form-container {
  max-width: 900px;              /* teljes szélesség korlátozása nagyobb kijelzőn */
  margin: 0 auto;                /* középre helyezés */
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;                     /* formok közti egységes távolság */
  padding: 0 20px;               /* belső margó, hogy ne érjen a képernyő széléhez */
}

/* 1024px fölött: 2 oszlop */
@media (min-width: 1024px) {
  .form-container {
    grid-template-columns: repeat(2, 1fr);  /* két egyenlő oszlop */
    gap: 10px 80px;                         /* függőleges és vízszintes távolság */
    padding: 0 60px;                        /* oldalsó margó, hogy a szélektől is azonos legyen */
  }
}

/* Minden form egy kártya */
.form-container form {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  max-width: 100%;             /* a grid már szabályozza a szélességet */
  display: flex;
  flex-direction: column;
  gap: 12px;                   /* belső elemek közti távolság */
}

/* Ha extra tér kell a formok között kis kijelzőn */
@media (max-width: 1023px) {
  .form-container form {
    margin: 0 auto;
  }
}



/* ========== DESKTOP HEADER & PROFILE AVATAR (≥993px) ========== */
@media screen and (min-width: 993px) {

/* 1) FIXED HEADER BAR */
.top-bar {
  height: 100px;              /* teljes fejlécmagasság */
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 0;
  background: rgba(207, 42, 42, 0.87);
  transition: transform 0.3s ease;
    position: relative; /* vagy hagyd ki: ez az alapértelmezés */
  top: auto;
  z-index: auto;
}

/* 2) IKONOK ÉS PROFILLINKEK KATTINTHATÓ ZÓNÁI */
.top-bar > a,
.profile-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 8px;          /* (120–64)/2 = 28px vízszintes ütköző a normál képmérethez */
  height: 100%;
}

/* 3) IKONOK MÉRETE */
.top-bar a img {
  margin-right: 7px;
  width: 28px !important;
  height: 28px !important;
  object-fit: contain;
  filter: contrast(1.3) brightness(1.1);
}

/* 4) LOGÓ MÉRETE */
.top-bar a.logo-link .logo-icon {
  width: 65px !important;
  height: 65px !important;
    margin-right: 0px; /* vagy 12px, 16px */

}
.top-bar > a:not(:last-child) {
  margin-right: 1px;
}

/* 5) PROFILKERET */
.profile-wrapper {
  width: 140px !important;  /* vagy amennyire szeretnéd */
  height: 100px !important;
  border-radius: 50%;       /* megtartja az ovális formát */
  overflow: hidden;
}

/* 6) PROFILKÉP („thumb”) ALAPMÉRETE */
.profile-thumb {
  position: relative;
  z-index: 2;                 /* hogy a PRO-gyűrű fölött legyen */
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* ======= DESKTOP OVERRIDE (≥993px) ======= */
.top-bar a.logo-link .logo-icon {
 width: 80px;
    height: auto;
      position: relative; /* vagy hagyd ki: ez az alapértelmezés */
  top: auto;
  z-index: auto;
}
  .top-bar .brand-title {
    font-size: 40px;       /* vagy pl. 30px, amit szeretnél */
    font-weight: 550;
    margin-left: 0px;     /* opcionális: távolság a logótól */
  }
  /* nagyobb profilkép: 100×100px */
  .top-bar .profile-thumb {
      width: 80px !important;
  height: 80px !important;
  }

  /* 1) A profil-link blokk-szintűvé tétele, fix kattintható mérettel */
  .top-bar .profile-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 140px;    /* kattintható szélesség */
    height: 120px;   /* megegyezik a header magasságával */
    padding: 0;      /* belső padding nélkül */
  }

  /* 2) Ha szükséges: középre igazítjuk benne a wrapper-t */
  .top-bar .profile-link .profile-wrapper {
    margin: 0 auto;
  }

 .content,
  .main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* MAIN KINÉZETE */

  .content,
  .main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  
.credits-box {
  position: relative;
  top: -10px;
  background: #da8181;
  border: 2px solid #aabbee;
  padding: 15px;
  border-radius: 10px;
  max-width: 160px;
  width: 160px;
  height: 350px;
  margin: 0 1px 0;
  text-align: center;
}

.credit-title {
    
  font-size: 22px;
  font-weight: bold;
  display: flex;
  flex-direction: column; /* egymás alá */
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.credit-icon {
  width: 48px;
}
.credit-balance {
  font-size: 28px;
  margin: 14px 0;
  font-weight: 500; /* vagy: 600, 700 stb. */
}
.credit-button {
  padding: 8px 14px;
  font-size: 20px;
  cursor: pointer;
}
.redeem-button {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  font-size: 20px;
  background: #35ad6b;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}
}




/* ===================== LAPTOP / SMALLER DESKTOP (≤ 992px) ===================== */
@media screen and (max-width: 992px) {
  /* HEADER magasság és igazítás */
  .top-bar {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    gap: 12px;
    background: rgba(207, 42, 42, 0.87);
      position: relative; /* vagy hagyd ki: ez az alapértelmezés */
  top: auto;
  z-index: auto;
  }

  /* IKONOK & PROFILKÉP KATTINTHATÓ ZÓNÁI */
  .top-bar > a,
  .profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    padding: 0 10px;
    min-width: 70px;
    box-sizing: border-box;
  }

  /* IKONOK MÉRETE */
  .top-bar a img {
    width: 28px !important;
    height: 28px !important;
    margin: 7px;
    object-fit: contain;
    filter: contrast(1.3) brightness(1.1);
  }

  /* PROFILKERET ÉS KÉP MÉRETE */
  .top-bar .profile-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

.top-bar .profile-thumb {
  width: 65px !important;
  height: 65px !important;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

  /* LOGÓ MÉRETE */
  .top-bar a.logo-link .logo-icon {
    width: 60px !important;
    height: 60px !important;
  }

  .brand-title {
    font-size: 22px;
    margin-left: 6px;
  }

  /* Ha túl sok a szöveg, elrejthető */
  .top-bar .link-text {
    font-size: 14px;
    white-space: nowrap;
  }

/* MAIN KINÉZETE */

  .content,
  .main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  
.credits-box {
  position: relative;
  top: -10px;
  background: #f5f5ff;
  border: 2px solid #aabbee;
  padding: 15px;
  border-radius: 10px;
  max-width: 160px;
  width: 160px;
  height: 350px;
  margin: 0 1px 0;
  text-align: center;
}

.credit-title {
    
  font-size: 22px;
  font-weight: bold;
  display: flex;
  flex-direction: column; /* egymás alá */
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.credit-icon {
  width: 48px;
}
.credit-balance {
  font-size: 28px;
  margin: 14px 0;
  font-weight: 500; /* vagy: 600, 700 stb. */
}
.credit-button {
  padding: 8px 14px;
  font-size: 20px;
  cursor: pointer;
}
.redeem-button {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  font-size: 20px;
  background: #35ad6b;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}
}

/* Alap: mobilon egymás alatt */
.search-layout {
  display: block;
}

/* >=767 px: egymás mellett, kényszerített területekkel */
.user-container.highlighted {
    border: 2px solid rgba(207, 42, 42, 0.87);
    box-shadow: 0 0 0px rgba(207, 42, 42, 0.87);
    border-radius: 8px;
    overflow: hidden;
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 ÖSSZEGZŐ ÖSSZES VEGYES    🟢🟢🟢
                                  🟢🟢🟢                             
                                  🟢🟢🟢
                                  🟢🟢🟢
                                  🟢🟢🟢
                                      */











@media (min-width: 1280px) {



/* ================= Alap CSS-reset ================= */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');

* { 

    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= TESTEZÁROK, BODY ================= */
/* 1) Nullázd a lapot és tedd a fixed-et erőssé */
/* 1) Reset és mindig fix gördítősáv hely (hogy ne változzon a layout scroll esetén) */
html {
  overflow-x: hidden;   /* ne engedje, hogy a teljes oldalon vízszintes scroll legyen */
}
body {
  margin: 0;
  padding: 0;
} 

.filters-toggle {
  display: flex;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 600; /* vastagabb, mint a normál */
  cursor: pointer;
  user-select: none;
}

.filters-toggle .filters-icon {
  width: 20px;
  height: 20px;
  margin-top: -4px;
  vertical-align: middle;
  margin-right: 4px;
}

.filters-toggle .label {
  font-size: 18px;
}


.filters-toggle .chev {
  font-size: 28px; /* nagyíthatod ha kell */
  line-height: 1;
}



  .filters-toggle:focus {
    outline: 2px solid #eeebeb;
    outline-offset: 2px;
  }

  
  /* Mobil / kisebb tablet: a gomb látszik, a wrapper alapból zárt */
/* 1024-ig: gomb látszik, wrapper alapból zárt */
@media (max-width: 1024px) {
  .filters-toggle { display: block; }
  #filtersWrapper { display: none; }
  #filtersWrapper.open { display: block; }
}

/* 1025-től: mindig nyitva, gomb rejtve */
@media (min-width: 1025px) {
  .filters-toggle { display: none; }
  #filtersWrapper { display: block; }
}

.filters-toggle {
  display: flex;
  align-items: center;   /* függőlegesen középre igazítja a tartalmat */
  justify-content: center; /* vízszintesen középre teszi az egész nyíl+szöveg blokkot */
  padding: 8px 12px;      /* gomb belső térköz */
  font-size: 16px;        /* szöveg méret */
}

.filters-toggle .chev {
  font-size: 45px;        /* nyíl nagyobb */
  margin-right: 8px;      /* távolság a szövegtől */
  line-height: 1;
}

.detail-toggle {
  display: flex;
  align-items: center;       /* függőleges középre igazítás */
  justify-content: center;   /* vízszintes középre */
  gap: 6px;
  cursor: pointer;
  user-select: none;
  font-size: 18px;
  margin-top: 15px;
  margin-bottom: 10px;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

/* Szöveg vastagabb */
.detail-toggle__label {
  font-weight: 600;
}

/* Nyíl ikon mérete */
.detail-toggle__icon {
  width: 20px;
  height: 20px;
  margin-top: -4px;
  vertical-align: middle;
  transition: transform .2s ease;
}

/* Plusz jel maradhat normál helyén, de középre igazításnál itt nincs auto margin */
.detail-toggle__plus {
  font-weight: 700;
}



.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color:rgba(207, 42, 42, 0.87);
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;

  /* Új: sima animáció a rejtés-mutatás között */
}

/* Ha görgetéskor „el van rejtve” */
.top-bar.hidden {
  transform: translateY(-100%);
}



/* Hogy a tartalom ne bújjon a header alá */
.content {
  margin-top: 80px;              /* állítsd be a header valós magasságára */
  padding: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

      .top-bar a {
            color: white;
            text-decoration: none;
    padding: 10px 15px;
            display: flex;
            align-items: center;
             font-family: 'Poppins', sans-serif;
             font-weight: 500;
             font-size: 20px;
        }
      .top-bar a img {
    margin-right: 7px;
    width: 40px; height: 30px;
    
}

.top-bar a:hover {
    background-color: #ce2e3e;
    border-radius: 5px;
}

/* ================= TARTALOM (CONTENT) ================= */
.content {
    flex: 1;
    margin-top: 80px;  /* a top-bar miatt */
    padding: 20px;
    max-width: 1200px;
    margin-left: auto; margin-right: auto;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

/* ================= SIDEBAR ================= */
.sidebar {
    position: fixed;
    left: 0;
    top: 80px; /* a top-bar alá tolva */
    width: 200px;
    height: calc(100vh - 80px);
    background-color: #f1f1f1;
    padding: 15px;
    overflow-y: auto;
    box-sizing: border-box;
}
.sidebar a {
    display: block;
    padding: 10px;
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.sidebar a:hover {
    background-color: #555;
    color: white;
}

/* ================= FŐ TARTALOM DOBOZ (KONTÉNER) ================= */
.container {
    margin-left: 220px; /* a sidebar miatt */
    padding: 20px;
    max-width: calc(100% - 240px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ================= KERESŐ DOBOZ ================= */
.search-box {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
    position: relative;
    display: none; /* Alapból rejtett */
}

/* ================= USER-IMAGES FÜLKE ================= */
.user-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    width: 100%;
}
.user-container {
    text-align: center;
    margin: 5px;
    position: relative;
}
.user-images img,
.user-image {
    width: 100%;
    max-width: 100px;
    height: auto;
    margin: 5px auto;
    object-fit: contain;
    display: block;
    cursor: pointer;
    border-radius: 8px;
}
.like-icon {
    display: block;
    margin: 10px auto;
    width: 50px;
    height: 50px;
    cursor: pointer;
}
.user-name {
    font-size: 14px;
    margin-top: 5px;
    cursor: pointer;
}
.user-city {
    font-size: 12px;
    color: #555;
    margin-top: 3px;
}
.user-age {
    font-size: 12px;
    color: #777;
}

/* ================= NAME-DAY ÉS BIRTHDAY BOXOK ================= */
.name-day, .birthday {
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    width: 100%;
}

/* ================= MODALOK KÖZÖS STÍLUSAI ================= */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}
.modal-content,
.modal-content-container {
    background-color: #fff;
    margin: auto;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.close, .close-image-modal {
    position: absolute;
    top: 0px; right: 8px;
    color: #919090;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}
.close:hover,
.close-image-modal:hover {
    color: black;
}

/* ================= PROFIL ÉS PROFIL-FÜGGVÉNYEK ================= */
.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    
}
.profile-header {
    text-align: center;
    margin-bottom: 0px;
    
}
.profile-header img.large {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgb(255, 255, 255);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: width 0.3s ease, height 0.3s ease;
}
.profile-header img.small {
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    border: 4px solid rgba(207, 42, 42);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: width 0.3s ease, height 0.3s ease;
}
.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 7px;
        margin-bottom: 7px;

    width: 100%;
}
.user-info h2 {
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

 
.custom-checkbox {
   accent-color: #cf2a2ade;
}
.custom-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox-label input[type="checkbox"] {
  display: none;
}

.custom-checkbox-label .checkbox {
  width: 15px;
  height: 15px;
  border: 1px solid #0e0d0de3; /* nagyon sötétszürke */
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  background-color: white;
}

.custom-checkbox-label input[type="checkbox"]:checked + .checkbox::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 9px;
  height: 9px;
  background-color: rgba(207, 42, 42, 1);
  border-radius: 50%;
}

.custom-circle-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
  }

  .custom-circle-radio input[type="radio"] {
    display: none;
  }

  .custom-circle-radio .circle {
   width: 15px;
  height: 15px;
  border: 1px solid #0e0d0de3; /* nagyon sötétszürke */
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  background-color: white;
  }

  .custom-circle-radio input[type="radio"]:checked + .circle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 9px;
  height: 9px;
  background-color: rgba(207, 42, 42, 1);
  border-radius: 50%;
  }

/* ================= TOGGLE GOMBOK ÉS KAPCSOLT TARTALMAK ================= */
.toggle-buttons {
    display: flex;
    justify-content: center;
    margin-top: 1px;
    width: 100%;
}
.toggle-button {
    cursor: pointer;
    background-color: #a12121cc;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px 5px 0 0;
    font-size: 16px;
    margin-right: -1px;
    position: relative;
    z-index: 1;
}
.toggle-button:hover {
    background-color: #a12121cc;
}
.toggle-button.active {
    background-color: #a12121cc;
    color: white;
    z-index: 2;
}
.profile-info,
.search-criteria-container,
.photos-container,
.external-info {
    margin-top: 20px;
    display: none;
    width: 100%;
    padding: 20px;
    background-color: #f4f4f4;
    text-align: center;
    border-radius: 0 0px 0px 0px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.profile-info p,
.search-criteria-container p,
.external-info p {
    margin: 10px 0;
    font-size: 18px;
}


.profile-info strong,
.search-criteria-container strong,
.external-info strong {
    font-weight: bold;
}
.profile-info ul,
.photos-container ul {
    list-style-type: none;
    padding: 0;
}
.profile-info ul li,
.photos-container ul li {
    background-color: #e1e1f1;
    display: inline-block;
    margin: 5px;
    padding: 10px 15px;
    border-radius: 0px;
    font-size: 16px;
}
.photos-container img {
    max-width: 150px;
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}
.photos-container img:hover {
    transform: scale(1.05);
}

/* ================= NYILAK A MODALON BELÜL ================= */
.arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    user-select: none;
    transform: translateY(-50%);
    z-index: 1001;
}
.arrow.left {
    left: 10px;
}
.arrow.right {
    right: 10px;
}



/* ================= LIKES-COUNT HIBASTÁBLÁZAT ================= */
.likes-count {
    color: red;
    font-size: 16px;
    margin-top: -28px;
}

/* ================= ÜZENETEK (CHAT) ================= */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 300px;
    width: 100%;
      max-width: 1400px;
    overflow-y: auto;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    position: relative;
    top: 20px;
        margin: 0 auto;

}
.chat-message {
    position: relative;
    margin-bottom: 40px;
    padding: 10px;
    border-radius: 10px;
    max-width: 100%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
}
.sent-message {
    background-color: #dcf8c6;
    margin-left: auto;
    text-align: right;
}
.received-message {
    background-color: #ffffff;
    margin-right: auto;
    text-align: left;
}
/* CHAT IDŐBÉLYEGZŐ */
.timestamp {
    position: absolute;
    font-size: 12px;
    color: #000000;
    background-color: rgba(255, 182, 193, 0.8);
    padding: 4px 8px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.chat-message:hover .timestamp {
    opacity: 1;
}
.received-message .timestamp {
    bottom: -20px;
    right: 0;
}
.sent-message .timestamp {
    top: 0;
    left: -80px;
}

/* ================= ÜZENETKÜLDŐ MEZŐ ================= */
#messageInputContainer {
    display: flex;
    align-items: center;
    margin-top: 10px;
    max-width: 1400px;
    margin: 0 auto;

}
#messageInput {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
}
button {
    padding: 10px 20px;
    background-color: rgba(207, 42, 42);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color #881e1ed9;
}
button:hover {
    background-color: #45a049;
}

/* ================= ÜZENET-OLDAL-SZERKEZET ================= */
.sidebar-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 100px 20px 0 20px;
}
.sidebar-buttons button {
    width: 150px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-align: left;
}
.sidebar-buttons button:hover {
    background-color: #45a049;
}
.message-container {
    margin-top: 20px;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.message-item {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.message-item p {
    margin: 5px 0;
}
.message-item .recipient {
    font-weight: bold;
    color: #4CAF50;
}
.message-item .timestamp {
    font-size: 12px;
    color: #888;
    float: right;
}

/* ================= NINCS ÜZENET ESETÉN ================= */
.no-messages {
    text-align: center;
    color: #888;
    font-size: 16px;
    margin-top: 20px;
}

/* ================= INBOX ================= */
.inbox-container {
    max-width: 600px;
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.inbox-message {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.inbox-message:last-child {
    border-bottom: none;
}
.inbox-message .sender {
    font-weight: bold;
    color: #333;
}
.inbox-message .timestamp {
    font-size: 12px;
    color: #777;
    float: right;
}
.inbox-message p {
    margin: 5px 0;
}

/* ================= ÉRTESÍTÉSEK ================= */
.notifications {
    padding: 20px;
    width: 100%;
}
.notifications h2 {
    margin-bottom: 20px;
}
.messages, .likes, .image-likes, .view-requests {
    margin-bottom: 30px;
}
.messages ul, .likes ul, .image-likes ul, .view-requests ul {
    list-style-type: none;
    padding: 0;
}
.messages li, .likes li, .image-likes li, .view-requests li {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}
.messages li:last-child, .likes li:last-child, .image-likes li:last-child, .view-requests li:last-child {
    border-bottom: none;
}
.image-likes img, .view-requests img {
    max-width: 100px;
    height: auto;
    display: block;
    margin-top: 10px;
}

/* ================= ÜZENET ÍRÁS ÉS GOMBOK ================= */
.message-form {
    margin-top: 20px;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
}
.message-form h3 {
    margin-bottom: 10px;
    color: rgba(207, 42, 42);
}
.message-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    margin-bottom: 10px;
}
.message-form button {
    padding: 10px 20px;
    background-color: rgba(207, 42, 42);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.message-form button:hover {
    background-color: #a12121cc;
}
#messageStatus {
    margin-top: 10px;
    font-size: 14px;
    color: green;
}

/* ================= HIBAÜZENET (FORM) ================= */
.error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
}

/* ================= FORMULÁRIUM (ALAP) ================= */
form {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
}
label {
    font-weight: bold;
    margin-top: 10px;
}
input, select {
    padding: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
}
button {
    padding: 10px 20px;
    background-color: rgba(207, 42, 42, 0.87);
    color: white;
    border: none;
    cursor: pointer;
}
button:hover {
    background-color: #cf2a2aa6;
}

/* ================= BLOG/CARD STÍLUSOK ================= */
.card {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    background: #f9f9f9;
    width: 100%;
}
.card img {
    max-width: 100%;
    margin: 10px 0;
}

/* ================= TÁBLÁZATOK ================= */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}
.actions button {
    margin-right: 5px;
}

/* ================= LÁBLÉC ================= */
.footer {
    padding: 10px;
    background-color: #f3f3f3;
    border-top: 1px solid #ccc;
    text-align: center;
}
.footer a {
    margin: 0 10px;
    color: inherit;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
.footer-social img {
    width: 24px; height: 24px;
    margin: 0 8px;
    vertical-align: middle;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}
.footer-social img:hover {
    filter: none;
}
.footer-text {
    font-size: 12px;
}
.theme-switcher {
    margin-bottom: 10px;
}
.theme-switcher button {
    padding: 6px 12px;
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
.theme-switcher button:hover {
    background-color: #666;
}

/* ================= DARK MODE ================= */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea,
body.dark-mode .form-group input,
body.dark-mode .form-group select {
    background-color: #1e1e1e;
    color: #e0e0e0;
    border: 1px solid #444;
}
body.dark-mode form,
body.dark-mode .container,
body.dark-mode .content,
body.dark-mode .profile-container,
body.dark-mode .message-form,
body.dark-mode .modal-container {
    background-color: #1a1a1a;
    color: #ddd;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}
body.dark-mode .sidebar,
body.dark-mode .top-bar {
    background-color: #232323;
    color: #ddd;
    border-right: 1px solid #333;
}
body.dark-mode .sidebar a,
body.dark-mode .top-bar a {
    color: #ccc;
}
body.dark-mode .sidebar a:hover,
body.dark-mode .top-bar a:hover {
    background-color: #333;
    color: #fff;
}
body.dark-mode button,
body.dark-mode .toggle-button {
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
}
body.dark-mode button:hover,
body.dark-mode .toggle-button:hover {
    background-color: #555;
    border-color: #666;
}
body.dark-mode .user-container,
body.dark-mode .profile-info,
body.dark-mode .photos-container,
body.dark-mode .search-box,
body.dark-mode .message-item {
    background-color: #1c1c1c;
    border: 1px solid #333;
    color: #eee;
}
body.dark-mode .offer-bubble {
    background-color: #333;
    color: #fff;
}
body.dark-mode .offer-bubble:hover {
    background-color: #444;
}
body.dark-mode .user-name,
body.dark-mode .user-city,
body.dark-mode .user-age {
    color: #ccc;
}
body.dark-mode a {
    color: #87cefa;
}
body.dark-mode a:hover {
    color: #fff;
    text-decoration: underline;
}
body.dark-mode .modal-content {
    background-color: #1a1a1a;
    color: #fff;
}
body.dark-mode .footer.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
    border-top: 1px solid #444;
}

  .custom-offer-container {
        max-width: 600px;  /* vagy 700px */
        margin: 20px auto; /* középre igazítás */
    }
/* ================= „AJÁNLATI BUBORÉKOK” ================= */
.offer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 1px;
    padding: 10px;
    background-color: #ffff;
    border-radius: 15px;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    
}
.offer-bubble {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 15px;
    padding: 4px 8px;
    margin: 6px;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: 0 2px 4px rgb(255, 255, 255);
    border: 1px solid rgba(207, 42, 42, 0.473);

}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

.offer-bubble.selected {
    background: #ffffff;
    transform: scale(1.15);
    order: -1;
    border: 1px solid rgba(207, 42, 42, 0.473);
    display: inline-flex;
    align-items: center;
    background-color: #cf2a2a1a;
    border-radius: 15px;
    padding: 4px 8px;
    margin: 6px;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 2px 4px rgb(255, 255, 255);
    border: 1px solid #cf2a2ade


}
.offer-search {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #ff6b81;
    border-radius: 20px;
    font-size: 16px;
    text-align: center;
    outline: none;
    transition: all 0.3s ease-in-out;
}
.offer-search:focus {
    border-color: #ff4d6d;
    box-shadow: 0 0 10px rgba(255, 107, 129, 0.5);
}
.container {
  margin-bottom: 60px;
}
/* ================= INBOX-ÜZENETEK ================= */
.inbox-container { /* fent már definiálva */ }
.inbox-message { /* fent már definiálva */ }

/* ================= TRANSACTIONS TABLE ================= */
.transactions-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: sans-serif;
}
.transactions-table th,
.transactions-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}
.transactions-table th {
    background-color: #f0f0f8;
    font-weight: bold;
}
.transactions-table tr:nth-child(even) {
    background-color: #fafafa;
}
.transactions-table tr:hover {
    background-color: #eef;
}

/* ================= „PRO / NONPRO” ÖSSZEHASONLÍTÓ OLDAL ================= */
.pro-info, .nonpro-info {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    width: 100%;
}
.pro-info h2, .nonpro-info h2 {
    margin-top: 0;
    color: #cf2a2ad9;
}
.pro-info p, .nonpro-info p {
    line-height: 1.6;
    margin: 15px 0;
}
.btn {
    display: inline-block;
    background-color: #cf2a2ad9;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s;
    margin-top: 20px;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background-color: #cf2a2aa6;
}
.features-list {
    list-style: disc inside;
    margin-left: 20px;
}
.features-list li {
    margin-bottom: 8px;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.comparison-table th, .comparison-table td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: center;
}
.expired {
    color: #b30000;
    font-weight: bold;
}

/* ================= FORM CÉLÚ SZEKCIÓK ================= */
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}
.date-group {
    display: flex;
    gap: 10px;
}
.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 10px;
}
.language-group {
    margin-top: 10px;
}

/* ================= HIGHLIGHT-ÉS PRO RIBBON ================= */
.highlight-button {
    background-color: gold;
    color: black;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    margin-top: 10px;
}
#highlightMessage {
    position: fixed;
    bottom: 20px; right: 20px;
    background-color: #cf2a2ad9; color: white;
    padding: 15px; border-radius: 10px;
    z-index: 9999; display: none;
}
.highlight-info {
    background-color: #fff5cc;
    color: #333;
    border: 1px solid gold;
    padding: 10px 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: bold;
}
.highlight-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    
}
.highlight-choice {
    background-color:rgba(207, 42, 42, 0.87);
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
}
.highlight-choice:hover:not(:disabled) {
    background-color: rgba(207, 42, 42, 0.87);

}
.highlight-choice:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.highlight-choice.selected {
    background-color: gold;
    color: black;
    border-color: darkorange;
}

/* ================= UPLOAD BUTTON ================= */
#uploadButton {
    background-color: grey;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: not-allowed;
    transition: background-color 0.3s ease;
}
#uploadButton.active {
    background-color: #cf2a2ad9;
    cursor: pointer;
}

/* ================= ONLINE-DOT ÉS BADGE ================= */
.online-dot {
    display: inline-block;
    margin-left: 6px;
    width: 10px; height: 10px;
    background-color: limegreen;
    border: 2px solid white;
    border-radius: 50%;
    vertical-align: middle;
}
.online-dot.offline {
    background-color: lightgray;
}
.user-container.highlighted {
    border: 2px solid rgba(207, 42, 42, 0.87);
    box-shadow: 0 0 0px rgba(207, 42, 42, 0.87);
    border-radius: 8px;
    overflow: hidden;
}
.user-container.highlighted .badge {
    position: absolute;
    top: -10px; left: -10px;
    background-color: gold;
    color: black;
    font-weight: bold;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 0 0 8px 0;
}

/* ================= PROFILE-PICTURE-RELATED ================= */
.profile-pic-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 200px;
}
.profile-pic {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.money-badge {
    position: absolute;
    bottom: 4px; right: 4px;
    width: 22px; height: 22px;
    z-index: 10;
    border-radius: 50%;
    background: white;
    padding: 2px;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

/* ================= CREDITS ÉS BRAND CAROUSEL ================= */

.brand-carousel {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
}
.brand-button {
    min-width: 120px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    text-align: center;
    background: #fff;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* ================= PONTOPTIONS ÉS VERIFY ================= */
.amount-options {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.amount-button {
    padding: 8px 12px;
    background-color: #eee;
    border-radius: 6px;
    cursor: pointer;
}
.amount-button:hover {
    background-color: #ddd;
}
.brand-section {
    margin-bottom: 40px;
}
.verify-warning {
    font-size: 13px;
    color: #d9534f;
    margin-top: 12px;
}
.verify-warning a {
    color: #d9534f;
    text-decoration: underline;
    font-weight: bold;
}

/* ================= PONTFELTÖLTÉS ÉS FIZETÉSI MODAL ================= */


/* ================= MÓDULSZEKTIONS (pl. KIVÁLASZTÁS) ================= */
.modal .close {
    float: right;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* ================= FAQ-SECTION ================= */
.faq-section {
    max-width: 800px;
    margin-top: 55px;
    padding: 20px;
}
.faq-section h1 {
    text-align: center;
    margin-bottom: 40px;
}
.faq-section h2 {
    color: #cf2a2ad9;
    margin-top: 30px;
}
.faq-section h3 {
    margin-top: 20px;
    color: #333;
}
.faq-section p {
    margin-bottom: 10px;
}

/* ================= DROPDOWN-OK ================= */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropbtn {
    background-color: #ff6b81;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}
.dropdown-content {
            display: none;
            position: absolute;
            background-color: white;
            min-width: 160px;
            z-index: 2000;
            border-radius: 5px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            top: 100%;
            right: 0;
        }
  .dropdown-content a {
            color: #333;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
              font-family: 'Poppins', sans-serif;
              font-weight: 500;
        }
.dropdown-content a:hover {
    background-color: #f0f0f0;
}
   .dropdown:hover .dropdown-content {
            display: block !important;
        }
  

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 végleges, asztali gép nézet    🟢🟢🟢
                                       🟢🟢🟢                             
                                       🟢🟢🟢
                                       🟢🟢🟢
                                       🟢🟢🟢
                                      */





.top-section{
  grid-column: 1;          /* mindig a bal oszlop */
  display: grid;
  gap: 12px;
  margin: 0;               /* NINCS negatív eltolás */
  place-self: start stretch;
  width: 100%;
  text-align: left;
  margin-top: 15px !important;

}
.top-section > *,
.top-section .top-row,
.top-section .credits-box,
.top-section .highlight-info,
.top-section .highlight-promo{
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 12px 0 !important;
  justify-self: stretch !important;
  align-self: start !important;
}



/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Mobilnézet mobilos nézet   🟢🟢🟢
                                   🟢🟢🟢                             
                                   🟢🟢🟢
                                   🟢🟢🟢
                                   🟢🟢🟢
                                      */


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Fejléc header.php topbar🟢🟢🟢
                                🟢🟢🟢                             
                                🟢🟢🟢
                                🟢🟢🟢
                                🟢🟢🟢
                                      */

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-evenly !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  padding: 0;
  background: rgba(207, 42, 42, 0.87);
  z-index: 1000;
  transition: transform 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* szebb elválasztás a tartalomtól */
}

  .top-bar.hidden {
    transform: translateY(-100%);
  }

  /* KATTINTHATÓ zóna fix 80px magas legyen */
  .top-bar > a,
  .profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 0 12px !important;
    min-width: auto !important;
  }

  /* PROFILKERET pontos mérete */
  .top-bar .profile-wrapper {
     width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* PROFILKÉP mérete */
  .top-bar .profile-thumb {
  border-radius: 20px;
  object-fit: cover;
   width: 55px;
      height: auto;
    display: block;
  }

  .link-text {
    margin-left: 6px;
     font-size: 16px;
    white-space: nowrap;
  }

  /* IKONOK mérete */
  .top-bar a img {
    width: 28px !important;
    height: 28px !important;
    margin: 0;
    object-fit: contain;
    filter: contrast(1.3) brightness(1.1);
  }

  /* LOGÓ */
  .top-bar a.logo-link .logo-icon {
    width: 52px !important;
    height: 52px !important;
  }

  /* Egyéb elemek */
  .brand-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    grid-auto-rows: auto;
    grid-auto-flow: row;
    gap: 8px;
  }

  .transactions-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .transactions-table th,
  .transactions-table td {
    white-space: nowrap;
    font-size: 13px;
    padding: 6px;
  }

  .container {
    margin-left: 0 !important;
    max-width: 100% !important;
    padding: 0 0vw !important;
    box-sizing: border-box;
  }

.profile-header img.large {
  width: 10%;
  height: auto;
  min-width: 100%;
  min-height: 100%; /* max méretet adsz neki */
  display: block;
  object-fit: cover; /* ha vágni akarod */
}

  .profile-header img.small {
    max-width: 100px;
  }

  .offer-bubble {
    min-width: 100px;
    font-size: 12px;
    padding: 8px 12px;
  }

  .chat-container {
    height: 200px;
  }

  .inbox-container {
    padding: 10px;
  }

  button {
    padding: 8px 16px;
    font-size: 14px;
  }



  .message-form {
    padding: 10px;
  }


 /* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Main főoldal            🟢🟢🟢
                                🟢🟢🟢                             
                                🟢🟢🟢
                                🟢🟢🟢
                                🟢🟢🟢
                                      */
.main-content{
  display: grid;
  /* bal: fix(ish) sáv a top-sectionnek, jobb: rugalmas user-grid */
  grid-template-columns: minmax(320px, 380px) 1fr;
  gap: 24px;
  align-items: start;
margin-top: 80px !important;
  /* header alá, középre igazítva, de a bal szél közel marad */
  width: min(1600px, 100%);
  margin: 90px auto 0;
  padding-inline: clamp(12px, 2vw, 24px);
  box-sizing: border-box;
  font-family: sans-serif;
}



/* ============================
   FELSŐ SOR – EGY DOBOZ
   ============================ */
.top-row {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}

/* ============================
   CREDIT-BOX – LAYOUT & HOVER
   ============================ */
.credits-box {
  margin-top: 70px;
  width: 100%;
  max-width: 360px;
  height: 122px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px px rgba(0,0,0,0.08);
  padding: 12px 24px;         /* laposabb felül-alul */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
}
.credits-box:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Pont-ikon és egyenleg sorban */
.credit-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.credit-icon {
  width: 44px;
  flex-shrink: 0;
}

/* az egész egységre */
.credit-balance {
  font-size: 32px;
    font-weight: 540; /* normál */

  color: #444;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  margin: 0;
  display: flex;
  align-items: baseline;
}

/* csak a számra */
  .balance-amount .credit-balance  {
  font-weight: 500; /* félkövér */
    font-size: 32px;

}

/* csak a „pont” szóra */
.credit-balance .balance-unit {
  
  font-weight: 400; /* normál */
  font-style: italic; /* ha kell, itt beállíthatod dőlten is */
  margin-left: 4px;
  font-size: 0.8em;   /* vagy kisebb, ha szeretnéd */
}


/* ============================
   GOMBCSOPORT – EGY SORBAN,
   EGYSÉGES MAGASSÁG
   ============================ */
.button-group {
  display: flex;
  gap: 8px;
  width: 100%;
  justify-content: space-between;
  align-items: center;    /* középre igazítja a gombokat */
}

/* Mindhárom gomb egységes, fix magasság */
.button-group .credit-button,
.button-group .redeem-button,
.button-group .pro-button {
  flex: 1;
  height: 40px;           /* fix magasság */
  line-height: 40px;      /* ennyi legyen a sor magassága is */
  display: flex;          /* flex, hogy az ikon + szöveg is középen legyen */
  align-items: center;    /* függőleges közép */
  justify-content: center;/* vízszintes közép */
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  margin: 0;              /* eltávolít minden plusz margót */
  box-sizing: border-box;
  transition: background .2s, transform .1s;
}

/* Ha a pro gombot szélesebbre szeretnéd: */
.button-group .pro-button {
  flex: 30px;
}

/* Ha továbbra is maradna fura eltérés: nullázd a konkrét gomb margóját */
.button-group .redeem-button {
  margin-top: 0;
}



.button-group .credit-button {
  background:rgba(207, 42, 42, 0.87);
}
.button-group .credit-button:hover {
  background: #a12121cc;
  transform: translateY(-1px);
}
.button-group .redeem-button {
  background:rgba(207, 42, 42, 0.87);
}
.button-group .redeem-button:hover {
  background: #a12121cc;
  transform: translateY(-1px);
}
.button-group .pro-button {
  background: #ff9800;
}
.button-group .pro-button:hover {
  background: #cf7302;
  transform: translateY(-1px);
}

/* PRO-ikon apró kiemelés */
.lock-icon {
  display: inline-block;
  transform: translateY(-2px);
}


/* -----------------------------------
   PROFIL KIEMELÉS BLOKKOK
   ----------------------------------- */

/* Általános doboz-stílusok */
.highlight-info,
.highlight-promo {
  margin-bottom: 12px;
  margin-top: 60px;
  width: 100%;
  max-width: 360px;
  height: 120px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px px rgba(0,0,0,0.08);
  padding: 15px 24px;         /* laposabb felül-alul */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
  gap: 12px;  
   font-size: 16px;    /* betűméret */
  font-weight: 540; 
  
}

/* Amikor már aktív a kiemelés */
.highlight-info {
  background: #ffffff;
  border: 1px solid #dddd;
color: #444;
  margin: auto;   /* KÖZÉPRE */
margin-bottom: 10px;
 margin-top: 60px;
  width: 100%;
  max-width: 360px;
  height: 122px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px px rgba(0,0,0,0.08);
  padding: 12px 24px;         /* laposabb felül-alul */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;

}

/* Promóciós blokk, ha még nem emelted ki */
.highlight-promo {
  background: #ffffff;
  border: 1px solid #dddd;
  color: #333;
  font-weight: 540;
  font-size: 16px;
  text-align: center; /* Ez igazítja középre a szöveget */
  line-height: 1.2; /* Ez növeli a sorok közti távolságot */

}


/* Gombok mindkét blokkban */
.btn-extend,
.btn-highlight {
  background-color: rgba(207, 42, 42, 0.87);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  margin-left: 8px;
  cursor: pointer;
  font-size: 16px;
}

/* Opció: hover effekt */
.btn-extend:hover,
.btn-highlight:hover {
  background-color: #a12121cc;
}

.user-header {
  font-family: 'Nunito', Arial, sans-serif !important;
  font-weight: 600;
  font-size: 25px;
  color: #333;
      gap: 5px ; /* ⬅️ biztos érvényesül */

}

/* ============================
   USER-GRID: 2 oszlopban
   ============================ */
.user-grid{
  grid-column: 2;                 /* a jobb, rugalmas oszlopban */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 250px));
  column-gap: 30px;
  row-gap: 20px;
  justify-items: stretch;
  margin: 0;                      /* NINCS balra tologatás */
}




/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 User container kártyák   🟢🟢🟢
                                 🟢🟢🟢                             
                                 🟢🟢🟢
                                 🟢🟢🟢
                                 🟢🟢🟢
                                      */
                                      
                                      
.user-container {
  position: relative;
  max-width: none;      /* ne korlátozza a szélességet */
  width: 100%; 
  min-height: 440px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  padding-bottom: 10px;
  box-sizing: border-box;
}

/* --- Képwrapper (60% magasság) --- */
.user-container .image-wrapper {
  flex: none;
  height: 297.3333333333333px; 
  width: 223px;
   overflow: hidden;
    margin-top: 8px; 
    margin-left: 10px;    
}
.user-container .image-wrapper .profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Infó blokk (40% magasság) --- */
.user-container .info {
  flex: 0 0 40%;
  padding: 8px;
    width: 110%;
  display: flex;
    align-items: flex-start;  /* flex-direction: column esetén ez a vízszintes igazítás */
  text-align: left;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  
}




/* Név + kor sor */
.user-container .name-age {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 0px;
    margin-top: 0px;
}
.user-container .name-age .age {
  font-weight: normal;
  margin-left: 0px;
  color: #666;
}

/* Város */
.user-container .location {
  font-size: 16px;
  color: #555;
  margin-bottom: 0px;
   margin-top: 7px;
}

/* ========== AKCIÓGOMBOK ========== */

.user-container .actions {
  position: absolute;
  bottom: 0;
  left: 0;        /* nullára állítva */
  right: 0;       /* nullára állítva */
  display: flex;
  gap: 0;         /* ha össze akarod érni, különben pl. gap:2px */
  box-sizing: border-box;
  /* padding-ot töröld, hogy ne tolja bejjebb */
  padding: 0;
}

.user-container .actions button {
  flex: 1;
  margin: 0;
  height: 46px;
  background: transparent;
  border: 1px solid #ddd;
  color: rgba(207, 42, 42, 0.87);
  border-radius: 0;   /* ha teljesen össze akarod illeszteni, egy zsinórban */
  /* ha szeretnéd lekerekíteni a szélső gombok sarkait, használj :first-child / :last-child selektorokat */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background .2s, border-color .2s;
  box-sizing: border-box;
}

.user-container .actions button:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.user-container .actions button:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.user-container .actions button:hover {
  background: rgba(230,56,73,0.1);
}

.user-container .actions button img {
  width: 20px;
  height: auto;
  display: block;
}

/* – ha külön használod az osztályokat – */
.user-container .actions .like-btn {

}
.user-container .actions .message-btn {
  /* background: #2196f3; color: #fff; */
}

/* ========== IKON-MÉRETEZÉS ========== */
/* a gombokon belüli <img> elemekre */
.user-container .actions button img {
  width: 40px;
  height: auto;
  display: block;
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Badge igazolás elhelyezés 🟢🟢🟢
     ÁLTALÁNOS MINDKÉT CONTAINER  🟢🟢🟢                             
                                  🟢🟢🟢
                                  🟢🟢🟢
                                  🟢🟢🟢
                                      */

.user-container .image-wrapper {
  position: relative;
}

.badge-icon {
    width: 38px;
    height: 38px;

}

.identity-badge {
    width: 50px ;
    height: 50px ;
     position: relative;
    bottom: 5px; 
}

.user-container .image-wrapper .status-badge {
  position: absolute;
  bottom: 0px;
  right: 50px;
  width: 25px;
  height: 25px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.user-container .image-wrapper .money-badge {
  position: absolute;
  bottom: 0;
  right: 1px;
  width: 20px;
  height: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.user-container .image-wrapper .verify-badge {
  position: absolute;
  bottom: 0;
  right: 23px;
  width: 24px;
  height: 23px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.badges-wrapper {
  position: absolute ;
  right: 2px ;
  bottom: -10px ;
  display: flex ;
  flex-direction: row ;
  gap: 2px ;
  justify-content: flex-end ;
}

.single-badge-wrapper {
  position: absolute;
  right: 4px ;
  bottom: 0px ;
}





.image-wrapper {
    position: relative;
    display: inline-block;
}

.badges-row {
    display: flex;
    flex-direction: row;
    gap: 2px;
    align-items: flex-end;  /* << EZZEL minden badge az alján lesz igazítva! */
}


/* Csak a profilképnél – nagyobb, jobb alsó sarokban */
.profile-badges-row {
    position: absolute;
    bottom: 1px;
    right: 1px;
    z-index: 10;
}

.profile-badges-row .badge-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    object-fit: cover;
}

/* Alap badge minden más helyen (pl. kicsiben, felsorolásban) */
.badges-row .badge-icon {
    width: 20px;
    height: 20px;
background: transparent;
}
.profile-badges-row .identity-badge {
    width: 28px;
    height: 28px;
         position: relative;
    bottom: -4px; 
    
}



.online-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-left: 8px;
}
.online-dot.online {
  background-color: #2ecc71;
}
.online-dot.offline {
  background-color: #ccc;
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Általános modál         🟢🟢🟢
                                🟢🟢🟢                             
                                🟢🟢🟢
                                🟢🟢🟢
                                🟢🟢🟢
                                      */
.modal {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 120%; 
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal.show {
  display: flex;
}

/* --- Csak a képes modálra vonatkozik --- */
#imageModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9); /* sötét háttér */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* A kép: teljes kijelzős, torzítás nélkül */
#imageModal .modal-content {
  background: none;      /* nincs fehér háttér */
  border: none;          /* nincs keret */
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
  width: auto;
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  object-fit: contain;   /* ne torzuljon */
  object-position: center;
  display: block;
}


/* Bezáró X gomb */
/* Bezáró X gomb */
.modal-content .close {
  top: 10px !important;
  right: 20px !important;
    background-color: #ffff ;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  line-height: 1;
  transition: color .2s;
    text-align: center;

}
.modal-content .close:hover {
  color: #e63849;
}

/* Címsor, bekezdés */
.modal-content h2,
.modal-content h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 600;
  color:#333;
    text-align: center;

}
.modal-content p {
  margin-bottom: 20px;
    margin-top: 20px;

  color:#333;
  font-size: 20px;
  line-height: 1.4;
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Highlight kiemelés modál   🟢🟢🟢
                                   🟢🟢🟢                             
                                   🟢🟢🟢
                                   🟢🟢🟢
                                   🟢🟢🟢
                                      */
.highlight-choice {
  flex: 1 1 30%;
  min-width: 100px;
  display: block;
  width: 100%;
  margin-bottom: 1px;
  padding: 10px 8px;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.highlight-choice:hover,
.highlight-choice.selected {
  background: rgba(207, 42, 42, 0.87);
  border-color: rgba(207, 42, 42, 0.87);
  color: #fff;
}

/* 3) Pontok beváltása gomb és link */
.payWithPointsBtn,
#openCreditFromHighlight {
  display: block;
  width: 100%;
  border: none;
  cursor: pointer;
}
.payWithPointsBtn {
  margin-bottom: 16px;
  padding: 10px;
  font-size: 14px;
  background: rgba(207, 42, 42, 0.87);
  color: #333;
  border-radius: 4px;
  transition: background .2s;
}
.payWithPointsBtn:hover {
  background: rgba(207, 42, 42, 0.87);
}
#openCreditFromHighlight {
  margin-top: 8px;
  font-size: 140px;
  background: none;
  color: #e63849;
  text-decoration: underline;
}

/* 4) Fizetési opciók szekciók */
#paymentOptions,
#paymentMethodChoice,
#bankTransferInfo {
  display: none;
}
#paymentOptions.active,
#paymentMethodChoice.active,
#bankTransferInfo.active {
  display: block;
}
#paymentOptions button,
#paymentMethodChoice button,
#bankTransferInfo button {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  font-size: 18px;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: left;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
#paymentOptions button:hover,
#paymentMethodChoice button:hover,
#bankTransferInfo button:hover {
  background: rgba(207, 42, 42, 0.87);
  border-color: rgba(207, 42, 42, 0.87);
}

/* 5) Banki átutalás p elemek */
#bankTransferInfo p {
  margin: 8px 0;
  font-size: 20px;
  color: #333;
  line-height: 1.4;
}
#bankTransferInfo p.activation-note {
  margin: 20px 0 18px;
  font-size: 16px;
  color: #555;
}

/* 6) Ikonok és egyenleg sor */
.icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 6px;
}
.points-icon {
  width: 38px;
  height: 38px;
  margin-right: 4px;
}
.credit-balance-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 20px;
}
.credit-text {
 font-weight: 500;
   font-size: 22px;
    transition: font-size 0.2s ease;
  white-space: nowrap;

}

/* 7) Confirm sor és gombok */
.confirm-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.confirm-back {
  margin-top: 10px;
}
.confirm-btn {
  display: flex;
  justify-content: flex-start;
  padding: 8px 12px;
  font-size: 18px;
  font-weight: 500;
  background: #fff;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color .2s;
}
.confirm-btn:hover {
  background-color: rgba(207, 42, 42, 0.87);
  color: #fff;
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Credit kredit feltöltés modál 🟢🟢🟢
                                      🟢🟢🟢                             
                                      🟢🟢🟢
                                      🟢🟢🟢
                                      🟢🟢🟢
                                      */

#creditModal .modal-content {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  padding: 20px;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
  box-sizing: border-box;
  text-align: center;
}

/* Eltüntetjük a <br>-t */
#creditModal .modal-content br {
  display: none;
}

/* Cím és bekezdések */
#creditModal h2 {
  margin-bottom: 4px;
}
#creditModal p {
  margin: 2px 0 12px;
}
#creditTransferSection p {
  margin: 8px 0;
  font-size: 20px;
  color: #333;
  line-height: 1.4;
}
#creditTransferSection p.activation-note {
  margin: 20px 0 18px;
  font-size: 16px;
  color: #555;
}

/* Form full-width */
#creditModal #creditPaymentOptions form#creditForm {
  width: 100%;
  margin: 0 0 2px;
  padding: 0;
  box-sizing: border-box;
}

/* Gombok – közös szabályok */
#creditModal #creditPaymentChoice button,
#creditModal #creditTransferSection button,
#creditModal #creditPaymentOptions .credit-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px;
  background: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}

/* PaymentChoice & Transfer gombok */
#creditModal #creditPaymentChoice button,
#creditModal #creditTransferSection button {
  padding: 14px 10px;
  font-size: 16px;
  font-weight: 400;
  border-radius: 6px;
  text-align: center;
  color: #333;
  margin-bottom: 16px;
}

/* Credit‐btn gombok */
#creditModal #creditPaymentOptions .credit-btn {
  padding: 10px;
  font-size: 18px;
  border-radius: 4px;
  text-align: left;
  color: #333;
}

/* Utolsó gombok margin-ja */
#creditModal #creditPaymentChoice button:last-child,
#creditModal #creditPaymentOptions .credit-btn:last-child,
#creditModal #creditTransferSection button:last-child {
  margin-bottom: 10px;
}

/* Hover effekt mindháromra */
#creditModal #creditPaymentChoice button:hover,
#creditModal #creditPaymentOptions .credit-btn:hover,
#creditModal #creditTransferSection button:hover {
  background: rgba(207, 42, 42, 0.87);
  border-color: rgba(207, 42, 42, 0.87);
  color: #fff;
}

/* Ikonok a .credit-btn-on belül */
#creditModal #creditPaymentOptions .credit-btn .icon {
  width: 24px;
  height: auto;
  vertical-align: middle;
  margin-right: 8px;
}

/* Egyenleg sor (credit-balance wrapper) */
.credit-balance-wrapper2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 20px 0 10px;
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Felhasználó profil user modál   🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

:root {
  --bg-light: #f5f5f5;
  --bg-dark: #121212;
  --card-light: #ffffff;
  --card-dark: #1e1e1e;
  --text-light: #333;
  --text-dark: #e0e0e0;
  --primary: rgba(207, 42, 42, 0.87);
  --primary-dark: #ffffff;
  --success: rgba(207, 42, 42, 0.87);
  --success-dark: rgba(207, 42, 42, 0.87);
  --font-base: 16px;
}
html {
  font-size: var(--font-base);
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-light);
}
body.dark-mode {
  background: var(--bg-dark);
  color: var(--text-dark);
}

/* Konténer */
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0px;
  box-sizing: border-box;
  background-color: var(--card-light);
  border-radius: 0px;
  box-shadow: 0 0px 0px rgba(0,0,0,0.1);
}
body.dark-mode .container {
  background-color: var(--card-dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Profil container */
.profile-container {
  padding: 0px;
  background-color: var(--card-light);
  border-radius: 0px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
body.dark-mode .profile-container {
  background-color: var(--card-dark);
  box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
/* Példa: a te modalod fő konténerének adj egy class-t vagy id-t, pl. "profile-modal" */
.profile-modal {
  position: fixed; /* vagy absolute, ahogy jelenleg van */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95vw;   /* vagy amekkorát akarsz */
  max-width: 600px;
  max-height: 90vh; /* LEGFONTOSABB! */
  overflow-y: auto; /* Görgetés ha kilóg */
  background: #fff;
  border-radius: 16px;
  z-index: 10001;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

/* Profil fejléc */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;

}
.profile-pic-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 300px; /* pl. szélesebb képhez */
    height: 452px !important;
}

body.dark-mode .badge-icon {
  background: var(--card-dark);
}

/* Felhasználói adatok */
.user-info h2 { 
  font-size: 1.8rem;
  margin: 1px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;

}



/* Ikonok */
.block-icon, .report-icon {
  margin-left: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Jelentés modális */
.report-modal {
  display: none;
  position: fixed;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--card-light);
  color: var(--text-light);
  padding: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  width: 90%;
  max-width: 360px;
  box-sizing: border-box;
  opacity: 1;
}
body.dark-mode .report-modal {
  background-color: var(--card-dark);
  color: var(--text-dark);
  border-color: #444;
}
.report-modal label { font-weight: bold; }
.report-modal select, .report-modal textarea {
  width: 100%;
  margin-top: 6px;
  padding: 6px;
  box-sizing: border-box;
  font-size: 0.9rem;
}
.report-modal button {
  margin-right: 8px;
  padding: 6px 12px;
  font-size: 0.9rem;
}

/* Jelentés státusz */
.report-status {
  color: var(--success);
  margin-top: 8px;
  font-size: 0.9rem;
}

/* Ajándék ikonok */
.gift-icons {
  display: flex;
  justify-content: center;
  gap: 50px; /* eddigi 8px helyett */
  
}
.actions {
    position: relative; /* A pozíció alapja a három pont lesz */
}

.actions-menu {
      gap: 5px;               /* ⬅️ 5px távolság a gombok között */

    display: flex;
    flex-direction: column; /* egymás alatt legyenek az opciók */
    position: absolute;     /* a három pont alatt helyezkedik el */
    top: 100%;              /* pontosan a három pont alatt */
      left: auto;    /* kikapcsoljuk a balra illesztést */
  right: 0;                /* a három pont bal széléhez igazítva */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;          /* mindig a többi fölött */
}

.actions[open] .actions-menu {
    display: flex; /* csak akkor jelenjen meg, ha lenyitott */
}
/* summary (⋮) ikon méretének csökkentése */

.actions summary { 
  margin-left: 0 !important;
  font-size: 1.9rem;
  display: inline-flex;
  align-items: center;
  line-height: 1;

}

/* menü gombikonok méretének beállítása */
.actions-menu button img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* ha a vissza‐gomb ikont is kisebbre akarod */
.back-btn-icon {
  width: 50px !important;
  height: 50px !important;
}



.giftIcon {
  width: 85px;
  height: 85px;
  margin-top:0px;  
  margin-bottom: 15px;  
  padding: 5px 7px;        /* belső térköz */
  cursor: pointer;
}
.toggle-buttons {
  display: flex;
  border-top: 1px solid rgba(207, 42, 42, 0.411);
}

/* Minden btn-icon-btn egyenlő széles lesz */
.toggle-buttons .btn-icon-btn {
  flex: 1;
  border: none;
  border-radius: 0;
  padding: 13px 27px;    /* alap padding */
  text-align: center;
  transition: all 0.3s ease;
}

/* 2 gombos esetben extra belső térköz, hogy szépen kitöltse a sort */
.toggle-buttons.buttons-2 .btn-icon-btn {
  padding: 13px 70px;
}

/* 3 gombos esetben kicsit nagyobb */
.toggle-buttons.buttons-3 .btn-icon-btn {
  padding: 13px 50px;
}

/* 4 vagy több gombnál marad az alap padding */
.toggle-buttons.buttons-4 .btn-icon-btn,
.toggle-buttons.buttons-5 .btn-icon-btn {
  padding: 13px 27px;
}

.toggle-buttons .btn-icon-btn:hover {
  background-color: #ce2e3e; /* halvány piros háttér hover-nél */
  border-color: rgba(207, 42, 42);     /* sötétebb piros keret */
}

.toggle-buttons button {
  padding: 16px 22px;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 0px;
  font-size: 1.3rem;
  cursor: pointer;
   margin-top: 0px;
}
.toggle-buttons button:hover { background: var(--primary-dark); }

.btn-icon-btn .btn-text {
  display: inline;
}
.btn-icon-btn .btn-icon {
  display: none;
  width: 40px;
  height: 40px;
  vertical-align: middle;
}

/* Kívánságok, ajánlatok*/
.profile-section { margin-top: 0; }
.profile-section h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.offer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.offer-bubble {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f0f0f0;
  border-radius: 20px;
  cursor: default;      /* itt már nem kattintható */
  user-select: none;
}

.offer-icon {
   width: 34px;
    height: auto;
    vertical-align: middle;
    margin-right: 6px;
}

.offer-label {
  font-size: 16px;
  white-space: nowrap;
}


/* Üzenetküldő */
.message-form {
  margin-top: 20px;
}
.message-form textarea {
  width: 100%;
  height: 80px;
  padding: 8px;
  font-size: 0.9rem;
  resize: vertical;
  box-sizing: border-box;
}
.message-form button {
  margin-top: 8px;
  padding: 6px 12px;
  border: none;
  background: var(--success);
  color: #fff;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}
.message-form button:hover { background: var(--success-dark); }

/* Chat ablak */
.chat-container { margin-top: 20px; }
.chat-messages {
  max-height: 200px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #ccc;
  background: var(--card-light);
}
body.dark-mode .chat-messages { background: var(--card-dark); border-color: #444; }
.chat-container textarea {
  width: 100%;
  padding: 8px;
  margin-top: 8px;
  box-sizing: border-box;
}
.chat-container button {
  margin-top: 6px;
  padding: 6px 12px;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Profil és külső adatok */
.profile-info p, .external-info p {
  margin: 4px 0;
  font-size: 0.9rem;
}
.profile-info ul { list-style: disc; margin-left: 16px; }

/* Keresési feltételek */
.search-criteria-container p { margin: 4px 0; font-size: 0.9rem; }

/* Fotók */
.photos-container .photo-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.photos-container .photo { width: 150px; height: 150px; object-fit: cover; border-radius: 4px; background: var(--card-light); }
body.dark-mode .photos-container .photo { background: var(--card-dark); }
.photo-hidden { position: relative; display: inline-block; }
.photo-hidden .blurred { filter: blur(8px); }
.request-access-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 10px;
  font-size: 0.8rem;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

/* Szekciók közötti távolság eltávolítása */
.search-criteria-container,
.photos-container,
.profile-info,
.external-info {
  margin-top: 0;
}


details summary {
  list-style: none;
 padding: 10px;
}
details summary::-webkit-details-marker {
  display: none;
   padding: 10px;

}

/* Kis képernyőn (576px alatt): csak az ikon látszik */
@media (max-width: 576px) {
  .btn-icon-btn .btn-text {
    display: none;
  }
  .btn-icon-btn .btn-icon {
    display: inline;
  }
}

.info-bubble {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 15px;
    padding: 4px 8px;
    margin: 6px;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: 0 2px 4px rgb(255, 255, 255);
    border: 1px solid rgba(207, 42, 42, 0.473);;

}

.info-icon {
    width: 34px;
    height: auto;
    vertical-align: middle;
    margin-right: 6px;
}

.info-text {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}
/* Maga a modal doboz */
.modal .modal-container {
  background: #fff;
  height: 777px;
  margin: 0px auto;
  padding: 00px;
  width: 100%;
  max-width: 600px;
  border-radius: 0px;

  /* IDE: a lényege */
  max-height: calc(100vh - 80px);  /* ne lógjon ki a képernyőről */
  overflow-y: auto;                /* görgethetővé teszi, ha túl magas */
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Üzenetek / messages.php        🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */



/* ==========================
   Theme Variables
   ========================== */
:root {
  --sidebar-bg: #ffffff;
  --chat-bg: #ffffff;
  --primary-color: #ffffff ;
  --secondary-color: #6c757d;
  --border-color: #d2d7db;
  --avatar-size: 60px;
  --font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* ==========================
   Global Reset & Base Styles
   ========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-family);
  font-size: 14px;
  color: #343a40;
  background-color: #f0f2f5;
  overflow: hidden;
}

/* ==========================
   Container Layout
   ========================== */
.container {
  display: flex;
  height: 100vh;
}
#mainContainer {
  width: 100%;
}

/* ==========================
   Sidebar (Contacts List)
   ========================== */
.contacts-sidebar {
  width: 280px;
  background-color: var(--sidebar-bg);
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
  padding: 1rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.contact-item:hover {
  background-color: #e9ecef;
}
.contact-item + .contact-item {
  border-top: 1px solid var(--border-color);
}

.profile-picture {
  position: relative;
  z-index: 2;                 /* hogy a PRO-gyűrű fölött legyen */
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.contact-username {
  margin-left: 0.85rem;
  font-size: 30px;
  font-weight: 500;
  flex-grow: 1;
  display: flex;
  align-items: center;
}



.block-icon {
  width: 20px;
  height: 20px;
  margin-left: 0.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.block-icon:hover {
  opacity: 1;
}

/* ==========================
   Chat Window
   ========================== */
.chat-container {
  flex: 1;
  height: calc(80vh - 70px - 60px); /* teljes képernyőből kivonjuk a header+input magasságát */

  background-color: var(--chat-bg);
  display: flex;
  flex-direction: column;
  padding: 1rem;
  overflow-y: auto;
}
.chat-container h3 {
  color: var(--secondary-color);
  text-align: center;
  margin-top: 2rem;
}

/* ==========================
   Message Bubbles
   ========================== */
.chat-message {
  max-width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  position: relative;
  word-break: break-word;
  font-size: 14px;
}
.sent-message {
  background-color: rgba(207, 42, 42, 0.048); /* halvány piros buborék */
  color: #212529;                          /* sötét szöveg */
  align-self: flex-end;
  border: 1px solid rgba(207, 42, 42, 0.171); /* 🔥 vékony sötétebb piros keret */
  border-radius: 8px;                       /* finoman kerekített sarkok */
  border-bottom-right-radius: 2px;          /* az eredeti sarok megmarad */
  font-size: 20px;
  padding: 8px 12px;                        /* belső margó a szöveghez */
}

.received-message {
  background-color: #ebe9e9;          /* világosszürke buborék */
  color: #212529;                    /* sötét szöveg */
  align-self: flex-start;
  border: 1px solid #c2c2c2;         /* vékony sötétebb szürke keret */
  border-radius: 8px;                /* finoman kerekített sarkok */
  border-bottom-left-radius: 2px;    /* az eredeti sarok megmarad */
  font-size: 20px;
  padding: 8px 12px;                 /* belső margó, hogy legyen hely a szöveg körül */
}


.message-time {
  display: none;
  font-size: 0.75rem;
  color: var(--secondary-color);
  position: absolute;
  bottom: -1.2rem;
  right: 0.5rem;
}
.chat-message:hover .message-time,
.chat-message.clicked .message-time {
  display: block;
}

.read-receipt {
  position: absolute;
  bottom: -1.2rem;
  left: 0.5rem;
  font-size: 0.75rem;
  color: #fff;
}

/* ==========================
   Back Button
   ========================== */
.back-btn {
  display: none;
}

/* ==========================
   Message Input Area
   ========================== */
#messageInputContainer {
  display: flex;
  border-top: 1px solid var(--border-color);
  padding: 0.75rem;
  background-color: #fff;
  height: 120px;
}
#messageInputContainer textarea {
  flex: 1;
  resize: none;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5rem;
  font-family: var(--font-family);
  font-size: 14px;
  height: 80px;
}
#messageInputContainer button {
  background-color: rgba(207, 42, 42);
  border: none;
  color: #fff;
  padding: 0 1rem;
  margin-left: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;

  height: 48px; /* 🔥 nagyobb gomb */
}

#messageInputContainer button:hover {
  background-color: darken(var(--primary-color), 10%);
}

/* ==========================
   Scrollbar Styling
   ========================== */
.contacts-sidebar::-webkit-scrollbar,
.chat-container::-webkit-scrollbar {
  width: 6px;
}
.contacts-sidebar::-webkit-scrollbar-thumb,
.chat-container::-webkit-scrollbar-thumb {
  background-color: var(--border-color);
  border-radius: 3px;
}

/* ==========================
   Responsive (≤375px) =====
   Show/Hide logic via .show-chat
   ========================== */

  .container {
    display: block;
    height: auto;
  }
  .contacts-sidebar {
  width: 100%;
  border-right: none;
  border-bottom: 1px solid var(--border-color);
  margin-top: 50px; /* <<< eltolás lefelé */
}

  .chat-container,
  #messageInputContainer {
    display: none !important;
  }
  #mainContainer.show-chat .contacts-sidebar {
    display: none !important;
  }
  #mainContainer.show-chat .chat-container,
  #mainContainer.show-chat #messageInputContainer {
    display: block !important;
  }
 #mainContainer.show-chat .back-btn {
    display: inline-flex;         /* flex, hogy középen legyen az ikon */
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 4px;
    padding: 2px 4px;             /* 🔥 kisebb felület */
    margin-bottom: 1rem;
    cursor: pointer;
}

.back-btn-icon {
    height: 40px;                 /* 🔥 nagyobb ikon */
    margin-top: 15px;                /* középre állítjuk az ikont */
    display: block;
}



  /* továbbra is rejtve alapból */
  .chat-container,
  #messageInputContainer {
    display: none !important;
  }

  /* ha a mainContainer-nek megvan a show-chat */
  #mainContainer.show-chat .chat-container {
    display: block !important;
  }
  /* és a következő testvér, az input is */
  #mainContainer.show-chat + #messageInputContainer {
    display: flex !important;
  }

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Keresés / search.php           🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */


  .user-container2 {
 position: relative;
  max-width: none;      /* ne korlátozza a szélességet */
  width: 100%; 
  min-height: 400px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  padding-bottom: 10px;
  box-sizing: border-box;
}

/* --- Képwrapper (60% magasság) --- */
.user-container2 .image-wrapper {
  flex: none;
  height: 256px; 
  width: 192px;
   overflow: hidden;
    margin-top: 8px; 
    margin-left: 12px;
    
}
.user-container2 .image-wrapper .profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Infó blokk (40% magasság) --- */
.user-container2 .info {
  flex: 0 0 40%;
  padding: 8px;
    width: 110%;
  display: flex;
    align-items: flex-start;  /* flex-direction: column esetén ez a vízszintes igazítás */
  text-align: left;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  
}

/* Név + kor sor */
.user-container2 .name-age {
  font-weight: bold;
  font-size: 21px;
  margin-bottom: 0px;
    margin-top: 0px;
}
.user-container2 .name-age .age {
  font-weight: normal;
  margin-left: 0px;
  color: #666;
}

/* Város */
.user-container2 .location {
  font-size: 17px;
  color: #555;
  margin-bottom: 0px;
   margin-top: 7px;
}

/* ========== AKCIÓGOMBOK ========== */

.user-container2 .actions {
  position: absolute;
  bottom: 0;
  left: 0;        /* nullára állítva */
  right: 0;       /* nullára állítva */
  display: flex;
  gap: 0;         /* ha össze akarod érni, különben pl. gap:2px */
  box-sizing: border-box;
  /* padding-ot töröld, hogy ne tolja bejjebb */
  padding: 0;
}

.user-container2 .actions button {
  flex: 1;
  margin: 0;
  height: 46px;
  background: transparent;
  border: 1px solid #ddd;
  color: rgba(207, 42, 42, 0.87);
  border-radius: 0;   /* ha teljesen össze akarod illeszteni, egy zsinórban */
  /* ha szeretnéd lekerekíteni a szélső gombok sarkait, használj :first-child / :last-child selektorokat */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background .2s, border-color .2s;
  box-sizing: border-box;
}

.user-container2.actions button:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.user-container2 .actions button:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.user-container2 .actions button:hover {
  background: rgba(230,56,73,0.1);
}

.user-container2 .actions button img {
  width: 20px;
  height: auto;
  display: block;
}

/* – ha külön használod az osztályokat – */
.user-container2 .actions .like-btn {

}
.user-container2 .actions .message-btn {
  /* background: #2196f3; color: #fff; */
}

/* ========== IKON-MÉRETEZÉS ========== */
/* a gombokon belüli <img> elemekre */
.user-container2 .actions button img {
  width: 40px;
  height: auto;
  display: block;
}




.notifications {
  margin-top: 55px;          /* header alá tolva */
  max-width: 375px;
  margin-left: auto;
  margin-right: auto;
  font-family: sans-serif;
  box-sizing: border-box;
  font-size: 20px; 
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
}

  .search-label {
    font-size: 27px !important;
  }
  .search-label img {
    width: 32px !important;
    height: 32px !important;
  }
                     
  form label {
    display: block;
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: 500;
}


  .main-content2 {
   margin-top: 85px;
    display: grid !important;
    grid-template-columns: minmax(500px, 500px) 1fr !important;
    gap: 4px !important;
    align-items: start !important;

  }

/* Életkor mezők alá, középre igazítva egyenlő távolsággal */
.age-range {
  display: flex;
  justify-content: center;      /* középre igazítja a kettőt */
  gap: 2.5rem;                  /* pici távolság a két mező között */
  margin: 0 auto 1rem;          /* középre a konténer és alul térköz */
  width: fit-content;           /* konténer csak akkora lesz, mint kell */
}

.age-range select {
  width: 80px; 
  height: 30px;                 /* fix szélesség */
  padding: 0.4em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}




.search-box-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 40px;
}

.search-form {
  margin-left: -100px !important;
  min-width: 120% !important; 
  margin-top: 10px !important;          /* szélek: 5-5% */
  margin-left: auto;        /* középre helyezés */
  margin-right: auto;       /* középre helyezés */
  display: block;           /* biztos, hogy blokk szinten van */
  box-sizing: border-box;   /* padding ne tolja szét */
}
#deleteSearchButton,
#saveSearchButton {
    font-size: 19px !important;
    display: flex;
    align-items: center;      /* függőlegesen középre */
    justify-content: center;  /* vízszintesen középre */
    height: 50px !important;             /* magasabb gomb */
    padding: 0 15px;          /* kicsi oldal margó */
    border-radius: 6px;       /* opcionális, szebb */
}


  /* Alap: 1 oszlop */
/* Alap: 1 oszlop mobilon */
.user-grid2 {
 grid-column: 2;                 /* a jobb, rugalmas oszlopban */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 220px)) !important;
  column-gap: 30px;
  row-gap: 20px;
  justify-items: stretch;
  margin: 0;                      /* NINCS balra tologatás */
}


/* A kártyák ne legyenek fix szélességre kényszerítve */
.user-grid2 .user-container2 {
  width: 100%;
}

/* >=768px: 3 oszlop minden esetben */
@media (min-width: 768px) {
  .user-grid2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .user-grid2 > .user-container2.featured {
    grid-column: auto !important; /* ne foglalja be a teljes sort */
  }
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Pontok / points  .php           🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

.mb-4 {
 max-width: 600px;        /* középre igazítás felső korlátja */
  margin: 0 auto;          /* középre a horizonton */
  padding: 1rem;           /* alap padding: p-4 */
  margin-bottom: 1rem;     /* mb-4 */
  box-sizing: border-box;  /* padding ne tolja túl a szélességet */

}

.card.p-4.mb-4 {
  max-width: 600px;
  width: 95%;
  margin: 10px auto 1rem auto; /* top, auto jobbra-balra, bottom, auto */
  padding: 1rem;
  box-sizing: border-box;
}

.table-responsive {
  max-width: 600px;    /* ameddig engedjük, hogy kitáguljon */
  width: 100%;         /* kitölti a rendelkezésre álló helyet */
  margin: 0 auto;      /* középre igazítás vízszintesen */
  box-sizing: border-box;
}


.mb-3{
  min-width: 1000px;
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Beállítások / settings.php      🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

/* Alapstílusok */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
    color: #333;
}

body.dark-mode {
    background-color: #121212;
    color: #ddd;
}

.container2 {
    width: 100%;
    margin-top: 50px;
    padding: 20px;
    box-sizing: border-box;
}

h2, h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

form {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

.form {
    margin-top: 55px;          /* header alá tolva */

  margin: 0 auto;
  padding: 0; /* vagy minimalizáld, pl. padding: 0.5rem */
  text-align: center; /* csak ha inline-block lenne belül */
}



form input[type="email"],
form input[type="password"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

form button {
    width: 100%;
    height: 50px;
    padding: 10px;
    background-color: #cf2a2ad9;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 25px !important;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #cf2a2ad9;
}

form input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 8px;
}

.success-message {
    color: green;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

.error-message {
    color: red;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

#deleteForm button,
#deleteConfirmForm button {
    margin-top: 10px;
}

#deleteForm button[style*="red"],
#deleteConfirmForm button[style*="red"] {
    background-color: #d9534f;
}

#deleteForm button[style*="orange"] {
    background-color: #f0ad4e;
}

#supportModal {
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content2 {
 position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    width: 90%;
    max-width: 340px;
    border-radius: 8px;
}

.modal-content.dark-mode {
    background-color: #1e1e1e;
    color: #fff;
}

.modal-content h3 {
    margin-top: 0;
    font-size: 18px;
    text-align: center;
}

.modal-content textarea {
    resize: vertical;
    min-height: 100px;
    font-size: 14px;
}

.modal-content button {
    margin-top: 10px;
    font-size: 14px;
    
}

.modal-content .close:hover {
    color: #000;
}



/* Sötét mód modális */
body.dark-mode .modal-content {
    background-color: #2c2c2c;
    color: #ddd;
}

body.dark-mode .modal-content .close {
    color: #aaa;
}

body.dark-mode .modal-content .close:hover {
    color: #fff;
}

/* Mobilbarát checkbox szöveg egy sorban */
form label input[type="checkbox"] {
    vertical-align: middle;
}



.dropdown {
    position: relative;
    display: inline-block;
}
.dropbtn {
    background-color: #ff6b81;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}
.dropdown-content {
            display: none;
            position: absolute;
            background-color: white;
            min-width: 160px;
            z-index: 2000;
            border-radius: 5px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            top: 100%;
            right: 0;
        }
  .dropdown-content a {
            color: #333;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
              font-family: 'Poppins', sans-serif;
              font-weight: 500;
        }
.dropdown-content a:hover {
    background-color: #f0f0f0;
}
   .dropdown:hover .dropdown-content {
            display: block !important;
        }
  

.search-group {
  width: 375px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ez igazítja balra az elemeket */
  gap: 12px; /* opcionális: távolság az elemek között */
}



/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢         Fotók / photos.php      🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

        section {
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        .gallery {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        .photo-card {
            background: #fff;
            margin-top: 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            overflow: hidden;
            width: 300px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .photo-card img {
            width: 100%;
            height: auto;
            cursor: pointer;
        }
    
    
        /* Modal stílus */
        .modal4 {
            display: none;
            position: fixed;
            top: 0;
            margin-top: 15px;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            align-items: center;
            justify-content: center;
        }
        .modal-spinner {
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            max-width: 600px;
            width: 90%;
            text-align: center;
        }
        #imagePreview {
            max-width: 100%;
            margin-bottom: 15px;
        }
        /* Alap méretezés, hogy ne lépje túl a szülőt */
#cropperModal.modal4 {
    position: absolute; /* vagy fixed, ha az egész ablakhoz igazítod */
    max-width: 100%;
    max-height: 100%;
    overflow: auto; /* ha nagyobb a tartalom, görgethető legyen */
    box-sizing: border-box;
    padding: 10px;
}

/* A modal tartalma igazodjon a rendelkezésre álló helyhez */
#cropperModal .modal-spinner {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* A kép se lépje túl a szülő méretét */
#cropperModal img {
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 150px); /* vagy a szülő magasságából számítva */
    object-fit: contain;
}

        #cancelCropBtn,
        #cropBtn {
            margin: 5px;
            padding: 10px 20px;
            font-size: 14px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        #cancelCropBtn {
            background: #ccc;
            color: #333;
        }
        #cropBtn {
            background: #cf2a2ad9;
            color: #fff;
        }

        /* Spinner háttér */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner kör */
.spinner {
    width: 60px;
    height: 60px;
    border: 8px solid rgba(207, 66, 66, 0.2);
    border-top: 8px solid rgba(207, 66, 66, 1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#uploadSection {
  margin: 65px auto 0 auto; /* felül 65px, középre igazítás */
  width: calc(100% - 10px); /* mindkét oldalon 5px hely marad */
  max-width: 360px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
}

#uploadSection:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

#gallerySection {
  margin: 20px auto 0 auto;       /* felül 65px, középre */
  width: calc(100% - 10px);       /* mindkét oldalon 5px hézag */
  max-width: 360px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
}

#gallerySection:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 személyi igazolás / identity_verify.php 🟢🟢🟢
                                                🟢🟢🟢                             
                                                🟢🟢🟢
                                                🟢🟢🟢
                                                🟢🟢🟢
                                      */


/* Konténer + tipográfia */
.container_id {
  max-width:800px; 
  margin:65px auto; 
  padding:20px;
  background:var(--card); 
  border:1px solid var(--border); 
  border-radius:14px;

  /* Középre igazítás */
  text-align:center;
}



form {
  display: inline-block; /* hogy ne nyúljon teljes szélességre */
  text-align: left; /* a form mezők maradjanak balra igazítva */
}



/*
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 pénz igazolás / money_verify.php        🟢🟢🟢
                                                🟢🟢🟢                             
                                                🟢🟢🟢
                                                🟢🟢🟢
                                                🟢🟢🟢
                                      */

/* Üzenetek (alert) */
.alert{
  padding:10px 12px; border-radius:8px; margin-top:10px; margin-bottom:8px;
  border:1px solid transparent; display:flex; gap:8px; align-items:center;
  line-height:1.35; font-size:1.05em;
}
.alert-success{ background:var(--success-bg); color:var(--success-fg); border-color:var(--success-border); }
.alert-info{    background:var(--info-bg);    color:var(--info-fg);    border-color:var(--info-border); }

/* (opcionális) keretes blokk az üzenetek köré */
.messages-wrapper{
  margin-top:65px; margin-left:8px; margin-right:8px; margin-bottom:8px;
  border:2px solid red; border-radius:8px; padding:12px;
}

/* Adatvédelmi doboz */
.policy{
  border:1px solid #ccc; padding:15px; background:#f9f9f9;
  max-height:220px; overflow-y:auto; margin:10px 0 20px; border-radius:8px;
  text-align:left; /* a szöveg maradjon balra */
}
.policy h4{ margin:0 0 8px; }
.policy::-webkit-scrollbar{ width:10px; }
.policy::-webkit-scrollbar-thumb{ background:var(--scrollbar); border-radius:8px; }
.policy::-webkit-scrollbar-track{ background:transparent; }

/* Form elrendezés: középre a forma, belül balra a mezők */
form{ display:inline-block; text-align:left; }

/* File input */
#moneyDocument{
  display:block; width:100%;
  padding:10px 12px; border:1px solid var(--border); border-radius:10px;
  background:#fff; color:var(--fg);
}
#moneyDocument:focus{
  outline:none; border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(37,99,235,.15);
}

/* Feltöltés gomb */
#uploadButton{
  background:var(--primary); color:#fff; border:none; border-radius:10px;
  padding:10px 16px; font-weight:700; cursor:pointer;
  transition:background .15s ease, transform .02s ease;
}
#uploadButton:hover{ background:var(--primary-hover); }
#uploadButton:active{ background:var(--primary-active); transform:translateY(1px); }
#uploadButton:disabled{ opacity:.6; cursor:not-allowed; }
#uploadButton.active{ filter:none; }

/* Checkbox + label */
#acceptPolicy{ width:16px; height:16px; vertical-align:middle; margin-right:8px; }
label[for="acceptPolicy"]{ user-select:none; cursor:pointer; }


}



























        
@media (max-width: 1279px) {

  

  .top-bar .link-text {
    display: none;
  }


.top-section {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: stretch;
        margin-top: 10px;
        
    }
    .top-section .top-row,
    .top-section .highlight-info,
    .top-section .highlight-promo {
        flex: 1 1 calc(50% - 10px);
        box-sizing: border-box;
    }


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Mobilnézet mobilos nézet   🟢🟢🟢
                                   🟢🟢🟢                             
                                   🟢🟢🟢
                                   🟢🟢🟢
                                   🟢🟢🟢
                                      */


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Fejléc header.php topbar🟢🟢🟢
                                🟢🟢🟢                             
                                🟢🟢🟢
                                🟢🟢🟢
                                🟢🟢🟢
                                      */

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-evenly !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  padding: 0;
  background: rgba(207, 42, 42, 0.87);
  z-index: 1000;
  transition: transform 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* szebb elválasztás a tartalomtól */
}

  .top-bar.hidden {
    transform: translateY(-100%);
  }

  /* KATTINTHATÓ zóna fix 80px magas legyen */
  .top-bar > a,
  .profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 0 12px !important;
    min-width: auto !important;
  }

  /* PROFILKERET pontos mérete */
  .top-bar .profile-wrapper {
     width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* PROFILKÉP mérete */
  .top-bar .profile-thumb {
  border-radius: 20px;
  object-fit: cover;
   width: 55px;
      height: auto;
    display: block;
  }

  /* IKONOK mérete */
  .top-bar a img {
    width: 28px !important;
    height: 28px !important;
    margin: 0;
    object-fit: contain;
    filter: contrast(1.3) brightness(1.1);
  }

  /* LOGÓ */
  .top-bar a.logo-link .logo-icon {
    width: 52px !important;
    height: 52px !important;
  }

  /* Egyéb elemek */
  .brand-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    grid-auto-rows: auto;
    grid-auto-flow: row;
    gap: 8px;
  }

  .transactions-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .transactions-table th,
  .transactions-table td {
    white-space: nowrap;
    font-size: 13px;
    padding: 6px;
  }

  .container {
    margin-left: 0 !important;
    max-width: 100% !important;
    padding: 0 0vw !important;
    box-sizing: border-box;
  }

.profile-header img.large {
  width: 10%;
  height: auto;
  min-width: 100%;
  min-height: 100%; /* max méretet adsz neki */
  display: block;
  object-fit: cover; /* ha vágni akarod */
}

  .profile-header img.small {
    max-width: 100px;
  }

  .offer-bubble {
    min-width: 100px;
    font-size: 12px;
    padding: 8px 12px;
  }

  .chat-container {
    height: 200px;
  }

  .inbox-container {
    padding: 10px;
  }

  button {
    padding: 8px 16px;
    font-size: 14px;
  }



  .message-form {
    padding: 10px;
  }


 /* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Main főoldal            🟢🟢🟢
                                🟢🟢🟢                             
                                🟢🟢🟢
                                🟢🟢🟢
                                🟢🟢🟢
                                      */
.main-content {
  margin-top: 90px;          /* header alá tolva */
  padding: 20px 10px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-family: sans-serif;
  box-sizing: border-box;
}

/* ============================
   FELSŐ SOR – EGY DOBOZ
   ============================ */
.top-row {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}

/* ============================
   CREDIT-BOX – LAYOUT & HOVER
   ============================ */
.credits-box {
  margin-top: 70px;
  width: 100%;
  max-width: 360px;
  height: 122px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px px rgba(0,0,0,0.08);
  padding: 12px 24px;         /* laposabb felül-alul */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
}
.credits-box:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Pont-ikon és egyenleg sorban */
.credit-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.credit-icon {
  width: 44px;
  flex-shrink: 0;
}

/* az egész egységre */
.credit-balance {
  font-size: 32px;
    font-weight: 540; /* normál */

  color: #444;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  margin: 0;
  display: flex;
  align-items: baseline;
}

/* csak a számra */
  .balance-amount .credit-balance  {
  font-weight: 500; /* félkövér */
    font-size: 32px;

}

/* csak a „pont” szóra */
.credit-balance .balance-unit {
  
  font-weight: 400; /* normál */
  font-style: italic; /* ha kell, itt beállíthatod dőlten is */
  margin-left: 4px;
  font-size: 0.8em;   /* vagy kisebb, ha szeretnéd */
}


/* ============================
   GOMBCSOPORT – EGY SORBAN,
   EGYSÉGES MAGASSÁG
   ============================ */
.button-group {
  display: flex;
  gap: 8px;
  width: 100%;
  justify-content: space-between;
  align-items: center;    /* középre igazítja a gombokat */
}

/* Mindhárom gomb egységes, fix magasság */
.button-group .credit-button,
.button-group .redeem-button,
.button-group .pro-button {
  flex: 1;
  height: 40px;           /* fix magasság */
  line-height: 40px;      /* ennyi legyen a sor magassága is */
  display: flex;          /* flex, hogy az ikon + szöveg is középen legyen */
  align-items: center;    /* függőleges közép */
  justify-content: center;/* vízszintes közép */
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  margin: 0;              /* eltávolít minden plusz margót */
  box-sizing: border-box;
  transition: background .2s, transform .1s;
}

/* Ha a pro gombot szélesebbre szeretnéd: */
.button-group .pro-button {
  flex: 30px;
}

/* Ha továbbra is maradna fura eltérés: nullázd a konkrét gomb margóját */
.button-group .redeem-button {
  margin-top: 0;
}



.button-group .credit-button {
  background:rgba(207, 42, 42, 0.87);
}
.button-group .credit-button:hover {
  background: #a12121cc;
  transform: translateY(-1px);
}
.button-group .redeem-button {
  background:rgba(207, 42, 42, 0.87);
}
.button-group .redeem-button:hover {
  background: #1e88e5;
  transform: translateY(-1px);
}
.button-group .pro-button {
  background: #ff9800;
}
.button-group .pro-button:hover {
  background: #fb8c00;
  transform: translateY(-1px);
}

/* PRO-ikon apró kiemelés */
.lock-icon {
  display: inline-block;
  transform: translateY(-2px);
}


/* -----------------------------------
   PROFIL KIEMELÉS BLOKKOK
   ----------------------------------- */

/* Általános doboz-stílusok */
.highlight-info,
.highlight-promo {
  margin-bottom: 12px;
  margin-top: 60px;
  width: 100%;
  max-width: 360px;
  height: 120px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px px rgba(0,0,0,0.08);
  padding: 15px 24px;         /* laposabb felül-alul */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
  gap: 12px;  
   font-size: 16px;    /* betűméret */
  font-weight: 540; 
  
}

/* Amikor már aktív a kiemelés */
.highlight-info {
  background: #ffffff;
  border: 1px solid #dddd;
color: #444;
  margin: auto;   /* KÖZÉPRE */
margin-bottom: 10px;
 margin-top: 60px;
  width: 100%;
  max-width: 360px;
  height: 122px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px px rgba(0,0,0,0.08);
  padding: 12px 24px;         /* laposabb felül-alul */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;

}

/* Promóciós blokk, ha még nem emelted ki */
.highlight-promo {
  background: #ffffff;
  border: 1px solid #dddd;
  color: #333;
  font-weight: 540;
  font-size: 16px;
  text-align: center; /* Ez igazítja középre a szöveget */
  line-height: 1.2; /* Ez növeli a sorok közti távolságot */

}


/* Gombok mindkét blokkban */
.btn-extend,
.btn-highlight {
  background-color: rgba(207, 42, 42, 0.87);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  margin-left: 8px;
  cursor: pointer;
  font-size: 16px;
}

/* Opció: hover effekt */
.btn-extend:hover,
.btn-highlight:hover {
  background-color: #a07845;
}

.user-header {
  font-family: 'Nunito', Arial, sans-serif !important;
  font-weight: 600;
  font-size: 25px;
  color: #333;
      gap: 5px ; /* ⬅️ biztos érvényesül */

}

/* ============================
   USER-GRID: 2 oszlopban
   ============================ */
.user-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 20px;      /* függőleges hézag marad 15px */
  column-gap: 30px;    /* vízszintes hézag legyen csak 6px */
  justify-items: center;
}
/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 User container kártyák   🟢🟢🟢
                                 🟢🟢🟢                             
                                 🟢🟢🟢
                                 🟢🟢🟢
                                 🟢🟢🟢
                                      */
                                      
                                      
.user-container {
  position: relative;
  width: 100%;
  min-height: 420px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  padding-bottom: 10px;
  box-sizing: border-box;
}

/* --- Képwrapper (60% magasság) --- */
.user-container .image-wrapper {
  flex: none;
  height: 289.33333333333333333333px; 
  width: 217px;
   overflow: hidden;
    margin-top: 8px; 
    margin-left: 9px;
    
}
.user-container .image-wrapper .profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Infó blokk (40% magasság) --- */
.user-container .info {
  flex: 0 0 40%;
  padding: 8px;
    width: 110%;
  display: flex;
    align-items: flex-start;  /* flex-direction: column esetén ez a vízszintes igazítás */
  text-align: left;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  
}

/* Név + kor sor */
.user-container .name-age {
  font-weight: bold;
  font-size: 17px;
  margin-bottom: 0px;
    margin-top: 0px;
}
.user-container .name-age .age {
  font-weight: normal;
  margin-left: 0px;
  color: #666;
}

/* Város */
.user-container .location {
  font-size: 13px;
  color: #555;
  margin-bottom: 0px;
   margin-top: 7px;
}

/* ========== AKCIÓGOMBOK ========== */

.user-container .actions {
  position: absolute;
  bottom: 0;
  left: 0;        /* nullára állítva */
  right: 0;       /* nullára állítva */
  display: flex;
  gap: 0;         /* ha össze akarod érni, különben pl. gap:2px */
  box-sizing: border-box;
  /* padding-ot töröld, hogy ne tolja bejjebb */
  padding: 0;
}

.user-container .actions button {
  flex: 1;
  margin: 0;
  height: 46px;
  background: transparent;
  border: 1px solid #ddd;
  color: rgba(207, 42, 42, 0.87);
  border-radius: 0;   /* ha teljesen össze akarod illeszteni, egy zsinórban */
  /* ha szeretnéd lekerekíteni a szélső gombok sarkait, használj :first-child / :last-child selektorokat */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background .2s, border-color .2s;
  box-sizing: border-box;
}

.user-container .actions button:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.user-container .actions button:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.user-container .actions button:hover {
  background: rgba(230,56,73,0.1);
}

.user-container .actions button img {
  width: 20px;
  height: auto;
  display: block;
}

/* – ha külön használod az osztályokat – */
.user-container .actions .like-btn {

}
.user-container .actions .message-btn {
  /* background: #2196f3; color: #fff; */
}

/* ========== IKON-MÉRETEZÉS ========== */
/* a gombokon belüli <img> elemekre */
.user-container .actions button img {
  width: 40px;
  height: auto;
  display: block;
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Badge igazolás elhelyezés 🟢🟢🟢
     ÁLTALÁNOS MINDKÉT CONTAINER  🟢🟢🟢                             
                                  🟢🟢🟢
                                  🟢🟢🟢
                                  🟢🟢🟢
                                      */

.user-container .image-wrapper {
  position: relative;
}

.badge-icon {
    width: 38px;
    height: 38px;

}

.identity-badge {
    width: 50px ;
    height: 50px ;
     position: relative;
    bottom: 5px; 
}

.user-container .image-wrapper .status-badge {
  position: absolute;
  bottom: 0px;
  right: 50px;
  width: 25px;
  height: 25px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.user-container .image-wrapper .money-badge {
  position: absolute;
  bottom: 0;
  right: 1px;
  width: 20px;
  height: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.user-container .image-wrapper .verify-badge {
  position: absolute;
  bottom: 0;
  right: 23px;
  width: 24px;
  height: 23px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.badges-wrapper {
  position: absolute ;
  right: 2px ;
  bottom: -10px ;
  display: flex ;
  flex-direction: row ;
  gap: 2px ;
  justify-content: flex-end ;
}

.single-badge-wrapper {
  position: absolute;
  right: 4px ;
  bottom: 0px ;
}





.image-wrapper {
    position: relative;
    display: inline-block;
}

.badges-row {
    display: flex;
    flex-direction: row;
    gap: 2px;
    align-items: flex-end;  /* << EZZEL minden badge az alján lesz igazítva! */
}


/* Csak a profilképnél – nagyobb, jobb alsó sarokban */
.profile-badges-row {
    position: absolute;
    bottom: 1px;
    right: 1px;
    z-index: 10;
}

.profile-badges-row .badge-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    object-fit: cover;
}

/* Alap badge minden más helyen (pl. kicsiben, felsorolásban) */
.badges-row .badge-icon {
    width: 20px;
    height: 20px;
background: transparent;
}
.profile-badges-row .identity-badge {
    width: 28px;
    height: 28px;
         position: relative;
    bottom: -4px; 
    
}



.online-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-left: 8px;
}
.online-dot.online {
  background-color: #2ecc71;
}
.online-dot.offline {
  background-color: #ccc;
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Általános modál         🟢🟢🟢
                                🟢🟢🟢                             
                                🟢🟢🟢
                                🟢🟢🟢
                                🟢🟢🟢
                                      */
.modal {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 120%; 
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal.show {
  display: flex;
}

/* --- Csak a képes modálra vonatkozik --- */
#imageModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9); /* sötét háttér */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* A kép: teljes kijelzős, torzítás nélkül */
#imageModal .modal-content {
  background: none;      /* nincs fehér háttér */
  border: none;          /* nincs keret */
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
  width: auto;
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  object-fit: contain;   /* ne torzuljon */
  object-position: center;
  display: block;
}

/* Bezáró X gomb */
/* Bezáró X gomb */
.modal-content .close {
  top: -5px !important;
  right: 0px !important;
    background-color: #ffff ;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  line-height: 1;
  transition: color .2s;
    text-align: center;

}
.modal-content .close:hover {
  color: #e63849;
}

/* Címsor, bekezdés */
.modal-content h2,
.modal-content h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 600;
  color:#333;
    text-align: center;

}
.modal-content p {
  margin-bottom: 20px;
    margin-top: 20px;

  color:#333;
  font-size: 20px;
  line-height: 1.4;
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Highlight kiemelés modál   🟢🟢🟢
                                   🟢🟢🟢                             
                                   🟢🟢🟢
                                   🟢🟢🟢
                                   🟢🟢🟢
                                      */
.highlight-choice {
  flex: 1 1 30%;
  min-width: 100px;
  display: block;
  width: 100%;
  margin-bottom: 1px;
  padding: 10px 8px;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.highlight-choice:hover,
.highlight-choice.selected {
  background: rgba(207, 42, 42, 0.87);
  border-color: rgba(207, 42, 42, 0.87);
  color: #fff;
}

/* 3) Pontok beváltása gomb és link */
.payWithPointsBtn,
#openCreditFromHighlight {
  display: block;
  width: 100%;
  border: none;
  cursor: pointer;
}
.payWithPointsBtn {
  margin-bottom: 16px;
  padding: 10px;
  font-size: 14px;
  background: rgba(207, 42, 42, 0.87);
  color: #333;
  border-radius: 4px;
  transition: background .2s;
}
.payWithPointsBtn:hover {
  background: rgba(207, 42, 42, 0.87);
}
#openCreditFromHighlight {
  margin-top: 8px;
  font-size: 140px;
  background: none;
  color: #e63849;
  text-decoration: underline;
}

/* 4) Fizetési opciók szekciók */
#paymentOptions,
#paymentMethodChoice,
#bankTransferInfo {
  display: none;
}
#paymentOptions.active,
#paymentMethodChoice.active,
#bankTransferInfo.active {
  display: block;
}
#paymentOptions button,
#paymentMethodChoice button,
#bankTransferInfo button {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  font-size: 18px;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: left;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
#paymentOptions button:hover,
#paymentMethodChoice button:hover,
#bankTransferInfo button:hover {
  background: rgba(207, 42, 42, 0.87);
  border-color: rgba(207, 42, 42, 0.87);
}

/* 5) Banki átutalás p elemek */
#bankTransferInfo p {
  margin: 8px 0;
  font-size: 20px;
  color: #333;
  line-height: 1.4;
}
#bankTransferInfo p.activation-note {
  margin: 20px 0 18px;
  font-size: 16px;
  color: #555;
}

/* 6) Ikonok és egyenleg sor */
.icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 6px;
}
.points-icon {
  width: 38px;
  height: 38px;
  margin-right: 4px;
}
.credit-balance-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 20px;
}
.credit-text {
 font-weight: 500;
   font-size: 22px;
    transition: font-size 0.2s ease;
  white-space: nowrap;

}

/* 7) Confirm sor és gombok */
.confirm-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.confirm-back {
  margin-top: 10px;
}
.confirm-btn {
  display: flex;
  justify-content: flex-start;
  padding: 8px 12px;
  font-size: 18px;
  font-weight: 500;
  background: #fff;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color .2s;
}
.confirm-btn:hover {
  background-color: rgba(207, 42, 42, 0.87);
  color: #fff;
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Credit kredit feltöltés modál 🟢🟢🟢
                                      🟢🟢🟢                             
                                      🟢🟢🟢
                                      🟢🟢🟢
                                      🟢🟢🟢
                                      */

#creditModal .modal-content {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  padding: 20px;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
  box-sizing: border-box;
  text-align: center;
}

/* Eltüntetjük a <br>-t */
#creditModal .modal-content br {
  display: none;
}

/* Cím és bekezdések */
#creditModal h2 {
  margin-bottom: 4px;
}
#creditModal p {
  margin: 2px 0 12px;
}
#creditTransferSection p {
  margin: 8px 0;
  font-size: 20px;
  color: #333;
  line-height: 1.4;
}
#creditTransferSection p.activation-note {
  margin: 20px 0 18px;
  font-size: 16px;
  color: #555;
}

/* Form full-width */
#creditModal #creditPaymentOptions form#creditForm {
  width: 100%;
  margin: 0 0 2px;
  padding: 0;
  box-sizing: border-box;
}

/* Gombok – közös szabályok */
#creditModal #creditPaymentChoice button,
#creditModal #creditTransferSection button,
#creditModal #creditPaymentOptions .credit-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px;
  background: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}

/* PaymentChoice & Transfer gombok */
#creditModal #creditPaymentChoice button,
#creditModal #creditTransferSection button {
  padding: 14px 10px;
  font-size: 16px;
  font-weight: 400;
  border-radius: 6px;
  text-align: center;
  color: #333;
  margin-bottom: 16px;
}

/* Credit‐btn gombok */
#creditModal #creditPaymentOptions .credit-btn {
  padding: 10px;
  font-size: 18px;
  border-radius: 4px;
  text-align: left;
  color: #333;
}

/* Utolsó gombok margin-ja */
#creditModal #creditPaymentChoice button:last-child,
#creditModal #creditPaymentOptions .credit-btn:last-child,
#creditModal #creditTransferSection button:last-child {
  margin-bottom: 10px;
}

/* Hover effekt mindháromra */
#creditModal #creditPaymentChoice button:hover,
#creditModal #creditPaymentOptions .credit-btn:hover,
#creditModal #creditTransferSection button:hover {
  background: rgba(207, 42, 42, 0.87);
  border-color: rgba(207, 42, 42, 0.87);
  color: #fff;
}

/* Ikonok a .credit-btn-on belül */
#creditModal #creditPaymentOptions .credit-btn .icon {
  width: 24px;
  height: auto;
  vertical-align: middle;
  margin-right: 8px;
}

/* Egyenleg sor (credit-balance wrapper) */
.credit-balance-wrapper2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 20px 0 10px;
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Felhasználó profil user modál   🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

:root {
  --bg-light: #f5f5f5;
  --bg-dark: #121212;
  --card-light: #ffffff;
  --card-dark: #1e1e1e;
  --text-light: #333;
  --text-dark: #e0e0e0;
  --primary: rgba(207, 42, 42, 0.87);
  --primary-dark: #ffffff;
  --success: rgba(207, 42, 42, 0.87);
  --success-dark: rgba(207, 42, 42, 0.87);
  --font-base: 16px;
}
html {
  font-size: var(--font-base);
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-light);
}
body.dark-mode {
  background: var(--bg-dark);
  color: var(--text-dark);
}

/* Konténer */
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0px;
  box-sizing: border-box;
  background-color: var(--card-light);
  border-radius: 0px;
  box-shadow: 0 0px 0px rgba(0,0,0,0.1);
}
body.dark-mode .container {
  background-color: var(--card-dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Profil container */
.profile-container {
  padding: 0px;
  background-color: var(--card-light);
  border-radius: 0px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
body.dark-mode .profile-container {
  background-color: var(--card-dark);
  box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
/* Példa: a te modalod fő konténerének adj egy class-t vagy id-t, pl. "profile-modal" */
.profile-modal {
  position: fixed; /* vagy absolute, ahogy jelenleg van */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95vw;   /* vagy amekkorát akarsz */
  max-width: 600px;
  max-height: 90vh; /* LEGFONTOSABB! */
  overflow-y: auto; /* Görgetés ha kilóg */
  background: #fff;
  border-radius: 16px;
  z-index: 10001;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

/* Profil fejléc */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;

}
.profile-pic-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 300px; /* pl. szélesebb képhez */
    height: 452px !important;
}

body.dark-mode .badge-icon {
  background: var(--card-dark);
}

/* Felhasználói adatok */
.user-info h2 { 
  font-size: 1.8rem;
  margin: 1px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;

}



/* Ikonok */
.block-icon, .report-icon {
  margin-left: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Jelentés modális */
.report-modal {
  display: none;
  position: fixed;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--card-light);
  color: var(--text-light);
  padding: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  width: 90%;
  max-width: 360px;
  box-sizing: border-box;
  opacity: 1;
}
body.dark-mode .report-modal {
  background-color: var(--card-dark);
  color: var(--text-dark);
  border-color: #444;
}
.report-modal label { font-weight: bold; }
.report-modal select, .report-modal textarea {
  width: 100%;
  margin-top: 6px;
  padding: 6px;
  box-sizing: border-box;
  font-size: 0.9rem;
}
.report-modal button {
  margin-right: 8px;
  padding: 6px 12px;
  font-size: 0.9rem;
}

/* Jelentés státusz */
.report-status {
  color: var(--success);
  margin-top: 8px;
  font-size: 0.9rem;
}

/* Ajándék ikonok */
.gift-icons {
  display: flex;
  justify-content: center;
  gap: 50px; /* eddigi 8px helyett */
  
}
.actions {
    position: relative; /* A pozíció alapja a három pont lesz */
}

.actions-menu {
      gap: 5px;               /* ⬅️ 5px távolság a gombok között */

    display: flex;
    flex-direction: column; /* egymás alatt legyenek az opciók */
    position: absolute;     /* a három pont alatt helyezkedik el */
    top: 100%;              /* pontosan a három pont alatt */
      left: auto;    /* kikapcsoljuk a balra illesztést */
  right: 0;                /* a három pont bal széléhez igazítva */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;          /* mindig a többi fölött */
}

.actions[open] .actions-menu {
    display: flex; /* csak akkor jelenjen meg, ha lenyitott */
}
/* summary (⋮) ikon méretének csökkentése */

.actions summary { 
  margin-left: 0 !important;
  font-size: 1.9rem;
  display: inline-flex;
  align-items: center;
  line-height: 1;

}

/* menü gombikonok méretének beállítása */
.actions-menu button img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* ha a vissza‐gomb ikont is kisebbre akarod */
.back-btn-icon {
  width: 50px !important;
  height: 50px !important;
}



.giftIcon {
  width: 85px;
  height: 85px;
  margin-top:0px;  
  margin-bottom: 15px;  
  padding: 5px 7px;        /* belső térköz */
  cursor: pointer;
}
.toggle-buttons {
  display: flex;
  border-top: 1px solid rgba(207, 42, 42, 0.411);
}

/* Minden btn-icon-btn egyenlő széles lesz */
.toggle-buttons .btn-icon-btn {
  flex: 1;
  border: none;
  border-radius: 0;
  padding: 13px 27px;    /* alap padding */
  text-align: center;
  transition: all 0.3s ease;
}

/* 2 gombos esetben extra belső térköz, hogy szépen kitöltse a sort */
.toggle-buttons.buttons-2 .btn-icon-btn {
  padding: 13px 70px;
}

/* 3 gombos esetben kicsit nagyobb */
.toggle-buttons.buttons-3 .btn-icon-btn {
  padding: 13px 50px;
}

/* 4 vagy több gombnál marad az alap padding */
.toggle-buttons.buttons-4 .btn-icon-btn,
.toggle-buttons.buttons-5 .btn-icon-btn {
  padding: 13px 27px;
}

.toggle-buttons .btn-icon-btn:hover {
  background-color: #ce2e3e; /* halvány piros háttér hover-nél */
  border-color: rgba(207, 42, 42);     /* sötétebb piros keret */
}

.toggle-buttons button {
  padding: 16px 22px;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 0px;
  font-size: 1.3rem;
  cursor: pointer;
   margin-top: 0px;
}
.toggle-buttons button:hover { background: var(--primary-dark); }

.btn-icon-btn .btn-text {
  display: inline;
}
.btn-icon-btn .btn-icon {
  display: none;
  width: 40px;
  height: 40px;
  vertical-align: middle;
}

/* Kívánságok, ajánlatok*/
.profile-section { margin-top: 0; }
.profile-section h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}
  .custom-offer-container {
        max-width: 600px;  /* vagy 700px */
        margin: 20px auto; /* középre igazítás */
    }
/* ================= „AJÁNLATI BUBORÉKOK” ================= */
.offer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 1px;
    padding: 10px;
    background-color: #ffff;
    border-radius: 15px;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    
}
.offer-bubble {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f0f0f0;
  border-radius: 20px;
  cursor: default;      /* itt már nem kattintható */
  user-select: none;
}

.offer-icon {
   width: 34px;
    height: auto;
    vertical-align: middle;
    margin-right: 6px;
}

.offer-label {
  font-size: 16px;
  white-space: nowrap;
}


/* Üzenetküldő */
.message-form {
  margin-top: 20px;
}
.message-form textarea {
  width: 100%;
  height: 80px;
  padding: 8px;
  font-size: 0.9rem;
  resize: vertical;
  box-sizing: border-box;
}
.message-form button {
  margin-top: 8px;
  padding: 6px 12px;
  border: none;
  background: var(--success);
  color: #fff;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}
.message-form button:hover { background: var(--success-dark); }

/* Chat ablak */
.chat-container { margin-top: 20px; }
.chat-messages {
  max-height: 200px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #ccc;
  background: var(--card-light);
}
body.dark-mode .chat-messages { background: var(--card-dark); border-color: #444; }
.chat-container textarea {
  width: 100%;
  padding: 8px;
  margin-top: 8px;
  box-sizing: border-box;
}
.chat-container button {
  margin-top: 6px;
  padding: 6px 12px;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Profil és külső adatok */
.profile-info p, .external-info p {
  margin: 4px 0;
  font-size: 0.9rem;
}
.profile-info ul { list-style: disc; margin-left: 16px; }

/* Keresési feltételek */
.search-criteria-container p { margin: 4px 0; font-size: 0.9rem; }

/* Fotók */
.photos-container .photo-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.photos-container .photo { width: 150px; height: 150px; object-fit: cover; border-radius: 4px; background: var(--card-light); }
body.dark-mode .photos-container .photo { background: var(--card-dark); }
.photo-hidden { position: relative; display: inline-block; }
.photo-hidden .blurred { filter: blur(8px); }
.request-access-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 10px;
  font-size: 0.8rem;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

/* Szekciók közötti távolság eltávolítása */
.search-criteria-container,
.photos-container,
.profile-info,
.external-info {
  margin-top: 0;
}


details summary {
  list-style: none;
 padding: 10px;
}
details summary::-webkit-details-marker {
  display: none;
   padding: 10px;

}

/* Kis képernyőn (576px alatt): csak az ikon látszik */
@media (max-width: 576px) {
  .btn-icon-btn .btn-text {
    display: none;
  }
  .btn-icon-btn .btn-icon {
    display: inline;
  }
}

.info-bubble {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 15px;
    padding: 4px 8px;
    margin: 6px;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: 0 2px 4px rgb(255, 255, 255);
    border: 1px solid rgba(207, 42, 42, 0.473);;

}

.info-icon {
    width: 34px;
    height: auto;
    vertical-align: middle;
    margin-right: 6px;
}

.info-text {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}
/* Maga a modal doboz */
.modal .modal-container {
  background: #fff;
  height: 777px;
  margin: 0px auto;
  padding: 00px;
  width: 100%;
  max-width: 600px;
  border-radius: 0px;

  /* IDE: a lényege */
  max-height: calc(100vh - 80px);  /* ne lógjon ki a képernyőről */
  overflow-y: auto;                /* görgethetővé teszi, ha túl magas */
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Üzenetek / messages.php        🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */



/* ==========================
   Theme Variables
   ========================== */
:root {
  --sidebar-bg: #ffffff;
  --chat-bg: #ffffff;
  --primary-color: #ffffff ;
  --secondary-color: #6c757d;
  --border-color: #d2d7db;
  --avatar-size: 60px;
  --font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* ==========================
   Global Reset & Base Styles
   ========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-family);
  font-size: 14px;
  color: #343a40;
  background-color: #f0f2f5;
  overflow: hidden;
}

/* ==========================
   Container Layout
   ========================== */
.container {
  display: flex;
  height: 100vh;
}
#mainContainer {
  width: 100%;
}

/* ==========================
   Sidebar (Contacts List)
   ========================== */
.contacts-sidebar {
  width: 280px;
  background-color: var(--sidebar-bg);
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
  padding: 1rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.contact-item:hover {
  background-color: #e9ecef;
}
.contact-item + .contact-item {
  border-top: 1px solid var(--border-color);
}

.profile-picture {
  position: relative;
  z-index: 2;                 /* hogy a PRO-gyűrű fölött legyen */
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}


.contact-username {
  margin-left: 0.85rem;
  font-size: 30px;
  font-weight: 500;
  flex-grow: 1;
  display: flex;
  align-items: center;
}



.block-icon {
  width: 20px;
  height: 20px;
  margin-left: 0.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.block-icon:hover {
  opacity: 1;
}

/* ==========================
   Chat Window
   ========================== */
.chat-container {
  flex: 1;
  height: calc(80vh - 70px - 60px); /* teljes képernyőből kivonjuk a header+input magasságát */

  background-color: var(--chat-bg);
  display: flex;
  flex-direction: column;
  padding: 1rem;
  overflow-y: auto;
}
.chat-container h3 {
  color: var(--secondary-color);
  text-align: center;
  margin-top: 2rem;
}

/* ==========================
   Message Bubbles
   ========================== */
.chat-message {
  max-width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  position: relative;
  word-break: break-word;
  font-size: 14px;
}
.sent-message {
  background-color: rgba(207, 42, 42, 0.048); /* halvány piros buborék */
  color: #212529;                          /* sötét szöveg */
  align-self: flex-end;
  border: 1px solid rgba(207, 42, 42, 0.171); /* 🔥 vékony sötétebb piros keret */
  border-radius: 8px;                       /* finoman kerekített sarkok */
  border-bottom-right-radius: 2px;          /* az eredeti sarok megmarad */
  font-size: 20px;
  padding: 8px 12px;                        /* belső margó a szöveghez */
}

.received-message {
  background-color: #ebe9e9;          /* világosszürke buborék */
  color: #212529;                    /* sötét szöveg */
  align-self: flex-start;
  border: 1px solid #c2c2c2;         /* vékony sötétebb szürke keret */
  border-radius: 8px;                /* finoman kerekített sarkok */
  border-bottom-left-radius: 2px;    /* az eredeti sarok megmarad */
  font-size: 20px;
  padding: 8px 12px;                 /* belső margó, hogy legyen hely a szöveg körül */
}


.message-time {
  display: none;
  font-size: 0.75rem;
  color: var(--secondary-color);
  position: absolute;
  bottom: -1.2rem;
  right: 0.5rem;
}
.chat-message:hover .message-time,
.chat-message.clicked .message-time {
  display: block;
}

.read-receipt {
  position: absolute;
  bottom: -1.2rem;
  left: 0.5rem;
  font-size: 0.75rem;
  color: #fff;
}

/* ==========================
   Back Button
   ========================== */
.back-btn {
  display: none;
}

/* ==========================
   Message Input Area
   ========================== */
#messageInputContainer {
  display: flex;
  border-top: 1px solid var(--border-color);
  padding: 0.75rem;
  background-color: #fff;
  height: 120px;
}
#messageInputContainer textarea {
  flex: 1;
  resize: none;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5rem;
  font-family: var(--font-family);
  font-size: 14px;
  height: 80px;
}
#messageInputContainer button {
  background-color: rgba(207, 42, 42);
  border: none;
  color: #fff;
  padding: 0 1rem;
  margin-left: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;

  height: 48px; /* 🔥 nagyobb gomb */
}

#messageInputContainer button:hover {
  background-color: darken(var(--primary-color), 10%);
}

/* ==========================
   Scrollbar Styling
   ========================== */
.contacts-sidebar::-webkit-scrollbar,
.chat-container::-webkit-scrollbar {
  width: 6px;
}
.contacts-sidebar::-webkit-scrollbar-thumb,
.chat-container::-webkit-scrollbar-thumb {
  background-color: var(--border-color);
  border-radius: 3px;
}

/* ==========================
   Responsive (≤375px) =====
   Show/Hide logic via .show-chat
   ========================== */

  .container {
    display: block;
    height: auto;
  }
  .contacts-sidebar {
  width: 100%;
  border-right: none;
  border-bottom: 1px solid var(--border-color);
  margin-top: 50px; /* <<< eltolás lefelé */
}

  .chat-container,
  #messageInputContainer {
    display: none !important;
  }
  #mainContainer.show-chat .contacts-sidebar {
    display: none !important;
  }
  #mainContainer.show-chat .chat-container,
  #mainContainer.show-chat #messageInputContainer {
    display: block !important;
  }
 #mainContainer.show-chat .back-btn {
    display: inline-flex;         /* flex, hogy középen legyen az ikon */
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 4px;
    padding: 2px 4px;             /* 🔥 kisebb felület */
    margin-bottom: 1rem;
    cursor: pointer;
}

.back-btn-icon {
    height: 40px;                 /* 🔥 nagyobb ikon */
    margin-top: 15px;                /* középre állítjuk az ikont */
    display: block;
}



  /* továbbra is rejtve alapból */
  .chat-container,
  #messageInputContainer {
    display: none !important;
  }

  /* ha a mainContainer-nek megvan a show-chat */
  #mainContainer.show-chat .chat-container {
    display: block !important;
  }
  /* és a következő testvér, az input is */
  #mainContainer.show-chat + #messageInputContainer {
    display: flex !important;
  }

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Keresés / search.php           🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */


  .user-container2 {
  position: relative;
  min-height: 500px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  padding-bottom: 10px;
  box-sizing: border-box;
}

/* --- Képwrapper (60% magasság) --- */
.user-container2 .image-wrapper {
  flex: none;
  height: 350px; 
  width: 280px;
   overflow: hidden;
    margin-top: 14px ; 
    margin-left: 16px;
    
}
.user-container2 .image-wrapper .profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Infó blokk (40% magasság) --- */
.user-container2 .info {
  flex: 0 0 40%;
  padding: 8px;
    width: 110%;
  display: flex;
    align-items: flex-start;  /* flex-direction: column esetén ez a vízszintes igazítás */
  text-align: left;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  
}

/* Név + kor sor */
.user-container2 .name-age {
  font-weight: bold;
  font-size: 21px;
  margin-bottom: 0px;
    margin-top: 0px;
}
.user-container2 .name-age .age {
  font-weight: normal;
  margin-left: 0px;
  color: #666;
}

/* Város */
.user-container2 .location {
  font-size: 17px;
  color: #555;
  margin-bottom: 0px;
   margin-top: 7px;
}

/* ========== AKCIÓGOMBOK ========== */

.user-container2 .actions {
  position: absolute;
  bottom: 0;
  left: 0;        /* nullára állítva */
  right: 0;       /* nullára állítva */
  display: flex;
  gap: 0;         /* ha össze akarod érni, különben pl. gap:2px */
  box-sizing: border-box;
  /* padding-ot töröld, hogy ne tolja bejjebb */
  padding: 0;
}

.user-container2 .actions button {
  flex: 1;
  margin: 0;
  height: 46px;
  background: transparent;
  border: 1px solid #ddd;
  color: rgba(207, 42, 42, 0.87);
  border-radius: 0;   /* ha teljesen össze akarod illeszteni, egy zsinórban */
  /* ha szeretnéd lekerekíteni a szélső gombok sarkait, használj :first-child / :last-child selektorokat */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background .2s, border-color .2s;
  box-sizing: border-box;
}

.user-container2.actions button:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.user-container2 .actions button:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.user-container2 .actions button:hover {
  background: rgba(230,56,73,0.1);
}

.user-container2 .actions button img {
  width: 20px;
  height: auto;
  display: block;
}

/* – ha külön használod az osztályokat – */
.user-container2 .actions .like-btn {

}
.user-container2 .actions .message-btn {
  /* background: #2196f3; color: #fff; */
}

/* ========== IKON-MÉRETEZÉS ========== */
/* a gombokon belüli <img> elemekre */
.user-container2 .actions button img {
  width: 40px;
  height: auto;
  display: block;
}




.notifications {
  margin-top: 55px;          /* header alá tolva */
  max-width: 375px;
  margin-left: auto;
  margin-right: auto;
  font-family: sans-serif;
  box-sizing: border-box;
  font-size: 20px; 
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
}

  .search-label {
    font-size: 27px !important;
  }
  .search-label img {
    width: 32px !important;
    height: 32px !important;
  }
                     
  form label {
    display: block;
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: 500;
}


  .main-content2 {
   margin-top: 65px;
  }

/* Életkor mezők alá, középre igazítva egyenlő távolsággal */
.age-range {
  display: flex;
  justify-content: center;      /* középre igazítja a kettőt */
  gap: 2.5rem;                  /* pici távolság a két mező között */
  margin: 0 auto 1rem;          /* középre a konténer és alul térköz */
  width: fit-content;           /* konténer csak akkora lesz, mint kell */
}

.age-range select {
  width: 80px; 
  height: 30px;                 /* fix szélesség */
  padding: 0.4em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}




.search-box-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 40px;
}

.search-form {
  max-width: 90%;           /* szélek: 5-5% */
  margin-left: auto;        /* középre helyezés */
  margin-right: auto;       /* középre helyezés */
  display: block;           /* biztos, hogy blokk szinten van */
  box-sizing: border-box;   /* padding ne tolja szét */
}



  /* Alap: 1 oszlop */
/* Alap: 1 oszlop mobilon */
.user-grid2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 5px;
  padding: 0 10px; /* 5px belső margó balra és jobbra */
  box-sizing: border-box; /* hogy ne lógjon túl a tartalom */
}


/* A kártyák ne legyenek fix szélességre kényszerítve */
.user-grid2 .user-container2 {
  width: 100%;
}

/* >=768px: 3 oszlop minden esetben */
@media (min-width: 768px) {
  .user-grid2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .user-grid2 > .user-container2.featured {
    grid-column: auto !important; /* ne foglalja be a teljes sort */
  }
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Pontok / points  .php           🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

.mb-4 {
 max-width: 600px;        /* középre igazítás felső korlátja */
  margin: 0 auto;          /* középre a horizonton */
  padding: 1rem;           /* alap padding: p-4 */
  margin-bottom: 1rem;     /* mb-4 */
  box-sizing: border-box;  /* padding ne tolja túl a szélességet */

}

.card.p-4.mb-4 {
  max-width: 600px;
  width: 95%;
  margin: 10px auto 1rem auto; /* top, auto jobbra-balra, bottom, auto */
  padding: 1rem;
  box-sizing: border-box;
}

.table-responsive {
  max-width: 600px;    /* ameddig engedjük, hogy kitáguljon */
  width: 100%;         /* kitölti a rendelkezésre álló helyet */
  margin: 0 auto;      /* középre igazítás vízszintesen */
  box-sizing: border-box;
}


.mb-3{
  min-width: 1000px;
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Beállítások / settings.php      🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

/* Alapstílusok */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
    color: #333;
}

body.dark-mode {
    background-color: #121212;
    color: #ddd;
}

.container2 {
    width: 100%;
    margin-top: 50px;
    padding: 20px;
    box-sizing: border-box;
}

h2, h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

form {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

.form {
    margin-top: 55px;          /* header alá tolva */

  margin: 0 auto;
  padding: 0; /* vagy minimalizáld, pl. padding: 0.5rem */
  text-align: center; /* csak ha inline-block lenne belül */
}



form input[type="email"],
form input[type="password"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

form button {
    width: 100%;
    padding: 10px;
    background-color: #cf2a2ad9;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 18px !important;
    transition: background-color 0.3s;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important; /* ✅ Tartalom (szöveg + ikon) középre */
}

form button:hover {
    background-color: #cf2a2ad9;
}

form input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 8px;
}

.success-message {
    color: green;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

.error-message {
    color: red;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

#deleteForm button,
#deleteConfirmForm button {
    margin-top: 10px;
}

#deleteForm button[style*="red"],
#deleteConfirmForm button[style*="red"] {
    background-color: #d9534f;
}

#deleteForm button[style*="orange"] {
    background-color: #f0ad4e;
}

#supportModal {
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content2 {
 position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    width: 90%;
    max-width: 340px;
    border-radius: 8px;
}

.modal-content.dark-mode {
    background-color: #1e1e1e;
    color: #fff;
}

.modal-content h3 {
    margin-top: 0;
    font-size: 18px;
    text-align: center;
}

.modal-content textarea {
    resize: vertical;
    min-height: 100px;
    font-size: 14px;
}

.modal-content button {
    margin-top: 10px;
    font-size: 14px;
    
}


.modal-content .close:hover {
    color: #000;
}



/* Sötét mód modális */
body.dark-mode .modal-content {
    background-color: #2c2c2c;
    color: #ddd;
}

body.dark-mode .modal-content .close {
    color: #aaa;
}

body.dark-mode .modal-content .close:hover {
    color: #fff;
}

/* Mobilbarát checkbox szöveg egy sorban */
form label input[type="checkbox"] {
    vertical-align: middle;
}



.dropdown {
    position: relative;
    display: inline-block;
}
.dropbtn {
    background-color: #ff6b81;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}
.dropdown-content {
            display: none;
            position: absolute;
            background-color: white;
            min-width: 160px;
            z-index: 2000;
            border-radius: 5px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            top: 100%;
            right: 0;
        }
  .dropdown-content a {
            color: #333;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
              font-family: 'Poppins', sans-serif;
              font-weight: 500;
        }
.dropdown-content a:hover {
    background-color: #f0f0f0;
}
   .dropdown:hover .dropdown-content {
            display: block !important;
        }
  

.search-group {
  width: 375px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ez igazítja balra az elemeket */
  gap: 12px; /* opcionális: távolság az elemek között */
}



/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢         Fotók / photos.php      🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

        section {
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        .gallery {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        .photo-card {
            background: #fff;
            margin-top: 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            overflow: hidden;
            width: 300px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .photo-card img {
            width: 100%;
            height: auto;
            cursor: pointer;
        }
    
    
        /* Modal stílus */
        .modal4 {
            display: none;
            position: fixed;
            top: 0;
            margin-top: 15px;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            align-items: center;
            justify-content: center;
        }
        .modal-spinner {
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            max-width: 600px;
            width: 90%;
            text-align: center;
        }
        #imagePreview {
            max-width: 100%;
            margin-bottom: 15px;
        }
        /* Alap méretezés, hogy ne lépje túl a szülőt */
#cropperModal.modal4 {
    position: absolute; /* vagy fixed, ha az egész ablakhoz igazítod */
    max-width: 100%;
    max-height: 100%;
    overflow: auto; /* ha nagyobb a tartalom, görgethető legyen */
    box-sizing: border-box;
    padding: 10px;
}

/* A modal tartalma igazodjon a rendelkezésre álló helyhez */
#cropperModal .modal-spinner {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* A kép se lépje túl a szülő méretét */
#cropperModal img {
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 150px); /* vagy a szülő magasságából számítva */
    object-fit: contain;
}

        #cancelCropBtn,
        #cropBtn {
            margin: 5px;
            padding: 10px 20px;
            font-size: 14px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        #cancelCropBtn {
            background: #ccc;
            color: #333;
        }
        #cropBtn {
            background: #cf2a2ad9;
            color: #fff;
        }

        /* Spinner háttér */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner kör */
.spinner {
    width: 60px;
    height: 60px;
    border: 8px solid rgba(207, 66, 66, 0.2);
    border-top: 8px solid rgba(207, 66, 66, 1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#uploadSection {
  margin: 65px auto 0 auto; /* felül 65px, középre igazítás */
  width: calc(100% - 10px); /* mindkét oldalon 5px hely marad */
  max-width: 360px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
}

#uploadSection:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

#gallerySection {
  margin: 20px auto 0 auto;       /* felül 65px, középre */
  width: calc(100% - 10px);       /* mindkét oldalon 5px hézag */
  max-width: 360px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
}

#gallerySection:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 személyi igazolás / identity_verify.php 🟢🟢🟢
                                                🟢🟢🟢                             
                                                🟢🟢🟢
                                                🟢🟢🟢
                                                🟢🟢🟢
                                      */


/* Konténer + tipográfia */
.container_id {
  max-width:800px; 
  margin:65px auto; 
  padding:20px;
  background:var(--card); 
  border:1px solid var(--border); 
  border-radius:14px;

  /* Középre igazítás */
  text-align:center;
}



form {
  display: inline-block; /* hogy ne nyúljon teljes szélességre */
  text-align: left; /* a form mezők maradjanak balra igazítva */
}



/*
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 pénz igazolás / money_verify.php        🟢🟢🟢
                                                🟢🟢🟢                             
                                                🟢🟢🟢
                                                🟢🟢🟢
                                                🟢🟢🟢
                                      */

/* Üzenetek (alert) */
.alert{
  padding:10px 12px; border-radius:8px; margin-top:10px; margin-bottom:8px;
  border:1px solid transparent; display:flex; gap:8px; align-items:center;
  line-height:1.35; font-size:1.05em;
}
.alert-success{ background:var(--success-bg); color:var(--success-fg); border-color:var(--success-border); }
.alert-info{    background:var(--info-bg);    color:var(--info-fg);    border-color:var(--info-border); }

/* (opcionális) keretes blokk az üzenetek köré */
.messages-wrapper{
  margin-top:65px; margin-left:8px; margin-right:8px; margin-bottom:8px;
  border:2px solid red; border-radius:8px; padding:12px;
}

/* Adatvédelmi doboz */
.policy{
  border:1px solid #ccc; padding:15px; background:#f9f9f9;
  max-height:220px; overflow-y:auto; margin:10px 0 20px; border-radius:8px;
  text-align:left; /* a szöveg maradjon balra */
}
.policy h4{ margin:0 0 8px; }
.policy::-webkit-scrollbar{ width:10px; }
.policy::-webkit-scrollbar-thumb{ background:var(--scrollbar); border-radius:8px; }
.policy::-webkit-scrollbar-track{ background:transparent; }

/* Form elrendezés: középre a forma, belül balra a mezők */
form{ display:inline-block; text-align:left; }

/* File input */
#moneyDocument{
  display:block; width:100%;
  padding:10px 12px; border:1px solid var(--border); border-radius:10px;
  background:#fff; color:var(--fg);
}
#moneyDocument:focus{
  outline:none; border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(37,99,235,.15);
}

/* Feltöltés gomb */
#uploadButton{
  background:var(--primary); color:#fff; border:none; border-radius:10px;
  padding:10px 16px; font-weight:700; cursor:pointer;
  transition:background .15s ease, transform .02s ease;
}
#uploadButton:hover{ background:var(--primary-hover); }
#uploadButton:active{ background:var(--primary-active); transform:translateY(1px); }
#uploadButton:disabled{ opacity:.6; cursor:not-allowed; }
#uploadButton.active{ filter:none; }

/* Checkbox + label */
#acceptPolicy{ width:16px; height:16px; vertical-align:middle; margin-right:8px; }
label[for="acceptPolicy"]{ user-select:none; cursor:pointer; }
}











@media (min-width: 768px) and (max-width: 1023px) {

  

  .top-bar .link-text {
    display: none;
  }


.top-section {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: stretch;
                margin-top: 10px;

    }
    .top-section .top-row,
    .top-section .highlight-info,
    .top-section .highlight-promo {
        flex: 1 1 calc(50% - 10px);
        box-sizing: border-box;
    }


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Mobilnézet mobilos nézet   🟢🟢🟢
                                   🟢🟢🟢                             
                                   🟢🟢🟢
                                   🟢🟢🟢
                                   🟢🟢🟢
                                      */


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Fejléc header.php topbar🟢🟢🟢
                                🟢🟢🟢                             
                                🟢🟢🟢
                                🟢🟢🟢
                                🟢🟢🟢
                                      */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-evenly !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  padding: 0;
  background: rgba(207, 42, 42, 0.87);
  z-index: 1000;
  transition: transform 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* szebb elválasztás a tartalomtól */
}

  .top-bar.hidden {
    transform: translateY(-100%);
  }

  /* KATTINTHATÓ zóna fix 80px magas legyen */
  .top-bar > a,
  .profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 0 12px !important;
    min-width: auto !important;
  }

  /* PROFILKERET pontos mérete */
  .top-bar .profile-wrapper {
     width: 50px !important;
    height: 50px !important;
    border-radius: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* PROFILKÉP mérete */
  .top-bar .profile-thumb {
  border-radius: 20px;
  object-fit: cover;
   width: 55px;
      height: auto;
    display: block;
  }

  /* IKONOK mérete */
  .top-bar a img {
    width: 22px !important;
    height: 22px !important;
    margin: 0;
    object-fit: contain;
    filter: contrast(1.3) brightness(1.1);
  }

  /* LOGÓ */
  .top-bar a.logo-link .logo-icon {
    width: 52px !important;
    height: 52px !important;
  }

  /* Egyéb elemek */
  .brand-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    grid-auto-rows: auto;
    grid-auto-flow: row;
    gap: 8px;
  }

  .transactions-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .transactions-table th,
  .transactions-table td {
    white-space: nowrap;
    font-size: 13px;
    padding: 6px;
  }

  .container {
    margin-left: 0 !important;
    max-width: 100% !important;
    padding: 0 0vw !important;
    box-sizing: border-box;
  }

.profile-header img.large {
  width: 10%;
  height: auto;
  min-width: 100%;
  min-height: 100%; /* max méretet adsz neki */
  display: block;
  object-fit: cover; /* ha vágni akarod */
}

  .profile-header img.small {
    max-width: 100px;
  }

  .offer-bubble {
    min-width: 100px;
    font-size: 12px;
    padding: 8px 12px;
  }

  .chat-container {
    height: 200px;
  }

  .inbox-container {
    padding: 10px;
  }

  button {
    padding: 8px 16px;
    font-size: 14px;
  }



  .message-form {
    padding: 10px;
  }


 /* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Main főoldal            🟢🟢🟢
                                🟢🟢🟢                             
                                🟢🟢🟢
                                🟢🟢🟢
                                🟢🟢🟢
                                      */
.main-content {
  margin-top: 90px;          /* header alá tolva */
  padding: 20px 10px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-family: sans-serif;
  box-sizing: border-box;
}

/* ============================
   FELSŐ SOR – EGY DOBOZ
   ============================ */
.top-row {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}

/* ============================
   CREDIT-BOX – LAYOUT & HOVER
   ============================ */
.credits-box {
  margin-top: 70px;
  width: 100%;
  max-width: 360px;
  height: 122px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px px rgba(0,0,0,0.08);
  padding: 12px 24px;         /* laposabb felül-alul */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
}
.credits-box:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Pont-ikon és egyenleg sorban */
.credit-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.credit-icon {
  width: 44px;
  flex-shrink: 0;
}

/* az egész egységre */
.credit-balance {
  font-size: 32px;
    font-weight: 540; /* normál */

  color: #444;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  margin: 0;
  display: flex;
  align-items: baseline;
}

/* csak a számra */
  .balance-amount .credit-balance  {
  font-weight: 500; /* félkövér */
    font-size: 32px;

}

/* csak a „pont” szóra */
.credit-balance .balance-unit {
  
  font-weight: 400; /* normál */
  font-style: italic; /* ha kell, itt beállíthatod dőlten is */
  margin-left: 4px;
  font-size: 0.8em;   /* vagy kisebb, ha szeretnéd */
}


/* ============================
   GOMBCSOPORT – EGY SORBAN,
   EGYSÉGES MAGASSÁG
   ============================ */
.button-group {
  display: flex;
  gap: 8px;
  width: 100%;
  justify-content: space-between;
  align-items: center;    /* középre igazítja a gombokat */
}

/* Mindhárom gomb egységes, fix magasság */
.button-group .credit-button,
.button-group .redeem-button,
.button-group .pro-button {
  flex: 1;
  height: 40px;           /* fix magasság */
  line-height: 40px;      /* ennyi legyen a sor magassága is */
  display: flex;          /* flex, hogy az ikon + szöveg is középen legyen */
  align-items: center;    /* függőleges közép */
  justify-content: center;/* vízszintes közép */
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  margin: 0;              /* eltávolít minden plusz margót */
  box-sizing: border-box;
  transition: background .2s, transform .1s;
}

/* Ha a pro gombot szélesebbre szeretnéd: */
.button-group .pro-button {
  flex: 30px;
}

/* Ha továbbra is maradna fura eltérés: nullázd a konkrét gomb margóját */
.button-group .redeem-button {
  margin-top: 0;
}



.button-group .credit-button {
  background:rgba(207, 42, 42, 0.87);
}
.button-group .credit-button:hover {
  background: #a12121cc;
  transform: translateY(-1px);
}
.button-group .redeem-button {
  background:rgba(207, 42, 42, 0.87);
}
.button-group .redeem-button:hover {
  background: #1e88e5;
  transform: translateY(-1px);
}
.button-group .pro-button {
  background: #ff9800;
}
.button-group .pro-button:hover {
  background: #fb8c00;
  transform: translateY(-1px);
}

/* PRO-ikon apró kiemelés */
.lock-icon {
  display: inline-block;
  transform: translateY(-2px);
}


/* -----------------------------------
   PROFIL KIEMELÉS BLOKKOK
   ----------------------------------- */

/* Általános doboz-stílusok */
.highlight-info,
.highlight-promo {
  margin-bottom: 12px;
  margin-top: 60px;
  width: 100%;
  max-width: 360px;
  height: 120px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px px rgba(0,0,0,0.08);
  padding: 15px 24px;         /* laposabb felül-alul */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
  gap: 12px;  
   font-size: 16px;    /* betűméret */
  font-weight: 540; 
  
}

/* Amikor már aktív a kiemelés */
.highlight-info {
  background: #ffffff;
  border: 1px solid #dddd;
color: #444;
  margin: auto;   /* KÖZÉPRE */
margin-bottom: 10px;
 margin-top: 60px;
  width: 100%;
  max-width: 360px;
  height: 122px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px px rgba(0,0,0,0.08);
  padding: 12px 24px;         /* laposabb felül-alul */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;

}

/* Promóciós blokk, ha még nem emelted ki */
.highlight-promo {
  background: #ffffff;
  border: 1px solid #dddd;
  color: #333;
  font-weight: 540;
  font-size: 16px;
  text-align: center; /* Ez igazítja középre a szöveget */
  line-height: 1.2; /* Ez növeli a sorok közti távolságot */

}


/* Gombok mindkét blokkban */
.btn-extend,
.btn-highlight {
  background-color: rgba(207, 42, 42, 0.87);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  margin-left: 8px;
  cursor: pointer;
  font-size: 16px;
}

/* Opció: hover effekt */
.btn-extend:hover,
.btn-highlight:hover {
  background-color: #a07845;
}

.user-header {
  font-family: 'Nunito', Arial, sans-serif !important;
  font-weight: 600;
  font-size: 25px;
  color: #333;
      gap: 5px ; /* ⬅️ biztos érvényesül */

}

/* ============================
   USER-GRID: 2 oszlopban
   ============================ */
.user-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 20px;      /* függőleges hézag marad 15px */
  column-gap: 30px;    /* vízszintes hézag legyen csak 6px */
  justify-items: center;
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 User container kártyák   🟢🟢🟢
                                 🟢🟢🟢                             
                                 🟢🟢🟢
                                 🟢🟢🟢
                                 🟢🟢🟢
                                      */
                                      
                                      
.user-container {
  position: relative;
  width: 100%;
  min-height: 400px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  padding-bottom: 10px;
  box-sizing: border-box;
}

/* --- Képwrapper (60% magasság) --- */
.user-container .image-wrapper {
  flex: none;
  height: 266.6666666666666666666666px; 
  width: 200px;
   overflow: hidden;
    margin-top: 8px; 
    margin-left: 11px;
    
}
.user-container .image-wrapper .profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Infó blokk (40% magasság) --- */
.user-container .info {
  flex: 0 0 40%;
  padding: 8px;
    width: 110%;
  display: flex;
    align-items: flex-start;  /* flex-direction: column esetén ez a vízszintes igazítás */
  text-align: left;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  
}

/* Név + kor sor */
.user-container .name-age {
  font-weight: bold;
  font-size: 17px;
  margin-bottom: 0px;
    margin-top: 0px;
}
.user-container .name-age .age {
  font-weight: normal;
  margin-left: 0px;
  color: #666;
}

/* Város */
.user-container .location {
  font-size: 13px;
  color: #555;
  margin-bottom: 0px;
   margin-top: 7px;
}

/* ========== AKCIÓGOMBOK ========== */

.user-container .actions {
  position: absolute;
  bottom: 0;
  left: 0;        /* nullára állítva */
  right: 0;       /* nullára állítva */
  display: flex;
  gap: 0;         /* ha össze akarod érni, különben pl. gap:2px */
  box-sizing: border-box;
  /* padding-ot töröld, hogy ne tolja bejjebb */
  padding: 0;
}

.user-container .actions button {
  flex: 1;
  margin: 0;
  height: 46px;
  background: transparent;
  border: 1px solid #ddd;
  color: rgba(207, 42, 42, 0.87);
  border-radius: 0;   /* ha teljesen össze akarod illeszteni, egy zsinórban */
  /* ha szeretnéd lekerekíteni a szélső gombok sarkait, használj :first-child / :last-child selektorokat */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background .2s, border-color .2s;
  box-sizing: border-box;
}

.user-container .actions button:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.user-container .actions button:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.user-container .actions button:hover {
  background: rgba(230,56,73,0.1);
}

.user-container .actions button img {
  width: 20px;
  height: auto;
  display: block;
}

/* – ha külön használod az osztályokat – */
.user-container .actions .like-btn {

}
.user-container .actions .message-btn {
  /* background: #2196f3; color: #fff; */
}

/* ========== IKON-MÉRETEZÉS ========== */
/* a gombokon belüli <img> elemekre */
.user-container .actions button img {
  width: 40px;
  height: auto;
  display: block;
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Badge igazolás elhelyezés 🟢🟢🟢
     ÁLTALÁNOS MINDKÉT CONTAINER  🟢🟢🟢                             
                                  🟢🟢🟢
                                  🟢🟢🟢
                                  🟢🟢🟢
                                      */

.user-container .image-wrapper {
  position: relative;
}

.badge-icon {
    width: 38px;
    height: 38px;

}

.identity-badge {
    width: 50px ;
    height: 50px ;
     position: relative;
    bottom: 5px; 
}

.user-container .image-wrapper .status-badge {
  position: absolute;
  bottom: 0px;
  right: 50px;
  width: 25px;
  height: 25px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.user-container .image-wrapper .money-badge {
  position: absolute;
  bottom: 0;
  right: 1px;
  width: 20px;
  height: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.user-container .image-wrapper .verify-badge {
  position: absolute;
  bottom: 0;
  right: 23px;
  width: 24px;
  height: 23px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.badges-wrapper {
  position: absolute ;
  right: 2px ;
  bottom: -10px ;
  display: flex ;
  flex-direction: row ;
  gap: 2px ;
  justify-content: flex-end ;
}

.single-badge-wrapper {
  position: absolute;
  right: 4px ;
  bottom: 0px ;
}





.image-wrapper {
    position: relative;
    display: inline-block;
}

.badges-row {
    display: flex;
    flex-direction: row;
    gap: 2px;
    align-items: flex-end;  /* << EZZEL minden badge az alján lesz igazítva! */
}


/* Csak a profilképnél – nagyobb, jobb alsó sarokban */
.profile-badges-row {
    position: absolute;
    bottom: 1px;
    right: 1px;
    z-index: 10;
}

.profile-badges-row .badge-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    object-fit: cover;
}

/* Alap badge minden más helyen (pl. kicsiben, felsorolásban) */
.badges-row .badge-icon {
    width: 20px;
    height: 20px;
background: transparent;
}
.profile-badges-row .identity-badge {
    width: 28px;
    height: 28px;
         position: relative;
    bottom: -4px; 
    
}



.online-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-left: 8px;
}
.online-dot.online {
  background-color: #2ecc71;
}
.online-dot.offline {
  background-color: #ccc;
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Általános modál         🟢🟢🟢
                                🟢🟢🟢                             
                                🟢🟢🟢
                                🟢🟢🟢
                                🟢🟢🟢
                                      */
.modal {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 120%; 
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal.show {
  display: flex;
}

/* --- Csak a képes modálra vonatkozik --- */
#imageModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9); /* sötét háttér */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* A kép: teljes kijelzős, torzítás nélkül */
#imageModal .modal-content {
  background: none;      /* nincs fehér háttér */
  border: none;          /* nincs keret */
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
  width: auto;
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  object-fit: contain;   /* ne torzuljon */
  object-position: center;
  display: block;
}


/* Bezáró X gomb */
/* Bezáró X gomb */
.modal-content .close {
  top: -5px !important;
  right: 0px !important;
    background-color: #ffff ;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  line-height: 1;
  transition: color .2s;
    text-align: center;

}
.modal-content .close:hover {
  color: #e63849;
}

/* Címsor, bekezdés */
.modal-content h2,
.modal-content h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 600;
  color:#333;
    text-align: center;

}
.modal-content p {
  margin-bottom: 20px;
    margin-top: 20px;

  color:#333;
  font-size: 20px;
  line-height: 1.4;
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Highlight kiemelés modál   🟢🟢🟢
                                   🟢🟢🟢                             
                                   🟢🟢🟢
                                   🟢🟢🟢
                                   🟢🟢🟢
                                      */
.highlight-choice {
  flex: 1 1 30%;
  min-width: 100px;
  display: block;
  width: 100%;
  margin-bottom: 1px;
  padding: 10px 8px;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.highlight-choice:hover,
.highlight-choice.selected {
  background: rgba(207, 42, 42, 0.87);
  border-color: rgba(207, 42, 42, 0.87);
  color: #fff;
}

/* 3) Pontok beváltása gomb és link */
.payWithPointsBtn,
#openCreditFromHighlight {
  display: block;
  width: 100%;
  border: none;
  cursor: pointer;
}
.payWithPointsBtn {
  margin-bottom: 16px;
  padding: 10px;
  font-size: 14px;
  background: rgba(207, 42, 42, 0.87);
  color: #333;
  border-radius: 4px;
  transition: background .2s;
}
.payWithPointsBtn:hover {
  background: rgba(207, 42, 42, 0.87);
}
#openCreditFromHighlight {
  margin-top: 8px;
  font-size: 140px;
  background: none;
  color: #e63849;
  text-decoration: underline;
}

/* 4) Fizetési opciók szekciók */
#paymentOptions,
#paymentMethodChoice,
#bankTransferInfo {
  display: none;
}
#paymentOptions.active,
#paymentMethodChoice.active,
#bankTransferInfo.active {
  display: block;
}
#paymentOptions button,
#paymentMethodChoice button,
#bankTransferInfo button {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  font-size: 18px;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: left;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
#paymentOptions button:hover,
#paymentMethodChoice button:hover,
#bankTransferInfo button:hover {
  background: rgba(207, 42, 42, 0.87);
  border-color: rgba(207, 42, 42, 0.87);
}

/* 5) Banki átutalás p elemek */
#bankTransferInfo p {
  margin: 8px 0;
  font-size: 20px;
  color: #333;
  line-height: 1.4;
}
#bankTransferInfo p.activation-note {
  margin: 20px 0 18px;
  font-size: 16px;
  color: #555;
}

/* 6) Ikonok és egyenleg sor */
.icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 6px;
}
.points-icon {
  width: 38px;
  height: 38px;
  margin-right: 4px;
}
.credit-balance-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 20px;
}
.credit-text {
 font-weight: 500;
   font-size: 22px;
    transition: font-size 0.2s ease;
  white-space: nowrap;

}

/* 7) Confirm sor és gombok */
.confirm-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.confirm-back {
  margin-top: 10px;
}
.confirm-btn {
  display: flex;
  justify-content: flex-start;
  padding: 8px 12px;
  font-size: 18px;
  font-weight: 500;
  background: #fff;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color .2s;
}
.confirm-btn:hover {
  background-color: rgba(207, 42, 42, 0.87);
  color: #fff;
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Credit kredit feltöltés modál 🟢🟢🟢
                                      🟢🟢🟢                             
                                      🟢🟢🟢
                                      🟢🟢🟢
                                      🟢🟢🟢
                                      */

#creditModal .modal-content {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  padding: 20px;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
  box-sizing: border-box;
  text-align: center;
}

/* Eltüntetjük a <br>-t */
#creditModal .modal-content br {
  display: none;
}

/* Cím és bekezdések */
#creditModal h2 {
  margin-bottom: 4px;
}
#creditModal p {
  margin: 2px 0 12px;
}
#creditTransferSection p {
  margin: 8px 0;
  font-size: 20px;
  color: #333;
  line-height: 1.4;
}
#creditTransferSection p.activation-note {
  margin: 20px 0 18px;
  font-size: 16px;
  color: #555;
}

/* Form full-width */
#creditModal #creditPaymentOptions form#creditForm {
  width: 100%;
  margin: 0 0 2px;
  padding: 0;
  box-sizing: border-box;
}

/* Gombok – közös szabályok */
#creditModal #creditPaymentChoice button,
#creditModal #creditTransferSection button,
#creditModal #creditPaymentOptions .credit-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px;
  background: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}

/* PaymentChoice & Transfer gombok */
#creditModal #creditPaymentChoice button,
#creditModal #creditTransferSection button {
  padding: 14px 10px;
  font-size: 16px;
  font-weight: 400;
  border-radius: 6px;
  text-align: center;
  color: #333;
  margin-bottom: 16px;
}

/* Credit‐btn gombok */
#creditModal #creditPaymentOptions .credit-btn {
  padding: 10px;
  font-size: 18px;
  border-radius: 4px;
  text-align: left;
  color: #333;
}

/* Utolsó gombok margin-ja */
#creditModal #creditPaymentChoice button:last-child,
#creditModal #creditPaymentOptions .credit-btn:last-child,
#creditModal #creditTransferSection button:last-child {
  margin-bottom: 10px;
}

/* Hover effekt mindháromra */
#creditModal #creditPaymentChoice button:hover,
#creditModal #creditPaymentOptions .credit-btn:hover,
#creditModal #creditTransferSection button:hover {
  background: rgba(207, 42, 42, 0.87);
  border-color: rgba(207, 42, 42, 0.87);
  color: #fff;
}

/* Ikonok a .credit-btn-on belül */
#creditModal #creditPaymentOptions .credit-btn .icon {
  width: 24px;
  height: auto;
  vertical-align: middle;
  margin-right: 8px;
}

/* Egyenleg sor (credit-balance wrapper) */
.credit-balance-wrapper2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 20px 0 10px;
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Felhasználó profil user modál   🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

:root {
  --bg-light: #f5f5f5;
  --bg-dark: #121212;
  --card-light: #ffffff;
  --card-dark: #1e1e1e;
  --text-light: #333;
  --text-dark: #e0e0e0;
  --primary: rgba(207, 42, 42, 0.87);
  --primary-dark: #ffffff;
  --success: rgba(207, 42, 42, 0.87);
  --success-dark: rgba(207, 42, 42, 0.87);
  --font-base: 16px;
}
html {
  font-size: var(--font-base);
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-light);
}
body.dark-mode {
  background: var(--bg-dark);
  color: var(--text-dark);
}

/* Konténer */
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0px;
  box-sizing: border-box;
  background-color: var(--card-light);
  border-radius: 0px;
  box-shadow: 0 0px 0px rgba(0,0,0,0.1);
}
body.dark-mode .container {
  background-color: var(--card-dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Profil container */
.profile-container {
  padding: 0px;
  background-color: var(--card-light);
  border-radius: 0px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
body.dark-mode .profile-container {
  background-color: var(--card-dark);
  box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
/* Példa: a te modalod fő konténerének adj egy class-t vagy id-t, pl. "profile-modal" */
.profile-modal {
  position: fixed; /* vagy absolute, ahogy jelenleg van */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95vw;   /* vagy amekkorát akarsz */
  max-width: 600px;
  max-height: 90vh; /* LEGFONTOSABB! */
  overflow-y: auto; /* Görgetés ha kilóg */
  background: #fff;
  border-radius: 16px;
  z-index: 10001;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

/* Profil fejléc */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;

}
.profile-pic-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 60%; /* pl. szélesebb képhez */
    height: 452px !important;
}

body.dark-mode .badge-icon {
  background: var(--card-dark);
}

/* Felhasználói adatok */
.user-info h2 { 
  font-size: 1.8rem;
  margin: 1px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;

}



/* Ikonok */
.block-icon, .report-icon {
  margin-left: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Jelentés modális */
.report-modal {
  display: none;
  position: fixed;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--card-light);
  color: var(--text-light);
  padding: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  width: 90%;
  max-width: 360px;
  box-sizing: border-box;
  opacity: 1;
}
body.dark-mode .report-modal {
  background-color: var(--card-dark);
  color: var(--text-dark);
  border-color: #444;
}
.report-modal label { font-weight: bold; }
.report-modal select, .report-modal textarea {
  width: 100%;
  margin-top: 6px;
  padding: 6px;
  box-sizing: border-box;
  font-size: 0.9rem;
}
.report-modal button {
  margin-right: 8px;
  padding: 6px 12px;
  font-size: 0.9rem;
}

/* Jelentés státusz */
.report-status {
  color: var(--success);
  margin-top: 8px;
  font-size: 0.9rem;
}

/* Ajándék ikonok */
.gift-icons {
  display: flex;
  justify-content: center;
  gap: 50px; /* eddigi 8px helyett */
  
}
.actions {
    position: relative; /* A pozíció alapja a három pont lesz */
}

.actions-menu {
      gap: 5px;               /* ⬅️ 5px távolság a gombok között */

    display: flex;
    flex-direction: column; /* egymás alatt legyenek az opciók */
    position: absolute;     /* a három pont alatt helyezkedik el */
    top: 100%;              /* pontosan a három pont alatt */
      left: auto;    /* kikapcsoljuk a balra illesztést */
  right: 0;                /* a három pont bal széléhez igazítva */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;          /* mindig a többi fölött */
}

.actions[open] .actions-menu {
    display: flex; /* csak akkor jelenjen meg, ha lenyitott */
}
/* summary (⋮) ikon méretének csökkentése */

.actions summary { 
  margin-left: 0 !important;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* menü gombikonok méretének beállítása */
.actions-menu button img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* ha a vissza‐gomb ikont is kisebbre akarod */
.back-btn-icon {
  width: 50px !important;
  height: 50px !important;
}



.giftIcon {
  width: 85px;
  height: 85px;
  margin-top:0px;  
  margin-bottom: 15px;  
  padding: 5px 7px;        /* belső térköz */
  cursor: pointer;
}
.toggle-buttons {
  display: flex;
  border-top: 1px solid rgba(207, 42, 42, 0.411);
}

/* Minden btn-icon-btn egyenlő széles lesz */
.toggle-buttons .btn-icon-btn {
  flex: 1;
  border: none;
  border-radius: 0;
  padding: 13px 27px;    /* alap padding */
  text-align: center;
  transition: all 0.3s ease;
}

/* 2 gombos esetben extra belső térköz, hogy szépen kitöltse a sort */
.toggle-buttons.buttons-2 .btn-icon-btn {
  padding: 13px 70px;
}

/* 3 gombos esetben kicsit nagyobb */
.toggle-buttons.buttons-3 .btn-icon-btn {
  padding: 13px 50px;
}

/* 4 vagy több gombnál marad az alap padding */
.toggle-buttons.buttons-4 .btn-icon-btn,
.toggle-buttons.buttons-5 .btn-icon-btn {
  padding: 13px 27px;
}

.toggle-buttons .btn-icon-btn:hover {
  background-color: #ce2e3e; /* halvány piros háttér hover-nél */
  border-color: rgba(207, 42, 42);     /* sötétebb piros keret */
}

.toggle-buttons button {
  padding: 16px 22px;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 0px;
  font-size: 1.3rem;
  cursor: pointer;
   margin-top: 0px;
}
.toggle-buttons button:hover { background: var(--primary-dark); }

.btn-icon-btn .btn-text {
  display: inline;
}
.btn-icon-btn .btn-icon {
  display: none;
  width: 40px;
  height: 40px;
  vertical-align: middle;
}

/* Kívánságok, ajánlatok*/
.profile-section { margin-top: 0; }
.profile-section h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.offer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.offer-bubble {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f0f0f0;
  border-radius: 20px;
  cursor: default;      /* itt már nem kattintható */
  user-select: none;
}

.offer-icon {
   width: 34px;
    height: auto;
    vertical-align: middle;
    margin-right: 6px;
}

.offer-label {
  font-size: 16px;
  white-space: nowrap;
}


/* Üzenetküldő */
.message-form {
  margin-top: 20px;
}
.message-form textarea {
  width: 100%;
  height: 80px;
  padding: 8px;
  font-size: 0.9rem;
  resize: vertical;
  box-sizing: border-box;
}
.message-form button {
  margin-top: 8px;
  padding: 6px 12px;
  border: none;
  background: var(--success);
  color: #fff;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}
.message-form button:hover { background: var(--success-dark); }

/* Chat ablak */
.chat-container { margin-top: 20px; }
.chat-messages {
  max-height: 200px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #ccc;
  background: var(--card-light);
}
body.dark-mode .chat-messages { background: var(--card-dark); border-color: #444; }
.chat-container textarea {
  width: 100%;
  padding: 8px;
  margin-top: 8px;
  box-sizing: border-box;
}
.chat-container button {
  margin-top: 6px;
  padding: 6px 12px;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Profil és külső adatok */
.profile-info p, .external-info p {
  margin: 4px 0;
  font-size: 0.9rem;
}
.profile-info ul { list-style: disc; margin-left: 16px; }

/* Keresési feltételek */
.search-criteria-container p { margin: 4px 0; font-size: 0.9rem; }

/* Fotók */
.photos-container .photo-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.photos-container .photo { width: 150px; height: 150px; object-fit: cover; border-radius: 4px; background: var(--card-light); }
body.dark-mode .photos-container .photo { background: var(--card-dark); }
.photo-hidden { position: relative; display: inline-block; }
.photo-hidden .blurred { filter: blur(8px); }
.request-access-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 10px;
  font-size: 0.8rem;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

/* Szekciók közötti távolság eltávolítása */
.search-criteria-container,
.photos-container,
.profile-info,
.external-info {
  margin-top: 0;
}


details summary {
  list-style: none;
 padding: 10px;
}
details summary::-webkit-details-marker {
  display: none;
   padding: 10px;

}

/* Kis képernyőn (576px alatt): csak az ikon látszik */
@media (max-width: 576px) {
  .btn-icon-btn .btn-text {
    display: none;
  }
  .btn-icon-btn .btn-icon {
    display: inline;
  }
}

.info-bubble {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 15px;
    padding: 4px 8px;
    margin: 6px;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: 0 2px 4px rgb(255, 255, 255);
    border: 1px solid rgba(207, 42, 42, 0.473);;

}

.info-icon {
    width: 34px;
    height: auto;
    vertical-align: middle;
    margin-right: 6px;
}

.info-text {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}
/* Maga a modal doboz */
.modal .modal-container {
  background: #fff;
  height: 775px;
  margin: 0px auto;
  padding: 00px;
  width: 100%;
  max-width: 600px;
  border-radius: 0px;

  /* IDE: a lényege */
  max-height: calc(100vh - 80px);  /* ne lógjon ki a képernyőről */
  overflow-y: auto;                /* görgethetővé teszi, ha túl magas */
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Üzenetek / messages.php        🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */



/* ==========================
   Theme Variables
   ========================== */
:root {
  --sidebar-bg: #ffffff;
  --chat-bg: #ffffff;
  --primary-color: #ffffff ;
  --secondary-color: #6c757d;
  --border-color: #d2d7db;
  --avatar-size: 60px;
  --font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* ==========================
   Global Reset & Base Styles
   ========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-family);
  font-size: 14px;
  color: #343a40;
  background-color: #f0f2f5;
  overflow: hidden;
}

/* ==========================
   Container Layout
   ========================== */
.container {
  display: flex;
  height: 100vh;
}
#mainContainer {
  width: 100%;
}

/* ==========================
   Sidebar (Contacts List)
   ========================== */
.contacts-sidebar {
  width: 280px;
  background-color: var(--sidebar-bg);
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
  padding: 1rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.contact-item:hover {
  background-color: #e9ecef;
}
.contact-item + .contact-item {
  border-top: 1px solid var(--border-color);
}

.profile-picture {
  position: relative;
  z-index: 2;                 /* hogy a PRO-gyűrű fölött legyen */
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}


.contact-username {
  margin-left: 0.85rem;
  font-size: 30px;
  font-weight: 500;
  flex-grow: 1;
  display: flex;
  align-items: center;
}



.block-icon {
  width: 20px;
  height: 20px;
  margin-left: 0.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.block-icon:hover {
  opacity: 1;
}

/* ==========================
   Chat Window
   ========================== */
.chat-container {
  flex: 1;
  height: calc(80vh - 70px - 60px); /* teljes képernyőből kivonjuk a header+input magasságát */

  background-color: var(--chat-bg);
  display: flex;
  flex-direction: column;
  padding: 1rem;
  overflow-y: auto;
}
.chat-container h3 {
  color: var(--secondary-color);
  text-align: center;
  margin-top: 2rem;
}

/* ==========================
   Message Bubbles
   ========================== */
.chat-message {
  max-width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  position: relative;
  word-break: break-word;
  font-size: 14px;
}
.sent-message {
  background-color: rgba(207, 42, 42, 0.048); /* halvány piros buborék */
  color: #212529;                          /* sötét szöveg */
  align-self: flex-end;
  border: 1px solid rgba(207, 42, 42, 0.171); /* 🔥 vékony sötétebb piros keret */
  border-radius: 8px;                       /* finoman kerekített sarkok */
  border-bottom-right-radius: 2px;          /* az eredeti sarok megmarad */
  font-size: 20px;
  padding: 8px 12px;                        /* belső margó a szöveghez */
}

.received-message {
  background-color: #ebe9e9;          /* világosszürke buborék */
  color: #212529;                    /* sötét szöveg */
  align-self: flex-start;
  border: 1px solid #c2c2c2;         /* vékony sötétebb szürke keret */
  border-radius: 8px;                /* finoman kerekített sarkok */
  border-bottom-left-radius: 2px;    /* az eredeti sarok megmarad */
  font-size: 20px;
  padding: 8px 12px;                 /* belső margó, hogy legyen hely a szöveg körül */
}


.message-time {
  display: none;
  font-size: 0.75rem;
  color: var(--secondary-color);
  position: absolute;
  bottom: -1.2rem;
  right: 0.5rem;
}
.chat-message:hover .message-time,
.chat-message.clicked .message-time {
  display: block;
}

.read-receipt {
  position: absolute;
  bottom: -1.2rem;
  left: 0.5rem;
  font-size: 0.75rem;
  color: #fff;
}

/* ==========================
   Back Button
   ========================== */
.back-btn {
  display: none;
}

/* ==========================
   Message Input Area
   ========================== */
#messageInputContainer {
  display: flex;
  border-top: 1px solid var(--border-color);
  padding: 0.75rem;
  background-color: #fff;
  height: 120px;
}
#messageInputContainer textarea {
  flex: 1;
  resize: none;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5rem;
  font-family: var(--font-family);
  font-size: 14px;
  height: 80px;
}
#messageInputContainer button {
  background-color: rgba(207, 42, 42);
  border: none;
  color: #fff;
  padding: 0 1rem;
  margin-left: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;

  height: 48px; /* 🔥 nagyobb gomb */
}

#messageInputContainer button:hover {
  background-color: darken(var(--primary-color), 10%);
}

/* ==========================
   Scrollbar Styling
   ========================== */
.contacts-sidebar::-webkit-scrollbar,
.chat-container::-webkit-scrollbar {
  width: 6px;
}
.contacts-sidebar::-webkit-scrollbar-thumb,
.chat-container::-webkit-scrollbar-thumb {
  background-color: var(--border-color);
  border-radius: 3px;
}

/* ==========================
   Responsive (≤375px) =====
   Show/Hide logic via .show-chat
   ========================== */

  .container {
    display: block;
    height: auto;
  }
  .contacts-sidebar {
  width: 100%;
  border-right: none;
  border-bottom: 1px solid var(--border-color);
  margin-top: 50px; /* <<< eltolás lefelé */
}

  .chat-container,
  #messageInputContainer {
    display: none !important;
  }
  #mainContainer.show-chat .contacts-sidebar {
    display: none !important;
  }
  #mainContainer.show-chat .chat-container,
  #mainContainer.show-chat #messageInputContainer {
    display: block !important;
  }
 #mainContainer.show-chat .back-btn {
    display: inline-flex;         /* flex, hogy középen legyen az ikon */
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 4px;
    padding: 2px 4px;             /* 🔥 kisebb felület */
    margin-bottom: 1rem;
    cursor: pointer;
}

.back-btn-icon {
    height: 40px;                 /* 🔥 nagyobb ikon */
    margin-top: 15px;                /* középre állítjuk az ikont */
    display: block;
}



  /* továbbra is rejtve alapból */
  .chat-container,
  #messageInputContainer {
    display: none !important;
  }

  /* ha a mainContainer-nek megvan a show-chat */
  #mainContainer.show-chat .chat-container {
    display: block !important;
  }
  /* és a következő testvér, az input is */
  #mainContainer.show-chat + #messageInputContainer {
    display: flex !important;
  }

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Keresés / search.php           🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */


  .user-container2 {
  position: relative;
  min-height: 410px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  box-sizing: border-box;
}

/* --- Képwrapper (60% magasság) --- */
.user-container2 .image-wrapper {
  flex: none;
  height: 275px; 
  width: 220px;
   overflow: hidden;
    margin-top: 4px ; 
    margin-left: 4px;
    
}
.user-container2 .image-wrapper .profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Infó blokk (40% magasság) --- */
.user-container2 .info {
  flex: 0 0 40%;
  padding: 8px;
    width: 110%;
  display: flex;
    align-items: flex-start;  /* flex-direction: column esetén ez a vízszintes igazítás */
  text-align: left;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  
}

/* Név + kor sor */
.user-container2 .name-age {
  font-weight: bold;
  font-size: 17px;
  margin-bottom: 0px;
    margin-top: 0px;
}
.user-container2 .name-age .age {
  font-weight: normal;
  margin-left: 0px;
  color: #666;
}

/* Város */
.user-container2 .location {
  font-size: 13px;
  color: #555;
  margin-bottom: 0px;
   margin-top: 7px;
}

/* ========== AKCIÓGOMBOK ========== */

.user-container2 .actions {
  position: absolute;
  bottom: 0;
  left: 0;        /* nullára állítva */
  right: 0;       /* nullára állítva */
  display: flex;
  gap: 0;         /* ha össze akarod érni, különben pl. gap:2px */
  box-sizing: border-box;
  /* padding-ot töröld, hogy ne tolja bejjebb */
  padding: 0;
}

.user-container2 .actions button {
  flex: 1;
  margin: 0;
  height: 46px;
  background: transparent;
  border: 1px solid #ddd;
  color: rgba(207, 42, 42, 0.87);
  border-radius: 0;   /* ha teljesen össze akarod illeszteni, egy zsinórban */
  /* ha szeretnéd lekerekíteni a szélső gombok sarkait, használj :first-child / :last-child selektorokat */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background .2s, border-color .2s;
  box-sizing: border-box;
}

.user-container2.actions button:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.user-container2 .actions button:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.user-container2 .actions button:hover {
  background: rgba(230,56,73,0.1);
}

.user-container2 .actions button img {
  width: 20px;
  height: auto;
  display: block;
}

/* – ha külön használod az osztályokat – */
.user-container2 .actions .like-btn {

}
.user-container2 .actions .message-btn {
  /* background: #2196f3; color: #fff; */
}

/* ========== IKON-MÉRETEZÉS ========== */
/* a gombokon belüli <img> elemekre */
.user-container2 .actions button img {
  width: 40px;
  height: auto;
  display: block;
}




.notifications {
  margin-top: 55px;          /* header alá tolva */
  max-width: 375px;
  margin-left: auto;
  margin-right: auto;
  font-family: sans-serif;
  box-sizing: border-box;
  font-size: 20px; 
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
}

  .search-label {
    font-size: 27px !important;
  }
  .search-label img {
    width: 32px !important;
    height: 32px !important;
  }
                     
  form label {
    display: block;
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: 500;
}


  .main-content2 {
   margin-top: 65px;
  }

/* Életkor mezők alá, középre igazítva egyenlő távolsággal */
.age-range {
  display: flex;
  justify-content: center;      /* középre igazítja a kettőt */
  gap: 2.5rem;                  /* pici távolság a két mező között */
  margin: 0 auto 1rem;          /* középre a konténer és alul térköz */
  width: fit-content;           /* konténer csak akkora lesz, mint kell */
}

.age-range select {
  width: 80px; 
  height: 30px;                 /* fix szélesség */
  padding: 0.4em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}




.search-box-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 40px;
}

.search-form {
  max-width: 90%;           /* szélek: 5-5% */
  margin-left: auto;        /* középre helyezés */
  margin-right: auto;       /* középre helyezés */
  display: block;           /* biztos, hogy blokk szinten van */
  box-sizing: border-box;   /* padding ne tolja szét */
}

  /* Alap: 1 oszlop */
/* Alap: 1 oszlop mobilon */
.user-grid2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 5px;
  padding: 0 10px; /* 5px belső margó balra és jobbra */
  box-sizing: border-box; /* hogy ne lógjon túl a tartalom */
}


/* A kártyák ne legyenek fix szélességre kényszerítve */
.user-grid2 .user-container2 {
  width: 100%;
}

/* >=768px: 3 oszlop minden esetben */
@media (min-width: 768px) {
  .user-grid2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .user-grid2 > .user-container2.featured {
    grid-column: auto !important; /* ne foglalja be a teljes sort */
  }
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Pontok / points  .php           🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

.mb-4 {
 max-width: 600px;        /* középre igazítás felső korlátja */
  margin: 0 auto;          /* középre a horizonton */
  padding: 1rem;           /* alap padding: p-4 */
  margin-bottom: 1rem;     /* mb-4 */
  box-sizing: border-box;  /* padding ne tolja túl a szélességet */

}

.card.p-4.mb-4 {
  max-width: 600px;
  width: 95%;
  margin: 10px auto 1rem auto; /* top, auto jobbra-balra, bottom, auto */
  padding: 1rem;
  box-sizing: border-box;
}

.table-responsive {
  max-width: 600px;    /* ameddig engedjük, hogy kitáguljon */
  width: 100%;         /* kitölti a rendelkezésre álló helyet */
  margin: 0 auto;      /* középre igazítás vízszintesen */
  box-sizing: border-box;
}


.mb-3{
  min-width: 1000px;
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Beállítások / settings.php      🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

/* Alapstílusok */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
    color: #333;
}

body.dark-mode {
    background-color: #121212;
    color: #ddd;
}

.container2 {
    width: 100%;
    margin-top: 50px;
    padding: 20px;
    box-sizing: border-box;
}

h2, h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

form {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

.form {
    margin-top: 55px;          /* header alá tolva */

  margin: 0 auto;
  padding: 0; /* vagy minimalizáld, pl. padding: 0.5rem */
  text-align: center; /* csak ha inline-block lenne belül */
}



form input[type="email"],
form input[type="password"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

form button {
    width: 100%;
    height: 50px;
    padding: 10px;
    background-color: #cf2a2ad9;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 18px !important;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #cf2a2ad9;
}

form input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 8px;
}

.success-message {
    color: green;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

.error-message {
    color: red;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

#deleteForm button,
#deleteConfirmForm button {
    margin-top: 10px;
}

#deleteForm button[style*="red"],
#deleteConfirmForm button[style*="red"] {
    background-color: #d9534f;
}

#deleteForm button[style*="orange"] {
    background-color: #f0ad4e;
}

#supportModal {
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content2 {
 position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    width: 90%;
    max-width: 340px;
    border-radius: 8px;
}

.modal-content.dark-mode {
    background-color: #1e1e1e;
    color: #fff;
}

.modal-content h3 {
    margin-top: 0;
    font-size: 18px;
    text-align: center;
}

.modal-content textarea {
    resize: vertical;
    min-height: 100px;
    font-size: 14px;
}

.modal-content button {
    margin-top: 10px;
    font-size: 14px;
    
}




/* Sötét mód modális */
body.dark-mode .modal-content {
    background-color: #2c2c2c;
    color: #ddd;
}

body.dark-mode .modal-content .close {
    color: #aaa;
}

body.dark-mode .modal-content .close:hover {
    color: #fff;
}

/* Mobilbarát checkbox szöveg egy sorban */
form label input[type="checkbox"] {
    vertical-align: middle;
}



.dropdown {
    position: relative;
    display: inline-block;
}
.dropbtn {
    background-color: #ff6b81;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}
.dropdown-content {
            display: none;
            position: absolute;
            background-color: white;
            min-width: 160px;
            z-index: 2000;
            border-radius: 5px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            top: 100%;
            right: 0;
        }
  .dropdown-content a {
            color: #333;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
              font-family: 'Poppins', sans-serif;
              font-weight: 500;
        }
.dropdown-content a:hover {
    background-color: #f0f0f0;
}
   .dropdown:hover .dropdown-content {
            display: block !important;
        }
  

.search-group {
  width: 375px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ez igazítja balra az elemeket */
  gap: 12px; /* opcionális: távolság az elemek között */
}



/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢         Fotók / photos.php      🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

        section {
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        .gallery {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        .photo-card {
            background: #fff;
            margin-top: 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            overflow: hidden;
            width: 300px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .photo-card img {
            width: 100%;
            height: auto;
            cursor: pointer;
        }
    
    
        /* Modal stílus */
        .modal4 {
            display: none;
            position: fixed;
            top: 0;
            margin-top: 15px;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            align-items: center;
            justify-content: center;
        }
        .modal-spinner {
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            max-width: 600px;
            width: 90%;
            text-align: center;
        }
        #imagePreview {
            max-width: 100%;
            margin-bottom: 15px;
        }
        /* Alap méretezés, hogy ne lépje túl a szülőt */
#cropperModal.modal4 {
    position: absolute; /* vagy fixed, ha az egész ablakhoz igazítod */
    max-width: 100%;
    max-height: 100%;
    overflow: auto; /* ha nagyobb a tartalom, görgethető legyen */
    box-sizing: border-box;
    padding: 10px;
}

/* A modal tartalma igazodjon a rendelkezésre álló helyhez */
#cropperModal .modal-spinner {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* A kép se lépje túl a szülő méretét */
#cropperModal img {
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 150px); /* vagy a szülő magasságából számítva */
    object-fit: contain;
}

        #cancelCropBtn,
        #cropBtn {
            margin: 5px;
            padding: 10px 20px;
            font-size: 14px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        #cancelCropBtn {
            background: #ccc;
            color: #333;
        }
        #cropBtn {
            background: #cf2a2ad9;
            color: #fff;
        }

        /* Spinner háttér */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner kör */
.spinner {
    width: 60px;
    height: 60px;
    border: 8px solid rgba(207, 66, 66, 0.2);
    border-top: 8px solid rgba(207, 66, 66, 1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#uploadSection {
  margin: 65px auto 0 auto; /* felül 65px, középre igazítás */
  width: calc(100% - 10px); /* mindkét oldalon 5px hely marad */
  max-width: 360px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
}

#uploadSection:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

#gallerySection {
  margin: 20px auto 0 auto;       /* felül 65px, középre */
  width: calc(100% - 10px);       /* mindkét oldalon 5px hézag */
  max-width: 360px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
}

#gallerySection:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 személyi igazolás / identity_verify.php 🟢🟢🟢
                                                🟢🟢🟢                             
                                                🟢🟢🟢
                                                🟢🟢🟢
                                                🟢🟢🟢
                                      */


/* Konténer + tipográfia */
.container_id {
  max-width:800px; 
  margin:65px auto; 
  padding:20px;
  background:var(--card); 
  border:1px solid var(--border); 
  border-radius:14px;

  /* Középre igazítás */
  text-align:center;
}



form {
  display: inline-block; /* hogy ne nyúljon teljes szélességre */
  text-align: left; /* a form mezők maradjanak balra igazítva */
}



/*
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 pénz igazolás / money_verify.php        🟢🟢🟢
                                                🟢🟢🟢                             
                                                🟢🟢🟢
                                                🟢🟢🟢
                                                🟢🟢🟢
                                      */

/* Üzenetek (alert) */
.alert{
  padding:10px 12px; border-radius:8px; margin-top:10px; margin-bottom:8px;
  border:1px solid transparent; display:flex; gap:8px; align-items:center;
  line-height:1.35; font-size:1.05em;
}
.alert-success{ background:var(--success-bg); color:var(--success-fg); border-color:var(--success-border); }
.alert-info{    background:var(--info-bg);    color:var(--info-fg);    border-color:var(--info-border); }

/* (opcionális) keretes blokk az üzenetek köré */
.messages-wrapper{
  margin-top:65px; margin-left:8px; margin-right:8px; margin-bottom:8px;
  border:2px solid red; border-radius:8px; padding:12px;
}

/* Adatvédelmi doboz */
.policy{
  border:1px solid #ccc; padding:15px; background:#f9f9f9;
  max-height:220px; overflow-y:auto; margin:10px 0 20px; border-radius:8px;
  text-align:left; /* a szöveg maradjon balra */
}
.policy h4{ margin:0 0 8px; }
.policy::-webkit-scrollbar{ width:10px; }
.policy::-webkit-scrollbar-thumb{ background:var(--scrollbar); border-radius:8px; }
.policy::-webkit-scrollbar-track{ background:transparent; }

/* Form elrendezés: középre a forma, belül balra a mezők */
form{ display:inline-block; text-align:left; }

/* File input */
#moneyDocument{
  display:block; width:100%;
  padding:10px 12px; border:1px solid var(--border); border-radius:10px;
  background:#fff; color:var(--fg);
}
#moneyDocument:focus{
  outline:none; border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(37,99,235,.15);
}

/* Feltöltés gomb */
#uploadButton{
  background:var(--primary); color:#fff; border:none; border-radius:10px;
  padding:10px 16px; font-weight:700; cursor:pointer;
  transition:background .15s ease, transform .02s ease;
}
#uploadButton:hover{ background:var(--primary-hover); }
#uploadButton:active{ background:var(--primary-active); transform:translateY(1px); }
#uploadButton:disabled{ opacity:.6; cursor:not-allowed; }
#uploadButton.active{ filter:none; }

/* Checkbox + label */
#acceptPolicy{ width:16px; height:16px; vertical-align:middle; margin-right:8px; }
label[for="acceptPolicy"]{ user-select:none; cursor:pointer; }
}



















@media (max-width: 767px) {




/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Mobilnézet mobilos nézet   🟢🟢🟢
                                   🟢🟢🟢                             
                                   🟢🟢🟢
                                   🟢🟢🟢
                                   🟢🟢🟢
                                      */


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Fejléc header.php topbar🟢🟢🟢
                                🟢🟢🟢                             
                                🟢🟢🟢
                                🟢🟢🟢
                                🟢🟢🟢
                                      */

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-evenly !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  padding: 0;
  background: rgba(207, 42, 42, 0.87);
  z-index: 1000;
  transition: transform 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* szebb elválasztás a tartalomtól */
}
  .top-bar.hidden {
    transform: translateY(-100%);
  }

  /* KATTINTHATÓ zóna fix 80px magas legyen */
  .top-bar > a,
  .profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 0 12px !important;
    min-width: auto !important;
  }

  /* PROFILKERET pontos mérete */
  .top-bar .profile-wrapper {
    width: 50px !important;
    height: 50px !important;
    border-radius: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* PROFILKÉP mérete */
  .top-bar .profile-thumb {
      border-radius: 100%;
  object-fit: cover;
   width: 65px;
      height: auto;
    display: block;
  }

  /* IKONOK mérete */
  .top-bar a img {
    width: 22px !important;
    height: 22px !important;
    margin: 0;
    object-fit: contain;
    filter: contrast(1.3) brightness(1.1);
  }

  /* LOGÓ */
  .top-bar a.logo-link .logo-icon {
    width: 52px !important;
    height: 52px !important;
  }

  /* Egyéb elemek */
  .brand-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    grid-auto-rows: auto;
    grid-auto-flow: row;
    gap: 8px;
  }

  .transactions-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .transactions-table th,
  .transactions-table td {
    white-space: nowrap;
    font-size: 13px;
    padding: 6px;
  }

  .container {
    margin-left: 0 !important;
    max-width: 100% !important;
    padding: 0 0vw !important;
    box-sizing: border-box;
  }

.profile-header img.large {
  width: 100%;
  height: auto;
  max-width: 300px;
  max-height: 400px; /* max méretet adsz neki */
  display: block;
  object-fit: cover; /* ha vágni akarod */
}

  .profile-header img.small {
    max-width: 100px;
  }

  .offer-bubble {
    min-width: 100px;
    font-size: 12px;
    padding: 8px 12px;
  }

  .chat-container {
    height: 200px;
  }

  .inbox-container {
    padding: 10px;
  }

  button {
    padding: 8px 16px;
    font-size: 14px;
  }



  .message-form {
    padding: 10px;
  }


 /* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Main főoldal            🟢🟢🟢
                                🟢🟢🟢                             
                                🟢🟢🟢
                                🟢🟢🟢
                                🟢🟢🟢
                                      */
.main-content {
  margin-top: 90px;          /* header alá tolva */
  padding: 20px 10px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-family: sans-serif;
  box-sizing: border-box;
}

/* ============================
   FELSŐ SOR – EGY DOBOZ
   ============================ */
.top-row {
  display: flex;
  justify-content: center;
  margin-bottom: -5px;
}

/* ============================
   CREDIT-BOX – LAYOUT & HOVER
   ============================ */
.credits-box {
  margin-top: 70px;
  width: 100%;
  max-width: 800px;
  height: 122px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px px rgba(0,0,0,0.08);
  padding: 12px 24px;         /* laposabb felül-alul */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
}
.credits-box:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Pont-ikon és egyenleg sorban */
.credit-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.credit-icon {
  width: 44px;
  flex-shrink: 0;
}

/* az egész egységre */
.credit-balance {
  font-size: 32px;
    font-weight: 540; /* normál */

  color: #444;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  margin: 0;
  display: flex;
  align-items: baseline;
}

/* csak a számra */
  .balance-amount .credit-balance  {
  font-weight: 500; /* félkövér */
    font-size: 32px;

}

/* csak a „pont” szóra */
.credit-balance .balance-unit {
  
  font-weight: 400; /* normál */
  font-style: italic; /* ha kell, itt beállíthatod dőlten is */
  margin-left: 4px;
  font-size: 0.8em;   /* vagy kisebb, ha szeretnéd */
}


/* ============================
   GOMBCSOPORT – EGY SORBAN,
   EGYSÉGES MAGASSÁG
   ============================ */
.button-group {
  display: flex;
  gap: 8px;
  width: 100%;
  justify-content: space-between;
  align-items: center;    /* középre igazítja a gombokat */
}

/* Mindhárom gomb egységes, fix magasság */
.button-group .credit-button,
.button-group .redeem-button,
.button-group .pro-button {
  flex: 1;
  height: 40px;           /* fix magasság */
  line-height: 40px;      /* ennyi legyen a sor magassága is */
  display: flex;          /* flex, hogy az ikon + szöveg is középen legyen */
  align-items: center;    /* függőleges közép */
  justify-content: center;/* vízszintes közép */
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  margin: 0;              /* eltávolít minden plusz margót */
  box-sizing: border-box;
  transition: background .2s, transform .1s;
}

/* Ha a pro gombot szélesebbre szeretnéd: */
.button-group .pro-button {
  flex: 30px;
}

/* Ha továbbra is maradna fura eltérés: nullázd a konkrét gomb margóját */
.button-group .redeem-button {
  margin-top: 0;
}



.button-group .credit-button {
  background:rgba(207, 42, 42, 0.87);
}
.button-group .credit-button:hover {
  background: #a12121cc;
  transform: translateY(-1px);
}
.button-group .redeem-button {
  background:rgba(207, 42, 42, 0.87);
}
.button-group .redeem-button:hover {
  background: #1e88e5;
  transform: translateY(-1px);
}
.button-group .pro-button {
  background: #ff9800;
}
.button-group .pro-button:hover {
  background: #fb8c00;
  transform: translateY(-1px);
}

/* PRO-ikon apró kiemelés */
.lock-icon {
  display: inline-block;
  transform: translateY(-2px);
}

.top-section .highlight-info,
.top-section .highlight-promo {
  flex: 1 1 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* -----------------------------------
   PROFIL KIEMELÉS BLOKKOK
   ----------------------------------- */

/* Általános doboz-stílusok */
.highlight-info,
.highlight-promo {
 margin-top: -10px;
  margin-bottom: 12px;
  width: 100%;
  max-width: 800px;
  height: 104px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px px rgba(0,0,0,0.08);
  padding: 10px 24px;         /* laposabb felül-alul */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
 gap: 7px;  
   font-size: 16px;    /* betűméret */
  font-weight: 540; 
  
}

/* Amikor már aktív a kiemelés */
.highlight-info {
  background: #ffffff;
  border: 1px solid #dddd;
color: #444;
  margin: auto;   /* KÖZÉPRE */
margin-bottom: 10px;

}


/* Promóciós blokk, ha még nem emelted ki */
.highlight-promo {
  background: #ffffff;
  border: 1px solid #dddd;
  color: #333;
  font-weight: 400;
  font-size: 16px;
  text-align: center; /* Ez igazítja középre a szöveget */
  line-height: 1.1; /* Ez növeli a sorok közti távolságot */

}


/* Gombok mindkét blokkban */
.btn-extend,
.btn-highlight {
  background-color: rgba(207, 42, 42, 0.87);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  margin-left: 8px;
  cursor: pointer;
  font-size: 13px;
}

/* Opció: hover effekt */
.btn-extend:hover,
.btn-highlight:hover {
  background-color: #a07845;
}

.user-header {
  font-family: 'Nunito', Arial, sans-serif !important;
  font-weight: 600;
  font-size: 25px;
  color: #333;
      gap: 5px ; /* ⬅️ biztos érvényesül */

}

/* ============================
   USER-GRID: 2 oszlopban
   ============================ */
.user-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 10px;      /* függőleges hézag marad 15px */
  column-gap: 15px;    /* vízszintes hézag legyen csak 6px */
  justify-items: center;
}
/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 User container kártyák   🟢🟢🟢
                                 🟢🟢🟢                             
                                 🟢🟢🟢
                                 🟢🟢🟢
                                 🟢🟢🟢
                                      */
                                      
              /* ===== KÁRTYA: grid, nincs padding-bottom hack ===== */
.user-container {

     min-height: auto !important;
    height: auto !important;
    display: grid !important;
    row-gap: 0px !important;
    max-width: 320px;
    border-radius: 8px;
    box-sizing: border-box;
  position: relative;
  width: 100%;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
  
  /* kép (auto) + info (rugalmas) + gombsor (fix, de skálázható) */
  display: grid;
    grid-template-rows: auto auto 45px !important; /* +4px → enyhén magasabb */
}


/* ===== KÉP (3:4) ===== */
.user-container .image-wrapper {
  grid-row: 1;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;        /* álló arány */
  overflow: hidden;
  transform: translateZ(0);   /* réteg-előkészítés */
}

/* a kép kitölti a keretet, nem torzul */
.user-container .image-wrapper .profile-pic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* arányt tart, szükség esetén vág */
  object-position: center;
  display: block;

  /* recésedés ellen – GPU render + jobb mintavétel */
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
  image-rendering: -webkit-optimize-contrast; /* WebKit finomabb */
  image-rendering: auto;                       /* általános fallback */
}

/* ===== INFÓ ===== */
.user-container .info {
  grid-row: 2;
  padding: 12px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.user-container .name-age {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 .25rem 0;
}
.user-container .name-age .age {
  font-weight: 400;
  margin-left: .25rem;
  color: #666;
}

.user-container .location {
  font-size: .9rem;
  color: #555;
  margin: .5rem 0 0 0;
}

/* ===== GOMBSOR ===== */
.user-container .actions {
  grid-row: 3;
  display: flex;
  gap: 0;
  box-sizing: border-box;
  padding: 0;
}
.user-container .actions button {
  flex: 1;
  margin: 0;
  height: 100%;
  background: transparent;
  border: 1px solid #ddd;
  color: rgba(207, 42, 42, 0.87);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background .2s, border-color .2s;
  box-sizing: border-box;
}
.user-container .actions button:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.user-container .actions button:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.user-container .actions button:hover {
  background: rgba(230,56,73,0.1);
}
.user-container .actions button img {
  height: 70%;
  width: auto;
  display: block;
}

/* ===== Fallback, ha nincs aspect-ratio ===== */
@supports not (aspect-ratio: 1 / 1) {
  .user-container .image-wrapper { position: relative; }
  .user-container .image-wrapper::before {
    content: "";
    display: block;
    /* 3:4 → magasság = szélesség 133.33%-a */
    padding-bottom: 133.33%;
  }
  .user-container .image-wrapper .profile-pic { position: absolute; inset: 0; }
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Badge igazolás elhelyezés 🟢🟢🟢
     ÁLTALÁNOS MINDKÉT CONTAINER  🟢🟢🟢                             
                                  🟢🟢🟢
                                  🟢🟢🟢
                                  🟢🟢🟢
                                      */
.user-container .image-wrapper {
  position: relative;
  flex: none;
  width: 95%;                 /* rugalmas szélesség */
  max-width: 700px;
  margin: 2% auto;
  overflow: hidden;
  display: block;
  border-radius: 8px;

  /* a magasságot a padding határozza meg */
  /* 4 / 3 = 1.3333 → 133.33% a szélességhez képest */
  padding-bottom: 133.33%;


    width: 93% !important;
    aspect-ratio: 4 / 3 !important;
    max-height: 138px !important;          /* +8px → természetesebb */
    margin: 7px auto 0 !important;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
}

/* a kép kitölti a 3:4 arányú keretet */
.user-container .image-wrapper .profile-pic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* vág, de arányt tart */
  object-position: center;
  display: block;
}



/* --- Infó blokk (40% magasság) --- */
.user-container .info {
  flex: 0 0 40%;
  padding: 8px;
    width: 110%;
  display: flex;
    align-items: flex-start;  /* flex-direction: column esetén ez a vízszintes igazítás */
  text-align: left;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  
}

/* Név + kor sor */
.user-container .name-age {
  font-weight: bold;
  font-size: 17px;
  margin-bottom: 0px;
    margin-top: 0px;
}
.user-container .name-age .age {
  font-weight: normal;
  margin-left: 0px;
  color: #666;
}

/* Város */
.user-container .location {
  font-size: 13px;
  color: #555;
  margin-bottom: 0px;
   margin-top: 3px;
}

/* ========== AKCIÓGOMBOK ========== */

.user-container .actions {
  position: absolute;
  bottom: 0;
  left: 0;        /* nullára állítva */
  right: 0;       /* nullára állítva */
  display: flex;
  gap: 0;         /* ha össze akarod érni, különben pl. gap:2px */
  box-sizing: border-box;
  /* padding-ot töröld, hogy ne tolja bejjebb */
  padding: 0;
}

.user-container .actions button {
  flex: 1;
  margin: 0;
  height: 46px;
  background: transparent;
  border: 1px solid #ddd;
  color: rgba(207, 42, 42, 0.87);
  border-radius: 0;   /* ha teljesen össze akarod illeszteni, egy zsinórban */
  /* ha szeretnéd lekerekíteni a szélső gombok sarkait, használj :first-child / :last-child selektorokat */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background .2s, border-color .2s;
  box-sizing: border-box;
}

.user-container .actions button:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.user-container .actions button:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.user-container .actions button:hover {
  background: rgba(230,56,73,0.1);
}

.user-container .actions button img {
  width: 20px;
  height: auto;
  display: block;
}

/* – ha külön használod az osztályokat – */
.user-container .actions .like-btn {

}
.user-container .actions .message-btn {
  /* background: #2196f3; color: #fff; */
}

/* ========== IKON-MÉRETEZÉS ========== */
/* a gombokon belüli <img> elemekre */
.user-container .actions button img {
  width: 40px;
  height: auto;
  display: block;
}
/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Általános modál         🟢🟢🟢
                                🟢🟢🟢                             
                                🟢🟢🟢
                                🟢🟢🟢
                                🟢🟢🟢
                                      */
.modal {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 120%; 
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal.show {
  display: flex;
}

/* --- Csak a képes modálra vonatkozik --- */
#imageModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9); /* sötét háttér */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* A kép: teljes kijelzős, torzítás nélkül */
#imageModal .modal-content {
  background: none;      /* nincs fehér háttér */
  border: none;          /* nincs keret */
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
  width: auto;
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  object-fit: contain;   /* ne torzuljon */
  object-position: center;
  display: block;
}


/* Bezáró X gomb */
/* Bezáró X gomb */
.modal-content .close {
  top: -5px !important;
  right: 0px !important;
    background-color: #ffff ;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  line-height: 1;
  transition: color .2s;
    text-align: center;

}
.modal-content .close:hover {
  color: #e63849;
}

/* Címsor, bekezdés */
.modal-content h2,
.modal-content h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 600;
  color:#333;
    text-align: center;

}
.modal-content p {
  margin-bottom: 20px;
    margin-top: 20px;

  color:#333;
  font-size: 20px;
  line-height: 1.4;
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Highlight kiemelés modál   🟢🟢🟢
                                   🟢🟢🟢                             
                                   🟢🟢🟢
                                   🟢🟢🟢
                                   🟢🟢🟢
                                      */
.highlight-choice {
  flex: 1 1 30%;
  min-width: 100px;
  display: block;
  width: 100%;
  margin-bottom: 1px;
  padding: 10px 8px;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.highlight-choice:hover,
.highlight-choice.selected {
  background: rgba(207, 42, 42, 0.87);
  border-color: rgba(207, 42, 42, 0.87);
  color: #fff;
}

/* 3) Pontok beváltása gomb és link */
.payWithPointsBtn,
#openCreditFromHighlight {
  display: block;
  width: 100%;
  border: none;
  cursor: pointer;
}
.payWithPointsBtn {
  margin-bottom: 16px;
  padding: 10px;
  font-size: 14px;
  background: rgba(207, 42, 42, 0.87);
  color: #333;
  border-radius: 4px;
  transition: background .2s;
}
.payWithPointsBtn:hover {
  background: rgba(207, 42, 42, 0.87);
}
#openCreditFromHighlight {
  margin-top: 8px;
  font-size: 140px;
  background: none;
  color: #e63849;
  text-decoration: underline;
}

/* 4) Fizetési opciók szekciók */
#paymentOptions,
#paymentMethodChoice,
#bankTransferInfo {
  display: none;
}
#paymentOptions.active,
#paymentMethodChoice.active,
#bankTransferInfo.active {
  display: block;
}
#paymentOptions button,
#paymentMethodChoice button,
#bankTransferInfo button {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  font-size: 18px;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: left;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
#paymentOptions button:hover,
#paymentMethodChoice button:hover,
#bankTransferInfo button:hover {
  background: rgba(207, 42, 42, 0.87);
  border-color: rgba(207, 42, 42, 0.87);
}

/* 5) Banki átutalás p elemek */
#bankTransferInfo p {
  margin: 8px 0;
  font-size: 20px;
  color: #333;
  line-height: 1.4;
}
#bankTransferInfo p.activation-note {
  margin: 20px 0 18px;
  font-size: 16px;
  color: #555;
}

/* 6) Ikonok és egyenleg sor */
.icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 6px;
}
.points-icon {
  width: 38px;
  height: 38px;
  margin-right: 4px;
}
.credit-balance-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 20px;
}
.credit-text {
    font-size: 22px;
 font-weight: 500;
    transition: font-size 0.2s ease;
  white-space: nowrap;

}

/* 7) Confirm sor és gombok */
.confirm-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.confirm-back {
  margin-top: 10px;
}
.confirm-btn {
  display: flex;
  justify-content: flex-start;
  padding: 8px 12px;
  font-size: 18px;
  font-weight: 500;
  background: #fff;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color .2s;
}
.confirm-btn:hover {
  background-color: rgba(207, 42, 42, 0.87);
  color: #fff;
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Credit kredit feltöltés modál 🟢🟢🟢
                                      🟢🟢🟢                             
                                      🟢🟢🟢
                                      🟢🟢🟢
                                      🟢🟢🟢
                                      */

#creditModal .modal-content {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  padding: 20px;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
  box-sizing: border-box;
  text-align: center;
}

/* Eltüntetjük a <br>-t */
#creditModal .modal-content br {
  display: none;
}

/* Cím és bekezdések */
#creditModal h2 {
  margin-bottom: 4px;
}
#creditModal p {
  margin: 2px 0 12px;
}
#creditTransferSection p {
  margin: 8px 0;
  font-size: 20px;
  color: #333;
  line-height: 1.4;
}
#creditTransferSection p.activation-note {
  margin: 20px 0 18px;
  font-size: 16px;
  color: #555;
}

/* Form full-width */
#creditModal #creditPaymentOptions form#creditForm {
  width: 100%;
  margin: 0 0 2px;
  padding: 0;
  box-sizing: border-box;
}

/* Gombok – közös szabályok */
#creditModal #creditPaymentChoice button,
#creditModal #creditTransferSection button,
#creditModal #creditPaymentOptions .credit-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px;
  background: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}

/* PaymentChoice & Transfer gombok */
#creditModal #creditPaymentChoice button,
#creditModal #creditTransferSection button {
  padding: 14px 10px;
  font-size: 16px;
  font-weight: 400;
  border-radius: 6px;
  text-align: center;
  color: #333;
  margin-bottom: 16px;
}

/* Credit‐btn gombok */
#creditModal #creditPaymentOptions .credit-btn {
  padding: 10px;
  font-size: 18px;
  border-radius: 4px;
  text-align: left;
  color: #333;
}

/* Utolsó gombok margin-ja */
#creditModal #creditPaymentChoice button:last-child,
#creditModal #creditPaymentOptions .credit-btn:last-child,
#creditModal #creditTransferSection button:last-child {
  margin-bottom: 10px;
}

/* Hover effekt mindháromra */
#creditModal #creditPaymentChoice button:hover,
#creditModal #creditPaymentOptions .credit-btn:hover,
#creditModal #creditTransferSection button:hover {
  background: rgba(207, 42, 42, 0.87);
  border-color: rgba(207, 42, 42, 0.87);
  color: #fff;
}

/* Ikonok a .credit-btn-on belül */
#creditModal #creditPaymentOptions .credit-btn .icon {
  width: 24px;
  height: auto;
  vertical-align: middle;
  margin-right: 8px;
}

/* Egyenleg sor (credit-balance wrapper) */
.credit-balance-wrapper2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 20px 0 10px;
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Felhasználó profil user modál   🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

:root {
  --bg-light: #f5f5f5;
  --bg-dark: #121212;
  --card-light: #ffffff;
  --card-dark: #1e1e1e;
  --text-light: #333;
  --text-dark: #e0e0e0;
  --primary: rgba(207, 42, 42, 0.87);
  --primary-dark: #ffffff;
  --success: rgba(207, 42, 42, 0.87);
  --success-dark: rgba(207, 42, 42, 0.87);
  --font-base: 16px;
}
html {
  font-size: var(--font-base);
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-light);
}
body.dark-mode {
  background: var(--bg-dark);
  color: var(--text-dark);
}

/* Konténer */
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0px;
  box-sizing: border-box;
  background-color: var(--card-light);
  border-radius: 0px;
  box-shadow: 0 0px 0px rgba(0,0,0,0.1);
}
body.dark-mode .container {
  background-color: var(--card-dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Profil container */
.profile-container {
  padding: 0px;
  background-color: var(--card-light);
  border-radius: 0px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
body.dark-mode .profile-container {
  background-color: var(--card-dark);
  box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
/* Példa: a te modalod fő konténerének adj egy class-t vagy id-t, pl. "profile-modal" */
.profile-modal {
  position: fixed; /* vagy absolute, ahogy jelenleg van */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95vw;   /* vagy amekkorát akarsz */
  max-width: 600px;
  max-height: 90vh; /* LEGFONTOSABB! */
  overflow-y: auto; /* Görgetés ha kilóg */
  background: #fff;
  border-radius: 16px;
  z-index: 10001;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

/* Profil fejléc */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;

}
.profile-pic-wrapper {
    position: relative !important;
    display: inline-block!important ;
    width: 100% !important ;
    max-width: 300px !important; 
    height: 375px !important; /* pl. szélesebb képhez */
}

body.dark-mode .badge-icon {
  background: var(--card-dark);
}

/* Felhasználói adatok */
.user-info h2 { 
  font-size: 1.5rem;
  margin: 1px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;

}



/* Ikonok */
.block-icon, .report-icon {
  margin-left: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Jelentés modális */
.report-modal {
  display: none;
  position: fixed;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--card-light);
  color: var(--text-light);
  padding: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  width: 90%;
  max-width: 360px;
  box-sizing: border-box;
  opacity: 1;
}
body.dark-mode .report-modal {
  background-color: var(--card-dark);
  color: var(--text-dark);
  border-color: #444;
}
.report-modal label { font-weight: bold; }
.report-modal select, .report-modal textarea {
  width: 100%;
  margin-top: 6px;
  padding: 6px;
  box-sizing: border-box;
  font-size: 0.9rem;
}
.report-modal button {
  margin-right: 8px;
  padding: 6px 12px;
  font-size: 0.9rem;
}

/* Jelentés státusz */
.report-status {
  color: var(--success);
  margin-top: 8px;
  font-size: 0.9rem;
}

/* Ajándék ikonok */
.gift-icons {
  display: flex;
  justify-content: center;
  gap: 15px; /* eddigi 8px helyett */
  
}
.actions {
    position: relative; /* A pozíció alapja a három pont lesz */
}

.actions-menu {
      gap: 5px;               /* ⬅️ 5px távolság a gombok között */

    display: flex;
    flex-direction: column; /* egymás alatt legyenek az opciók */
    position: absolute;     /* a három pont alatt helyezkedik el */
    top: 100%;              /* pontosan a három pont alatt */
      left: auto;    /* kikapcsoljuk a balra illesztést */
  right: 0;                /* a három pont bal széléhez igazítva */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;          /* mindig a többi fölött */
}

.actions[open] .actions-menu {
    display: flex; /* csak akkor jelenjen meg, ha lenyitott */
}
/* summary (⋮) ikon méretének csökkentése */

.actions summary {
  font-size: 1.5rem;    /* korábban lehet, hogy 1.2rem volt */
  line-height: 1;
  margin-left: 90px;
}

/* menü gombikonok méretének beállítása */
.actions-menu button img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* ha a vissza‐gomb ikont is kisebbre akarod */
.back-btn-icon {
  width: 24px !important;
  height: 24px !important;
}


.giftIcon {
  width: 75px;
  height: 75px;
  margin-top:0px;  
  margin-bottom: 15px;  
  padding: 5px 7px;        /* belső térköz */
  cursor: pointer;
}
.toggle-buttons {
  display: flex;
  border-top: 1px solid rgba(207, 42, 42, 0.411);
}

/* Minden btn-icon-btn egyenlő széles lesz */
.toggle-buttons .btn-icon-btn {
  flex: 1;
  border: none;
  border-radius: 0;
  padding: 13px 27px;    /* alap padding */
  text-align: center;
  transition: all 0.3s ease;
}

/* 2 gombos esetben extra belső térköz, hogy szépen kitöltse a sort */
.toggle-buttons.buttons-2 .btn-icon-btn {
  padding: 13px 70px;
}

/* 3 gombos esetben kicsit nagyobb */
.toggle-buttons.buttons-3 .btn-icon-btn {
  padding: 13px 50px;
}

/* 4 vagy több gombnál marad az alap padding */
.toggle-buttons.buttons-4 .btn-icon-btn,
.toggle-buttons.buttons-5 .btn-icon-btn {
  padding: 13px 27px;
}

.toggle-buttons .btn-icon-btn:hover {
  background-color: #ce2e3e; /* halvány piros háttér hover-nél */
  border-color: rgba(207, 42, 42);     /* sötétebb piros keret */
}

.toggle-buttons button {
  padding: 16px 22px;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 0px;
  font-size: 0.9rem;
  cursor: pointer;
   margin-top: 0px;
}
.toggle-buttons button:hover { background: var(--primary-dark); }

.btn-icon-btn .btn-text {
  display: inline;
}
.btn-icon-btn .btn-icon {
  display: none;
  width: 40px;
  height: 40px;
  vertical-align: middle;
}

/* Kívánságok, ajánlatok*/
.profile-section { margin-top: 0; }
.profile-section h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.offer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.offer-bubble {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f0f0f0;
  border-radius: 20px;
  cursor: default;      /* itt már nem kattintható */
  user-select: none;
}

.offer-icon {
   width: 34px;
    height: auto;
    vertical-align: middle;
    margin-right: 6px;
}

.offer-label {
  font-size: 16px;
  white-space: nowrap;
}


/* Üzenetküldő */
.message-form {
  margin-top: 20px;
}
.message-form textarea {
  width: 100%;
  height: 80px;
  padding: 8px;
  font-size: 0.9rem;
  resize: vertical;
  box-sizing: border-box;
}
.message-form button {
  margin-top: 8px;
  padding: 6px 12px;
  border: none;
  background: var(--success);
  color: #fff;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}
.message-form button:hover { background: var(--success-dark); }

/* Chat ablak */
.chat-container { margin-top: 20px; }
.chat-messages {
  max-height: 200px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #ccc;
  background: var(--card-light);
}
body.dark-mode .chat-messages { background: var(--card-dark); border-color: #444; }
.chat-container textarea {
  width: 100%;
  padding: 8px;
  margin-top: 8px;
  box-sizing: border-box;
}
.chat-container button {
  margin-top: 6px;
  padding: 6px 12px;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Profil és külső adatok */
.profile-info p, .external-info p {
  margin: 4px 0;
  font-size: 0.9rem;
}
.profile-info ul { list-style: disc; margin-left: 16px; }

/* Keresési feltételek */
.search-criteria-container p { margin: 4px 0; font-size: 0.9rem; }

/* Fotók */
.photos-container .photo-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.photos-container .photo { width: 150px; height: 150px; object-fit: cover; border-radius: 4px; background: var(--card-light); }
body.dark-mode .photos-container .photo { background: var(--card-dark); }
.photo-hidden { position: relative; display: inline-block; }
.photo-hidden .blurred { filter: blur(8px); }
.request-access-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 10px;
  font-size: 0.8rem;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

/* Szekciók közötti távolság eltávolítása */
.search-criteria-container,
.photos-container,
.profile-info,
.external-info {
  margin-top: 0;
}


details summary {
  list-style: none;
 padding: 10px;
}
details summary::-webkit-details-marker {
  display: none;
   padding: 10px;

}

/* Kis képernyőn (576px alatt): csak az ikon látszik */
@media (max-width: 576px) {
  .btn-icon-btn .btn-text {
    display: none;
  }
  .btn-icon-btn .btn-icon {
    display: inline;
  }
}

.info-bubble {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 15px;
    padding: 4px 8px;
    margin: 6px;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: 0 2px 4px rgb(255, 255, 255);
    border: 1px solid rgba(207, 42, 42, 0.473);;

}

.info-icon {
    width: 34px;
    height: auto;
    vertical-align: middle;
    margin-right: 6px;
}

.info-text {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}
/* Maga a modal doboz */
.modal .modal-container {
  background: #fff;
  margin: 0px auto;
  height: 672px;
  padding: 00px;
  width: 100%;
  max-width: 600px;
  border-radius: 0px;

  /* IDE: a lényege */
  max-height: calc(100vh - 80px);  /* ne lógjon ki a képernyőről */
  overflow-y: auto;                /* görgethetővé teszi, ha túl magas */
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Üzenetek / messages.php        🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */



/* ==========================
   Theme Variables
   ========================== */
:root {
  --sidebar-bg: #ffffff;
  --chat-bg: #ffffff;
  --primary-color: #ffffff ;
  --secondary-color: #6c757d;
  --border-color: #d2d7db;
  --avatar-size: 60px;
  --font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* ==========================
   Global Reset & Base Styles
   ========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-family);
  font-size: 14px;
  color: #343a40;
  background-color: #f0f2f5;
  overflow: hidden;
}

/* ==========================
   Container Layout
   ========================== */
.container {
  display: flex;
  height: 100vh;
}
#mainContainer {
  width: 100%;
}

/* ==========================
   Sidebar (Contacts List)
   ========================== */
.contacts-sidebar {
  width: 280px;
  background-color: var(--sidebar-bg);
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
  padding: 1rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 20px;
  transition: background-color 0.2s;
}
.contact-item:hover {
  background-color: #e9ecef;
}
.contact-item + .contact-item {
  border-top: 1px solid var(--border-color);
}

.profile-picture {
  position: relative;
  z-index: 2;                 /* hogy a PRO-gyűrű fölött legyen */
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}


.contact-username {
  margin-left: 0.75rem;
  font-weight: 500;
  flex-grow: 1;
  display: flex;
  align-items: center;
}



.block-icon {
  width: 20px;
  height: 20px;
  margin-left: 0.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.block-icon:hover {
  opacity: 1;
}

/* ==========================
   Chat Window
   ========================== */
.chat-container {
  flex: 1;
  height: calc(80vh - 70px - 60px); /* teljes képernyőből kivonjuk a header+input magasságát */

  background-color: var(--chat-bg);
  display: flex;
  flex-direction: column;
  padding: 1rem;
  overflow-y: auto;
}
.chat-container h3 {
  color: var(--secondary-color);
  text-align: center;
  margin-top: 2rem;
}

/* ==========================
   Message Bubbles
   ========================== */
.chat-message {
  max-width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  position: relative;
  word-break: break-word;
  font-size: 14px;
}
.sent-message {
  background-color: rgba(207, 42, 42, 0.048); /* halvány piros buborék */
  color: #212529;                          /* sötét szöveg */
  align-self: flex-end;
  border: 1px solid rgba(207, 42, 42, 0.171); /* 🔥 vékony sötétebb piros keret */
  border-radius: 8px;                       /* finoman kerekített sarkok */
  border-bottom-right-radius: 2px;          /* az eredeti sarok megmarad */
  font-size: 20px;
  padding: 8px 12px;                        /* belső margó a szöveghez */
}

.received-message {
  background-color: #ebe9e9;          /* világosszürke buborék */
  color: #212529;                    /* sötét szöveg */
  align-self: flex-start;
  border: 1px solid #c2c2c2;         /* vékony sötétebb szürke keret */
  border-radius: 8px;                /* finoman kerekített sarkok */
  border-bottom-left-radius: 2px;    /* az eredeti sarok megmarad */
  font-size: 20px;
  padding: 8px 12px;                 /* belső margó, hogy legyen hely a szöveg körül */
}


.message-time {
  display: none;
  font-size: 0.75rem;
  color: var(--secondary-color);
  position: absolute;
  bottom: -1.2rem;
  right: 0.5rem;
}
.chat-message:hover .message-time,
.chat-message.clicked .message-time {
  display: block;
}

.read-receipt {
  position: absolute;
  bottom: -1.2rem;
  left: 0.5rem;
  font-size: 0.75rem;
  color: #fff;
}

/* ==========================
   Back Button
   ========================== */
.back-btn {
  display: none;
}

/* ==========================
   Message Input Area
   ========================== */
#messageInputContainer {
  display: flex;
  border-top: 1px solid var(--border-color);
  padding: 0.75rem;
  background-color: #fff;
  height: 120px;
}
#messageInputContainer textarea {
  flex: 1;
  resize: none;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5rem;
  font-family: var(--font-family);
  font-size: 14px;
  height: 80px;
}
#messageInputContainer button {
  background-color: rgba(207, 42, 42);
  border: none;
  color: #fff;
  padding: 0 1rem;
  margin-left: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;

  height: 48px; /* 🔥 nagyobb gomb */
}

#messageInputContainer button:hover {
  background-color: darken(var(--primary-color), 10%);
}

/* ==========================
   Scrollbar Styling
   ========================== */
.contacts-sidebar::-webkit-scrollbar,
.chat-container::-webkit-scrollbar {
  width: 6px;
}
.contacts-sidebar::-webkit-scrollbar-thumb,
.chat-container::-webkit-scrollbar-thumb {
  background-color: var(--border-color);
  border-radius: 3px;
}

/* ==========================
   Responsive (≤375px) =====
   Show/Hide logic via .show-chat
   ========================== */

  .container {
    display: block;
    height: auto;
  }
  .contacts-sidebar {
  width: 100%;
  border-right: none;
  border-bottom: 1px solid var(--border-color);
  margin-top: 50px; /* <<< eltolás lefelé */
}

  .chat-container,
  #messageInputContainer {
    display: none !important;
  }
  #mainContainer.show-chat .contacts-sidebar {
    display: none !important;
  }
  #mainContainer.show-chat .chat-container,
  #mainContainer.show-chat #messageInputContainer {
    display: block !important;
  }
 #mainContainer.show-chat .back-btn {
    display: inline-flex;         /* flex, hogy középen legyen az ikon */
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 4px;
    padding: 2px 4px;             /* 🔥 kisebb felület */
    margin-bottom: 1rem;
    cursor: pointer;
}

.back-btn-icon {
    height: 45px !important; 
    width: 45px !important;                /* 🔥 nagyobb ikon */
    margin-top: 15px;                /* középre állítjuk az ikont */
    display: block;
}



  /* továbbra is rejtve alapból */
  .chat-container,
  #messageInputContainer {
    display: none !important;
  }

  /* ha a mainContainer-nek megvan a show-chat */
  #mainContainer.show-chat .chat-container {
    display: block !important;
  }
  /* és a következő testvér, az input is */
  #mainContainer.show-chat + #messageInputContainer {
    display: flex !important;
  }

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Keresés / search.php           🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */
.notifications {
  margin-top: 55px;          /* header alá tolva */
  max-width: 375px;
  margin-left: auto;
  margin-right: auto;
  font-family: sans-serif;
  box-sizing: border-box;
  font-size: 20px; 
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
}
                                      


  .main-content2 {
   margin-top: 65px;
  }

/* Életkor mezők alá, középre igazítva egyenlő távolsággal */
.age-range {
  display: flex;
  justify-content: center;      /* középre igazítja a kettőt */
  gap: 2.5rem;                  /* pici távolság a két mező között */
  margin: 0 auto 1rem;          /* középre a konténer és alul térköz */
  width: fit-content;           /* konténer csak akkora lesz, mint kell */
}

.age-range select {
  width: 80px; 
  height: 30px;                 /* fix szélesség */
  padding: 0.4em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}




.search-box-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 40px;
}

.search-form {
  max-width: 100%;           /* szélek: 5-5% */
  margin-left: auto;        /* középre helyezés */
  margin-right: auto;       /* középre helyezés */
  display: block;           /* biztos, hogy blokk szinten van */
  box-sizing: border-box;   /* padding ne tolja szét */
}


.user-grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 20px;      /* függőleges hézag marad 15px */
  column-gap: 10px;    /* vízszintes hézag legyen csak 6px */
  justify-items: center;
    padding: 0 10px; /* 5px belső margó balra és jobbra */

  margin-top: 0px;
}


 .user-container2 {
  position: relative;
  width: 200px !important;
  min-height: 350px;
  margin-left: 5px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  padding-bottom: 10px;
  box-sizing: border-box;
}

/* --- Képwrapper (60% magasság) --- */
.user-container2 .image-wrapper {
  flex: none;
  height: 237px; 
  width: 190px;
   overflow: hidden;
    margin-top: 7px auto 0; 
    margin-left: 2px;
    
}
.user-container2 .image-wrapper .profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Infó blokk (40% magasság) --- */
.user-container2 .info {
  flex: 0 0 40%;
  padding: 8px;
    width: 110%;
  display: flex;
    align-items: flex-start;  /* flex-direction: column esetén ez a vízszintes igazítás */
  text-align: left;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  
}

/* Név + kor sor */
.user-container2 .name-age {
  font-weight: bold;
  font-size: 17px;
  margin-bottom: 0px;
    margin-top: 0px;
}
.user-container2 .name-age .age {
  font-weight: normal;
  margin-left: 0px;
  color: #666;
}

/* Város */
.user-container2 .location {
  font-size: 13px;
  color: #555;
  margin-bottom: 0px;
   margin-top: 7px;
}

/* ========== AKCIÓGOMBOK ========== */

.user-container2 .actions {
  position: absolute;
  bottom: 0;
  left: 0;        /* nullára állítva */
  right: 0;       /* nullára állítva */
  display: flex;
  gap: 0;         /* ha össze akarod érni, különben pl. gap:2px */
  box-sizing: border-box;
  /* padding-ot töröld, hogy ne tolja bejjebb */
  padding: 0;
}

.user-container2 .actions button {
  flex: 1;
  margin: 0;
  height: 46px;
  background: transparent;
  border: 1px solid #ddd;
  color: rgba(207, 42, 42, 0.87);
  border-radius: 0;   /* ha teljesen össze akarod illeszteni, egy zsinórban */
  /* ha szeretnéd lekerekíteni a szélső gombok sarkait, használj :first-child / :last-child selektorokat */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background .2s, border-color .2s;
  box-sizing: border-box;
}

.user-container2.actions button:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.user-container2 .actions button:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.user-container2 .actions button:hover {
  background: rgba(230,56,73,0.1);
}

.user-container2 .actions button img {
  width: 20px;
  height: auto;
  display: block;
}

/* – ha külön használod az osztályokat – */
.user-container2 .actions .like-btn {

}
.user-container2 .actions .message-btn {
  /* background: #2196f3; color: #fff; */
}

/* ========== IKON-MÉRETEZÉS ========== */
/* a gombokon belüli <img> elemekre */
.user-container2 .actions button img {
  width: 40px;
  height: auto;
  display: block;
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Pontok / points  .php           🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

.mb-4 {
 max-width: 600px;        /* középre igazítás felső korlátja */
  margin: 0 auto;          /* középre a horizonton */
  padding: 1rem;           /* alap padding: p-4 */
  margin-bottom: 1rem;     /* mb-4 */
  box-sizing: border-box;  /* padding ne tolja túl a szélességet */

}

.card.p-4.mb-4 {
  max-width: 600px;
  width: 95%;
  margin: 10px auto 1rem auto; /* top, auto jobbra-balra, bottom, auto */
  padding: 1rem;
  box-sizing: border-box;
}

.table-responsive {
  max-width: 600px;    /* ameddig engedjük, hogy kitáguljon */
  width: 100%;         /* kitölti a rendelkezésre álló helyet */
  margin: 0 auto;      /* középre igazítás vízszintesen */
  box-sizing: border-box;
}


.mb-3{
  min-width: 1000px;
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Beállítások / settings.php      🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

/* Alapstílusok */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
    color: #333;
}

body.dark-mode {
    background-color: #121212;
    color: #ddd;
}

.container2 {
    width: 100%;
    margin-top: 50px;
    padding: 20px;
    box-sizing: border-box;
}

h2, h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

form {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

.form {
    margin-top: 55px;          /* header alá tolva */

  margin: 0 auto;
  padding: 0; /* vagy minimalizáld, pl. padding: 0.5rem */
  text-align: center; /* csak ha inline-block lenne belül */
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

form input[type="email"],
form input[type="password"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

form button {
    width: 100%;
    padding: 10px;
    background-color: #cf2a2ad9;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 18px !important;
    transition: background-color 0.3s;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important; /* ✅ Tartalom (szöveg + ikon) középre */
}

form button:hover {
    background-color: #cf2a2ad9;
}

form input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 8px;
}

.success-message {
    color: green;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

.error-message {
    color: red;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

#deleteForm button,
#deleteConfirmForm button {
    margin-top: 10px;
}

#deleteForm button[style*="red"],
#deleteConfirmForm button[style*="red"] {
    background-color: #d9534f;
}

#deleteForm button[style*="orange"] {
    background-color: #f0ad4e;
}

#supportModal {
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content2 {
 position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    width: 90%;
    max-width: 340px;
    border-radius: 8px;
}

.modal-content.dark-mode {
    background-color: #1e1e1e;
    color: #fff;
}

.modal-content h3 {
    margin-top: 0;
    font-size: 18px;
    text-align: center;
}

.modal-content textarea {
    resize: vertical;
    min-height: 100px;
    font-size: 14px;
}

.modal-content button {
    margin-top: 10px;
    font-size: 14px;
    
}



.modal-content .close:hover {
    color: #000;
}



/* Sötét mód modális */
body.dark-mode .modal-content {
    background-color: #2c2c2c;
    color: #ddd;
}

body.dark-mode .modal-content .close {
    color: #aaa;
}

body.dark-mode .modal-content .close:hover {
    color: #fff;
}

/* Mobilbarát checkbox szöveg egy sorban */
form label input[type="checkbox"] {
    vertical-align: middle;
}



.dropdown {
    position: relative;
    display: inline-block;
}
.dropbtn {
    background-color: #ff6b81;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}
.dropdown-content {
            display: none;
            position: absolute;
            background-color: white;
            min-width: 160px;
            z-index: 2000;
            border-radius: 5px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            top: 100%;
            right: 0;
        }
  .dropdown-content a {
            color: #333;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
              font-family: 'Poppins', sans-serif;
              font-weight: 500;
        }
.dropdown-content a:hover {
    background-color: #f0f0f0;
}
   .dropdown:hover .dropdown-content {
            display: block !important;
        }
  

.search-group {
  width: 375px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ez igazítja balra az elemeket */
  gap: 12px; /* opcionális: távolság az elemek között */
}



/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢         Fotók / photos.php      🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

        section {
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        .gallery {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        .photo-card {
            background: #fff;
            margin-top: 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            overflow: hidden;
            width: 300px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .photo-card img {
            width: 100%;
            height: auto;
            cursor: pointer;
        }
    
    
        /* Modal stílus */
        .modal4 {
            display: none;
            position: fixed;
            top: 0;
            margin-top: 15px;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            align-items: center;
            justify-content: center;
        }
        .modal-spinner {
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            max-width: 600px;
            width: 90%;
            text-align: center;
        }
        #imagePreview {
            max-width: 100%;
            margin-bottom: 15px;
        }
        /* Alap méretezés, hogy ne lépje túl a szülőt */
#cropperModal.modal4 {
    position: absolute; /* vagy fixed, ha az egész ablakhoz igazítod */
    max-width: 100%;
    max-height: 100%;
    overflow: auto; /* ha nagyobb a tartalom, görgethető legyen */
    box-sizing: border-box;
    padding: 10px;
}

/* A modal tartalma igazodjon a rendelkezésre álló helyhez */
#cropperModal .modal-spinner {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* A kép se lépje túl a szülő méretét */
#cropperModal img {
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 150px); /* vagy a szülő magasságából számítva */
    object-fit: contain;
}

        #cancelCropBtn,
        #cropBtn {
            margin: 5px;
            padding: 10px 20px;
            font-size: 14px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        #cancelCropBtn {
            background: #ccc;
            color: #333;
        }
        #cropBtn {
            background: #cf2a2ad9;
            color: #fff;
        }

        /* Spinner háttér */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner kör */
.spinner {
    width: 60px;
    height: 60px;
    border: 8px solid rgba(207, 66, 66, 0.2);
    border-top: 8px solid rgba(207, 66, 66, 1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#uploadSection {
  margin: 65px auto 0 auto; /* felül 65px, középre igazítás */
  width: calc(100% - 10px); /* mindkét oldalon 5px hely marad */
  max-width: 360px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
}

#uploadSection:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

#gallerySection {
  margin: 20px auto 0 auto;       /* felül 65px, középre */
  width: calc(100% - 10px);       /* mindkét oldalon 5px hézag */
  max-width: 360px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
}

#gallerySection:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 személyi igazolás / identity_verify.php 🟢🟢🟢
                                                🟢🟢🟢                             
                                                🟢🟢🟢
                                                🟢🟢🟢
                                                🟢🟢🟢
                                      */


/* Konténer + tipográfia */
.container_id {
  max-width:800px; 
  margin:65px auto; 
  padding:20px;
  background:var(--card); 
  border:1px solid var(--border); 
  border-radius:14px;

  /* Középre igazítás */
  text-align:center;
}



form {
  display: inline-block; /* hogy ne nyúljon teljes szélességre */
  text-align: left; /* a form mezők maradjanak balra igazítva */
}



/*
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 pénz igazolás / money_verify.php        🟢🟢🟢
                                                🟢🟢🟢                             
                                                🟢🟢🟢
                                                🟢🟢🟢
                                                🟢🟢🟢
                                      */

/* Üzenetek (alert) */
.alert{
  padding:10px 12px; border-radius:8px; margin-top:10px; margin-bottom:8px;
  border:1px solid transparent; display:flex; gap:8px; align-items:center;
  line-height:1.35; font-size:1.05em;
}
.alert-success{ background:var(--success-bg); color:var(--success-fg); border-color:var(--success-border); }
.alert-info{    background:var(--info-bg);    color:var(--info-fg);    border-color:var(--info-border); }

/* (opcionális) keretes blokk az üzenetek köré */
.messages-wrapper{
  margin-top:65px; margin-left:8px; margin-right:8px; margin-bottom:8px;
  border:2px solid red; border-radius:8px; padding:12px;
}

/* Adatvédelmi doboz */
.policy{
  border:1px solid #ccc; padding:15px; background:#f9f9f9;
  max-height:220px; overflow-y:auto; margin:10px 0 20px; border-radius:8px;
  text-align:left; /* a szöveg maradjon balra */
}
.policy h4{ margin:0 0 8px; }
.policy::-webkit-scrollbar{ width:10px; }
.policy::-webkit-scrollbar-thumb{ background:var(--scrollbar); border-radius:8px; }
.policy::-webkit-scrollbar-track{ background:transparent; }

/* Form elrendezés: középre a forma, belül balra a mezők */
form{ display:inline-block; text-align:left; }

/* File input */
#moneyDocument{
  display:block; width:100%;
  padding:10px 12px; border:1px solid var(--border); border-radius:10px;
  background:#fff; color:var(--fg);
}
#moneyDocument:focus{
  outline:none; border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(37,99,235,.15);
}

/* Feltöltés gomb */
#uploadButton{
  background:var(--primary); color:#fff; border:none; border-radius:10px;
  padding:10px 16px; font-weight:700; cursor:pointer;
  transition:background .15s ease, transform .02s ease;
}
#uploadButton:hover{ background:var(--primary-hover); }
#uploadButton:active{ background:var(--primary-active); transform:translateY(1px); }
#uploadButton:disabled{ opacity:.6; cursor:not-allowed; }
#uploadButton.active{ filter:none; }

/* Checkbox + label */
#acceptPolicy{ width:16px; height:16px; vertical-align:middle; margin-right:8px; }
label[for="acceptPolicy"]{ user-select:none; cursor:pointer; }
}











@media (max-width: 375px) {



/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Mobilnézet mobilos nézet   🟢🟢🟢
                                   🟢🟢🟢                             
                                   🟢🟢🟢
                                   🟢🟢🟢
                                   🟢🟢🟢
                                      */


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Fejléc header.php topbar🟢🟢🟢
                                🟢🟢🟢                             
                                🟢🟢🟢
                                🟢🟢🟢
                                🟢🟢🟢
                                      */

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-evenly !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  padding: 0;
  background: rgba(207, 42, 42, 0.87);
  z-index: 1000;
  transition: transform 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* szebb elválasztás a tartalomtól */
}


  .top-bar.hidden {
    transform: translateY(-100%);
  }

  /* KATTINTHATÓ zóna fix 80px magas legyen */
  .top-bar > a,
  .profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 0 12px !important;
    min-width: auto !important;
  }

  /* PROFILKERET pontos mérete */
  .top-bar .profile-wrapper {
      width: 50px !important;
    height: 50px !important;
    border-radius: 100%;
    overflow: hidden;
    display: flex;

  }

  /* PROFILKÉP mérete */
  .top-bar .profile-thumb {
     border-radius: 100%;
  object-fit: cover;
   width: 30px;
    display: block;
  }

  /* IKONOK mérete */
  .top-bar a img {
    width: 22px !important;
    height: 22px !important;
    margin: -10px;
    object-fit: contain;
    filter: contrast(1.3) brightness(1.1);
  }

  /* LOGÓ */
  .top-bar a.logo-link .logo-icon {
    width: 50px !important;
    height: 50px !important;
    margin-left: -5px;
  }

  /* Egyéb elemek */
  .brand-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    grid-auto-rows: auto;
    grid-auto-flow: row;
    gap: 8px;
  }

  .transactions-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .transactions-table th,
  .transactions-table td {
    white-space: nowrap;
    font-size: 13px;
    padding: 6px;
  }

  .container {
    margin-left: 0 !important;
    max-width: 100% !important;
    padding: 0 0vw !important;
    box-sizing: border-box;
  }

.profile-header img.large {
  width: 100%;
  height: auto;
  max-width: 300px;
  max-height: 400px; /* max méretet adsz neki */
  display: block;
  object-fit: cover; /* ha vágni akarod */
}

  .profile-header img.small {
    max-width: 100px;
  }

  .offer-bubble {
    min-width: 100px;
    font-size: 12px;
    padding: 8px 12px;
  }

  .chat-container {
    height: 200px;
  }

  .inbox-container {
    padding: 10px;
  }

  button {
    padding: 8px 16px;
    font-size: 14px;
  }



  .message-form {
    padding: 10px;
  }


 /* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Main főoldal            🟢🟢🟢
                                🟢🟢🟢                             
                                🟢🟢🟢
                                🟢🟢🟢
                                🟢🟢🟢
                                      */
.main-content {
  margin-top: 90px;          /* header alá tolva */
  padding: 20px 10px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-family: sans-serif;
  box-sizing: border-box;
}

/* ============================
   FELSŐ SOR – EGY DOBOZ
   ============================ */
.top-row {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}

/* ============================
   CREDIT-BOX – LAYOUT & HOVER
   ============================ */
.credits-box {
  margin-top: 70px;
  width: 100%;
  max-width: 360px;
  height: 122px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px px rgba(0,0,0,0.08);
  padding: 12px 24px;         /* laposabb felül-alul */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
}
.credits-box:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Pont-ikon és egyenleg sorban */
.credit-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.credit-icon {
  width: 44px;
  flex-shrink: 0;
}

/* az egész egységre */
.credit-balance {
  font-size: 32px;
    font-weight: 540; /* normál */

  color: #444;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  margin: 0;
  display: flex;
  align-items: baseline;
}

/* csak a számra */
  .balance-amount .credit-balance  {
  font-weight: 500; /* félkövér */
    font-size: 32px;

}

/* csak a „pont” szóra */
.credit-balance .balance-unit {
  
  font-weight: 400; /* normál */
  font-style: italic; /* ha kell, itt beállíthatod dőlten is */
  margin-left: 4px;
  font-size: 0.8em;   /* vagy kisebb, ha szeretnéd */
}


/* ============================
   GOMBCSOPORT – EGY SORBAN,
   EGYSÉGES MAGASSÁG
   ============================ */
.button-group {
  display: flex;
  gap: 8px;
  width: 100%;
  justify-content: space-between;
  align-items: center;    /* középre igazítja a gombokat */
}

/* Mindhárom gomb egységes, fix magasság */
.button-group .credit-button,
.button-group .redeem-button,
.button-group .pro-button {
  flex: 1;
  height: 40px;           /* fix magasság */
  line-height: 40px;      /* ennyi legyen a sor magassága is */
  display: flex;          /* flex, hogy az ikon + szöveg is középen legyen */
  align-items: center;    /* függőleges közép */
  justify-content: center;/* vízszintes közép */
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  margin: 0;              /* eltávolít minden plusz margót */
  box-sizing: border-box;
  transition: background .2s, transform .1s;
}

/* Ha a pro gombot szélesebbre szeretnéd: */
.button-group .pro-button {
  flex: 30px;
}

/* Ha továbbra is maradna fura eltérés: nullázd a konkrét gomb margóját */
.button-group .redeem-button {
  margin-top: 0;
}



.button-group .credit-button {
  background:rgba(207, 42, 42, 0.87);
}
.button-group .credit-button:hover {
  background: #a12121cc;
  transform: translateY(-1px);
}
.button-group .redeem-button {
  background:rgba(207, 42, 42, 0.87);
}
.button-group .redeem-button:hover {
  background: #1e88e5;
  transform: translateY(-1px);
}
.button-group .pro-button {
  background: #ff9800;
}
.button-group .pro-button:hover {
  background: #fb8c00;
  transform: translateY(-1px);
}

/* PRO-ikon apró kiemelés */
.lock-icon {
  display: inline-block;
  transform: translateY(-2px);
}


/* -----------------------------------
   PROFIL KIEMELÉS BLOKKOK
   ----------------------------------- */

/* Általános doboz-stílusok */
.highlight-info,
.highlight-promo {
 margin-top: -10px;
  margin-bottom: 12px;
  width: 100%;
  max-width: 360px;
  height: 104px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px px rgba(0,0,0,0.08);
  padding: 10px 24px;         /* laposabb felül-alul */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
 gap: 7px;  
   font-size: 16px;    /* betűméret */
  font-weight: 400; 
  
}

/* Amikor már aktív a kiemelés */
.highlight-info {
  background: #ffffff;
  border: 1px solid #dddd;
color: #444;
}

/* Promóciós blokk, ha még nem emelted ki */
.highlight-promo {
  background: #ffffff;
  border: 1px solid #dddd;
  color: #333;
  font-weight: 400;
  font-size: 16px;
  text-align: center; /* Ez igazítja középre a szöveget */
  line-height: 1.1; /* Ez növeli a sorok közti távolságot */

}


/* Gombok mindkét blokkban */
.btn-extend,
.btn-highlight {
  background-color: rgba(207, 42, 42, 0.87);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  margin-left: 8px;
  cursor: pointer;
  font-size: 13px;
}

/* Opció: hover effekt */
.btn-extend:hover,
.btn-highlight:hover {
  background-color: #a07845;
}

.user-header {
  font-family: 'Nunito', Arial, sans-serif !important;
  font-weight: 600;
  font-size: 25px;
  color: #333;
      gap: 5px ; /* ⬅️ biztos érvényesül */

}

/* ============================
   USER-GRID: 2 oszlopban
   ============================ */
.user-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 10px;      /* függőleges hézag marad 15px */
  column-gap: 15px;    /* vízszintes hézag legyen csak 6px */
  justify-items: center;
}
/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 User container kártyák   🟢🟢🟢
                                 🟢🟢🟢                             
                                 🟢🟢🟢
                                 🟢🟢🟢
                                 🟢🟢🟢
                                      */

  
  /* === KÁRTYA === */
  .user-container {
    min-height: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 auto;
    display: grid !important;
    grid-template-rows: auto auto 32px !important; /* +4px → enyhén magasabb */
    row-gap: 0px !important;
    max-width: 320px;
    border-radius: 8px;
    box-sizing: border-box;
  }

  /* === KÉP – lapos, de kissé magasabb limit === */
  .user-container .image-wrapper {
    width: 88% !important;
    aspect-ratio: 4 / 3 !important;
    max-height: 138px !important;          /* +8px → természetesebb */
    margin: 6px auto 0 !important;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
  }

  .user-container .image-wrapper .profile-pic {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;

    /* recézés elleni finomhangolás */
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
  }

  /* === INFÓ BLOKK === */
  .user-container .info {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 5px 9px !important;          /* +1px, szellősebb */
    margin: 0 !important;
    display: grid !important;
    gap: 2px !important;
    align-content: start !important;
    text-align: left;
    box-sizing: border-box;
      padding-bottom: 18px !important;
  }

  .user-container .name-age {
    margin: 0 !important;
    font-size: 0.95rem;                   /* enyhén nagyobb */
    line-height: 1.25;
    font-weight: 700;
  }

  .user-container .location {
    margin: 0 !important;
    font-size: 0.84rem;
    line-height: 1.2;
    color: #555;
  }

  /* === GOMBSOR === */
  .user-container .actions {
    position: static !important;
    display: flex !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .user-container .actions button {
    flex: 1;
    height: 34px !important;              /* +4px magasabb gombok */
    font-size: 0.9rem;
    margin: 0;
    background: transparent;
    border: 1px solid #ddd;
    color: rgba(207, 42, 42, 0.87);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    box-sizing: border-box;
  }

  .user-container .actions button:hover {
    background: rgba(230, 56, 73, 0.1);
  }

  .user-container .actions button img {
    height: 168% !important;              /* nagyobb ikon */
    width: auto;
    display: block;
  }

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Badge igazolás elhelyezés 🟢🟢🟢
     ÁLTALÁNOS MINDKÉT CONTAINER  🟢🟢🟢                             
                                  🟢🟢🟢
                                  🟢🟢🟢
                                  🟢🟢🟢
                                      */

.user-container .image-wrapper {
  position: relative;
}

.badge-icon {
    width: 38px;
    height: 38px;

}

.identity-badge {
    width: 50px ;
    height: 50px ;
     position: relative;
    bottom: 5px; 
}

.user-container .image-wrapper .status-badge {
  position: absolute;
  bottom: 0px;
  right: 50px;
  width: 25px;
  height: 25px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.user-container .image-wrapper .money-badge {
  position: absolute;
  bottom: 0;
  right: 1px;
  width: 20px;
  height: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.user-container .image-wrapper .verify-badge {
  position: absolute;
  bottom: 0;
  right: 23px;
  width: 24px;
  height: 23px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.badges-wrapper {
  position: absolute ;
  right: 2px ;
  bottom: -10px ;
  display: flex ;
  flex-direction: row ;
  gap: 2px ;
  justify-content: flex-end ;
}

.single-badge-wrapper {
  position: absolute;
  right: 4px ;
  bottom: 0px ;
}





.image-wrapper {
    position: relative;
    display: inline-block;
}

.badges-row {
    display: flex;
    flex-direction: row;
    gap: 2px;
    align-items: flex-end;  /* << EZZEL minden badge az alján lesz igazítva! */
}


/* Csak a profilképnél – nagyobb, jobb alsó sarokban */
.profile-badges-row {
    position: absolute;
    bottom: 1px;
    right: 1px;
    z-index: 10;
}

.profile-badges-row .badge-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    object-fit: cover;
}

/* Alap badge minden más helyen (pl. kicsiben, felsorolásban) */
.badges-row .badge-icon {
    width: 20px;
    height: 20px;
background: transparent;
}
.profile-badges-row .identity-badge {
    width: 28px;
    height: 28px;
         position: relative;
    bottom: -4px; 
    
}



.online-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-left: 8px;
}
.online-dot.online {
  background-color: #2ecc71;
}
.online-dot.offline {
  background-color: #ccc;
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Általános modál         🟢🟢🟢
                                🟢🟢🟢                             
                                🟢🟢🟢
                                🟢🟢🟢
                                🟢🟢🟢
                                      */
.modal {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 220%; 
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal.show {
  display: flex;
}



/* --- Csak a képes modálra vonatkozik --- */
#imageModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9); /* sötét háttér */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* A kép: teljes kijelzős, torzítás nélkül */
#imageModal .modal-content {
  background: none;      /* nincs fehér háttér */
  border: none;          /* nincs keret */
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
  width: auto;
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  object-fit: contain;   /* ne torzuljon */
  object-position: center;
  display: block;
}


/* Bezáró X gomb */
.modal-content .close {
  top: -5px !important;
  right: 0px !important;
    background-color: #ffff ;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  line-height: 1;
  transition: color .2s;
    text-align: center;

}
.modal-content .close:hover {
  color: #e63849;
}

/* Címsor, bekezdés */
.modal-content h2,
.modal-content h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 600;
  color:#333;
    text-align: center;

}
.modal-content p {
  margin-bottom: 20px;
    margin-top: 20px;

  color:#333;
  font-size: 20px;
  line-height: 1.4;
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Highlight kiemelés modál   🟢🟢🟢
                                   🟢🟢🟢                             
                                   🟢🟢🟢
                                   🟢🟢🟢
                                   🟢🟢🟢
                                      */
.highlight-choice {
  flex: 1 1 30%;
  min-width: 100px;
  display: block;
  width: 100%;
  margin-bottom: 1px;
  padding: 10px 8px;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.highlight-choice:hover,
.highlight-choice.selected {
  background: rgba(207, 42, 42, 0.87);
  border-color: rgba(207, 42, 42, 0.87);
  color: #fff;
}

/* 3) Pontok beváltása gomb és link */
.payWithPointsBtn,
#openCreditFromHighlight {
  display: block;
  width: 100%;
  border: none;
  cursor: pointer;
}
.payWithPointsBtn {
  margin-bottom: 16px;
  padding: 10px;
  font-size: 14px;
  background: rgba(207, 42, 42, 0.87);
  color: #333;
  border-radius: 4px;
  transition: background .2s;
}
.payWithPointsBtn:hover {
  background: rgba(207, 42, 42, 0.87);
}
#openCreditFromHighlight {
  margin-top: 8px;
  font-size: 140px;
  background: none;
  color: #e63849;
  text-decoration: underline;
}

/* 4) Fizetési opciók szekciók */
#paymentOptions,
#paymentMethodChoice,
#bankTransferInfo {
  display: none;
}
#paymentOptions.active,
#paymentMethodChoice.active,
#bankTransferInfo.active {
  display: block;
}
#paymentOptions button,
#paymentMethodChoice button,
#bankTransferInfo button {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  font-size: 18px;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: left;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
#paymentOptions button:hover,
#paymentMethodChoice button:hover,
#bankTransferInfo button:hover {
  background: rgba(207, 42, 42, 0.87);
  border-color: rgba(207, 42, 42, 0.87);
}

/* 5) Banki átutalás p elemek */
#bankTransferInfo p {
  margin: 8px 0;
  font-size: 20px;
  color: #333;
  line-height: 1.4;
}
#bankTransferInfo p.activation-note {
  margin: 20px 0 18px;
  font-size: 16px;
  color: #555;
}

/* 6) Ikonok és egyenleg sor */
.icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 6px;
}
.points-icon {
  width: 38px;
  height: 38px;
  margin-right: 4px;
}
.credit-balance-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 20px;
}
.credit-text {
  font-size: 22px;
 font-weight: 500;
    transition: font-size 0.2s ease;
  white-space: nowrap;

}

/* 7) Confirm sor és gombok */
.confirm-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.confirm-back {
  margin-top: 10px;
}
.confirm-btn {
  display: flex;
  justify-content: flex-start;
  padding: 8px 12px;
  font-size: 18px;
  font-weight: 500;
  background: #fff;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color .2s;
}
.confirm-btn:hover {
  background-color: rgba(207, 42, 42, 0.87);
  color: #fff;
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Credit kredit feltöltés modál 🟢🟢🟢
                                      🟢🟢🟢                             
                                      🟢🟢🟢
                                      🟢🟢🟢
                                      🟢🟢🟢
                                      */

#creditModal .modal-content {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  padding: 20px;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
  box-sizing: border-box;
  text-align: center;
}

/* Eltüntetjük a <br>-t */
#creditModal .modal-content br {
  display: none;
}

/* Cím és bekezdések */
#creditModal h2 {
  margin-bottom: 4px;
}
#creditModal p {
  margin: 2px 0 12px;
}
#creditTransferSection p {
  margin: 8px 0;
  font-size: 20px;
  color: #333;
  line-height: 1.4;
}
#creditTransferSection p.activation-note {
  margin: 20px 0 18px;
  font-size: 16px;
  color: #555;
}

/* Form full-width */
#creditModal #creditPaymentOptions form#creditForm {
  width: 100%;
  margin: 0 0 2px;
  padding: 0;
  box-sizing: border-box;
}

/* Gombok – közös szabályok */
#creditModal #creditPaymentChoice button,
#creditModal #creditTransferSection button,
#creditModal #creditPaymentOptions .credit-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px;
  background: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}

/* PaymentChoice & Transfer gombok */
#creditModal #creditPaymentChoice button,
#creditModal #creditTransferSection button {
  padding: 14px 10px;
  font-size: 16px;
  font-weight: 400;
  border-radius: 6px;
  text-align: center;
  color: #333;
  margin-bottom: 16px;
}

/* Credit‐btn gombok */
#creditModal #creditPaymentOptions .credit-btn {
  padding: 10px;
  font-size: 18px !important;
  border-radius: 4px;
  text-align: left;
  color: #333;
}

/* Utolsó gombok margin-ja */
#creditModal #creditPaymentChoice button:last-child,
#creditModal #creditPaymentOptions .credit-btn:last-child,
#creditModal #creditTransferSection button:last-child {
  margin-bottom: 10px;
}

/* Hover effekt mindháromra */
#creditModal #creditPaymentChoice button:hover,
#creditModal #creditPaymentOptions .credit-btn:hover,
#creditModal #creditTransferSection button:hover {
  background: rgba(207, 42, 42, 0.87);
  border-color: rgba(207, 42, 42, 0.87);
  color: #fff;
}

/* Ikonok a .credit-btn-on belül */
#creditModal #creditPaymentOptions .credit-btn .icon {
  width: 24px;
  height: auto;
  vertical-align: middle;
  margin-right: 8px;
}

/* Egyenleg sor (credit-balance wrapper) */
.credit-balance-wrapper2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 20px 0 10px;
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Felhasználó profil user modál   🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

:root {
  --bg-light: #f5f5f5;
  --bg-dark: #121212;
  --card-light: #ffffff;
  --card-dark: #1e1e1e;
  --text-light: #333;
  --text-dark: #e0e0e0;
  --primary: rgba(207, 42, 42, 0.87);
  --primary-dark: #ffffff;
  --success: rgba(207, 42, 42, 0.87);
  --success-dark: rgba(207, 42, 42, 0.87);
  --font-base: 16px;
}
html {
  font-size: var(--font-base);
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-light);
}
body.dark-mode {
  background: var(--bg-dark);
  color: var(--text-dark);
}

/* Konténer */
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0px;
  box-sizing: border-box;
  background-color: var(--card-light);
  border-radius: 0px;
  box-shadow: 0 0px 0px rgba(0,0,0,0.1);
}
body.dark-mode .container {
  background-color: var(--card-dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Profil container */
.profile-container {
  padding: 0px;
  background-color: var(--card-light);
  border-radius: 0px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
body.dark-mode .profile-container {
  background-color: var(--card-dark);
  box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
/* Példa: a te modalod fő konténerének adj egy class-t vagy id-t, pl. "profile-modal" */
.profile-modal {
  position: fixed; /* vagy absolute, ahogy jelenleg van */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95vw;   /* vagy amekkorát akarsz */
  max-width: 600px;
  max-height: 90vh; /* LEGFONTOSABB! */
  overflow-y: auto; /* Görgetés ha kilóg */
  background: #fff;
  border-radius: 16px;
  z-index: 10001;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

/* Profil fejléc */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.profile-pic-wrapper {
    position: relative !important;
    display: inline-block!important ;
    width: 100% !important ;
    max-width: 300px !important; 
    height: 373px !important; /* pl. szélesebb képhez */
}

body.dark-mode .badge-icon {
  background: var(--card-dark);
}

/* Felhasználói adatok */
.user-info h2 { 
  font-size: 1.5rem;
  margin: 1px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;

}



/* Ikonok */
.block-icon, .report-icon {
  margin-left: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Jelentés modális */
.report-modal {
  display: none;
  position: fixed;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--card-light);
  color: var(--text-light);
  padding: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  width: 90%;
  max-width: 360px;
  box-sizing: border-box;
  opacity: 1;
}
body.dark-mode .report-modal {
  background-color: var(--card-dark);
  color: var(--text-dark);
  border-color: #444;
}
.report-modal label { font-weight: bold; }
.report-modal select, .report-modal textarea {
  width: 100%;
  margin-top: 6px;
  padding: 6px;
  box-sizing: border-box;
  font-size: 0.9rem;
}
.report-modal button {
  margin-right: 8px;
  padding: 6px 12px;
  font-size: 0.9rem;
}

/* Jelentés státusz */
.report-status {
  color: var(--success);
  margin-top: 8px;
  font-size: 0.9rem;
}

/* Ajándék ikonok */
.gift-icons {
  display: flex;
  justify-content: center;
  gap: 15px; /* eddigi 8px helyett */
  
}
.actions {
    position: relative; /* A pozíció alapja a három pont lesz */
}

.actions-menu {
      gap: 5px;               /* ⬅️ 5px távolság a gombok között */

    display: flex;
    flex-direction: column; /* egymás alatt legyenek az opciók */
    position: absolute;     /* a három pont alatt helyezkedik el */
    top: 100%;              /* pontosan a három pont alatt */
      left: auto;    /* kikapcsoljuk a balra illesztést */
  right: 0;                /* a három pont bal széléhez igazítva */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;          /* mindig a többi fölött */
}

.actions[open] .actions-menu {
    display: flex; /* csak akkor jelenjen meg, ha lenyitott */
}
/* summary (⋮) ikon méretének csökkentése */
.actions summary {
  font-size: 1.4rem;    /* korábban lehet, hogy 1.2rem volt */
  line-height: 1;
  margin-left: 70px;
}

/* menü gombikonok méretének beállítása */
.actions-menu button img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* ha a vissza‐gomb ikont is kisebbre akarod */
.back-btn-icon {
  width: 35px !important;
  height: 35px !important;
}


.giftIcon {
  width: 75px;
  height: 75px;
  margin-top:0px;  
  margin-bottom: 15px;  
  padding: 5px 7px;        /* belső térköz */
  cursor: pointer;
}
.toggle-buttons {
  display: flex;
  border-top: 1px solid rgba(207, 42, 42, 0.411);
}

/* Minden btn-icon-btn egyenlő széles lesz */
.toggle-buttons .btn-icon-btn {
  flex: 1;
  border: none;
  border-radius: 0;
  padding: 13px 27px;    /* alap padding */
  text-align: center;
  transition: all 0.3s ease;
}

/* 2 gombos esetben extra belső térköz, hogy szépen kitöltse a sort */
.toggle-buttons.buttons-2 .btn-icon-btn {
  padding: 13px 70px;
}

/* 3 gombos esetben kicsit nagyobb */
.toggle-buttons.buttons-3 .btn-icon-btn {
  padding: 13px 50px;
}

/* 4 vagy több gombnál marad az alap padding */
.toggle-buttons.buttons-4 .btn-icon-btn,
.toggle-buttons.buttons-5 .btn-icon-btn {
  padding: 13px 27px;
}

.toggle-buttons .btn-icon-btn:hover {
  background-color: #ce2e3e; /* halvány piros háttér hover-nél */
  border-color: rgba(207, 42, 42);     /* sötétebb piros keret */
}

.toggle-buttons button {
  padding: 16px 22px;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 0px;
  font-size: 0.9rem;
  cursor: pointer;
   margin-top: 0px;
}
.toggle-buttons button:hover { background: var(--primary-dark); }

.btn-icon-btn .btn-text {
  display: inline;
}
.btn-icon-btn .btn-icon {
  display: none;
  width: 40px;
  height: 40px;
  vertical-align: middle;
}

/* Kívánságok, ajánlatok*/
.profile-section { margin-top: 0; }
.profile-section h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.offer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.offer-bubble {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f0f0f0;
  border-radius: 20px;
  cursor: default;      /* itt már nem kattintható */
  user-select: none;
}

.offer-icon {
   width: 34px;
    height: auto;
    vertical-align: middle;
    margin-right: 6px;
}

.offer-label {
  font-size: 16px;
  white-space: nowrap;
}


/* Üzenetküldő */
.message-form {
  margin-top: 20px;
}
.message-form textarea {
  width: 100%;
  height: 80px;
  padding: 8px;
  font-size: 0.9rem;
  resize: vertical;
  box-sizing: border-box;
}
.message-form button {
  margin-top: 8px;
  padding: 6px 12px;
  border: none;
  background: var(--success);
  color: #fff;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}
.message-form button:hover { background: var(--success-dark); }

/* Chat ablak */
.chat-container { margin-top: 20px; }
.chat-messages {
  max-height: 200px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #ccc;
  background: var(--card-light);
}
body.dark-mode .chat-messages { background: var(--card-dark); border-color: #444; }
.chat-container textarea {
  width: 100%;
  padding: 8px;
  margin-top: 8px;
  box-sizing: border-box;
}
.chat-container button {
  margin-top: 6px;
  padding: 6px 12px;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Profil és külső adatok */
.profile-info p, .external-info p {
  margin: 4px 0;
  font-size: 0.9rem;
}
.profile-info ul { list-style: disc; margin-left: 16px; }

/* Keresési feltételek */
.search-criteria-container p { margin: 4px 0; font-size: 0.9rem; }

/* Fotók */
.photos-container .photo-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.photos-container .photo { width: 150px; height: 150px; object-fit: cover; border-radius: 4px; background: var(--card-light); }
body.dark-mode .photos-container .photo { background: var(--card-dark); }
.photo-hidden { position: relative; display: inline-block; }
.photo-hidden .blurred { filter: blur(8px); }
.request-access-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 10px;
  font-size: 0.8rem;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

/* Szekciók közötti távolság eltávolítása */
.search-criteria-container,
.photos-container,
.profile-info,
.external-info {
  margin-top: 0;
}


details summary {
  list-style: none;
 padding: 10px;
}
details summary::-webkit-details-marker {
  display: none;
   padding: 10px;

}

/* Kis képernyőn (576px alatt): csak az ikon látszik */
@media (max-width: 576px) {
  .btn-icon-btn .btn-text {
    display: none;
  }
  .btn-icon-btn .btn-icon {
    display: inline;
  }
}

.info-bubble {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 15px;
    padding: 4px 8px;
    margin: 6px;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: 0 2px 4px rgb(255, 255, 255);
    border: 1px solid rgba(207, 42, 42, 0.473);;

}

.info-icon {
    width: 34px;
    height: auto;
    vertical-align: middle;
    margin-right: 6px;
}

.info-text {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

/* Maga a modal doboz 
a profil modál*/
.modal .modal-container {
  background: #fff;
  margin: 0px auto;
    height: 672px;
  padding: 00px;
  width: 100%;
  max-width: 600px;
  border-radius: 0px;

  /* IDE: a lényege */
  max-height: calc(100vh - 80px);  /* ne lógjon ki a képernyőről */
  overflow-y: auto;                /* görgethetővé teszi, ha túl magas */
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Üzenetek / message.php         🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */



/* ==========================
   Theme Variables
   ========================== */
:root {
  --sidebar-bg: #ffffff;
  --chat-bg: #ffffff;
  --primary-color: #ffffff ;
  --secondary-color: #6c757d;
  --border-color: #d2d7db;
  --avatar-size: 60px;
  --font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* ==========================
   Global Reset & Base Styles
   ========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-family);
  font-size: 14px;
  color: #343a40;
  background-color: #f0f2f5;
  overflow: hidden;
}

/* ==========================
   Container Layout
   ========================== */
.container {
  display: flex;
  height: 100vh;
}
#mainContainer {
  width: 100%;
}

/* ==========================
   Sidebar (Contacts List)
   ========================== */
.contacts-sidebar {
  width: 280px;
  background-color: var(--sidebar-bg);
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
  padding: 1rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.contact-item:hover {
  background-color: #e9ecef;
}
.contact-item + .contact-item {
  border-top: 1px solid var(--border-color);
}

.profile-picture {
  position: relative !important;
  z-index: 2!important;                 /* hogy a PRO-gyűrű fölött legyen */
  width: 64px!important;
  height: 64px!important;
  border-radius: 50%!important;
  object-fit: cover!important;
  display: block!important;
}

 

   .chat-header .profile-picture {
       width: var(--avatar-size);
  height: var(--avatar-size);
  border-radius: 20px;
  object-fit: cover;
   width: 55px;
      height: auto;
    }

.contact-username {
  margin-left: 0.75rem;
  font-weight: 500;
  flex-grow: 1;
  display: flex;
  align-items: center;
}



.block-icon {
  width: 20px;
  height: 20px;
  margin-left: 0.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.block-icon:hover {
  opacity: 1;
}

/* ==========================
   Chat Window
   ========================== */
.chat-container {
  flex: 1;
  height: calc(80vh - 70px - 60px); /* teljes képernyőből kivonjuk a header+input magasságát */

  background-color: var(--chat-bg);
  display: flex;
  flex-direction: column;
  padding: 1rem;
  overflow-y: auto;
}
.chat-container h3 {
  color: var(--secondary-color);
  text-align: center;
  margin-top: 2rem;
}

/* ==========================
   Message Bubbles
   ========================== */
.chat-message {
  max-width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  position: relative;
  word-break: break-word;
  font-size: 14px;
}
.sent-message {
  background-color: rgba(207, 42, 42, 0.048); /* halvány piros buborék */
  color: #212529;                          /* sötét szöveg */
  align-self: flex-end;
  border: 1px solid rgba(207, 42, 42, 0.171); /* 🔥 vékony sötétebb piros keret */
  border-radius: 8px;                       /* finoman kerekített sarkok */
  border-bottom-right-radius: 2px;          /* az eredeti sarok megmarad */
  font-size: 20px;
  padding: 8px 12px;                        /* belső margó a szöveghez */
}

.received-message {
  background-color: #ebe9e9;          /* világosszürke buborék */
  color: #212529;                    /* sötét szöveg */
  align-self: flex-start;
  border: 1px solid #c2c2c2;         /* vékony sötétebb szürke keret */
  border-radius: 8px;                /* finoman kerekített sarkok */
  border-bottom-left-radius: 2px;    /* az eredeti sarok megmarad */
  font-size: 20px;
  padding: 8px 12px;                 /* belső margó, hogy legyen hely a szöveg körül */
}


.message-time {
  display: none;
  font-size: 0.75rem;
  color: var(--secondary-color);
  position: absolute;
  bottom: -1.2rem;
  right: 0.5rem;
}
.chat-message:hover .message-time,
.chat-message.clicked .message-time {
  display: block;
}

.read-receipt {
  position: absolute;
  bottom: -1.2rem;
  left: 0.5rem;
  font-size: 0.75rem;
  color: #fff;
}

/* ==========================
   Back Button
   ========================== */
.back-btn {
  display: none;
}

/* ==========================
   Message Input Area
   ========================== */
#messageInputContainer {
  display: flex;
  border-top: 1px solid var(--border-color);
  padding: 0.75rem;
  background-color: #fff;
  height: 120px;
}
#messageInputContainer textarea {
  flex: 1;
  resize: none;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5rem;
  font-family: var(--font-family);
  font-size: 14px;
  height: 80px;
}
#messageInputContainer button {
  background-color: rgba(207, 42, 42);
  border: none;
  color: #fff;
  padding: 0 1rem;
  margin-left: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;

  height: 48px; /* 🔥 nagyobb gomb */
}

#messageInputContainer button:hover {
  background-color: darken(var(--primary-color), 10%);
}

/* ==========================
   Scrollbar Styling
   ========================== */
.contacts-sidebar::-webkit-scrollbar,
.chat-container::-webkit-scrollbar {
  width: 6px;
}
.contacts-sidebar::-webkit-scrollbar-thumb,
.chat-container::-webkit-scrollbar-thumb {
  background-color: var(--border-color);
  border-radius: 3px;
}

/* ==========================
   Responsive (≤375px) =====
   Show/Hide logic via .show-chat
   ========================== */

  .container {
    display: block;
    height: auto;
  }
  .contacts-sidebar {
  width: 100%;
  border-right: none;
  border-bottom: 1px solid var(--border-color);
  margin-top: 50px; /* <<< eltolás lefelé */
}

  .chat-container,
  #messageInputContainer {
    display: none !important;
  }
  #mainContainer.show-chat .contacts-sidebar {
    display: none !important;
  }
  #mainContainer.show-chat .chat-container,
  #mainContainer.show-chat #messageInputContainer {
    display: block !important;
  }
 #mainContainer.show-chat .back-btn {
    display: inline-flex;         /* flex, hogy középen legyen az ikon */
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 4px;
    padding: 2px 4px;             /* 🔥 kisebb felület */
    margin-bottom: 1rem;
    cursor: pointer;
}

.back-btn-icon {
    height: 40px;                 /* 🔥 nagyobb ikon */
    margin-top: 15px;                /* középre állítjuk az ikont */
    display: block;
}



  /* továbbra is rejtve alapból */
  .chat-container,
  #messageInputContainer {
    display: none !important;
  }

  /* ha a mainContainer-nek megvan a show-chat */
  #mainContainer.show-chat .chat-container {
    display: block !important;
  }
  /* és a következő testvér, az input is */
  #mainContainer.show-chat + #messageInputContainer {
    display: flex !important;
  }

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Keresés / search.php           🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

 .user-container2 {
  position: relative;
  width: 170px !important;
  min-height: 350px;
  margin-left: 5px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  padding-bottom: 10px;
  box-sizing: border-box;
}

/* --- Képwrapper (60% magasság) --- */
.user-container2 .image-wrapper {
  flex: none;
  height: 200px; 
  width: 160px;
   overflow: hidden;
    margin-top: 7px auto 0; 
    margin-left: 2px;
    
}
.user-container2 .image-wrapper .profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Infó blokk (40% magasság) --- */
.user-container2 .info {
  flex: 0 0 40%;
  padding: 8px;
    width: 110%;
  display: flex;
    align-items: flex-start;  /* flex-direction: column esetén ez a vízszintes igazítás */
  text-align: left;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  
}

/* Név + kor sor */
.user-container2 .name-age {
  font-weight: bold;
  font-size: 17px;
  margin-bottom: 0px;
    margin-top: 0px;
}
.user-container2 .name-age .age {
  font-weight: normal;
  margin-left: 0px;
  color: #666;
}

/* Város */
.user-container2 .location {
  font-size: 13px;
  color: #555;
  margin-bottom: 0px;
   margin-top: 7px;
}

/* ========== AKCIÓGOMBOK ========== */

.user-container2 .actions {
  position: absolute;
  bottom: 0;
  left: 0;        /* nullára állítva */
  right: 0;       /* nullára állítva */
  display: flex;
  gap: 0;         /* ha össze akarod érni, különben pl. gap:2px */
  box-sizing: border-box;
  /* padding-ot töröld, hogy ne tolja bejjebb */
  padding: 0;
}

.user-container2 .actions button {
  flex: 1;
  margin: 0;
  height: 46px;
  background: transparent;
  border: 1px solid #ddd;
  color: rgba(207, 42, 42, 0.87);
  border-radius: 0;   /* ha teljesen össze akarod illeszteni, egy zsinórban */
  /* ha szeretnéd lekerekíteni a szélső gombok sarkait, használj :first-child / :last-child selektorokat */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background .2s, border-color .2s;
  box-sizing: border-box;
}

.user-container2.actions button:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.user-container2 .actions button:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.user-container2 .actions button:hover {
  background: rgba(230,56,73,0.1);
}

.user-container2 .actions button img {
  width: 20px;
  height: auto;
  display: block;
}

/* – ha külön használod az osztályokat – */
.user-container2 .actions .like-btn {

}
.user-container2 .actions .message-btn {
  /* background: #2196f3; color: #fff; */
}

/* ========== IKON-MÉRETEZÉS ========== */
/* a gombokon belüli <img> elemekre */
.user-container2 .actions button img {
  width: 40px;
  height: auto;
  display: block;
}









.notifications {
  margin-top: 55px;          /* header alá tolva */
  max-width: 375px;
  margin-left: auto;
  margin-right: auto;
  font-family: sans-serif;
  box-sizing: border-box;
  font-size: 20px; 
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
}
                                      


  .main-content2 {
   margin-top: 65px;
   width: 375px;
  }

/* Életkor mezők alá, középre igazítva egyenlő távolsággal */
.age-range {
  display: flex;
  justify-content: center;      /* középre igazítja a kettőt */
  gap: 2.5rem;                  /* pici távolság a két mező között */
  margin: 0 auto 1rem;          /* középre a konténer és alul térköz */
  width: fit-content;           /* konténer csak akkora lesz, mint kell */
}

.age-range select {
  width: 80px; 
  height: 30px;                 /* fix szélesség */
  padding: 0.4em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}




.search-box-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 40px;
}

.search-form {
  max-width: 100%;           /* szélek: 5-5% */
  margin-left: auto;        /* középre helyezés */
  margin-right: auto;       /* középre helyezés */
  display: block;           /* biztos, hogy blokk szinten van */
  box-sizing: border-box;   /* padding ne tolja szét */
}
.user-grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 20px;      /* függőleges hézag marad 15px */
  column-gap: 1px;    /* vízszintes hézag legyen csak 6px */
  justify-items: center;
  margin-top: 0px;
}

/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Pontok / points  .php           🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

.mb-4 {
 max-width: 600px;        /* középre igazítás felső korlátja */
  margin: 0 auto;          /* középre a horizonton */
  padding: 1rem;           /* alap padding: p-4 */
  margin-bottom: 1rem;     /* mb-4 */
  box-sizing: border-box;  /* padding ne tolja túl a szélességet */

}

.card.p-4.mb-4 {
  max-width: 600px;
  width: 95%;
  margin: 10px auto 1rem auto; /* top, auto jobbra-balra, bottom, auto */
  padding: 1rem;
  box-sizing: border-box;
}

.table-responsive {
  max-width: 600px;    /* ameddig engedjük, hogy kitáguljon */
  width: 100%;         /* kitölti a rendelkezésre álló helyet */
  margin: 0 auto;      /* középre igazítás vízszintesen */
  box-sizing: border-box;
}


.mb-3{
  min-width: 1000px;
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 Beállítások / settings.php      🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

/* Alapstílusok */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
    color: #333;
}

body.dark-mode {
    background-color: #121212;
    color: #ddd;
}

.container2 {
    width: 100%;
    max-width: 375px;
    margin-top: 50px;
    padding: 20px;
    box-sizing: border-box;
}

h2, h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

form {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

.form {
    margin-top: 55px;          /* header alá tolva */

  margin: 0 auto;
  padding: 0; /* vagy minimalizáld, pl. padding: 0.5rem */
  text-align: center; /* csak ha inline-block lenne belül */
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

form input[type="email"],
form input[type="password"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

form button {
    width: 100%;
    padding: 10px;
    background-color: #cf2a2ad9;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px !important;
    transition: background-color 0.3s;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important; /* ✅ Tartalom (szöveg + ikon) középre */
}


form button:hover {
    background-color: #cf2a2ad9;
}

form input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 8px;
}

.success-message {
    color: green;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

.error-message {
    color: red;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

#deleteForm button,
#deleteConfirmForm button {
    margin-top: 10px;
}

#deleteForm button[style*="red"],
#deleteConfirmForm button[style*="red"] {
    background-color: #d9534f;
}

#deleteForm button[style*="orange"] {
    background-color: #f0ad4e;
}

#supportModal {
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content2 {
 position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    width: 90%;
    max-width: 340px;
    border-radius: 8px;
}

.modal-content.dark-mode {
    background-color: #1e1e1e;
    color: #fff;
}

.modal-content h3 {
    margin-top: 0;
    font-size: 18px;
    text-align: center;
}

.modal-content textarea {
    resize: vertical;
    min-height: 100px;
    font-size: 14px;
}

.modal-content button {
    margin-top: 10px;
    font-size: 14px;
    
}



/* Sötét mód modális */
body.dark-mode .modal-content {
    background-color: #2c2c2c;
    color: #ddd;
}

body.dark-mode .modal-content .close {
    color: #aaa;
}

body.dark-mode .modal-content .close:hover {
    color: #fff;
}

/* Mobilbarát checkbox szöveg egy sorban */
form label input[type="checkbox"] {
    vertical-align: middle;
}



.dropdown {
    position: relative;
    display: inline-block;
}
.dropbtn {
    background-color: #ff6b81;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}
.dropdown-content {
            display: none;
            position: absolute;
            background-color: white;
            min-width: 160px;
            z-index: 2000;
            border-radius: 5px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            top: 100%;
            right: 0;
        }
  .dropdown-content a {
            color: #333;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
              font-family: 'Poppins', sans-serif;
              font-weight: 500;
        }
.dropdown-content a:hover {
    background-color: #f0f0f0;
}
   .dropdown:hover .dropdown-content {
            display: block !important;
        }
  

.search-group {
  width: 375px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ez igazítja balra az elemeket */
  gap: 12px; /* opcionális: távolság az elemek között */
}



/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢         Fotók / photos.php      🟢🟢🟢
                                        🟢🟢🟢                             
                                        🟢🟢🟢
                                        🟢🟢🟢
                                        🟢🟢🟢
                                      */

        section {
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        .gallery {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        .photo-card {
            background: #fff;
            margin-top: 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            overflow: hidden;
            width: 300px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .photo-card img {
            width: 100%;
            height: auto;
            cursor: pointer;
        }
    
    
        /* Modal stílus */
        .modal4 {
            display: none;
            position: fixed;
            top: 0;
            margin-top: 15px;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            align-items: center;
            justify-content: center;
        }
        .modal-spinner {
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            max-width: 600px;
            width: 90%;
            text-align: center;
        }
        #imagePreview {
            max-width: 100%;
            margin-bottom: 15px;
        }
        /* Alap méretezés, hogy ne lépje túl a szülőt */
#cropperModal.modal4 {
    position: absolute; /* vagy fixed, ha az egész ablakhoz igazítod */
    max-width: 100%;
    max-height: 100%;
    overflow: auto; /* ha nagyobb a tartalom, görgethető legyen */
    box-sizing: border-box;
    padding: 10px;
}

/* A modal tartalma igazodjon a rendelkezésre álló helyhez */
#cropperModal .modal-spinner {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* A kép se lépje túl a szülő méretét */
#cropperModal img {
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 150px); /* vagy a szülő magasságából számítva */
    object-fit: contain;
}

        #cancelCropBtn,
        #cropBtn {
            margin: 5px;
            padding: 10px 20px;
            font-size: 14px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        #cancelCropBtn {
            background: #ccc;
            color: #333;
        }
        #cropBtn {
            background: #cf2a2ad9;
            color: #fff;
        }

        /* Spinner háttér */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner kör */
.spinner {
    width: 60px;
    height: 60px;
    border: 8px solid rgba(207, 66, 66, 0.2);
    border-top: 8px solid rgba(207, 66, 66, 1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#uploadSection {
  margin: 65px auto 0 auto; /* felül 65px, középre igazítás */
  width: calc(100% - 10px); /* mindkét oldalon 5px hely marad */
  max-width: 360px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
}

#uploadSection:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

#gallerySection {
  margin: 20px auto 0 auto;       /* felül 65px, középre */
  width: calc(100% - 10px);       /* mindkét oldalon 5px hézag */
  max-width: 360px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
}

#gallerySection:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}


/* 
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 személyi igazolás / identity_verify.php 🟢🟢🟢
                                                🟢🟢🟢                             
                                                🟢🟢🟢
                                                🟢🟢🟢
                                                🟢🟢🟢
                                      */


/* Konténer + tipográfia */
.container_id {
  max-width:800px; 
  margin:65px auto; 
  padding:20px;
  background:var(--card); 
  border:1px solid var(--border); 
  border-radius:14px;

  /* Középre igazítás */
  text-align:center;
}



form {
  display: inline-block; /* hogy ne nyúljon teljes szélességre */
  text-align: left; /* a form mezők maradjanak balra igazítva */
}



/*
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢
🟢🟢🟢 pénz igazolás / money_verify.php        🟢🟢🟢
                                                🟢🟢🟢                             
                                                🟢🟢🟢
                                                🟢🟢🟢
                                                🟢🟢🟢
                                      */

/* Üzenetek (alert) */
.alert{
  padding:10px 12px; border-radius:8px; margin-top:10px; margin-bottom:8px;
  border:1px solid transparent; display:flex; gap:8px; align-items:center;
  line-height:1.35; font-size:1.05em;
}
.alert-success{ background:var(--success-bg); color:var(--success-fg); border-color:var(--success-border); }
.alert-info{    background:var(--info-bg);    color:var(--info-fg);    border-color:var(--info-border); }

/* (opcionális) keretes blokk az üzenetek köré */
.messages-wrapper{
  margin-top:65px; margin-left:8px; margin-right:8px; margin-bottom:8px;
  border:2px solid red; border-radius:8px; padding:12px;
}

/* Adatvédelmi doboz */
.policy{
  border:1px solid #ccc; padding:15px; background:#f9f9f9;
  max-height:220px; overflow-y:auto; margin:10px 0 20px; border-radius:8px;
  text-align:left; /* a szöveg maradjon balra */
}
.policy h4{ margin:0 0 8px; }
.policy::-webkit-scrollbar{ width:10px; }
.policy::-webkit-scrollbar-thumb{ background:var(--scrollbar); border-radius:8px; }
.policy::-webkit-scrollbar-track{ background:transparent; }

/* Form elrendezés: középre a forma, belül balra a mezők */
form{ display:inline-block; text-align:left; }

/* File input */
#moneyDocument{
  display:block; width:100%;
  padding:10px 12px; border:1px solid var(--border); border-radius:10px;
  background:#fff; color:var(--fg);
}
#moneyDocument:focus{
  outline:none; border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(37,99,235,.15);
}

/* Feltöltés gomb */
#uploadButton{
  background:var(--primary); color:#fff; border:none; border-radius:10px;
  padding:10px 16px; font-weight:700; cursor:pointer;
  transition:background .15s ease, transform .02s ease;
}
#uploadButton:hover{ background:var(--primary-hover); }
#uploadButton:active{ background:var(--primary-active); transform:translateY(1px); }
#uploadButton:disabled{ opacity:.6; cursor:not-allowed; }
#uploadButton.active{ filter:none; }

/* Checkbox + label */
#acceptPolicy{ width:16px; height:16px; vertical-align:middle; margin-right:8px; }
label[for="acceptPolicy"]{ user-select:none; cursor:pointer; }
/* === WRAPPER NULÁZÁS – ne legyen “külső buborék” === */
.chat-message,
.sent-message,
.received-message {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
}



/* A VALÓDI buborék csak a .bubble */
.chat-message .bubble{
  display: inline-block;
  max-width: 72%;
  padding: 8px 12px;
  border-radius: 8px;
  box-sizing: border-box;
  white-space: pre-wrap;
  word-break: break-word;
  vertical-align: top;
}
.sent-message .bubble{
  background: rgba(207,42,42,0.048);
  color: #212529;
  border: 1px solid rgba(207,42,42,0.171);
  border-bottom-right-radius: 2px;
  text-align: left;
}
.received-message .bubble{
  background: #ebe9e9;
  color: #212529;
  border: 1px solid #c2c2c2;
  border-bottom-left-radius: 2px;
  text-align: left;
}



}
html, body {
  overflow-x: hidden;
}
