@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');

select,
input[type="text"],
input[type="password"] {
	border: 1px solid rgba(0, 0, 0, .2);
	border-radius: 10px;
	box-shadow: 0 3px 0 rgba(0, 0, 0, .2);
	font: inherit;
	height: 40px;
	margin: .5em 0 1em;
	outline: none;
	padding: 0;
	text-align: left;
	text-indent: 1em;
}

label.center {
	display: block;
	margin: 1em 0;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

select {
	line-height: 40px;
	padding: .5em 1em;
	text-indent: 0;
  width: 320px;
}

input[type="text"],
input[type="password"],
input[type="submit"].button,
form a.button,
select {
	box-shadow: 0 3px 0 rgba(0, 0, 0, .1);
  display: block;
  width: 318px;
}

select:focus,
input[type="text"]:focus,
input[type="password"]:focus {
	border-color: #2E96D3;
	box-shadow:
    0 3px 0 rgba(0, 0, 0, .2),
    1px 1px 0 #2E96D3 inset,
    -1px 1px 0 #2E96D3 inset,
    1px -1px 0 #2E96D3 inset,
    -1px -1px 0 #2E96D3 inset; /* Hacky, but gets us close to the visual style we're after */
}

label,
fieldset {
	display: block;
	position: relative;
	width: 100%;
}

.has-error select,
.has-error input[type="text"],
.has-error input[type="password"] {
	border-color: #F22F0D !important;
	box-shadow: 0 0 0 #F22F0D !important;
}

input#email_login_button.button.rounded-pill.gradient.btn-login {
    background: linear-gradient(var(--cash-gradient-start), var(--cash-gradient-end));
    border-radius: 50rem !important;
    font-size: 15px !important;
    border: 1px solid;
}

.button.gradient {
    background: linear-gradient(var(--cash-gradient-start), var(--cash-gradient-end));
}

.button.gradient {
    background: linear-gradient(var(--cash-gradient-start), var(--cash-gradient-end));
}

.button.gradient:hover {
    background: linear-gradient(var(--cash-gradient-end), var(--cash-gradient-start));
}

