@font-face {
    font-family: 'OracleSans';
    src: url('../fonts/OracleSans_Lt.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'OracleSans';
    src: url('../fonts/OracleSans_Rg.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'OracleSans_Rg';
    src: url('../fonts/OracleSans_Rg.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

:root {
    --main-green-color: rgba(20, 103, 89, 1);;
}

*, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    min-height: 100%;
    overflow-x: hidden;
    background-color: #f2f2f2;
}

.cont {
    height: 100vh;
    background-color: #f2f2f2;
    overflow-y: auto;
}

.cont > .form {
    min-height: 100%;
}

.container {
    height: 100%;
    max-width: 100%;
    width: 100%;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 12px 0 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid #e1e1e1;
  background-color: #f2f2f2;
}

.footer-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-family: 'OracleSans_Rg', sans-serif;
  font-size: 14px;
  line-height: 1;
  padding-right: 5px;
}

.footer-link {
  color: #146759;
  text-decoration: none;
  font-weight: 400;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-separator {
  color: #C5C5C5;
  font-size: 24px;
}

.footer-text {
  color: #7E7E7E;
  font-weight: 400;
}

label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 290px;
    text-align: center;
}

input[type="checkbox"] {
    width: 8%;
    vertical-align: top;
}


.tooltip {
    width: 100%;
    position: relative;
    display: inline-block;
    /* If you want dots under the hoverable text */
    /* border-bottom: 1px dotted black;  */
    border-width: thin;
    text-align: center;
    font-size: 15px;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #dee0e0;
    color: #4e5052;
    text-align: center;
    padding: 6px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 65%;
    font-size: 12px;
}

/* add a little triangle to it */
.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 50%;
    right: 100%; /* To the left of the tooltip */
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent grey transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}

/* Logivity styles */
* {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #F2F2F2;
    font-family: 'OracleSans', sans-serif;
}

.content-wrapper {
    padding: 0vh 0 !important;
}

/* Login Page Layout */
.login-page {
    width: 1024px;
    padding-top: 15vh;
    margin: 0 auto;
}

/* Logo - outside card, left aligned */
.login-page .header {
    margin-bottom: 15px;
    margin-left: 12px;
}

.login-page .header img {
    height: 26px;
    margin-left: 20px;
    display: block;
}

.login-card {
    background: #f7f7f7;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, .03);
    border-radius: 4px;
    padding: 24px 16px;
    margin: 0 30px;
    clip-path: inset(-20px 0 0 0);
}

/* Title Bar */
.title-bar {
    padding-bottom: 15px;
    border-bottom: 1px solid #E4E4E4;
    margin-bottom: 24px;
}

.title-bar .title {
    font-family: 'Assistant', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #4D4E53;
    margin: 0;
}

/* Form Content */
.form-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.form-group {
    width: 320px;
    position: relative;
}

.forgot-link-wrapper {
    width: 320px;
    text-align: left;
}

#signin-forgot-pass {
    font-family: 'OracleSans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #146759;
    text-decoration: none;
    padding-left: 20px;
}

.forgot-password-hint {
    width: 320px;
    font-family: 'OracleSans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #757575;
    text-align: left;
    margin-top: 8px;
}

.back-link {
    background: none;
    border: none;
    font-family: 'OracleSans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #4D4E53;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-link:hover {
    opacity: 0.8;
}

.back-icon {
    font-size: 20px;
    color: #4D4E53;
}

/* Success page styles */
.success-content {
    text-align: center;
    padding: 24px 0;
}

.success-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.success-icon {
    font-size: 48px;
    color: #146759;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-message {
    font-family: 'OracleSans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #4D4E53;
    max-width: 400px;
    margin: 0 auto;
}

/* 2FA Enrollment styles */
.enrollment-content {
    text-align: center;
    padding: 24px 0;
}

.enrollment-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.enrollment-icon {
    font-size: 48px;
    color: #146759;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enrollment-message {
    font-family: 'OracleSans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #4D4E53;
    max-width: 400px;
    margin: 0 auto;
}

/* 2FA Verify / OTP styles */
.otp-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
}

.otp-info {
    font-family: 'OracleSans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #4D4E53;
    text-align: center;
    max-width: 400px;
}

.otp-message {
    font-family: 'OracleSans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #4D4E53;
    text-align: center;
    max-width: 400px;
}

.code-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 8px 0;
}

