@import url(https://fonts.googleapis.com/css?family=Open+Sans);

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    text-decoration: none;
}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    width: 100%;
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    background: #F3F4F6;
}

.login-section,
.reg-section {
    display: flex;
    height: 100vh;
    background-color: #591612;
    padding: 20px;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.logo-wrapper img {
    width: 200px;
    height: auto;
}

.login,
.reg {
    display: flex;
    margin: auto;
    background-color: white;
    padding: 35px;
    flex-direction: column;
    gap: 30px;
    border-radius: 4px;
    max-width: 400px;
    width: 100%;
}

.login-form,
.reg-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login h1,
.reg h1 {
    color: #1F2937;
    text-align: center;
}

.login a,
.reg a {
    font-size: 15px;
    color: #1f2937;
}

input {
    width: 100%;
    background: white;
    outline: none;
    padding: 10px;
    font-size: 14px;
    color: black;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    height: 50px;
}

.btn {
    display: flex;
    margin-bottom: 0;
    text-align: center;
    cursor: pointer;
    padding: 9px 14px;
    font-size: 15px;
    line-height: normal;
    border-radius: 5px;
}

.btn-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: end;
}

.btn-primary {
    color: #ffffff;
    background-color: #1F2937;
    width: fit-content;
    border: 1px solid #1f2937;
}

.btn-primary:hover {
    background-color: #ffffff;
    color: #1F2937;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.5);
}

.login-mode-selector {
    position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
  }

  .login-selector {
    width: 100%;
    background: white;
    outline: none;
    padding: 10px;
    font-size: 14px;
    color: black;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    height: 50px;
}
.login-mode-selector::after {
    content: '\25BC';
    position: absolute;
    top: 0;
    right: 0;
    background-color: #1F2937;
    transition: .25s all ease;
    pointer-events: none;
    border-radius: 4px;
    display: flex;
    height: 50px;
    width: 50px;
    justify-content: center;
    align-items: center;
    color: white;
}

  /* extra */
  .error_text{
    font-size: 14px;
    color: red;
  }


@media screen and (max-width: 450px) {

    .login,
    .reg {
        padding: 24px;
    }
}