.button {
	-webkit-appearance: none;
	background-color: var(--cash-color, #2d95d3);
	border: 0;
	border-radius: 20px;
	box-shadow: 0 3px 3px rgba(0,0,0,.1);
  -moz-box-sizing: content-box;
  box-sizing: content-box;
	color: white;
	cursor: pointer;
	display: block;
	font: inherit;
	font-size: 18px;
	height: 40px;
  letter-spacing: 1px;
	line-height: 40px;
  margin: 1em auto;
  max-width: 282px;
  padding: 0 1em;
  position: relative;
	text-align: center;
	text-decoration: none;
	transition: background-color .5s;
  white-space: nowrap;
}

a.button:hover {
  text-decoration: none;
}

.button:hover:not(.disabled) {
	background-color: var(--cash-color-dark, #2373a1);
}

.button.white {
	background-color: white;
	border: 1px solid #DDD;
	color: #2E96D3;
}

.button.white:hover {
	background-color: #f2f2f2;
}

.button.black {
	background-color: #333532;
}

.button.black:hover:not(.disabled) {
	background-color: #1a1c1a;
}

.login .container > h1,
.signupemail .container > h1 {
    line-height: 92px;
    letter-spacing: 0.374px;
}

.login .main .container form,
.signupemail .main .container form {
    width:302px;
}

.login .container .button,
.signupemail .container form .button {
    height: 50px;
    width: auto;
    background: #FFFFFF;
    box-shadow: 0 4px 8px rgba(37, 49, 62, 0.16);
    border-radius: 8px;
}

.login .container .button,
.signupemail .container .button {
    width: 302px !important;
    max-width: unset;
    padding: 0;
}

.login .container .button span,
.signupemail .container form .button span {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-left: 16px;
}

.login .container .button.google img,
.signupemail .container form .button.google img {
    position: relative;
    top: 3px;
    height:18px;
}

.login .container .button.google,
.signupemail .container form .button.google {
    color: rgba(0, 0, 0, 0.54);
    font-family: 'Roboto', 'Poppins Regular', sans-serif;
}

.login .container .button.google:hover,
.signup .container form .button.google:hover {
    background-color: #e5e5e5;
}

.signupemail .container form .button.email-signup img {
    position: relative;
    top: 2px;
    height: 15px;
    left:-8px;
}

.login .container .button,
.signupemail .container form .button.email-signup {
    background-color: #138667;
    color: #FFFFFF;
}

.login .container .button:hover,
.signupemail .container form .button.email-signup:hover {
    background-color: #0D604A;
}

.login form label,
.signupemail form label {
    text-transform: uppercase;
    font-weight: 600;
    line-height: 24px;
}

.signupemail form label select,
.signupemail form label span {
    text-transform: none;
    font-weight: 400;
}

.login form label input,
.signupemail form label input,
.signupemail form label select {
    text-transform: none;
    font-weight: 400;
    border: 2px solid #E8EAEB;
    border-radius: 4px;
    box-shadow: none;
    width: 302px;
}

.signupemail form label select {
    appearance: none;
    padding-top: 0;
}

.select-wrapper:after {
    content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z'/></svg>");
    width: 1.3em;
    height: 1.5em;
    top: 2.4em;
    right: 1em;
    position: absolute;
}

.login form label input:focus,
.signupemail form label input:focus,
.signupemail form label select:focus {
    border: 2px solid #138667;
    box-shadow: none;
}

.recaptcha-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.forgot-password {
    font-weight: 600;
    text-align: center;
    font-size: 14px;
    line-height: 21px;
    padding-top: 22px;
    padding-bottom: 35px;
}

.signup-text {
    font-size: 14px;
    line-height: 21px;
    color: #25313E;
    width: 302px;
}

.button.logging-in {
    display: none;
}

.button.large {
  display: block;
  width: 320px;
}

.button.disabled {
	opacity: 0.5;
}

a.button {
	text-decoration: none;
}

.button.next {
  border-radius: 10px 0 0 10px;
}

.button.prev {
  border-radius: 0 10px 10px 0;
}

.button.next:before,
.button.next:after,
.button.prev:before,
.button.prev:after {
  border-bottom-color: transparent;
  border-style: solid;
  border-top-color: transparent;
  border-width: 20px;
  content: '\00A0';
  display: block;
  height: 0;
  position: absolute;
  width: 0;
}

.button.next:before,
.button.next:after {
  border-right-color: transparent;
  left: 100%;
}

.button.prev:before,
.button.prev:after {
  border-left-color: transparent;
  right: 100%;
}

.button.next:after,
.button.prev:after {
  top: 0;
	transition: border-color .5s;
}

.button.next:before,
.button.prev:before {
  top: 3px;
}

.button.next:after {
  border-left-color: #2d95d3;
}

.button.next:hover:not(.disabled):after {
  border-left-color: #2373a1;
}

.button.prev:after {
  border-right-color: #2d95d3;
}

.button.prev:hover:not(.disabled):after {
  border-right-color: #2373a1;
}

.button.next:before {
  border-left-color: rgba(0, 0, 0, .2);
}

.button.prev:before {
  border-right-color: rgba(0, 0, 0, .2);
}

button.mobile {	display: none }

@media (max-width: 767px) {
	button.desktop {	display: none }
	button.mobile {	display: block }
}

input#branch_referral_link {
    display: none;
}

i.bi-eye {
    /* SVG from Bootstrap (https://icons.getbootstrap.com/icons/eye/) */
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye" viewBox="0 0 16 16"><path d="M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z"/><path d="M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z"/></svg>');
    width: 1.3em;
    height: 1.5em;
    cursor: pointer;
    user-select: none;
}

.login i.bi-eye,
.signupemail i.bi-eye {
    position: absolute;
    top: 2.6em;
    right: 1em;
}

i.bi-eye-slash {
    /* SVG from Bootstrap (https://icons.getbootstrap.com/icons/eye-slash/) */
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye-slash" viewBox="0 0 16 16"><path d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7.028 7.028 0 0 0-2.79.588l.77.771A5.944 5.944 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.134 13.134 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755-.165.165-.337.328-.517.486l.708.709z"/><path d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829l.822.822zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829z"/><path d="M3.35 5.47c-.18.16-.353.322-.518.487A13.134 13.134 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7.029 7.029 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12-.708.708z"/></svg>');
    width: 1.3em;
    height: 1.5em;
    cursor: pointer;
    user-select: none;
}

.login i.bi-eye-slash,
.signupemail i.bi-eye-slash {
    position: absolute;
    top: 2.6em;
    right: 1em;
}

i.icon-eye {
    content: url("/img/icon_eye.svg");
}

i.icon-eye-slash {
    content: url("/img/icon_eye_slash.svg");
}

i.icon-eye, i.icon-eye-slash {
    width: 1.1em;
    height: 1.5em;
    cursor: pointer;
    user-select: none;
    position: absolute;
    top: 2.6em;
    right: 0.7em;
}
