/* Custom Admin Login Styles */

html,
body,
input,
select,
textarea,
button,
#header,
#content,
#container,
.module,
.button,
.submit-row {
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

body.login {
    --bg-top: #3f2a26;
    --bg-bottom: #0f0b09;
    --stripe-angle: -45deg;
    --stripe-light: rgba(255, 255, 255, 0.055);
    --stripe-dark: transparent;
    --stripe-width: 325px;
    --stripe-gap: 650px;

    margin: 0;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        repeating-linear-gradient(var(--stripe-angle),
            var(--stripe-light) 0 calc(var(--stripe-width)),
            var(--stripe-dark) calc(var(--stripe-width)) calc(var(--stripe-gap))),
        linear-gradient(180deg, var(--bg-top) 40%, var(--bg-bottom) 85%);
    background-attachment: fixed, fixed, fixed;
}

.login-container {
    width: 100%;
    max-width: 444px;
    padding: 20px;
}

.login-form {
    background: transparent;
    border-radius: 12px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-form h1 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    margin-bottom: 48px;
}

.login-form h2 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    margin: 0px;
}

.login-form img {
    height: 256px;
    width: 256px;
    object-fit: contain;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 16px;
    width: 100%;
}

.form-label {
    display: block;
    color: #fff;
    opacity: 0.9;
    font-size: 13px;
    margin: 0 0 6px;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: calc(100% - 30px);
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: #735752;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

input:focus {
    border-color: rgba(252, 239, 221, 0.45);
    box-shadow: 0 0 0 3px rgba(252, 239, 221, 0.16);
}

input.error,
.form-group:has(.field-error) input {
    border-color: #ff6666 !important;
    box-shadow: 0 0 0 2px rgba(255, 102, 102, 0.25);
}

.field-error {
    color: #ff8080;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
}

.login-button {
    width: 100%;
    max-width: 328px;
    height: 46px;
    margin-top: 248px;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(180deg, #E5436A 0%, #C62E21 100%);
    transition: transform .07s ease, filter .15s ease, box-shadow .15s ease;
    border: 1px solid #fff;
}

.login-button:hover {
    filter: brightness(1.04);
}

.login-button:active {
    transform: translateY(1px);
}

.password-reset-link {
    text-align: center;
    margin-top: 14px;
}

.password-reset-link a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    text-decoration: none;
}

.password-reset-link a:hover {
    color: #fff;
    text-decoration: underline;
}

#header,
#branding,
#footer {
    display: none !important;
}

.login #container,
.login #content {
    background: transparent;
    min-height: 100vh;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw;
    margin: 0 !important;
    padding: 0 !important;
}

.errornote {
    background: transparent;
    border: none;
    color: #ff7b7b;
    padding: 0;
    margin: 8px 0 14px;
    text-align: center;
    font-size: 13px;
}