/* Irimia CRM profile update campaign and secure candidate form */
.crm-profile-campaign{margin:18px 24px 22px;padding:24px;border:1px solid #cfe0ee;border-radius:20px;background:linear-gradient(145deg,#fff 0%,#f7fbfe 100%);box-shadow:0 16px 42px rgba(27,69,102,.08)}
.crm-profile-campaign-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding-bottom:20px;border-bottom:1px solid #dce8f1}.crm-profile-campaign-title{display:flex;gap:14px;align-items:flex-start;max-width:760px}.crm-profile-campaign-title h2{margin:2px 0 6px;color:#153a5b;font-size:24px}.crm-profile-campaign-title p{margin:0;color:#59758d;line-height:1.55}.crm-profile-campaign-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#0f82d7,#1358bc);color:#fff;font-size:22px;font-weight:900;box-shadow:0 10px 24px rgba(20,105,186,.22)}
.crm-profile-campaign-stats{display:grid;grid-template-columns:repeat(3,minmax(92px,1fr));gap:10px}.crm-profile-campaign-stats article{min-width:92px;padding:12px 14px;border:1px solid #d7e5ef;border-radius:13px;background:#fff}.crm-profile-campaign-stats span,.crm-profile-campaign-stats strong{display:block}.crm-profile-campaign-stats span{color:#6c8397;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.crm-profile-campaign-stats strong{margin-top:3px;color:#123b5d;font-size:25px}
.crm-profile-campaign-form{margin-top:18px}.crm-profile-campaign-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #d8e5ee;border-radius:13px;background:#f4f9fc}.crm-profile-campaign-tools>label{display:flex;align-items:center;gap:9px;color:#234965;font-weight:800}.crm-profile-campaign-tools>div{display:flex;gap:9px}.crm-profile-campaign-list{display:grid;gap:8px;margin-top:12px;max-height:480px;overflow:auto;padding-right:4px}.crm-profile-campaign-row{display:grid;grid-template-columns:auto 40px minmax(190px,1.15fr) minmax(260px,1.8fr) minmax(155px,.8fr);gap:11px;align-items:center;padding:12px 14px;border:1px solid #dce8f0;border-radius:13px;background:#fff;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}.crm-profile-campaign-row:hover{transform:translateY(-1px);border-color:#93c6e9;box-shadow:0 8px 20px rgba(23,84,126,.08)}.crm-profile-campaign-row.has-pending{background:#fffaf1;border-color:#f2d5a1}.crm-profile-campaign-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e2f2ff;color:#126ab0;font-weight:900}.crm-profile-campaign-person,.crm-profile-campaign-missing{display:grid;min-width:0}.crm-profile-campaign-person small,.crm-profile-campaign-missing small{margin-top:3px;overflow:hidden;color:#6b8194;text-overflow:ellipsis;white-space:nowrap}.crm-profile-campaign-missing strong{color:#244b68}.crm-profile-campaign-state{justify-self:end;padding:7px 10px;border-radius:99px;background:#e9f7ef;color:#197243;font-size:11px;font-weight:900;text-align:center}.has-pending .crm-profile-campaign-state{background:#fff0d7;color:#986111}.crm-profile-campaign-foot{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:13px;color:#637b8f;font-size:11px}.crm-profile-campaign-foot span:before{content:"\2713";margin-right:5px;color:#1b8a58;font-weight:900}.crm-profile-campaign-empty{display:grid;gap:4px;margin-top:18px;padding:24px;border:1px dashed #bad1e1;border-radius:14px;background:#f8fbfd;text-align:center;color:#58748a}.crm-profile-campaign-empty strong{color:#244b67}.crm-profile-campaign-history{margin-top:15px;border-top:1px solid #dce8f1;padding-top:13px}.crm-profile-campaign-history summary{color:#1d5f91;font-weight:900;cursor:pointer}.crm-profile-campaign-history>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.crm-profile-campaign-history span{padding:8px 10px;border:1px solid #d9e6ef;border-radius:9px;background:#fff;color:#607b90;font-size:11px}.crm-profile-campaign-history strong{margin-right:8px;color:#244965}
.crm-guest{margin:0;min-height:100vh;background:radial-gradient(circle at 12% 4%,rgba(49,172,222,.14),transparent 27%),linear-gradient(180deg,#f0f8fb,#eaf2f7);color:#143653;font-family:Inter,Segoe UI,Arial,sans-serif}.crm-guest main{width:100%}.crm-profile-update-page{width:min(920px,calc(100% - 28px));margin:0 auto;padding:28px 0 52px}.crm-profile-update-brand{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding:0 4px}.crm-profile-update-logo{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#0f7ed0,#174ca9);color:#fff;font-size:17px;font-weight:950;box-shadow:0 10px 25px rgba(20,84,151,.2)}.crm-profile-update-brand strong,.crm-profile-update-brand small{display:block}.crm-profile-update-brand strong{font-size:16px}.crm-profile-update-brand small{margin-top:2px;color:#658097}
.crm-profile-update-intro,.crm-profile-update-state,.crm-profile-update-form{border:1px solid #d6e5ef;background:#fff;box-shadow:0 16px 44px rgba(20,62,92,.08)}.crm-profile-update-intro{padding:30px 32px;border-radius:20px 20px 0 0;border-bottom:0}.crm-profile-update-intro h1{margin:4px 0 10px;font-size:32px;letter-spacing:-.02em}.crm-profile-update-intro>p:not(.crm-eyebrow){max-width:720px;margin:0;color:#4f6b80;font-size:16px;line-height:1.65}.crm-profile-update-note{margin-top:20px;padding:13px 15px;border:1px solid #b9ddf2;border-radius:12px;background:#edf8ff;color:#315a74}.crm-profile-update-note strong{color:#075f9f}
.crm-profile-update-form{padding:0 32px 30px;border-radius:0 0 20px 20px}.crm-profile-update-group{margin:0;padding:24px 0;border:0;border-top:1px solid #e1ebf2}.crm-profile-update-group legend{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0;color:#173e5e;font-size:18px;font-weight:900}.crm-profile-update-group legend small{padding:5px 8px;border-radius:99px;background:#eef5fa;color:#698094;font-size:10px;text-transform:uppercase;letter-spacing:.05em}.crm-profile-update-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:16px}.crm-profile-update-grid label{display:grid;gap:6px}.crm-profile-update-grid label>span{color:#294d68;font-size:12px;font-weight:850}.crm-profile-update-grid input,.crm-profile-update-grid select,.crm-profile-update-grid textarea{width:100%;box-sizing:border-box;border:1px solid #bed1df;border-radius:10px;background:#fff;color:#163a56;font:inherit;outline:0;transition:border-color .15s,box-shadow .15s}.crm-profile-update-grid input,.crm-profile-update-grid select{min-height:46px;padding:0 12px}.crm-profile-update-grid textarea{padding:11px 12px;resize:vertical}.crm-profile-update-grid input:focus,.crm-profile-update-grid select:focus,.crm-profile-update-grid textarea:focus{border-color:#2588ce;box-shadow:0 0 0 3px rgba(37,136,206,.12)}.crm-profile-update-grid label>small{color:#768b9c;font-size:11px}.crm-profile-update-grid .crm-field-wide{grid-column:1/-1}.crm-profile-update-experience{padding:15px;border:1px solid #dce8f0;border-radius:14px;background:#f8fbfd}.crm-profile-update-experience .crm-profile-update-grid{margin-top:0}.crm-profile-update-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:24px;border-top:1px solid #e1ebf2}.crm-profile-update-actions strong,.crm-profile-update-actions small{display:block}.crm-profile-update-actions small{margin-top:3px;color:#708699}.crm-profile-update-actions button{min-height:48px;padding:0 22px;border:0;border-radius:10px;background:linear-gradient(135deg,#ff742f,#f4511e);color:#fff;font-size:14px;font-weight:900;cursor:pointer;box-shadow:0 10px 22px rgba(240,91,32,.22)}.crm-profile-update-actions button:hover{filter:brightness(.97);transform:translateY(-1px)}.crm-profile-update-state{margin-top:40px;padding:44px 34px;border-radius:20px;text-align:center}.crm-profile-update-state>span{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 15px;border-radius:50%;background:#e8f7ee;color:#14804b;font-size:28px;font-weight:900}.crm-profile-update-state.is-error>span{background:#ffebea;color:#c13931}.crm-profile-update-state h1,.crm-profile-update-state h2{margin:0 0 12px}.crm-profile-update-state p{max-width:620px;margin:7px auto;color:#5b7589;line-height:1.55}.crm-profile-update-state strong{display:block;margin-top:22px}
@media(max-width:900px){.crm-profile-campaign{margin:14px;padding:18px}.crm-profile-campaign-head{display:grid}.crm-profile-campaign-stats{width:100%}.crm-profile-campaign-row{grid-template-columns:auto 38px 1fr}.crm-profile-campaign-missing{grid-column:3}.crm-profile-campaign-state{grid-column:3;justify-self:start}.crm-profile-campaign-tools{align-items:flex-start}.crm-profile-campaign-tools>div{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:640px){.crm-profile-campaign-title{display:grid}.crm-profile-campaign-stats{grid-template-columns:repeat(3,1fr)}.crm-profile-campaign-stats article{min-width:0;padding:10px}.crm-profile-campaign-stats strong{font-size:20px}.crm-profile-campaign-tools{display:grid}.crm-profile-campaign-tools>div,.crm-profile-campaign-tools .crm-button{width:100%}.crm-profile-campaign-row{grid-template-columns:auto 34px 1fr;padding:11px}.crm-profile-campaign-avatar{width:34px;height:34px}.crm-profile-update-page{width:min(100% - 18px,920px);padding-top:16px}.crm-profile-update-intro{padding:24px 20px}.crm-profile-update-intro h1{font-size:27px}.crm-profile-update-form{padding:0 20px 22px}.crm-profile-update-grid{grid-template-columns:1fr}.crm-profile-update-grid .crm-field-wide{grid-column:auto}.crm-profile-update-actions{align-items:stretch;display:grid}.crm-profile-update-actions button{width:100%}}

.crm-profile-campaign-search{display:grid;grid-template-columns:150px minmax(260px,620px);align-items:end;gap:12px;margin-bottom:12px}.crm-profile-campaign-search>label{color:#244965;font-size:12px;font-weight:900}.crm-profile-campaign-search>div{display:flex;gap:8px}.crm-profile-campaign-search input{min-width:0;flex:1;height:42px;border:1px solid #cbdde9;border-radius:10px;background:#fff;padding:0 13px;color:#173d5c;font:inherit;outline:0}.crm-profile-campaign-search input:focus{border-color:#2684c8;box-shadow:0 0 0 3px rgba(38,132,200,.12)}.crm-profile-campaign-search .crm-button{min-height:42px}.crm-profile-campaign-no-results{margin-top:12px;padding:22px;border:1px dashed #bfd3e2;border-radius:13px;background:#f8fbfd;color:#607a8f;font-weight:800;text-align:center}.crm-profile-campaign-row[hidden]{display:none!important}
@media(max-width:760px){.crm-profile-campaign-search{grid-template-columns:1fr}.crm-profile-campaign-search>div{flex-wrap:wrap}.crm-profile-campaign-search input{flex-basis:100%}.crm-profile-campaign-search .crm-button{flex:1}}

/* 3.9.2 compact candidate form */
.crm-profile-update-grid-compact textarea{min-height:70px!important}
.crm-profile-update-group-help{margin:0 0 14px;color:#62788d;font-size:13px}
.crm-field-label{display:block;font-weight:800;color:#153a59;margin-bottom:8px}
.crm-driving-field{padding:2px 0 5px}
.crm-driving-choice{display:flex;gap:18px;align-items:center;margin-bottom:10px}
.crm-driving-choice label,.crm-driving-categories label{display:inline-flex;align-items:center;gap:6px;font-weight:700}
.crm-driving-choice input,.crm-driving-categories input{width:auto!important;height:auto!important;min-height:0!important}
.crm-driving-categories{padding:12px;border:1px solid #cfe0ec;border-radius:12px;background:#f7fafc}
.crm-driving-categories small{display:block;margin-bottom:8px;color:#6a7e90}
.crm-driving-categories label{margin:4px 12px 4px 0}

.crm-experience-five{border:1px solid #d8e4ed;border-radius:14px;overflow:hidden;background:#fff}
.crm-experience-five-head,.crm-experience-five-row{
    display:grid;grid-template-columns:40px 1.15fr 1fr 1fr 1.1fr 1fr;align-items:center
}
.crm-experience-five-head{background:#edf5fa;color:#416884;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.crm-experience-five-head span{padding:10px;border-right:1px solid #d8e4ed}
.crm-experience-five-row{border-top:1px solid #d8e4ed}
.crm-experience-five-row>strong{padding:12px;text-align:center;color:#3b6480}
.crm-experience-five-row label{padding:7px;border-left:1px solid #d8e4ed}
.crm-experience-five-row label>span{display:none}
.crm-experience-five-row input{width:100%;min-height:42px!important;border:1px solid #c8dbe8!important;border-radius:8px!important;padding:8px 10px!important}

@media(max-width:760px){
 .crm-experience-five{overflow:visible;border:0;background:transparent}
 .crm-experience-five-head{display:none}
 .crm-experience-five-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px;padding:12px;border:1px solid #d8e4ed;border-radius:12px;background:#f9fbfc}
 .crm-experience-five-row>strong{grid-column:1/-1;text-align:left;padding:0;color:#153a59}
 .crm-experience-five-row label{padding:0;border:0}
 .crm-experience-five-row label>span{display:block;font-size:12px;font-weight:800;margin-bottom:4px}
}

/* 3.9.3 compact driving + cleaner experience cards */
.crm-driving-field{
  padding:0!important;
  margin:0;
}
.crm-driving-line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:42px;
  padding:8px 10px;
  border:1px solid #cfe0ec;
  border-radius:10px;
  background:#f9fbfd;
}
.crm-driving-line .crm-field-label{
  margin:0;
  font-size:13px;
}
.crm-driving-choice{
  display:flex!important;
  gap:14px!important;
  margin:0!important;
  align-items:center;
  flex:0 0 auto;
}
.crm-driving-choice label{
  margin:0!important;
  font-size:13px;
  font-weight:800;
}
.crm-driving-categories{
  margin-top:7px;
  padding:8px 10px!important;
  border-radius:10px!important;
}
.crm-driving-categories small{
  margin:0 0 5px!important;
  font-size:11px;
  font-weight:800;
}
.crm-driving-category-list{
  display:flex;
  flex-wrap:wrap;
  gap:5px 8px;
}
.crm-driving-category-list label{
  margin:0!important;
  padding:4px 7px;
  border:1px solid #d6e4ed;
  border-radius:7px;
  background:#fff;
  font-size:11px;
}

.crm-experience-cards{
  display:grid;
  gap:10px;
}
.crm-experience-card{
  margin:0;
  padding:11px;
  border:1px solid #d8e4ed;
  border-radius:12px;
  background:#f9fbfc;
}
.crm-experience-card-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:0 0 8px;
  color:#153a59;
}
.crm-experience-card-title strong{
  font-size:13px;
}
.crm-experience-card-title small{
  padding:3px 7px;
  border-radius:999px;
  background:#edf4f8;
  color:#6a8193;
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
}
.crm-experience-card-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:8px;
}
.crm-experience-card-grid label{
  margin:0;
}
.crm-experience-card-grid label span{
  display:block;
  margin:0 0 4px;
  font-size:11px;
  font-weight:800;
  color:#234966;
}
.crm-experience-card-grid input{
  width:100%;
  min-height:40px!important;
}
.crm-experience-card-grid .crm-exp-period{
  grid-column:1 / span 1;
}
.crm-experience-card-grid .crm-exp-location{
  grid-column:2 / span 2;
}

@media(max-width:760px){
  .crm-driving-line{
    min-height:40px;
    padding:7px 9px;
  }
  .crm-experience-card-grid{
    grid-template-columns:1fr 1fr;
  }
  .crm-experience-card-grid label:nth-child(3){
    grid-column:1/-1;
  }
  .crm-experience-card-grid .crm-exp-period,
  .crm-experience-card-grid .crm-exp-location{
    grid-column:auto;
  }
}
@media(max-width:460px){
  .crm-experience-card-grid{
    grid-template-columns:1fr;
  }
  .crm-experience-card-grid label,
  .crm-experience-card-grid label:nth-child(3),
  .crm-experience-card-grid .crm-exp-period,
  .crm-experience-card-grid .crm-exp-location{
    grid-column:1;
  }
}

/* 3.9.4 polished compact fields */
.crm-driving-field{padding:0!important;margin:0!important}
.crm-driving-line{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:38px!important;padding:6px 8px!important;border:1px solid #cfe0ec!important;border-radius:9px!important;background:#f9fbfd!important}
.crm-driving-line .crm-field-label{margin:0!important;font-size:12px!important}
.crm-driving-choice{display:flex!important;gap:5px!important;margin:0!important}
.crm-choice-pill{position:relative!important;display:inline-flex!important;margin:0!important;padding:0!important}
.crm-choice-pill input{position:absolute!important;opacity:0!important;pointer-events:none!important}
.crm-choice-pill span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:38px!important;height:28px!important;padding:0 9px!important;border:1px solid #c9dce9!important;border-radius:999px!important;background:#fff!important;color:#365c77!important;font-size:11px!important;font-weight:800!important;cursor:pointer!important}
.crm-choice-pill input:checked+span{background:#1976cf!important;border-color:#1976cf!important;color:#fff!important}
.crm-driving-categories{margin-top:5px!important;padding:6px 8px!important;border-radius:9px!important}
.crm-driving-category-list{display:flex!important;flex-wrap:wrap!important;gap:4px!important}
.crm-driving-category-list label{display:inline-flex!important;margin:0!important;padding:3px 6px!important;font-size:10px!important}

.crm-exp-table{width:100%;border:1px solid #d5e3ed;border-radius:10px;overflow:hidden;background:#fff}
.crm-exp-table-head,.crm-exp-table-row{display:grid;grid-template-columns:30px 1.1fr .95fr 1fr .9fr 1fr;align-items:stretch}
.crm-exp-table-head{background:#eef5fa;color:#3f6681;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.03em}
.crm-exp-table-head span{padding:7px;border-right:1px solid #d5e3ed}
.crm-exp-table-row{border-top:1px solid #d5e3ed}
.crm-exp-table-row>strong{display:flex;align-items:center;justify-content:center;color:#42667f;font-size:10px}
.crm-exp-table-row label{display:block!important;margin:0!important;padding:4px!important;border-left:1px solid #e0e9f0!important}
.crm-exp-table-row label>span{display:none!important}
.crm-exp-table-row input{width:100%!important;min-width:0!important;height:32px!important;min-height:32px!important;padding:4px 6px!important;border:1px solid #c9dce9!important;border-radius:6px!important;font-size:11px!important}

@media(max-width:720px){
 .crm-exp-table{border:0!important;background:transparent!important;overflow:visible!important}
 .crm-exp-table-head{display:none!important}
 .crm-exp-table-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;margin:0 0 8px!important;padding:8px!important;border:1px solid #d5e3ed!important;border-radius:9px!important;background:#f9fbfc!important}
 .crm-exp-table-row>strong{grid-column:1/-1!important;justify-content:flex-start!important;font-size:11px!important}
 .crm-exp-table-row label{padding:0!important;border:0!important}
 .crm-exp-table-row label>span{display:block!important;margin-bottom:2px!important;font-size:9px!important;font-weight:800!important;color:#31546d!important}
 .crm-exp-table-row input{height:36px!important}
}

/* U39220_COMPACT_UPDATE: pagina de completare a profilului — o grilă care se așază singură compact pe orice ecran;
   textele lungi iau 2 coloane; permisul ca listă (Nu / Da – categoria B / Da – alte categorii). */
.crm-profile-update-page .crm-profile-update-form .crm-profile-update-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important;grid-auto-flow:row dense!important;gap:10px 12px!important;align-items:start!important}
.crm-profile-update-page .crm-profile-update-form .crm-profile-update-grid>*{grid-column:auto!important;min-width:0!important;margin:0!important}
.crm-profile-update-page .crm-profile-update-form .crm-profile-update-grid>label{display:flex!important;flex-direction:column!important;gap:5px!important}
.crm-profile-update-page .crm-profile-update-form .crm-profile-update-grid>label>span{font-size:12px!important;line-height:1.25!important;min-height:0!important}
.crm-profile-update-page .crm-profile-update-form .crm-profile-update-grid>label input,.crm-profile-update-page .crm-profile-update-form .crm-profile-update-grid>label select{height:42px!important;min-height:42px!important}
.crm-profile-update-page .crm-profile-update-form .crm-profile-update-grid>label textarea{min-height:66px!important;height:66px!important;resize:vertical}
.crm-profile-update-page .crm-profile-update-form .crm-profile-update-grid>label small{font-size:11px!important;color:#6d8294!important;margin:0!important}
.crm-profile-update-page .crm-profile-update-form .crm-profile-update-grid>.crm-field-wide{grid-column:span 2!important}
.crm-profile-update-page .crm-profile-update-form .crm-profile-update-grid>.crm-driving-field{grid-column:1/-1!important;padding:0!important}
.crm-profile-update-page .crm-profile-update-form .crm-profile-update-grid>.crm-driving-field[hidden]{display:none!important}
.crm-profile-update-page .crm-driving-categories{margin:0!important;padding:8px 10px!important}
.crm-profile-update-page .crm-driving-category-list{display:flex!important;flex-wrap:wrap!important;gap:6px!important}
.crm-profile-update-page .crm-driving-category-list label{display:inline-flex!important;align-items:center!important;gap:5px!important;height:30px!important;margin:0!important;padding:0 11px!important;border:1px solid #cfe0ec!important;border-radius:999px!important;background:#fff!important;font-size:13px!important;font-weight:700!important}
.crm-profile-update-page .crm-driving-category-list label:has(input:checked){border-color:#126bb5!important;background:#e8f2fc!important;color:#0c447c!important}
.crm-profile-update-page .crm-profile-update-group legend small{text-transform:none!important;letter-spacing:0!important}
@media(max-width:560px){
.crm-profile-update-page .crm-profile-update-form .crm-profile-update-grid{grid-template-columns:1fr!important}
.crm-profile-update-page .crm-profile-update-form .crm-profile-update-grid>.crm-field-wide{grid-column:1/-1!important}
}

/* U39221_UPDATE_TEXTAREAS: pe calculator, textele lungi stau câte unul pe coloană (rânduri pline, fără gol în dreapta). */
@media(min-width:561px){.crm-profile-update-page .crm-profile-update-form .crm-profile-update-grid>label.crm-field-wide{grid-column:auto!important}}
