@font-face{font-family:"Open Sans";src:url('../fonts/OpenSans.ttf') format('truetype');font-weight:400}
@font-face{font-family:"Montserrat";src:url('../fonts/Montserrat-Light.ttf') format('truetype');font-weight:200}
@font-face{font-family:"Montserrat";src:url('../fonts/Montserrat-Regular.ttf') format('truetype');font-weight:400}
@font-face{font-family:"Montserrat";src:url('../fonts/Montserrat-Bold.ttf') format('truetype');font-weight:700}
@font-face{font-family:"Montserrat";src:url('../fonts/Montserrat-Black.ttf') format('truetypef');font-weight:900}
@font-face{font-family:"Inter";src:url('../fonts/Inter-Regular.otf') format('opentype');font-weight:400}

/* Inter шрифт добавить */
*,*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --main-green: #148B50;
    --dark-green: #023538;
    --middle-green: #075F4D;
    --black: #333;
    --white: #fff;
    --red: #af0404;
    --trans: .2s;
}
body {
    min-width: 350px;
    min-height: 100vh;
    font-family: "Open Sans";
}
h2 {
    width: fit-content;
    margin-bottom: 20px;
    font-family: 'Open Sans';
    font-weight: 700;
    font-size: 24px;
    color: var(--dark-green);

  }
  .mt-40 {
    margin-top: 40px;
  }
.mb-60 {
    margin-bottom: 60px;
}
#profile-page {
    min-height: 100vh;
    max-width: 1920px;
    display: flex;
    align-items: stretch;

}
#profile-page header {
    max-width: 500px;
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #023538;
}
#profile-page header #logo {
    max-width: 250px;
    max-height: 250px;
}
#profile-page header #logo img {
    max-width: 250px;
    max-height: 250px;
    width: 100%;
    height: auto;
}
#profile-page main {
    width: 100%;
    margin: 0 10%; 
    /* display: flex;
    align-items: center; */
    position: relative;
}
/* .tab{
    padding: 30px 0;
} */
#content-container {
    max-width:600px;
    width: 100%;
    position: absolute;
    top: 30%;
}
#content-container {}
#content-container nav {
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}
.nav-a {
    margin: 0 30px 0 0;
    display: flex;
    font-family: 'Open Sans';
    font-weight: 700;
    font-size: 24px;
    color: var(--dark-green);
    border-bottom: 2px solid transparent;
    text-decoration: none;
    transition: border-color var(--trans);
    -webkit-transition: border-color var(--trans);
    -moz-transition: border-color var(--trans);
    -ms-transition: border-color var(--trans);
    -o-transition: border-color var(--trans);
}
/* .nav-a:hover, */
.nav-a.active {
    border-bottom-color:  var(--dark-green);
}
.tab {display: none;}
.tab.active {display: flex;}
.tab form {
    width: 100%;
}
.tab form .form-field {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}
.tab form .form-field.m-0 {
    margin: 0;
}
.tab form .form-field label {
    max-width: 145px;
    width: 100%;
    font-family: 'Open Sans';
    font-weight: 400;
    font-size: 16px;
    color: #555555;
    
}
.tab form .form-field label sup a {
    color: var(--dark-green);
    text-decoration: none;
    font-size: 10px;
}
.tab form .form-field input {
    max-width: 320px;
    width: 100%;
    height: 32px;
    padding: 5px;
    border: 1px solid #46A084;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}
#submit-btn,
#submit-second-btn {
    min-width: 200px;
    width: fit-content;
    height: 54px;
    margin-top: 60px;
    padding: 15px 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    color: var(--white);
    font-size: 18px;
    font-weight: bold;
    background-color: var(--dark-green);
    transition: opacity var(--trans);
    -webkit-transition: opacity var(--trans);
    -moz-transition: opacity var(--trans);
    -ms-transition: opacity var(--trans);
    -o-transition: opacity var(--trans);
    cursor: pointer;
    text-decoration: none;
}
#submit-btn:hover,
#submit-second-btn:hover {
    opacity: 0.8;
}
.tab form .form-field {}

