*,
html,
body {
    font-weight: normal;
}

.register_container {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    & > .main_container {
        width: 75%;
        height: auto;
        position: relative;
        display: flex;
        align-items: stretch;
        flex-wrap: wrap;
        & > .welcome_ {
            /* height: 100%; */
            flex-grow: 1;
            flex-shrink: 1;
            width: 45%;
            background-color: #38b6ff;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            /* circle */
            &::before  {
                content: "";
                position: absolute;
                width: 200px;
                height: 200px;
                background-color: #25f4ee;
                border-radius: 50%;
                bottom: -17%;
                left: -12%;
                opacity: .95;
                /* transform: translateY(-50%); */
            }
            /* parabola */
            &::after {
                content: "";
                position: absolute;
                width: 150px;
                height: 200px;
                background-color: #25f4ee;
                border-top-left-radius: 80px;
                border-top-right-radius: 80px;
                bottom: 90%;
                right: 25px;
                opacity: .95;
                transform: rotate(180deg);
            }
            & > .logo_container {
                width: 100%;
                position: absolute;
                top: 0;
                padding: 5px 10px;
                z-index: 1;
                & > a {
                    text-decoration: none;
                    & > img {
                        height: 50px;
                        position: relative;
                        object-fit: cover;
                    }
                }
            }
            & > .title_content {
                /* height: 400px; */
                width: 100%;
                flex-grow: 1;
                /* padding: 90px 0; */
                /* margin: 20px 0; */
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                & > h2 {
                    font-size: 3.5em;
                    font-family: 'Roboto', sans-serif;
                    color: #000000;
                    text-align: center;
                    margin: 15px 25px;
                    line-height: 2;
                    &::after {
                        content: '';
                        position: absolute;
                        bottom: -5px;
                        left: 50%;
                        transform: translateX(-50%);
                        width: 30%;
                        height: 7px;
                        background-color: #f4f4f4;
                        text-align: center;
                    }
                }
                & > p {
                    color: #ffffff;
                    font-size: 1.2rem;
                    font-family: 'Roboto', sans-serif;
                    font-weight: 350;
                    text-align: center;
                    margin: 15px 25px;
                    padding: 0 45px;
                }
                & > .login_button {
                    margin: 0 auto;
                    width: fit-content;
                    display: flex;
                    height: fit-content;
                    justify-content: center;
                    align-items: center;
                    & > a {
                        margin: 0 auto;
                        padding: 25px 60px;
                        background-color: #f4f4f4;
                        border: none;
                        border-radius: 50px;
                        color: #000000;
                        font-family: "Roboto", sans-serif;
                        font-size: 1.1em;
                        cursor: pointer;
                        text-decoration: none;
                        transition: all .3s ease-in-out;
                        &:hover {
                            background-color: #f4f4f4e0;
                        }
                    }
                }
            }
        }
        & > .form_container {
            flex-grow: 1;
            flex-shrink: 1;
            width: 55%;
            /* display: inline-block; */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            background-color: #f4f4f4;
            & > .title_container {
                height: 120px;
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: center;

                & > h2 {
                    font-size: 3.5em;
                    font-family: 'Roboto', sans-serif;
                    color: #000;
                    text-align: center;
                    padding: 20px;

                    &::after {
                        content: '';
                        position: absolute;
                        bottom: -5px;
                        left: 50%;
                        transform: translateX(-50%);
                        width: 30%;
                        height: 7px;
                        background-color: #38b6ff;
                    }
                }
            }
            & > .hrzntl {
                height: 40px;
                width: 75%;
                display: flex;
                justify-content: center;
                align-items: center;
                margin: 0 auto;
                & > hr {
                    width: 35%;
                    margin: 0 10px;
                }
                & > span {
                    font-family: "Roboto", sans-serif;
                    font-size: 1.2em;
                    color: #000;
                }
            }
            & > .icons {
                height: 60px;
                width: 75%;
                display: flex;
                justify-content: center;
                align-items: center;
                margin: 0 auto;
                padding: 20px;
                & > a {
                    text-decoration: none;
                    & > .fa-linkedin {
                        font-size: 1.5em;
                        color: #0077B5;
                        margin: 0 15px;
                    }
                    & > .fa-google {
                        font-size: 1.5em;
                        color: #000;
                        margin: 0 15px;
                    }
                }
            }
            & > .dscpt {
                padding: 20px;
                margin: 0 auto;
                width: fit-content;
                & > p {
                    font-size: 1.1em;
                    color: #181818;
                }
            }
            & > .form_wrapper { 
                padding: 30px 60px;
                display: flex;
                flex-direction: column;
                justify-content: center;
                & > form {
                    width: 100%;
                    display: flex;
                    flex-direction: column;
                    gap: 20px;
                    & > .input-icon {
                        position: relative;
                        width: fit-content;
                        margin: 0 auto;
                        & > i {
                            position: absolute;
                            top: 50%;
                            left: 20px;
                            transform: translateY(-50%);
                            color: #333;
                            font-size: 1em;
                            z-index: 2;
                            pointer-events: none;
                        }
                        & > input {
                            padding-left: 50px !important;
                            width: 430px;
                            background-color: #ededed;
                            color: #000;
                            border-radius: 10px;
                            border: none;
                            padding: 15px 20px;
                            font-family: "Roboto", sans-serif;
                            outline: none;
                            transition: box-shadow 0.3s ease-in-out;
                            &::placeholder {
                                color: #1d1d1d;
                                font-size: .9em;
                            }
                            &:focus {
                                box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.2);
                            }
                        }
                        & > .container-rm-fgp {
                            display: flex;
                            width: 430px;
                            flex: 1;
                            padding: 0 10px;
                            flex-direction: row;
                            justify-content: space-between;
                            & > .fgp > a,
                            & > .rm > label > span {
                                color: #383838;
                                font-weight: 400;
                                font-size: .9em;
                                font-family: "Roboto", sans-serif;
                                text-decoration: none;
                            }
                        }
                    }
                    & > p {
                        font-size: 0.8em;
                        font-family: "Roboto", sans-serif;
                        color: #ff2929;
                        display: none;
                        &:not(:empty) {
                            display: block;
                        }
                    }
                    & > button[type="submit"] {
                        margin-top: 15px;
                        padding: 20px 70px;
                        font-size: 1.1em;
                        width: fit-content;
                        font-family: "Roboto", sans-serif;
                        background-color: #38b6ff;
                        color: #fff;
                        border: none;
                        border-radius: 50px;
                        cursor: pointer;
                        align-self: center;
                        transition: all 0.3s ease-in-out;
                        &:hover {
                            background-color: #28a5ed;
                        }
                        &:focus {
                            outline: 2px solid #38b6ff;
                            outline-offset: 2px;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 1200px) {
    .register_container {
        & > .main_container {
            width: 90%;
            & > .welcome_ {
                width: 35%;
                & > .logo_container {
                    padding: 5px 15px;
                    & > a {
                        & > img {
                            height: 40px;
                        }
                    }
                }
                & > .title_content {
                    & > h2 {
                        font-size: 2.5em;
                        margin: 10px;
                        line-height: 1.2;
                        &::after {
                            bottom: -7px;
                            height: 5px;
                        }
                    }
                    & > p {
                        margin: 15px 5px;
                        padding: 0;
                    }
                    & > .login_button {
                        & > a {
                            padding: 15px 30px;
                        }
                    }
                }
            }
            & > .form_container {
                width: 65%;
                & > .title_container {
                    & > h2 {
                        font-size: 2.5em;
                        &::after {
                            height: 5px;
                        }
                    }
                }
                & > .dscpt {
                    padding: 10px;
                    & > p {
                        font-size: 1em;
                    }
                }
                & > .form_wrapper { 
                    padding: 10px;
                    & > form {
                        gap: 15px;
                        & > .input-icon {
                            & > i {
                                font-size: .9em;
                            }
                            & > input {
                                padding-left: 50px !important;
                                width: 350px;
                            }
                            & > .container-rm-fgp {
                                width: 350px;
                            }
                        }
                        & > button[type="submit"] {
                            padding: 15px 50px;
                            font-size: 1em;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 768px) {
    .register_container {
        height: auto;
        padding: 20px 10px;
        & > .main_container {
            width: 100%;
            flex-direction: column;
            & > .welcome_ {
                width: 100%;
                padding: 15px 0;
                & > .logo_container {
                    display: none;
                }
                & > .title_content {
                    & > h2 {
                        font-size: 2em;
                        line-height: 1.2;
                        &::after {
                            bottom: -7px;
                            height: 3px;
                        }
                    }
                    & > p {
                        font-size: 1em;
                        padding: 1px 20px;
                    }
                    & > .login_button {
                        & > a {
                            padding: 15px 30px;
                        }
                    }
                }
            }
            & > .form_container {
                width: 100%;
                & > .title_container {
                    & > h2 {
                        font-size: 2em;
                        &::after {
                            height: 3px;
                        }
                    }
                }
                & > .dscpt {
                    padding: 5px;
                    & > p {
                        font-size: .9em;
                    }
                }
                & > .form_wrapper { 
                    padding: 10px;
                    & > form {
                        gap: 10px;
                        & > .input-icon {
                            & > input {
                                padding-left: 50px !important;
                                width: 350px;
                            }
                            & > .container-rm-fgp {
                                width: 350px;
                                padding: 10px 0;
                                flex-direction: column;
                                justify-content: center;
                                & > div {
                                    margin: 5px auto;
                                }
                            }
                        }
                        & > button[type="submit"] {
                            padding: 15px 50px;
                            font-size: 1em;
                            font-weight: 400;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 480px) {
    .register_container {
        & > .main_container {
            & > .form_container {
                & > .form_wrapper { 
                    padding: 10px;
                    & > form {
                        gap: 10px;
                        & > .input-icon {
                            /* & > input {
                                width: 270px;
                            } */
                            & > .container-rm-fgp {
                                width: 270px;
                            }
                        }
                    }
                }
            }
        }
    }
}

.social-login-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  
  .social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    color: #3f4143;
    text-decoration: none;
    position: relative;
    
    &:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    &:active {
      transform: translateY(0);
    }
    
    .social-icon {
      margin-right: 12px;
      font-size: 18px;
      display: flex;
      align-items: center;
    }
    
    .social-text {
      flex: 1;
      text-align: center;
    }
    
    &.google-btn {
      &:hover {
        background-color: rgba(219, 68, 55, 0.05);
      }
      
      .social-icon {
        color: #DB4437;
      }
    }
    
    &.linkedin-btn {
      &:hover {
        background-color: rgba(0, 119, 181, 0.05);
      }
      
      .social-icon {
        color: #0077B5;
      }
    }
  }
}

.icons {
  display: none;
}

.hrzntl {
  display: flex;
  align-items: center;
  margin: 20px 0;
  width: 100%;
  
  hr {
    flex: 1;
    border: none;
    height: 1px;
    background-color: #e1e5e9;
  }
  
  span {
    padding: 0 15px;
    color: #6c757d;
    font-size: 14px;
  }
}

.dscpt {
  margin-bottom: 20px;
  
  p {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .social-login-container {
    .social-login-btn {
      padding: 10px 14px;
      
      .social-text {
        font-size: 13px;
      }
    }
  }
}

.error {
    display: none;
    color: #ff2929;
    font-size: 0.8em;
    font-family: "Roboto", sans-serif;
    padding: 5px;
}

.error:not(:empty) {
    display: block;
}
