﻿
/* herrco.css */
body.anonymous.gradient-bg.identity-page.herrco-portal-ui {
    background: url('/img/login.png') left center / cover no-repeat;
    background-color: #FFF; /* optional fallback */
}

body.authenticated.gradient-bg.identity-page.herrco-portal-ui {
    background: url('/img/login.png') left center / cover no-repeat;
    background-color: #FFF; /* optional fallback */
}


.header.d-none.d-sm-none.d-md-block.position-absolute.w-100 {
    display: none !important;
}

.herrco-portal-ui button.btn.btn-primary.w-100[type="submit"] {
    display: flex;
    padding: var(--Padding-sm, 12px) var(--Padding-2xl, 32px);
    justify-content: center;
    align-items: center;
    gap: var(--Spacing-xs, 8px);
    border-radius: var(--Border-Radius-pill, 10000000000px);
    background: var(--Colour-Surface-button-default, #004B38);
    color: var(--Colour-Text-white, #FFF);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
}

.herrco-portal-ui a.btn.btn-link.p-0.text-md.float-end.text-blue[href="/forgot-password"] {
    color: var(--Colour-Text-main, #004B38);
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px; 
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.sign-in.m-auto .mb-3 {
    margin-bottom: 1.5rem !important;
}

.login-welcome-message {
    position: relative;
    margin: 0 0 1.5rem;
    padding: 1.125rem 1.375rem 1.125rem 1.5rem;
    border-radius: 14px;
    overflow: hidden;
}

.login-welcome-message::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: 14px 0 0 14px;
}

.login-welcome-message p {
    position: relative;
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.login-welcome-message p + p {
    margin-top: 0.875rem;
    font-weight: 500;
}

.herrco-portal-ui .login-welcome-message {
    border: 1px solid rgba(0, 75, 56, 0.1);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.72) 0%,
        rgba(0, 75, 56, 0.05) 100%
    );
    /* box-shadow:
        0 4px 20px rgba(0, 75, 56, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.85); */
    color: #1a3d34;
}

.herrco-portal-ui .login-welcome-message::before {
    background: linear-gradient(180deg, #004b38 0%, rgba(0, 75, 56, 0.45) 100%);
}

.herrco-portal-ui .login-welcome-message p + p {
    color: #004b38;
}

.herrco-backoffice-ui .login-welcome-message {
    border: 1px solid rgba(25, 89, 134, 0.12);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.72) 0%,
        rgba(25, 89, 134, 0.06) 100%
    );
    /* box-shadow:
        0 4px 20px rgba(25, 89, 134, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.85); */
    color: #1a4566;
}

.herrco-backoffice-ui .login-welcome-message::before {
    background: linear-gradient(180deg, #195986 0%, rgba(25, 89, 134, 0.45) 100%);
}

.herrco-backoffice-ui .login-welcome-message p + p {
    color: #195986;
}

body .header-logo {
    height: 100px !important;
}

body.identity-page .header-logo img {
    height: 80px !important;
}


body.identity-page.herrco-portal-ui .links a {
    color: var(--Colour-Text-main, #004B38) !important;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

body.identity-page.herrco-portal-ui .footer .links a {
    border-right: 2px solid var(--Colour-Text-main, #004B38) !important;
}

body.identity-page .footer .links a:last-of-type {
    border-right: none !important;
}

body.identity-page .footer .copyright {
    color: var(--Colour-Text-global, #000) !important;
}



/* herrco backoffice.css */
body.anonymous.gradient-bg.identity-page.herrco-backoffice-ui {
    background: url('/img/login-backoffice.png') left center / cover no-repeat;
    background-color: #FFF; /* optional fallback */
}

body.authenticated.gradient-bg.identity-page.herrco-backoffice-ui {
    background: url('/img/login-backoffice.png') left center / cover no-repeat;
    background-color: #FFF; /* optional fallback */
}


.herrco-backoffice-ui button.btn.btn-primary.w-100[type="submit"] {
    display: flex;
    padding: var(--Padding-sm, 12px) var(--Padding-2xl, 32px);
    justify-content: center;
    align-items: center;
    gap: var(--Spacing-xs, 8px);
    border-radius: var(--Border-Radius-pill, 10000000000px);
    background: var(--Colour-Surface-button-default, #195986);
    color: var(--Colour-Text-white, #FFF);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
}

.herrco-backoffice-ui a.btn.btn-link.p-0.text-md.float-end.text-blue[href="/forgot-password"] {
    color: var(--Colour-Text-main, #195986);
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px; 
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

body.identity-page.herrco-backoffice-ui .links a {
    color: var(--Colour-Text-main, #195986) !important;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

body.identity-page.herrco-backoffice-ui .footer .links a {
    border-right: 2px solid var(--Colour-Text-main, #195986) !important;
}