.tab form .form-field  input[type="checkbox"]#agreement {
    /* width: 16px;
    height: 16px; */
    width: 1px;
    height: 1px;
    margin-bottom: 16px;
}
.tab form .form-field label[for="pass"] {
    height: 22px;
}
#register .form-field label[for="pass"] {
    padding-top: 3px;
}
.tab form .form-field label[for="agreement"] {
    max-width: unset;
    font-size: 14px;
    
}
.tab form .form-field label[for="agreement"] a {
    color: #46A084;
    font-style: italic;
}
/* #custom-checkbox input[type="checkbox"] {
    display: none;
  } */
  .tab form .form-field #custom-checkbox {
      width: 16px;
      height: 16px;
      margin-right: 15px;
    display: inline-block;
    position: relative;
    border: 1px solid #46A084;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.3s ease;
  }
  #custom-checkbox:hover {
    border-color: #46A084;
  }
  .tab form .form-field input[type="checkbox"]:checked + .checkmark::after {
    width: 6px; 
    height: 12px; 
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border: solid #46A084;
    border-width: 0 2px 2px 0; 
    transform: translate(-50%, -70%) rotate(45deg); 
  }

  .tab form .form-field input[type="checkbox"]:checked + .checkmark {
    border-color: #46A084; 
    background-color: #46A084;
  }
  #form-field-empty-left {
        padding-left: 145px;
        display: grid;
        grid-template-columns: 15px 1fr;
        column-gap: 15px;
  }
  .tab#form-field-empty-left [for="agreement"]  {
    max-width: unset;
    width: 100%;
  }
  
  #confirmation p {
    margin-bottom: 40px;
    color: #555555;
    font-weight: 400;
    font-size: 16px;

  }
  form .double-btn-wrapper {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
    }
    form .double-btn-wrapper .form-btn:first-child {
        margin-right: 15px;
    }
    form .double-btn-wrapper .form-btn {}
    .response-container:not(:empty) {
        padding-top: 30px;
    }
    .response-container .response__p {
        width: fit-content;
        margin-bottom: 5px;
        padding: 5px 10px;
        font-size: 14px;
        font-weight: bold;
        color: #fff;
        background-color: grey;
    }
    .response-container .response__p.green {
        background-color: var(--main-green);
    }
    .response-container .response__p.red {
        background-color: var(--red);
    }
    #recovery-btns {
        margin-top: 50px;
    }
    #recovery-btns .form-btn {margin: 10px 0;}
    #recovery-btns .form-btn:first-child {margin-right: 15px;}
@media screen and (max-width: 1200px) {
    #profile-page header {
        max-width: 300px;
    }
}
@media screen and (max-width: 998px) {
    #profile-page {
        flex-direction: column;
    }
    #profile-page header {
        max-width: unset;
        width: 100%;
        height: 70px;
        /* margin-bottom: 30px; */
        padding: 5px 20px;
        justify-content: flex-start;
    }
    #profile-page header #logo img {
        width: 60px;
        height: 60px;
    }
    #profile-page main {
        min-height: calc(100vh - 70px);
        height: fit-content;
        width: auto;
        /* width: fit-content; */
        margin: 0 20px;
    }
    
    #content-container {
        top: 20%;
    }
    #content-container nav {
        max-width: unset;
        margin-bottom: 20px;
    }
    .tab form #form-field-empty-left {
        padding-left: 0;
        flex-direction: row;
        align-items: center;
    }
    .tab form .form-field {
        margin-bottom: 15px;
        flex-direction: column;
        align-items: flex-start;
    }
    .tab form .form-field label {
        margin-bottom: 5px;
    }
    #submit-btn,
    #submit-second-btn {
        margin-top: 30px;
    }
    form .double-btn-wrapper {
        margin-top: 60px;
        /* padding: 20px 0; */
    }
    form .double-btn-wrapper .form-btn {
        /* width: 250px; */
        /* margin: 0 0 15px 0; */
    }
    #submit-btn, #submit-second-btn {
        width: 250px;
        margin: 0 0 15px 0;
    }
}
@media screen and (max-width: 768px) {
    
}
@media screen and (max-width: 500px) {
    #content-container {
        top: 10%;
    }
    /* #profile-page header {
        min-width: 100px;
        padding: 5px;
    } */



}