:root {
--clay: #B67951;
--sand: #E5B78A;
--espresso: #643823;
--cream: #F2EAD1;
}



@font-face {
    font-family: "Lexend";
    src: url('/static/fonts/Lexend-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

*{
    font-family: "Lexend";
    /* box-sizing: border-box; */
}

#password_show:hover{
    cursor: pointer;
}
#confirm_password_show:hover{
    cursor: pointer;
}

html, body {
    height: 100%;
}

body {
    /* font-family: 'Work Sans', sans-serif; */
    background: var(--cream);
    /* display: flex;
    align-items: center;
    justify-content: center; */
    color: var(--espresso);
    /* position: relative; */
    overflow-x: hidden;
}


.card {
    width: 450px;
    background: #fff;
    border: 1px solid rgba(100, 56, 35, 0.12);
    border-radius: 18px;
    padding: 40px 25px 25px;
    box-shadow: 0 24px 48px -24px rgba(100, 56, 35, 0.28);
}

.back-home {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
    font-weight: 500;
    color: rgba(100, 56, 35, 0.65);
    text-decoration: none;
    padding: 6px 10px 6px 8px;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.back-home:hover {
    background: rgba(100, 56, 35, 0.08);
    color: var(--espresso);
    text-decoration: none;
}

.back-home svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}


#login-card-top{
    position: relative;
    left: 50%;
}

#login-card-top-image{
    position: fixed;
    width: 120px;

    transform: translateY(-218%);
    z-index: 10;
}




.form{
    margin-bottom: 10px;
}

.field {
    /* width: 100%; */
    /* display: flex;
    flex-direction: column; */
    margin-bottom: 18px;
}

label {
    font-size: 14px;
    /* font-size: 13px;
    font-weight: 500; */
    color: var(--espresso);
}

input {
/* font-family: 'Work Sans', sans-serif; */
    /* font-size: 15px; */
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(100, 56, 35, 0.2);
    background: #FBF7EF;
    color: var(--espresso);
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

input::placeholder {
    color: rgba(100, 56, 35, 0.35);
}

input:focus {
    border-color: var(--clay);
    background: #fff;
}


.remember {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(100, 56, 35, 0.75);
}

.remember input[type="checkbox"] {
    appearance: none;
    width: 15px;
    height: 15px;
    padding: 0;
    border-radius: 4px;
    border: 1px solid rgba(100, 56, 35, 0.35);
    background: #FBF7EF;
    display: inline-block;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.remember input[type="checkbox"]:checked {
    background: var(--clay);
    border-color: var(--clay);
}

.remember input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

a {
    color: var(--clay);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    margin-top: 6px;
    /* font-family: 'Work Sans', sans-serif; */
    font-size: 15px;
    font-weight: 500;
    padding: 13px 14px;
    border: none;
    border-radius: 10px;
    background: var(--clay);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.05s ease;
    width: 100%;
}

button:hover {
    background: var(--espresso);
}

button:active {
    transform: scale(0.98);
}

/* .error {
font-size: 12.5px;
color: #A3402B;
display: none;
}

.error.visible {
display: block;
} */