/* Admin panel additions: profile menu, Applications pages, Sl No column, back arrow */

/* Profile menu: Add Admin / Logout / Remove Account */
.reference-admin-menu{width:176px}
.reference-admin-menu a,.reference-admin-menu button{white-space:nowrap}
.reference-admin-menu .danger{color:#b83d37}
.reference-admin-menu .danger:hover{color:#b83d37;background:#fbefee}

/* "Sl No" column needs more room than the old "#" column */
.reference-admin-table-head span:first-child{white-space:nowrap}
.reference-admin-table-head,.reference-admin-row{grid-template-columns:58px 1.3fr 1.1fr 1fr .92fr 1.3fr}
@media(max-width:900px){
  .reference-admin-table-head,.reference-admin-row{grid-template-columns:50px 1.2fr 1.3fr 1fr 1fr 1fr}
}
@media(max-width:720px){
  .reference-admin-table-head,.reference-admin-row{grid-template-columns:54px 1.3fr 1.1fr 1fr .95fr 1.35fr}
}
.reference-review-admin-table .reference-admin-table-head,
.reference-review-admin-table .reference-admin-row{grid-template-columns:56px 1.05fr .9fr 2.2fr .8fr 1fr 1.05fr}

/* Back arrow */
.reference-back-link{font-weight:600}
/* The site stylesheet hides every lucide-arrow-* icon with !important; show it again for back links only. */
.reference-back-link svg[class*=lucide-arrow-]{display:block!important}
.reference-back-link svg{box-sizing:content-box;width:18px;height:18px;padding:8px;border:1px solid #cfdad4;border-radius:50%;background:#fffefa;transition:background .18s,color .18s,border-color .18s}
.reference-back-link:hover svg{background:var(--green);border-color:var(--green);color:#fff}

/* Applications list */
.adm-single-filter{grid-template-columns:1fr!important}
.adm-table-wrap{background:#fffefa;border:1px solid #dde5e0;max-width:100%;overflow-x:auto}
.adm-table{width:100%;min-width:1040px;border-collapse:collapse;font-size:13px;color:#5d6b68}
.adm-table th{background:#f4f7f5;color:#132d2a;font-size:13px;font-weight:700;text-align:left;white-space:nowrap;padding:0 18px;height:50px}
.adm-table td{border-top:1px solid #edf1ee;padding:12px 18px;vertical-align:middle}
.adm-table td:first-child,.adm-table th:first-child{width:64px;padding-left:26px}
.adm-table td strong{color:#132d2a;font-size:14px}
.adm-table td small{display:block;margin-top:2px;color:#7b8783}
.adm-table .adm-empty{text-align:center;padding:34px 18px}
.adm-actions{display:inline-flex;align-items:center;white-space:nowrap}
.adm-actions>*{display:inline-flex;align-items:center;gap:8px;padding:0 15px;font:inherit;font-size:14px;color:var(--green);background:0 0;border:0;cursor:pointer}
.adm-actions>*+*{border-left:1px solid #d8dfdb}
.adm-actions>*:first-child{padding-left:0}
.adm-actions .remove{color:#b83d37}
.adm-actions .adm-muted{color:#9aa5a1;cursor:default}
.adm-actions button:disabled{opacity:.5;cursor:default}
.adm-empty{color:#5d6b68;font-size:14px}
.adm-error{margin:0 0 16px;padding:11px 14px;border:1px solid #f0c9c6;background:#fbefee;color:#a3332d;font-size:13px}

/* Application details */
.adm-head-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:21px}
.adm-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:0 20px;border:1px solid #9aa9a3;border-radius:4px;background:0 0;color:var(--green);font:inherit;font-size:14px;cursor:pointer;white-space:nowrap;transition:background .18s,border-color .18s}
.adm-btn:hover{background:var(--mint);border-color:var(--green)}
.adm-btn-primary{background:var(--green);border-color:var(--green);color:#fff}
.adm-btn-primary:hover{background:var(--green-2);border-color:var(--green-2)}
.adm-btn-danger{color:#b83d37;border-color:#e2b3b0}
.adm-btn-danger:hover{background:#fbefee;border-color:#b83d37}
.adm-btn-disabled{color:#8a9692;border-color:#d4dbd7;cursor:default;background:#f4f7f5}
.adm-btn-disabled:hover{background:#f4f7f5;border-color:#d4dbd7}
.adm-btn:disabled{opacity:.55;cursor:default}
.adm-detail-card{background:#fffefa;border:1px solid #dde5e0;padding:8px 32px 30px;margin-bottom:24px}
.adm-detail-card h2{margin:26px 0 14px;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--green);font-weight:700}
.adm-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 36px}
.adm-field-row{padding:13px 0;border-top:1px solid #edf1ee}
.adm-field-row.wide{grid-column:1/-1}
.adm-field-row>small{display:block;margin-bottom:5px;color:#7b8783;font-size:12px}
.adm-field-row>div{color:#132d2a;font-size:15px;overflow-wrap:anywhere}
.adm-field-row a{color:var(--green);text-decoration:underline}
.adm-note{margin:0;white-space:pre-wrap;line-height:1.6}
.adm-status{display:inline-block;padding:5px 11px;border-radius:7px;background:#e8eeea;color:#35534b;font-size:13px;text-transform:capitalize}
.adm-status-submitted,.adm-status-new,.adm-status-pending{background:#e3eefb;color:#1f5a99}
.adm-status-shortlisted,.adm-status-accepted,.adm-status-hired{background:#dcf4e9;color:#16755e}
.adm-status-rejected{background:#fbe5e3;color:#a3332d}
@media(max-width:720px){
  .adm-detail-card{padding:4px 18px 22px}
  .adm-detail-grid{grid-template-columns:1fr}
  .adm-head-actions{margin-top:14px}
}

/* Remove Account dialog */
.adm-overlay{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:rgba(10,32,28,.45)}
.adm-dialog{width:min(430px,100%);background:#fffefa;border:1px solid #dde5e0;border-radius:8px;padding:26px;box-shadow:0 24px 60px rgba(10,32,28,.25)}
.adm-dialog h2{margin:0 0 10px;font-size:22px;color:#132d2a}
.adm-dialog p{margin:0 0 18px;color:#5d6b68;font-size:14px;line-height:1.55}
.adm-field{display:block;margin-bottom:16px}
.adm-field span{display:block;margin-bottom:7px;color:#132d2a;font-size:13px;font-weight:600}
.adm-field input{width:100%;min-height:46px;padding:0 14px;border:1px solid #d1d9d5;border-radius:4px;background:#fff;font:inherit;font-size:14px;outline:0}
.adm-field input:focus{border-color:var(--green)}
.adm-dialog-actions{display:flex;justify-content:flex-end;gap:10px}

/* Admin job form: dropdown with an "Other" text box underneath */
.adm-select-other{min-width:0}
.adm-select-other>.reference-admin-field+.reference-admin-field{margin-top:19px}

/* ===== Job details / Apply: left-aligned content column, breadcrumbs, heading ===== */
/* Same column as the Apply page and the hero title, so everything lines up on the left. */
.container.details-content{width:min(1320px,calc(100% - (var(--page-gutter,20px) * 2)));max-width:none;margin-left:auto;margin-right:auto;box-sizing:border-box;text-align:left}
.details-content .detail-heading{justify-content:flex-start;text-align:left}
.details-content .detail-heading>div:nth-child(2){flex:1 1 auto;min-width:0}
/* The company mark was a fixed 50px square, so longer codes spilled over the job title. */
.detail-heading .company-mark,.application-role .company-mark{width:auto;min-width:50px;padding:0 10px;font-size:22px;white-space:nowrap;box-sizing:border-box}
.breadcrumbs{justify-content:flex-start;flex-wrap:wrap;gap:8px}
.breadcrumbs .breadcrumb-sep{display:inline-block;color:#8a9893;font-size:13px;line-height:1}
.breadcrumbs a.breadcrumb-link{color:var(--green,#003f36);font-weight:500;text-decoration:none}
.breadcrumbs a.breadcrumb-link:hover{color:#b48a2c;text-decoration:underline}
.breadcrumbs a.breadcrumb-link:focus-visible{outline:2px solid #b48a2c;outline-offset:2px;border-radius:3px}
.breadcrumbs .breadcrumb-current{color:#1d2b27;font-weight:600}
/* Apply page: "Other" location text box */
.other-location-field{grid-column:1 / -1}

/* Jobs summary: three cards (Locations removed) fill the row evenly */
@media(min-width:901px){
  .reference-admin-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .reference-admin-stats>div:last-child:nth-child(odd){grid-column:1/-1}
}

/* Application deadline: native calendar (pick day/month/year) that can also be typed */
.reference-admin-field input[type=date]{font:inherit;font-size:13px;color:#132d2a;min-height:38px;cursor:text}
.reference-admin-field input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.75}

/* Form buttons: Save as Draft + Post Job */
.reference-job-form-actions .reference-button{min-width:150px}

/* Job category tag shown where the company code (BCOU) used to be */
.job-row .company-mark,.detail-heading .company-mark,.application-heading .company-mark{width:auto;min-width:0;max-width:150px;height:auto;min-height:36px;padding:8px 14px;border-radius:6px;font-family:inherit;font-size:13px;font-weight:700;letter-spacing:.02em;line-height:1.25;text-align:center;white-space:normal;box-sizing:border-box;align-self:flex-start}
@media(max-width:720px){.job-row .company-mark{max-width:none}}
/* Job list card: first column wide enough for the category tag */
.job-row{grid-template-columns:104px 1.4fr 160px 30px auto!important}
.job-row .company-mark{width:100%;max-width:none;overflow-wrap:anywhere}
@media(max-width:1050px){.job-row{grid-template-columns:96px 1fr 145px 30px!important}}
@media(max-width:720px),(min-width:721px) and (max-width:950px) and (orientation:landscape) and (max-height:500px){
  .job-row{grid-template-columns:84px minmax(0,1fr) 24px!important}
  .job-row .company-mark{width:100%;height:auto;min-height:32px;padding:7px 6px;font-size:11.5px;border-radius:5px}
}
.job-row .company-mark{align-self:center}
@media(max-width:720px){.reference-admin-filters select{background:#fffefa;border:1px solid #d1d9d5;min-height:52px}}

/* Job list: category/short-title tag + View details button */
.job-row{grid-template-columns:104px minmax(0,1fr) 190px auto!important}
@media(max-width:1050px){.job-row{grid-template-columns:96px minmax(0,1fr) 150px auto!important}}
.job-row>.button{justify-self:end;white-space:nowrap;min-height:44px;padding:0 22px;gap:10px;border:1.5px solid var(--green,#003f36);border-radius:8px;color:var(--green,#003f36);font-weight:600;font-size:14px;background:transparent;display:inline-flex;align-items:center;justify-content:center;transition:background .18s,color .18s,transform .18s}
.job-row>.button:hover{background:var(--green,#003f36);color:#fff;transform:translateY(-1px)}
.job-row>.button svg{width:18px;height:18px;flex:none}
.job-row .company-mark{font-size:14px;letter-spacing:.06em}
@media(max-width:720px){
  .job-row>.button{width:100%;min-height:42px;grid-column:2 / -1}
  .job-row .company-mark{font-size:13px}
}
/* Application deadline: single (left) calendar icon opens the picker */
.reference-admin-field input[type=date]::-webkit-calendar-picker-indicator{display:none}
.reference-admin-field input[type=date]{-moz-appearance:textfield}
.reference-admin-field svg.adm-date-icon{cursor:pointer}
/* Phone: consistent 20px side space and a little more top space on every page */
@media(max-width:720px){
  .reference-admin-content,.reference-add-job-content,.reference-admin-inner,.reference-reviews-content,.reference-contact-content,.reference-account-content,.reference-header-inner,.reference-footer-main,.reference-footer-bottom,.container,.container.details-content{width:calc(100% - 40px)!important;margin-left:auto;margin-right:auto}
  .reference-admin-content,.reference-add-job-content{padding-top:34px}
  .reference-account-content,.reference-reviews-content,.reference-contact-content{margin-top:24px}
  .details-content{padding-top:8px}
}
@media(max-width:720px){.job-row{grid-template-columns:84px minmax(0,1fr)!important}.job-row>.job-row-main,.job-row>.job-row-meta{grid-column:2}.job-row>.company-mark{grid-column:1;grid-row:1}}
/* Phone: breathing room between the hero image, the breadcrumb and the first box below it */
@media(max-width:720px){
  .reference-hero + .breadcrumbs,.reference-hero ~ .breadcrumbs,.breadcrumbs{margin-top:28px!important;margin-bottom:20px!important;padding-top:0!important;padding-bottom:0!important}
  .jobs-page .breadcrumb,.jobs-page .breadcrumbs{margin-top:28px!important;margin-bottom:20px!important}
}
/* Phone: no breadcrumbs; clean gap between the skyline image and the content under it */
@media(max-width:720px){
  .site-breadcrumb,.breadcrumbs{display:none!important}
  .skyline-hero + *{margin-top:26px!important}
  main > .reference-review-summary:first-child,main > .reference-contact-form:first-child,main > form.reference-contact-form:first-child{margin-top:26px!important}
}
@media(max-width:720px){
  .skyline-hero ~ .container{margin-top:26px!important}
}
