/* Cautarea pe stilul nou (steag cautare_noua): templates/cautare_formular.ihtml + templates/cautare_rezultate.ihtml.
   Aceeasi paleta ca profil_form.css. Fara flexbox/grid (browsere vechi pe mobil). Pe mobil images/ios/css/test.css pune
   radio/checkbox absolute 100% x 100% si strica li/label: totul se suprascrie cu #content .cn ... */
.cn { font-family: 'Nunito', Helvetica, Arial, sans-serif; font-size: 15px; color: #231a1f; text-align: left; }
.cn * { -webkit-box-sizing: border-box; box-sizing: border-box; }
.cn-d { width: 789px; max-width: 100%; margin: 0 auto; padding: 10px 0 28px; }
.cn-m { max-width: 520px; margin: 8px 6px; }
.cn a { color: #c2185b; font-weight: bold; text-decoration: none; }
.cn a:hover { text-decoration: underline; }

/* cardul formularului */
.cn-card { display: block; margin: 0; padding: 20px 22px; border: 1px solid #e6dde1; border-radius: 18px; background: #fff; box-shadow: 0 6px 24px rgba(60,20,40,.06); }
.cn-m .cn-card { padding: 14px 12px 0; }
.cn-titlu, #content .cn-titlu { margin: 0 0 14px; padding: 0; font-size: 22px; font-weight: bold; line-height: 32px; color: #231a1f; text-align: left; background: none; border: 0; }
.cn-m .cn-titlu { font-size: 20px; }
.cn-baza { overflow: hidden; margin: 0 -6px; }
.cn-camp { float: left; margin: 0 0 14px; padding: 0 6px; }
.cn-d .cn-camp-caut { width: 40%; }
.cn-d .cn-camp-varsta { width: 26%; }
.cn-d .cn-camp-judet { width: 34%; }
.cn-m .cn-camp { float: none; width: 100%; }
.cn-et { display: block; margin: 0 0 6px; font-size: 13px; font-weight: bold; line-height: 18px; color: #3a2e33; }
.cn .cn-sel { display: inline-block; width: 100%; height: 44px; margin: 0; padding: 0 30px 0 12px; border: 1px solid #d8ccd2; border-radius: 12px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a7d83' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
	color: #231a1f; font-family: inherit; font-size: 16px; line-height: 42px; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.cn .cn-sel::-ms-expand { display: none; }
.cn .cn-sel:focus, .cn .cn-text:focus { border-color: #c2185b; outline: 0; box-shadow: 0 0 0 3px rgba(194,24,91,.15); }
.cn .cn-sel-ani { width: 44%; }
.cn-intre { display: inline-block; width: 12%; color: #6c5e65; text-align: center; line-height: 44px; vertical-align: top; }

/* comutatorul "Caut" (radio ascuns sub eticheta) */
.cn-seg { overflow: hidden; border: 1px solid #d8ccd2; border-radius: 12px; background: #fff; }
.cn .cn-seg-opt, #content .cn .cn-seg-opt { position: relative; display: block; float: left; width: 50%; height: auto; margin: 0; padding: 0; border: 0; cursor: pointer; }
.cn-seg-3 .cn-seg-opt, #content .cn .cn-seg-3 .cn-seg-opt { width: 33.33%; }
.cn .cn-seg-opt input, #content .cn .cn-seg-opt input,
.cn .cn-chip input, #content .cn .cn-chip input { position: absolute; top: 0; left: 0; z-index: 0; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; opacity: 0; filter: alpha(opacity=0); background: none; -webkit-appearance: none; appearance: none; }
.cn-seg-opt span { display: block; height: 42px; padding: 0 6px; color: #3a2e33; font-size: 14px; font-weight: bold; line-height: 42px; text-align: center; white-space: nowrap; overflow: hidden; }
.cn-seg-opt input:checked + span { background: #c2185b; color: #fff; }
.cn-seg-opt input:focus + span { box-shadow: inset 0 0 0 3px rgba(194,24,91,.3); }

/* chip-urile (bife) */
.cn-chipuri, .cn-opt { overflow: hidden; margin: 0 -3px; }
.cn .cn-chip, #content .cn .cn-chip { position: relative; display: block; float: left; width: auto; height: auto; margin: 0 3px 8px; padding: 0; border: 0; cursor: pointer; }
.cn-chip span { display: block; min-height: 40px; padding: 9px 14px; border: 1px solid #d8ccd2; border-radius: 20px; background: #fff; color: #3a2e33; font-size: 14px; line-height: 20px; }
.cn-chip input:checked + span { border-color: #c2185b; background: #c2185b; color: #fff; }
.cn-chip input:checked + span:before { content: "\2713\00a0"; }
.cn-chip input:focus + span { box-shadow: 0 0 0 3px rgba(194,24,91,.2); }

/* "Mai multe filtre" si grupurile; fara JS (fara .cn-js) totul ramane deschis */
.cn .cn-mai { display: block; width: 100%; margin: 10px 0 4px; padding: 12px 14px; border: 1px dashed #d9a3bb; border-radius: 12px; background: #fdf6f9;
	color: #c2185b; font-family: inherit; font-size: 15px; font-weight: bold; text-align: left; cursor: pointer; -webkit-appearance: none; appearance: none; }
.cn-contor { color: #6c5e65; font-weight: normal; }
.cn-sageata { display: inline-block; width: 8px; height: 8px; margin: 0 10px 2px 2px; border-right: 2px solid #c2185b; border-bottom: 2px solid #c2185b; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); }
.cn-mai.cn-deschis .cn-sageata { -webkit-transform: rotate(45deg); transform: rotate(45deg); }
.cn-js .cn-extra { display: none; }
.cn-js .cn-extra.cn-deschis { display: block; }
.cn-grup { border-top: 1px solid #efe6ea; }
.cn .cn-grup-cap { position: relative; display: block; width: 100%; min-height: 46px; margin: 0; padding: 12px 34px 12px 2px; border: 0; background: none;
	color: #3a2e33; font-family: inherit; font-size: 14px; font-weight: bold; text-align: left; cursor: pointer; -webkit-appearance: none; appearance: none; }
.cn-n { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 10px; background: #fce4ec; color: #c2185b; font-size: 12px; line-height: 20px; }
.cn-n:empty { display: none; }
.cn-pm { position: absolute; right: 8px; top: 13px; width: 14px; height: 14px; }
.cn-pm:before, .cn-pm:after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: #8a7d83; }
.cn-pm:after { -webkit-transform: rotate(90deg); transform: rotate(90deg); }
.cn-deschis > .cn-grup-cap .cn-pm:after { display: none; }
.cn-js .cn-grup .cn-opt { display: none; }
.cn-js .cn-grup.cn-deschis .cn-opt { display: block; padding: 2px 0 8px; }

/* subsolul cardului; pe mobil lipit jos */
.cn-subsol { overflow: hidden; margin: 14px 0 0; padding: 16px 0 0; border-top: 1px solid #efe6ea; }
/* pe mobil #content are overflow:hidden, deci sticky nu merge: bara cu Cauta e fixa jos, iar formularul lasa loc sub ea */
.cn-m .cn-card { padding-bottom: 14px; }
#cn.cn-m { padding-bottom: 84px; }
.cn-m .cn-subsol { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; margin: 0; padding: 10px 12px 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid #efe6ea; border-radius: 0; box-shadow: 0 -4px 16px rgba(60,20,40,.08); }
.cn .cn-link { float: left; margin: 0; padding: 0; border: 0; background: none; color: #c2185b; font-family: inherit; font-size: 14px; font-weight: bold; line-height: 50px; cursor: pointer; -webkit-appearance: none; appearance: none; }
.cn .cn-buton { float: right; height: 50px; min-width: 200px; margin: 0; padding: 0 32px; border: 0; border-radius: 14px; background: #c2185b; color: #fff;
	font-family: inherit; font-size: 16px; font-weight: bold; line-height: 50px; cursor: pointer; -webkit-appearance: none; appearance: none; }
.cn .cn-buton:hover { background: #a3144c; }
.cn-m .cn-subsol .cn-buton { width: 62%; min-width: 0; }
.cn .cn-buton-mic { height: 40px; min-width: 0; padding: 0 16px; font-size: 14px; line-height: 40px; border-radius: 12px; }

/* cautarile salvate, sub formular: card cu randuri de 48px (fara ul/li: test.css le strica pe mobil) */
.cn-sal { overflow: hidden; margin: 14px 0 0; border: 1px solid #ece3e7; border-radius: 16px; background: #fff; }
.cn-sal-cap { overflow: hidden; padding: 12px 14px 8px; }
.cn-sal-titlu { float: left; color: #6c5e65; font-size: 12px; font-weight: bold; letter-spacing: .06em; line-height: 20px; text-transform: uppercase; }
.cn .cn-sal-cap a { float: right; font-size: 13px; line-height: 20px; }
.cn a.cn-sal-rand { position: relative; display: block; height: 48px; padding: 0 40px 0 14px; border-top: 1px solid #f3edf0; color: #231a1f; font-size: 15px; font-weight: bold; line-height: 48px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cn a.cn-sal-rand:hover { background: #fdf6f9; text-decoration: none; }
.cn-sal-sag { position: absolute; right: 18px; top: 20px; width: 8px; height: 8px; border-top: 2px solid #c2185b; border-right: 2px solid #c2185b; -webkit-transform: rotate(45deg); transform: rotate(45deg); }

/* sub card: cautarea dupa nume/cod */
.cn-sub { margin: 12px 4px 0; color: #6c5e65; font-size: 13px; line-height: 20px; }
.cn-sub .cn-link { float: none; line-height: 24px; font-size: 13px; }
/* "Cauta dupa nume sau cod": card alb ca cel cu cautarile salvate (pe mobil fundalul e roz, linkul roz nu se vedea) */
.cn .cn-dupa-nume { margin: 14px 0 0; padding: 0 14px; border: 1px solid #ece3e7; border-radius: 16px; background: #fff; }
.cn .cn-dupa-nume .cn-link { float: none; display: block; width: 100%; font-size: 15px; line-height: 48px; text-align: left; }
.cn-dupa-nume-corp { padding: 0 0 12px; }
.cn-js .cn-dupa-nume-corp { display: none; }
.cn-js .cn-dupa-nume.cn-deschis .cn-dupa-nume-corp { display: block; }
.cn-mic { overflow: hidden; margin: 8px 0 0; }
.cn .cn-text { float: left; width: 60%; height: 40px; margin: 0 8px 0 0; padding: 0 12px; border: 1px solid #d8ccd2; border-radius: 12px; background: #fff; color: #231a1f; font-family: inherit; font-size: 16px; }
.cn .cn-mic .cn-buton { float: left; }

/* ---------- rezultatele ---------- */
.cn-rez-cap { overflow: hidden; margin: 0 0 10px; }
.cn-salveaza { display: none; overflow: hidden; margin: 0 0 14px; }
.cn-salveaza.cn-deschis { display: block; }
.cn-sal-raspuns { clear: both; margin: 0; padding: 8px 2px 0; color: #2e7d32; font-size: 14px; line-height: 20px; }
.cn-sal-raspuns.cn-sal-eroare { color: #7c1240; }
.cn-sal-raspuns:empty { display: none; }
/* comutatorul descoperire + sfaturile pe judet (functiile vechi din helpers/disponibilitate.pml) */
.cn-disp { overflow: hidden; margin: -4px 0 12px; font-size: 14px; line-height: 20px; }
.cn .cn-disp .disp-switch { float: right; padding: 0 2px; color: #c2185b; font-weight: bold; }
.cn-disp .lichid-judet { margin: 0; color: #6c5e65; }
.cn-mesaj { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: #fbeaf1; color: #7c1240; font-size: 14px; }
.cn-insigna { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: #1e88e5; color: #fff; font-size: 11px; font-weight: bold; line-height: 16px; text-align: center; vertical-align: 1px; }
.cn-meta { color: #6c5e65; font-size: 13px; line-height: 18px; }
.cn .cn-ac { display: inline-block; height: 36px; margin: 6px 6px 0 0; padding: 0 14px; border: 1px solid #c2185b; border-radius: 18px; background: #c2185b; color: #fff; font-size: 13px; font-weight: bold; line-height: 34px; text-decoration: none; }
.cn .cn-ac2 { border-color: #d8ccd2; background: #fff; color: #3a2e33; }
/* profilurile „nebagate in seama” (fara mesaj de 10+ zile), puse in rezultate peste filtre */
.cn-asteapta { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 8px; background: #efe6ea; color: #6c5e65; font-size: 11px; line-height: 16px; vertical-align: 2px; }

/* A: grila (inline-block, 3 pe rand pe desktop, 2 pe mobil) */
.cn-grila { margin: 0 -6px; font-size: 0; }
.cn-gc { display: inline-block; width: 33.333%; padding: 0 6px 12px; vertical-align: top; font-size: 15px; }
.cn-m .cn-gc { width: 50%; }
.cn-gc-in { overflow: hidden; border: 1px solid #ece3e7; border-radius: 16px; background: #fff; }
.cn .cn-foto { position: relative; display: block; padding-top: 125%; background: #efe6ea center center no-repeat; background-size: cover; }
.cn-ol { position: absolute; left: 8px; top: 8px; padding: 0 8px; border-radius: 10px; background: #fff; color: #2e7d32; font-size: 11px; font-weight: bold; line-height: 20px; }
.cn-pp { position: absolute; right: 8px; top: 8px; padding: 0 8px; border-radius: 10px; background: rgba(35,26,31,.75); color: #fff; font-size: 11px; font-weight: bold; line-height: 20px; }
.cn-gc-tx { padding: 10px; }
.cn-gc-tx b, .cn-lc-tx b { color: #231a1f; font-size: 15px; }
/* numele si varsta pe un singur rand: daca nu incap amandoua, varsta (cu virgula) trece pe randul 2, ascuns */
.cn a.nv { display: -webkit-inline-flex; display: inline-flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; max-width: 100%; height: 20px; overflow: hidden; line-height: 20px; vertical-align: top; text-decoration: none; }
.cn a.nv-i { max-width: calc(100% - 22px); }
.cn .nv-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cn .nv-v { white-space: nowrap; }
.cn-m .cn-gc .cn-ac { padding: 0 10px; }

/* B: lista cu descriere */
.cn-lc { overflow: hidden; margin: 0 0 10px; padding: 12px; border: 1px solid #ece3e7; border-radius: 16px; background: #fff; }
.cn .cn-lc .cn-foto { float: left; width: 96px; height: 96px; padding-top: 0; border-radius: 14px; }
.cn-lc-tx { margin-left: 108px; }
.cn-lc-desc { margin: 6px 0 2px; color: #3a2e33; font-size: 13px; line-height: 18px; }
.cn-punct { display: inline-block; width: 8px; height: 8px; margin-left: 4px; border-radius: 50%; background: #2e7d32; vertical-align: 2px; }

/* paginare + gol */
.cn-pag { margin: 14px 0 0; text-align: center; font-size: 0; }
.cn .cn-pag a, .cn-pag span { display: inline-block; min-width: 44px; height: 44px; margin: 0 2px; padding: 0 8px; border-radius: 22px; color: #3a2e33; font-size: 15px; font-weight: bold; line-height: 44px; text-align: center; }
.cn .cn-pag a:hover { background: #fdf6f9; text-decoration: none; }
.cn-pag .cn-pag-acum { background: #c2185b; color: #fff; }
.cn-pag .cn-pag-gol { min-width: 20px; color: #8a7d83; }
.cn-gol { padding: 28px 16px; border: 1px solid #ece3e7; border-radius: 16px; background: #fff; text-align: center; color: #3a2e33; }
.cn-gol p { margin: 0 0 10px; font-size: 16px; }

/* ---------- la unison cu Online / Liste / Mesageria (08.10.2026) ----------
   Formularul sta direct pe pagina (fara card in card pe desktop, fara card pe fundal roz pe mobil: page_top da body.list,
   adica alb, si pe page=search); aceleasi forme ca pe Online: pastile de 44px, chip-ul pornit e deschis (nu plin),
   butoanele principale sunt pastile. Rezultatele folosesc cardul de pe Online (card_grila_html, online.css). */
.cn .cn-card { padding: 4px 0 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.cn-m .cn-card { padding: 4px 4px 0; }
.cn-m .cn-titlu, #content .cn-m .cn-titlu { font-size: 20px; }
.cn-seg { border-radius: 22px; font-size: 0; }
.cn-seg-opt span { height: 42px; line-height: 42px; font-size: 14px; }
.cn .cn-seg-opt + .cn-seg-opt span { border-left: 1px solid #d8ccd2; }
.cn .cn-seg-opt input:checked + span { border-left-color: #c2185b; }
.cn .cn-sel { border-radius: 12px; }
.cn-chip span { min-height: 44px; padding: 0 16px; border-radius: 22px; font-size: 14px; font-weight: bold; line-height: 42px; white-space: nowrap; }
.cn-chip span:hover { border-color: #c2185b; }
.cn-chip input:checked + span { border-color: #c2185b; background: #fdf6f9; color: #c2185b; }
.cn-chip input:focus-visible + span, .cn-seg-opt input:focus-visible + span { outline: 2px solid #c2185b; outline-offset: 2px; box-shadow: none; }
/* "Mai multe filtre": un rand de lista (ca pe Liste de membri), nu chenarul roz punctat */
.cn .cn-mai { min-height: 52px; margin: 8px 0 0; padding: 0 2px; border: 0; border-top: 1px solid #efe6ea; border-radius: 0; background: none; color: #231a1f; line-height: 52px; }
.cn .cn-mai:hover { color: #c2185b; }
.cn-contor { display: inline-block; margin-left: 4px; padding: 0 9px; border-radius: 11px; background: #fdf6f9; color: #c2185b; font-size: 13px; font-weight: bold; line-height: 22px; vertical-align: 1px; }
.cn-contor:empty { display: none; }
.cn-sageata { margin: 0 12px 3px 4px; }
.cn-grup { border-top: 1px solid #f3edf0; }
.cn-subsol { margin: 8px 0 0; padding: 16px 0 0; }
.cn .cn-buton { border-radius: 25px; }
.cn .cn-buton-mic { height: 44px; padding: 0 20px; border-radius: 22px; line-height: 44px; }
.cn .cn-text { height: 44px; }
.cn .cn-link { min-height: 44px; }
.cn a:focus-visible, .cn button:focus-visible, .cn select:focus-visible, .cn input:focus-visible { outline: 2px solid #c2185b; outline-offset: 2px; }
/* Judetul / Tara / Varsta sunt <label for>: fara regulile generale pentru label (bootstrap: float, latime, aliniere la dreapta) */
.cn .cn-et, #content .cn .cn-et { float: none; width: auto; height: auto; padding: 0; text-align: left; text-transform: none; cursor: default; }
/* pe mobil bara cu Cauta e fixa jos: campul cu focus (Tab) nu ajunge sub ea */
.cn-m .cn-card a, .cn-m .cn-card button, .cn-m .cn-card select, .cn-m .cn-card input, .cn-m .cn-card label { scroll-margin-bottom: 96px; }
/* cautarile salvate: titlul ca titlurile de sectiune de pe Liste (fara majuscule spatiate) */
.cn-sal-titlu { color: #231a1f; font-size: 15px; letter-spacing: 0; text-transform: none; }
.cn .cn-dupa-nume, .cn-sal { border-color: #ece3e7; }
.cn-m .cn-sal, .cn-m .cn-dupa-nume { margin-left: 4px; margin-right: 4px; }

/* rezultatele: chip-urile filtrelor active + Modifica / Salveaza pe acelasi rand (componentele de pe Online) */
.cn .cn-rezumat { margin: 0 0 4px; }
.cn-rez-act { display: inline; }
.cn button.on-chip { font-family: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; }
.cn .on-chip.cn-chip-act { color: #c2185b; }
.cn-salveaza { margin: 0 0 12px; }
.cn-disp { margin: 0 0 12px; }
.cn-gol { padding: 32px 16px; }
.cn-gol .on-btn { margin-top: 4px; }
/* lista (cand cauta o femeie): acelasi limbaj ca cardul de grila */
.cn .cn-lc { position: relative; padding: 14px; }
.cn .cn-lc .cn-foto { width: 104px; height: 104px; border-radius: 14px; }
.cn .cn-lc .cn-foto.on-fara-poza { background: #f3ecef; }
.cn-lc-avatar { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; }
.cn-lc-tx { margin-left: 118px; }
.cn .cn-lc a.on-nume { display: inline-block; color: #231a1f; font-size: 16px; line-height: 22px; text-decoration: none; }
.cn .cn-lc .on-n { font-size: 16px; }
.cn-lc .cn-meta { margin-top: 1px; font-size: 14px; line-height: 20px; }
.cn-lc-semnale { margin: 6px 0 0; font-size: 0; }
.cn-lc-desc { margin: 8px 0 0; color: #3a2e33; font-size: 14px; line-height: 20px; }
.cn-lc-ac { margin: 10px 0 0; font-size: 0; }
.cn .cn-lc-ac .cn-ac { height: 44px; margin: 0 8px 0 0; padding: 0 18px; border-radius: 22px; font-size: 14px; line-height: 42px; }
.cn-m .cn-lc .cn-foto { width: 84px; height: 84px; }
.cn-m .cn-lc-tx { margin-left: 96px; }
/* pe mobil butoanele trec mereu sub poza (clear), pe toata latimea cardului, ca pe Online: 2 = jumatati, 3 = treimi */
.cn-m .cn-lc-ac { clear: both; margin-left: -96px; padding-top: 12px; }
.cn-m .cn-lc-ac .cn-ac { width: 48%; margin: 0 4% 0 0; padding: 0; text-align: center; }
.cn-m .cn-lc-ac .cn-ac:last-child { margin-right: 0; }
.cn-m .cn-lc-ac .cn-ac:only-child { width: 100%; }
.cn-m .cn-lc-ac .cn-ac:first-child:nth-last-child(3), .cn-m .cn-lc-ac .cn-ac:first-child:nth-last-child(3) ~ .cn-ac { width: 31%; margin-right: 3.5%; }
.cn-m .cn-lc-ac .cn-ac:first-child:nth-last-child(3) ~ .cn-ac:last-child { margin-right: 0; }
/* pe desktop butoanele raman in coloana textului; cardul cuprinde poza si cand textul e scurt */
.cn-d .cn-lc { min-height: 134px; }
