:root {
    --primary-color: #0D9394;
    --secondary-color: #6E6B78;
    --text-color: #444151;
    --placeholder-color: #ACAAB1;
    --error-color: #FF4C51;
    --error-color-secondary: #FFE2E3;
    --font-family: "Public Sans", sans-serif;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
}

.font-size-15 {
    font-size: 15px;
}

.font-size-22 {
    font-size: 22px;
}

.font-size-24 {
    font-size: 24px;
}

.font-weight-300 {
    font-weight: 300;
}

.font-weight-400 {
    font-weight: 400;
}

.font-weight-500 {
    font-weight: 500;
}

.font-weight-700 {
    font-weight: 700;
}

.auth-v1-top-shape,
.auth-v1-bottom-shape {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    color: var(--primary-color);
}

.auth-v1-top-shape {
    inset-block-start: -77px;
    inset-inline-start: -45px;
}

.auth-v1-bottom-shape {
    inset-block-end: -58px;
    inset-inline-end: -58px;
}

.custom-logo-text {
    font-size: 22px;
    font-weight: 700;
}

.custom-title-text {
    font-size: 24px;
    font-weight: 500;
}

.custom-subtitle-text {
    color: var(--secondary-color);
    font-size: 15px;
    font-weight: 400;
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.375rem;
    color: var(--text-color);
    background-color: #FFFFFF;
    background-clip: padding-box;
    border: 1px solid rgba(47, 43, 61, .22);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 6px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
    background-color: #FFFFFF;
    border: 2px solid var(--primary-color);
    outline: 0;
    box-shadow: 0 2px 6px rgba(13, 147, 148, .3);
}

input.form-control::placeholder {
    color: var(--placeholder-color);
}

.animated-placeholder::placeholder {
    color: gray;
    transition: transform 0.3s ease;
}

.animated-placeholder:focus::placeholder {
    transform: translateX(4px);
}

.input-label {
    font-size: 13px;
}

.input-wrapper:focus-within .input-label {
    color: var(--primary-color);
}

.password-wrapper {
    position: relative;
}

.password-wrapper:focus-within .input-label {
    color: var(--primary-color);
}

.password-wrapper .input-label {
    display: block;
    margin-bottom: 5px;
}

.password-wrapper .form-control {
    width: 100%;
    padding-right: 40px;
    box-sizing: border-box;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 68%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    color: #aaa;
}

.toggle-password:hover {
    color: #333;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

.toggle-password svg {
    width: 16px;
    height: 16px;
    color: var(--text-color);
}

.custom-input-size {
    height: 38px;
    width: 100%;
}

.custom-btn-style {
    color: #FFFFFF;
    background-color: var(--primary-color);
    height: 38px;
    width: 100%;
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(13,147,148,.3);
    transition: background-color .135s ease;
}

.custom-btn-style:hover {
    background-color: rgb(12,132,133);
}

.login-card {
    display: flex;
    position: relative;
    justify-content: center;
    box-shadow: 0px 3px 12px 0px rgba(47, 43, 61, 0.14);
    padding: 32px;
    background-color: #FFFFFF;
    border-radius: 6px;
}

@media screen and (min-width: 576px) {
    .login-card {
        padding: 48px;
    }
}

.custom-alert-danger {
    display: flex;
    border: 1px solid var(--error-color);
    border-radius: 6px;
    padding: 12px 16px;
    background-color: #FFFFFF;
}

.alert-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px 6px 4px;
    height: fit-content;
    border-radius: 6px;
    background-color: var(--error-color-secondary);
}

.error-msg {
    padding-left: 8px;
    color: var(--error-color);
}

.error-msg-title {
    font-size: 14px;
    font-weight: 500;
}

.error-msg-subtitle {
    font-size: 12px;
    font-weight: 400;
}