.trusted-device-option {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.trusted-device-label {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-family: 'OracleSans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    user-select: none;
}

.trusted-device-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.trusted-device-label span {
    color: #333333;
}

.resend-code {
    font-family: 'OracleSans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

.resend-text {
    color: #4D4E53;
}

.resend-code a {
    color: #146759;
    text-decoration: none;
}

.resend-code a:hover {
    text-decoration: underline;
}

#custom-error-div {
    width: 320px;
    text-align: center;
    display: none;
}

#custom-error-div.d-none {
    display: none !important;
}

#custom-error-div * {
    color: red;
    font-size: 14px;
    line-height: 16px;
}

#custom-error-div i {
    margin-right: 4px;
}

/* Bottom Bar */
.bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid #E0E0E0;
}

.register-text {
    font-family: 'OracleSans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.text-gray {
    color: #4D4E53;
}

.register-link {
    color: #146759;
    text-decoration: none;
}

.button-wrapper button {
    width: 320px;
    height: 48px;
    background: #146759;
    border-radius: 25px;
    border: none;
    font-family: 'OracleSans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #FFFFFF;
    cursor: pointer;
}


.info-icon {
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 5.5rem;
    color: var(--main-green-color);
}

.box-border-top {
    border-top: 1px solid #E1E1E1;
}

.code-inputs {
    margin-bottom: 16px;
}

.code-inputs > input {
    width: 48px;
    height: 48px;
    text-align: center;
    background: #F7F9FB;
    border: 1px solid #D4E0E8;
    border-radius: 4px;
    margin-right: 5px;
}

.code-inputs > input.error {
    border: 1px solid #C30E1D;
}

.code-errors,
.code-errors > i {
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #C40E1D;
}

.title-info {
    font-weight: 400;
    font-size: 1rem;
    color: #4D4E53;
}

.action-text {
    font-size: 0.875rem;
    font-weight: 400;
    color: #4D4E53;
}

.action-text > label {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

/* input */
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
}

.form-group.form-field-error input, .form-group.form-field-error select, .form-group.form-field-error textarea {
    border: 1px solid #D84451;
}

.form-group select, .form-group input {
    height: 48px;
}

.form-group input, .form-group select, .form-group textarea {
    background: #FFFFFF;
    border: 1px solid #D4E0E8;
    border-radius: 4px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 20px;
    font-family: 'OracleSans', sans-serif;
    width: 100%;
    max-width: 320px;
    color: #4D4E53;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    font-size: 14px;
    font-family: 'OracleSans', sans-serif;
}

.form-group .inner-label {
    font-size: 14px;
    font-family: 'OracleSans', sans-serif;
    color: #757575;
    position: absolute;
    pointer-events: none;
    margin: 0;
    left: 1rem;
    top: 13px;
    transition: 0.4s ease all;
    -moz-transition: 0.4s ease all;
    -webkit-transition: 0.4s ease all;
    background-color: transparent;
    width: calc(100% - 2rem);
    padding-top: 4px;
    display: inline-block;
    line-height: 12px;
    text-align: start;
    padding-left: 0.4rem !important;
}

.form-group input:focus ~ .inner-label, .form-group input.not-empty ~ .inner-label, .form-group textarea:focus ~ .inner-label, .form-group textarea.not-empty ~ .inner-label, .form-group select:focus ~ .inner-label, .form-group select.not-empty ~ .inner-label {
    font-size: 0.65rem;
    top: 1px;
    background-color: transparent;
}

/* DO NOT TOUCH IT */
input:autofill ~ .inner-label {
    font-size: 0.65rem;
    top: 1px;
    background-color: transparent;
}

input:-webkit-autofill ~ .inner-label {
    font-size: 0.65rem;
    top: 1px;
    background-color: transparent;
}


.submit {
    background: #146759;
    text-transform: none;
    border-radius: 25px;
    font-family: 'OracleSans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    border: none;
    box-shadow: none;
    width: 320px;
    height: 48px;
    padding: 0;
    flex-shrink: 0;
    color: white;
}

.submit:hover, .submit:active {
    background-color: #0e473d;
    border-color: #0c3c34;
}

.submit.disabled, .submit:disabled {
    background-color: var(--main-green-color);
    border-color: var(--main-green-color);
}

a {
    color: #146759;
    font-size: 14px;
    font-family: 'OracleSans', sans-serif;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


.loader {
    border: 10px solid #ababba;
    border-top: 10px solid var(--main-green-color);
}

