.e4s-company-team-v1{
  max-width:1500px;
  margin:0 auto;
  padding:22px 18px 48px;
  color:#17384a;
}

.e4s-team-head-v1{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  padding:24px 26px;
  margin-bottom:18px;
  border:1px solid #bddde6;
  border-radius:24px;
  background:linear-gradient(
    135deg,
    #08394c,
    #0b5266
  );
  color:#fff;
  box-shadow:
    0 14px 32px
    rgba(8,57,76,.12);
}

.e4s-team-head-v1 h1{
  margin:4px 0 7px;
  font-size:34px;
}

.e4s-team-head-v1 p{
  margin:0;
  max-width:900px;
  color:#d6edf3;
}

.e4s-team-kicker-v1,
.e4s-team-card-title-v1 span{
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
  color:#5ee7e7;
}

.e4s-team-head-actions-v1{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.e4s-team-role-v1{
  padding:10px 13px;
  border:
    1px solid
    rgba(255,255,255,.25);
  border-radius:12px;
  background:
    rgba(255,255,255,.08);
  font-weight:800;
}

.e4s-team-card-v1{
  margin-top:16px;
  padding:20px;
  border:1px solid #d4e3e8;
  border-radius:20px;
  background:#fff;
  box-shadow:
    0 8px 24px
    rgba(23,56,74,.06);
}

.e4s-team-card-title-v1{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  margin-bottom:16px;
}

.e4s-team-card-title-v1 span{
  color:#078b9d;
}

.e4s-team-card-title-v1 h2{
  margin:3px 0 4px;
  font-size:24px;
}

.e4s-team-card-title-v1 p{
  margin:0;
  color:#718895;
}

.e4s-team-form-v1{
  display:grid;
  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );
  gap:13px;
}

.e4s-team-form-v1 label>span{
  display:block;
  margin:0 0 6px;
  font-size:13px;
  font-weight:800;
  color:#486573;
}

.e4s-team-form-v1 input,
.e4s-team-form-v1 select{
  width:100%;
  min-height:46px;
  border:1px solid #cedee4;
  border-radius:12px;
  background:#f9fcfd;
  padding:0 13px;
  color:#16394a;
  font:inherit;
}

.e4s-team-password-v1{
  display:flex;
  gap:8px;
}

.e4s-team-password-v1 button{
  white-space:nowrap;
  border:1px solid #bfd7df;
  border-radius:12px;
  background:#eef8fa;
  padding:0 13px;
  font-weight:800;
  color:#0b7180;
  cursor:pointer;
}

.e4s-team-permissions-v1{
  grid-column:1/-1;
  border:1px solid #dbe9ed;
  border-radius:16px;
  padding:14px;
  background:#f8fbfc;
}

