
/* MEDIAAD_PROFILE_V2 */

body.md-register-profile{
  min-height:100vh;
  background:
    radial-gradient(circle at 20% 0%,rgba(15,118,110,.10),transparent 30rem),
    radial-gradient(circle at 100% 100%,rgba(194,123,56,.08),transparent 28rem),
    #f5f8f7!important;
}

.md-register-shell{
  width:min(760px,calc(100% - 32px));
  margin:38px auto;
}

.md-register-card,
.md-profile-section{
  border:1px solid #dce7e3;
  border-radius:22px;
  background:#fff;
  box-shadow:0 18px 50px rgba(22,49,40,.07);
}

.md-register-card{
  padding:30px;
}

.md-register-brand{
  margin-bottom:16px;
  color:#17231f;
  font-size:24px;
  font-weight:900;
  letter-spacing:-.7px;
}

.md-register-card h1,
.md-profile-hero h2{
  margin:5px 0 6px;
  color:#17231f;
  font-size:32px;
  letter-spacing:-1px;
}

.md-register-intro,
.md-profile-hero p{
  margin:0;
  color:#71817b;
  line-height:1.6;
  font-size:12px;
}

.md-register-langs{
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  margin:17px 0 4px;
}

.md-register-langs a{
  padding:5px 8px;
  border:1px solid #dce5e2;
  border-radius:8px;
  background:#f6f8f7;
  color:#66756f;
  font-size:9px;
  font-weight:800;
}

.md-register-langs a.active{
  border-color:#a9cec4;
  background:#eaf7f3;
  color:#0b6c62;
}

.md-profile-v2{
  max-width:1020px!important;
}

.md-profile-hero{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:17px;
}

.md-profile-hero>div:first-child{
  max-width:650px;
}

.md-profile-completion{
  min-width:220px;
  padding:14px;
  border:1px solid #dce6e2;
  border-radius:15px;
  background:#fff;
}

.md-profile-completion>span{
  color:#7d8c86;
  font-size:10px;
}

.md-profile-completion>strong{
  float:right;
  color:#0c7166;
  font-size:12px;
}

.md-profile-completion>div{
  clear:both;
  height:7px;
  margin-top:9px;
  border-radius:999px;
  background:#edf2f0;
  overflow:hidden;
}

.md-profile-completion i{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#0f766e,#c27b38);
}

.md-profile-form{
  display:grid;
  gap:14px;
}

.md-profile-section{
  padding:22px;
}

.md-profile-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}

.md-profile-section-head>div{
  display:flex;
  align-items:center;
  gap:9px;
}

.md-profile-section-head span{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#eaf7f3;
  color:#0c7066;
  font-size:9px;
  font-weight:900;
}

.md-profile-section-head h3{
  margin:0;
  color:#1c2c27;
  font-size:17px;
}

.md-profile-section-head em{
  color:#a56f35;
  font-size:9px;
  font-style:normal;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.md-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.md-field{
  display:grid;
  gap:6px;
}

.md-field--wide{
  grid-column:1/-1;
}

.md-field>span{
  color:#52645e;
  font-size:10px;
  font-weight:800;
}

.md-field input,
.md-field select{
  width:100%;
  min-height:43px;
  box-sizing:border-box;
  padding:10px 11px;
  border:1px solid #d5e1dc;
  border-radius:11px;
  background:#fff;
  color:#263630;
  outline:none;
  font:inherit;
  font-size:12px;
}

.md-field input:focus,
.md-field select:focus{
  border-color:#7eb7aa;
  box-shadow:0 0 0 3px rgba(15,118,110,.08);
}

.md-field input[readonly]{
  background:#f6f8f7;
  color:#778680;
}

.md-consent{
  display:flex;
  align-items:flex-start;
  gap:9px;
  padding:14px 15px;
  border:1px solid #dbe6e2;
  border-radius:14px;
  background:#f9fbfa;
  color:#52635d;
  font-size:10px;
  line-height:1.5;
}

.md-consent input{
  width:16px!important;
  height:16px!important;
  flex:0 0 auto;
  margin:1px 0 0!important;
}

.md-profile-note{
  margin:0;
  color:#83908c;
  font-size:10px;
}

.md-profile-savebar{
  display:flex;
  justify-content:flex-end;
  padding:4px 0 18px;
}

.md-primary-submit{
  min-width:190px;
  min-height:44px;
  border:1px solid #0f766e!important;
  border-radius:12px!important;
  background:#0f766e!important;
  color:#fff!important;
  font-weight:850!important;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(15,118,110,.15)!important;
}

.md-primary-submit:hover{
  background:#0c665e!important;
}

.md-form-error{
  padding:12px 14px;
  border:1px solid #edcaca;
  border-radius:12px;
  background:#fff4f4;
  color:#b23f3f;
  font-size:11px;
}

.md-register-card .md-form-error{
  margin:14px 0;
}

.md-profile-note{
  line-height:1.55;
}

.md-auth-foot{
  margin:15px 0 0;
  text-align:center;
  font-size:10px;
}

.md-profile-required-banner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin:0 0 18px;
  padding:14px 16px;
  border:1px solid #f0d6b8;
  border-radius:15px;
  background:#fff9f0;
}

.md-profile-required-banner strong{
  display:block;
  margin-bottom:3px;
  color:#5b4227;
  font-size:12px;
}

.md-profile-required-banner span{
  color:#8c745c;
  font-size:10px;
}

.md-profile-required-banner a{
  flex:0 0 auto;
  padding:8px 11px;
  border-radius:10px;
  background:#c27b38;
  color:#fff!important;
  font-size:10px;
  font-weight:850;
}

@media(max-width:720px){
  .md-form-grid{
    grid-template-columns:1fr;
  }

  .md-field--wide{
    grid-column:auto;
  }

  .md-profile-hero{
    align-items:stretch;
    flex-direction:column;
  }

  .md-profile-completion{
    min-width:0;
  }

  .md-register-card,
  .md-profile-section{
    padding:18px;
  }

  .md-profile-required-banner{
    align-items:flex-start;
    flex-direction:column;
  }

  .md-profile-required-banner a{
    width:100%;
    box-sizing:border-box;
    text-align:center;
  }
}
