.company-team{min-width:0;margin-block:20px;padding:18px;border:1px solid #5f899b55;border-radius:20px;background:linear-gradient(135deg,#119dc011,#7456ff11)}
.company-team h2,.company-team h3{margin:0 0 12px}.company-team p{line-height:1.5}.company-team button,.team-dialog button,.team-join button{cursor:pointer;font:inherit;min-height:44px;border-radius:14px;padding:10px 16px;color:inherit;border:1px solid #6794af66;background:#287ec222}
.company-team input,.team-dialog input,.team-join input:not([type=checkbox]){box-sizing:border-box;width:100%;min-width:0;min-height:46px;border:1px solid #7199af66;border-radius:14px;background:#06162677;color:inherit;padding:10px 14px;font:inherit}
.team-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-block:12px}.team-row>button:first-child{flex:1;text-align:start;overflow-wrap:anywhere}.team-row small{display:block;opacity:.7}.team-email-row{display:flex;gap:8px;margin-block:10px}.team-email-row input{flex:1}.team-actions{display:flex;gap:8px;flex-wrap:wrap;margin-block:16px}.team-primary{background:linear-gradient(110deg,#139cfc,#5947e4)!important;color:white!important}
.team-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-height:85dvh;overflow:auto;padding:24px;color:#eef6ff;border:1px solid #6ba6b577;border-radius:24px;background:#102332;box-shadow:0 24px 90px #0008}.team-dialog::backdrop{background:#020b1966;backdrop-filter:blur(3px)}.team-dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px}.team-dialog h2{font-size:1.25rem}.team-dialog ul{padding:0;list-style:none}.team-dialog li{padding:12px 0;border-bottom:1px solid #ffffff22;overflow-wrap:anywhere}.team-dialog a{color:#71d8ff}.team-dialog label,.team-join label{display:grid;gap:8px;margin-block:16px}.team-dialog [role=status],.company-team [role=status]{overflow-wrap:anywhere}.team-danger{color:#ffafb7!important}
.team-join{box-sizing:border-box;max-width:480px;margin:5vh auto;padding:28px;background:linear-gradient(135deg,#1f3548dd,#102033e8);border:1px solid #62839e77;border-radius:28px;box-shadow:0 16px 70px #0005;color:#eef6ff}.team-join h1{font-size:1.7rem}.team-join a{color:#6ddaf0}.team-join .team-consent{display:flex;align-items:flex-start;line-height:1.5}.team-consent input{margin-top:6px}.team-join button{width:100%}.team-join-page{margin:0;padding:16px;background:radial-gradient(at 20% 0%,#123858,transparent 60%),#07111f;font:16px/1.5 system-ui;min-height:100dvh;box-sizing:border-box}.team-join img{width:130px;max-height:64px;object-fit:contain}.team-join [hidden]{display:none!important}
@media(max-width:600px){.company-team{padding:14px}.team-dialog{padding:18px}.team-join{padding:22px;margin:16px auto}.team-actions>*{flex:1}}
body .team-dialog h2,body .team-dialog h3,body .team-dialog p,body .team-dialog label{color:inherit!important}
body.light .team-dialog{color:#193149;background:#f5f9ff}
body.light .team-dialog input,body.light .company-team input{color:#193149;background:#fff}
body.light .team-dialog a{color:#1265a7}
body.light .team-dialog .team-danger{color:#a52d49!important}
body .company-team>small{display:block;margin-top:10px;padding:0;color:inherit;background:none;font-size:12px;font-weight:400;line-height:1.5;text-transform:none;letter-spacing:normal;opacity:.75}

/* Keep manager actions visible, including the read-only removed state. */
body .team-dialog .team-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-block:16px}
body .team-dialog .team-actions button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;visibility:visible}
body .team-dialog .team-actions button:disabled{opacity:.5;cursor:not-allowed}
body .team-dialog .team-member-status{font-size:.9rem;line-height:1.5;opacity:.8}

body .team-dialog .team-choice{display:flex;align-items:flex-start;gap:12px}body .team-dialog .team-choice input{width:20px;min-width:20px;min-height:20px;height:20px;margin-top:3px;padding:0}body .team-dialog select{width:100%;min-height:44px;padding:10px;color:inherit;background:inherit;border:1px solid #7199af66;border-radius:12px}body .team-dialog select option{color:#193149;background:#fff}

html body[class][class].employer-dashboard-page .employer-candidate-card .employer-candidate-open{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:44px!important;padding:12px 20px!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.3!important;text-align:center!important;flex-shrink:0!important}
@media(max-width:700px){html body[class][class].employer-dashboard-page .employer-candidate-card .employer-candidate-open{width:100%!important;grid-column:1/-1!important;flex-basis:100%!important}}