.e4s-team-permissions-title-v1{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.e4s-team-permissions-title-v1 small{
  color:#78909b;
}

.e4s-team-permission-grid-v1{
  display:grid;
  grid-template-columns:
    repeat(
      4,
      minmax(0,1fr)
    );
  gap:8px;
}

.e4s-team-check-v1{
  display:flex!important;
  align-items:center;
  gap:8px;
  padding:9px 10px;
  border:1px solid #e0ebee;
  border-radius:11px;
  background:#fff;
}

.e4s-team-check-v1 input{
  width:17px!important;
  min-height:auto!important;
  height:17px;
}

.e4s-team-check-v1 span{
  margin:0!important;
}

.e4s-team-btn-v1{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  border:0;
  border-radius:12px;
  padding:0 16px;
  background:#a1122e;
  color:#fff!important;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
}

.e4s-team-btn-ghost-v1{
  background:#fff;
  color:#17384a!important;
}

.e4s-team-list-v1{
  display:grid;
  gap:10px;
}

.e4s-team-member-v1{
  display:grid;
  grid-template-columns:
    minmax(220px,1.2fr)
    minmax(130px,.5fr)
    1.5fr
    auto;
  gap:14px;
  align-items:center;
  padding:14px;
  border:1px solid #dfebee;
  border-radius:15px;
  background:#fbfdfe;
}

.e4s-team-member-v1.is-disabled{
  opacity:.62;
}

.e4s-team-person-v1 strong,
.e4s-team-person-v1 small{
  display:block;
}

.e4s-team-person-v1 small{
  margin-top:3px;
  color:#7a909b;
}

.e4s-team-badge-v1{
  display:inline-flex;
  width:max-content;
  padding:7px 10px;
  border-radius:999px;
  background:#e9f6f8;
  color:#087786;
  font-size:12px;
  font-weight:900;
}

.e4s-team-perm-summary-v1{
  font-size:12px;
  color:#637d89;
  line-height:1.45;
}

.e4s-team-actions-v1{
  display:flex;
  gap:7px;
  justify-content:flex-end;
  flex-wrap:wrap;
}

.e4s-team-actions-v1 button{
  border:1px solid #d5e2e6;
  border-radius:9px;
  background:#fff;
  padding:8px 10px;
  font-weight:800;
  color:#31515f;
  cursor:pointer;
}

.e4s-team-actions-v1 button.danger{
  color:#a1122e;
  border-color:#edc7cf;
}

.e4s-team-notice-v1{
  display:none;
  margin:0 0 14px;
  padding:12px 14px;
  border-radius:12px;
  font-weight:800;
}

.e4s-team-notice-v1.ok{
  display:block;
  background:#eaf9f2;
  color:#167452;
}

.e4s-team-notice-v1.bad{
  display:block;
  background:#fff0f2;
  color:#9c1830;
}

.e4s-team-empty-v1{
  padding:28px;
  text-align:center;
  color:#738b96;
}

.e4s-workspace-manage-team-v1{
  display:inline-flex;
  margin-top:8px;
  font-size:12px;
  font-weight:900;
  color:#087786;
  text-decoration:none;
}

.e4s-team-modal-v1{
  position:fixed;
  inset:0;
  z-index:10050;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:
    rgba(4,25,35,.54);
}

.e4s-team-modal-card-v1{
  width:min(760px,100%);
  max-height:88vh;
  overflow:auto;
  border-radius:20px;
  background:#fff;
  padding:20px;
  color:#17384a;
  box-shadow:
    0 25px 80px
    rgba(0,0,0,.25);
}

.e4s-team-modal-card-v1 h3{
  margin-top:0;
}

.e4s-team-modal-grid-v1{
  display:grid;
  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );
  gap:10px;
}

.e4s-team-modal-actions-v1{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:16px;
}

@media(max-width:900px){

  .e4s-team-form-v1,
  .e4s-team-modal-grid-v1{
    grid-template-columns:1fr;
  }

  .e4s-team-permission-grid-v1{
    grid-template-columns:
      repeat(
        2,
        minmax(0,1fr)
      );
  }

  .e4s-team-member-v1{
    grid-template-columns:1fr;
  }

  .e4s-team-actions-v1{
    justify-content:flex-start;
  }

  .e4s-team-head-v1{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media(max-width:520px){

  .e4s-team-permission-grid-v1{
    grid-template-columns:1fr;
  }

  .e4s-company-team-v1{
    padding-left:10px;
    padding-right:10px;
  }

  .e4s-team-head-v1{
    padding:20px;
  }
}

/* BEGIN E4S WORKSPACE MEMBERS BUTTON V2 */

.e4s-members-card-clickable-v2 {
  cursor: pointer;
  position: relative;
}

.e4s-members-card-clickable-v2:hover {
  border-color: #9fcbd5 !important;
  box-shadow:
    0 10px 28px
    rgba(15, 92, 112, .10);
}

.e4s-workspace-manage-team-v2 {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  margin-top: 10px;
  padding: 10px 13px;
  border: 1px solid #c5dfe5;
  border-radius: 12px;
  background: #f6fbfc;
  color: #0a6372 !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 800;
  transition:
    .15s ease;
}

.e4s-workspace-manage-team-v2:hover {
  transform: translateY(-1px);
  border-color: #8dc7d2;
  background: #eef9fb;
}

.e4s-workspace-manage-team-v2 strong,
.e4s-workspace-manage-team-v2 small {
  display: block;
}

.e4s-workspace-manage-team-v2 strong {
  font-size: 13px;
}

.e4s-workspace-manage-team-v2 small {
  margin-top: 2px;
  color: #728e98;
  font-size: 11px;
  font-weight: 600;
}

.e4s-workspace-manage-team-icon-v2 {
  font-size: 18px;
}

.e4s-workspace-manage-team-arrow-v2 {
  margin-left: 4px;
  font-size: 18px;
}

.e4s-workspace-team-fallback-v2 {
  margin: 14px 18px;
}

@media(max-width:640px) {

  .e4s-workspace-manage-team-v2 {
    width: 100%;
    justify-content: space-between;
  }

}

/* END E4S WORKSPACE MEMBERS BUTTON V2 */
