@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
     /* font-weight: normal; */
    font-family: "Montserrat", sans-serif;
}

h1{    font-size:clamp(1rem, 6vw, 1.5rem);font-weight: 400; line-height: 30px;}
h2, h3, h4{font-weight: normal;}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
       font-size: 14px;    
       color: #1d2939;
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input, textarea, select {
    font-size: 16px;
}
a{text-decoration: none; transition: all .3s; font-weight: 500; color: #000;}
a:hover {
    color: #6950f3;
}
.success-msg{    margin: 15px 0;
    font-size: 14px;
    }
 .alert-danger{    background: #ffebeb;
    padding: 15px;
    margin: 20px 0 0 0;
    border-radius: 10px;
    text-align: center;}   
.alert-success{    background: #ebffef;
    padding: 15px;
    margin: 20px 0 0 0;
    border-radius: 10px;
    text-align: center;
    line-height: 22px;}
.input-code{     display: block;
    margin: 0 auto 1em auto;
    border: none;
    padding: 0px;
    width: 9ch;
    background: repeating-linear-gradient(90deg, dimgrey 0, dimgrey 1ch, transparent 0, transparent 1.5ch) 0 100% / 9ch 2px no-repeat;
    font: 5ch droid sans mono, consolas, monospace;
    letter-spacing: 0.5ch;}
      .input-code:hover {
 border: none!important;
}
  .input-code:focus {
  outline: none;
  color: dodgerblue;
}
/* login */
.login{
    display: flex;
    justify-content: center;
    /* height: 100vh; */
    padding: 35px;
    margin: 5% 0;
}
.logo{
    width: 150px;
    height: auto;
    margin: 0 auto 0 auto;
        display: block;
}
.login h1{    font-size: clamp(1rem, 7vw, 2rem);
    font-weight: 500;
   }
.login-form {
    width: 450px;
    max-width: 100%;
}
.login-sub{margin: 10px 0 20px 0; }
.login-sub a{font-weight: 400;}

.login-form form {
    margin: 50px 0 15px 0;
    font-size: 14px;
    padding: 0 0 10px 0;
}
.login-form label{
        line-height: 40px;

    display: block;
}
.remember-me{
        margin: 0px 0;
    display: flex;
    align-items: center;
        gap: 10px;
}
.remember-me label{margin-bottom: 0; cursor: pointer;}

.login-form input:hover {
    /* box-shadow: 0 0 10px #dbdbdb; */
        border: 1px solid #515151;
}
.two-col{display: flex;
    align-items: center;
    justify-content: space-between;}
.login-form button{   
border-radius: 50px;
    cursor: pointer;
    padding: 15px 0;
    width: 100%;
    border: 1px solid #fff;
    color: #fff;
    margin: 35px 0 0 0;
    transition: all .3s;
    font-size: 16px;
    font-weight: 500;
}
.login-form button:hover{box-shadow: 0 1px 20px #8f8f8f;   }
.login-form a{text-decoration: none; color: #000; font-size: 14px;    font-weight: 600;}
.login-form a:hover{color: #f5811e;}
.center{text-align: center;}
.back a{
    margin-top: 20px;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.down-register{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
        flex-direction: column;
}
.register-button{
        border-radius: 50px;
    cursor: pointer;
    padding: 15px 0;
    width: 100%;
    border: 1px solid #a1a1a1;
    margin: 0 0 100px 0;
    transition: all .3s;
    font-size: 14px;
    text-align: center;
}
.register-button:hover{ border: 1px solid #f5811e;}
.color-5{        background:linear-gradient(-45deg, #000000, #000000, #873e00, #783700, #cb6105, #000000, #000000);
    background-size: 400% 400%;
    animation: gradient 5s ease infinite;
    border: 0px;
 }

 .login-form select {
    padding: 15px 5px 15px 50px;
    background-position: 13px 12px;
    background-color: #f7f7f7;
    border: 1px solid #efefef;
    border-radius: 10px;
    transition: all .3s;
    width: 100%;
}
/*  */
.grid {
    display: grid;
 
    grid-template-columns: 1fr auto 1fr;
    align-items: center; 
    gap: 16px;           
    width: 100%;        
}

.h-px {
    height: 1px;
    background-color: #ccc; 
    border: none;
}

.or {
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    font-family: sans-serif;
}
.error{    color: red;
    text-align: center;
    margin: 20px 0;
    background: #fdf0f0;
    padding: 10px 0;
    border-radius: 5px;}
/*  */
.input-login{
    padding: 15px 5px 15px 50px;

    border: 1px solid #efefef;
    border-radius: 10px;
    transition: all .3s;
    width: 100%;
}
.name {
    background: url(/main/icons/login.png) no-repeat center left;
        margin: 0 0 25px 0;
        background-position: 13px 14px;
    background-color: #f7f7f7;
}
.email {
    background: url(/main/icons/mail.png) no-repeat center left;
        margin: 0 0 25px 0;
        background-position: 13px 14px;
    background-color: #f7f7f7;
}
.pass {
    background: url(/main/icons/pass.png) no-repeat center left;
     margin: 0 0 10px 0;
     background-position: 13px 14px;
    background-color: #f7f7f7;
}
.pen {
    background: url(/main/icons/pen.png) no-repeat center left;
        margin: 0 0 0 0;
        background-position: 13px 14px;
    background-color: #f7f7f7;
}
.remember{padding: 3px; border: 1px solid #333; border-radius: 2px;}
    /**/
  
    @keyframes gradient {
        0% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
        100% {
            background-position: 0% 50%;
        }
    }