/*//////////////////////////////////////////////////////////////////
[ FONT ]*/

@font-face {
    font-family: Ubuntu-Regular;
    src: url("../fonts/ubuntu/Ubuntu-Regular.ttf");
}

@font-face {
    font-family: Ubuntu-Bold;
    src: url("../fonts/ubuntu/Ubuntu-Bold.ttf");
}

@font-face {
    font-family: JosefinSans-Bold;
    src: url("../fonts/JosefinSans/JosefinSans-Bold.ttf");
}

/*//////////////////////////////////////////////////////////////////
[ RESTYLE TAG ]*/

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

body,
html {
    height: 100%;
    font-family: Ubuntu-Regular, sans-serif;
}

/*---------------------------------------------*/
a {
    font-family: Ubuntu-Regular;
    font-size: 14px;
    line-height: 1.7;
    color: #666666;
    margin: 0px;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
}

a:focus {
    outline: none !important;
}

a:hover {
    text-decoration: none;
    color: #1b3815;
}

/*---------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0px;
}

p {
    font-family: Ubuntu-Regular;
    font-size: 14px;
    line-height: 1.7;
    color: #666666;
    margin: 0px;
}

ul,
li {
    margin: 0px;
    list-style-type: none;
}

/*---------------------------------------------*/
input {
    outline: none;
    border: none;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: none;
    -webkit-appearance: none;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

textarea {
    outline: none;
    border: none;
}

textarea:focus,
input:focus {
    border-color: transparent !important;
}

input::-webkit-input-placeholder {
    color: #1b3815;
}
input:-moz-placeholder {
    color: #1b3815;
}
input::-moz-placeholder {
    color: #1b3815;
}
input:-ms-input-placeholder {
    color: #1b3815;
}

textarea::-webkit-input-placeholder {
    color: #1b3815;
}
textarea:-moz-placeholder {
    color: #1b3815;
}
textarea::-moz-placeholder {
    color: #1b3815;
}
textarea:-ms-input-placeholder {
    color: #1b3815;
}

/*---------------------------------------------*/
button {
    outline: none !important;
    border: none;
    background: transparent;
}

button:hover {
    cursor: pointer;
}

iframe {
    border: none !important;
}

/*//////////////////////////////////////////////////////////////////
[ Utility ]*/
.txt1 {
    font-family: Ubuntu-Regular;
    font-size: 15px;
    color: #999999;
    line-height: 1.4;
}

.txt2 {
    font-family: Ubuntu-Regular;
    font-size: 15px;
    color: #9e322d;
    line-height: 1.4;
}

.txt3 {
    font-family: Ubuntu-Bold;
    font-size: 15px;
    color: #57b846;
    line-height: 1.4;
    text-transform: uppercase;
}

/*//////////////////////////////////////////////////////////////////
[ login ]*/

.limiter {
    width: 100%;
    margin: 0 auto;
}

.container-login100 {
    width: 100%;
    min-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
    position: relative;
    background-color: #fff;
}

.wrap-login100 {
    width: 500px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
    -o-box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
}

/*==================================================================
[ Form ]*/

.login100-form {
    width: 100%;
    position: relative;
    margin-bottom: 3rem;
}

.login100-form-title {
    font-family: JosefinSans-Bold;
    font-size: 30px;
    color: #fff;
    line-height: 1.2;
    text-align: center;

    display: block;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #9e322d;
    padding-top: 50px;
    padding-bottom: 39px;
}

/*------------------------------------------------------------------
[ Input ]*/

.wrap-input100 {
    width: 100%;
    background-color: #fff;
    border-radius: 27px;
    position: relative;
    z-index: 1;
}

.input100 {
    font-family: Ubuntu-Bold;
    font-size: 15px;
    color: #1b3815;
    line-height: 1.2;

    position: relative;
    display: block;
    width: 100%;
    height: 55px;
    background: #ebebeb;
    border-radius: 27px;
    padding: 0 35px 0 35px;
}

/*------------------------------------------------------------------
[ Focus Input ]*/

.focus-input100 {
    display: block;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    border-radius: 31px;
    background-color: #ebebeb;
    pointer-events: none;

    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
}

.input100:focus + .focus-input100 {
    width: calc(100% + 20px);
}

/*------------------------------------------------------------------
[ Button ]*/
.container-login100-form-btn {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.login100-form-btn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    height: 50px;
    background-color: #9e322d;
    border-radius: 25px;

    font-family: Ubuntu-Bold;
    font-size: 15px;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;

    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
}

.login100-form-btn:hover {
    background-color: #1b3815;
}

/*------------------------------------------------------------------
[ Alert validate ]*/

.validate-input {
    position: relative;
}

.alert-validate::before {
    content: attr(data-validate);
    position: absolute;
    z-index: 1000;
    max-width: 70%;
    background-color: #fff;
    border: 1px solid #c80000;
    border-radius: 14px;
    padding: 4px 25px 4px 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 10px;
    pointer-events: none;

    font-family: Ubuntu-Bold;
    color: #c80000;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;

    visibility: hidden;
    opacity: 0;

    -webkit-transition: opacity 0.4s;
    -o-transition: opacity 0.4s;
    -moz-transition: opacity 0.4s;
    transition: opacity 0.4s;
}

.alert-validate::after {
    content: "\f06a";
    font-family: FontAwesome;
    display: block;
    position: absolute;
    z-index: 1100;
    color: #c80000;
    font-size: 16px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 16px;
}

.alert-validate:hover:before {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 992px) {
    .alert-validate::before {
        visibility: visible;
        opacity: 1;
    }
}

/*//////////////////////////////////////////////////////////////////
[ Responsive ]*/
@media (max-width: 576px) {
    .login100-form {
        padding-left: 15px;
        padding-right: 15px;
    }
}

:root {
    --maso-red: #a8322d;
    --maso-gold: #d6ad68;
    --ink: #201b19;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 48px 24px;
    background:
        linear-gradient(120deg, rgba(18, 15, 14, 0.88), rgba(42, 22, 20, 0.8)),
        url("../../assets/img/hero-bg.jpg") center/cover fixed;
}
.login-card {
    width: min(100%, 980px);
    min-height: 570px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}
.login-brand {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 42px;
    color: white;
    background: linear-gradient(
        155deg,
        rgba(120, 34, 31, 0.94),
        rgba(36, 21, 19, 0.97)
    );
}
.login-brand img {
    width: 112px;
    height: auto;
    object-fit: contain;
}
.brand-copy {
    max-width: 330px;
}
.brand-kicker {
    color: var(--maso-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.brand-copy h1 {
    margin: 14px 0;
    font-family: Georgia, serif;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.08;
}
.brand-copy p,
.brand-footer {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.7;
}
.brand-footer {
    font-size: 12px;
}
.login-panel {
    align-items: center;
    padding: 64px clamp(28px, 7vw, 76px);
}
.login-form {
    width: 100%;
}
.login-form h2 {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 700;
}
.login-intro {
    margin: 0 0 34px;
    color: #777;
    line-height: 1.6;
}
.field-label {
    display: block;
    margin: 0 0 8px;
    color: #49413e;
    font-size: 13px;
    font-weight: 700;
}
.login-field {
    width: 100%;
    height: 52px;
    margin-bottom: 22px;
    padding: 0 16px;
    border: 1px solid #e5e0dd;
    border-radius: 9px;
    background: #fbfaf9;
    color: var(--ink);
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
.login-field:focus {
    border-color: var(--maso-red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(168, 50, 45, 0.12);
}
.password-row {
    display: flex;
    justify-content: flex-end;
    margin: -8px 0 26px;
}
.form-return {
    justify-content: center;
    margin: 22px 0 0;
}
.password-row a {
    color: var(--maso-red);
    font-size: 13px;
    font-weight: 700;
}
.login-submit {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 9px;
    background: var(--maso-red);
    color: white;
    font-size: 15px;
    font-weight: 700;
    transition:
        background 0.2s,
        transform 0.2s;
}
.login-submit:hover {
    transform: translateY(-1px);
    background: #882722;
}
.login-submit:focus-visible,
.password-row a:focus-visible {
    outline: 3px solid var(--maso-gold);
    outline-offset: 3px;
}
@media (max-width: 720px) {
    .login-shell {
        padding: 20px 14px;
        background-attachment: scroll;
    }
    .login-card {
        max-width: 480px;
        min-height: 0;
        grid-template-columns: 1fr;
        border-radius: 16px;
    }
    .login-brand {
        min-height: 190px;
        padding: 24px 28px;
    }
    .login-brand img {
        width: 76px;
    }
    .brand-copy {
        margin-top: 20px;
    }
    .brand-copy h1 {
        margin: 8px 0;
        font-size: 29px;
    }
    .brand-copy p,
    .brand-footer {
        display: none;
    }
    .login-panel {
        padding: 34px 28px 38px;
    }
    .login-intro {
        margin-bottom: 26px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
