/* DHLPORTAL customer login - 2026-10-01.
   Scoped to the login view. Do not load this stylesheet in the shared layout. */
body.dhl-customer-login {
    --dhl-yellow: #ffcc00;
    --dhl-red: #d40511;
    --delivery-body: "Delivery", "Delivery Regular", "Segoe UI", Arial, sans-serif;
    --delivery-heading: "Delivery Condensed", "Delivery Condensed Black", "Delivery", "Arial Narrow", "Liberation Sans Narrow", "Segoe UI", Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    color: #14171b;
    font-family: var(--delivery-body);
    font-size: 16px;
    line-height: 1.5;
    background: #15191f;
    isolation: isolate;
    -webkit-font-smoothing: antialiased;
}
.dhl-customer-login *,
.dhl-customer-login *::before,
.dhl-customer-login *::after { box-sizing: border-box; }
.dhl-customer-login [hidden] { display: none !important; }
.dhl-customer-login::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(110deg, rgba(10, 15, 22, .69), rgba(10, 15, 22, .54)),
        url("../images/basic/bg.jpg") center center / cover no-repeat;
}
.dhl-customer-login .portal-shell {
    min-height: 100vh;
    min-height: 100svh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
}
.dhl-customer-login .portal-stage {
    width: 100%;
    max-width: 1120px;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
    background: #14181e;
}
.dhl-customer-login .stage-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
    min-height: 640px;
    align-items: stretch;
}
.dhl-customer-login .hero-side {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 40px 40px 24px;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(137deg, #ffe685 0%, #ffcc00 27%, #ffcc00 66%, #edbb00 100%);
}
.dhl-customer-login .hero-side::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(125deg, transparent 0 43%, rgba(255, 246, 181, .13) 43% 48%, transparent 48% 100%),
        linear-gradient(125deg, transparent 0 62%, rgba(255, 246, 181, .11) 62% 65%, transparent 65% 100%);
    pointer-events: none;
}
.dhl-customer-login .hero-main,
.dhl-customer-login .hero-footer { position: relative; z-index: 1; }
.dhl-customer-login .hero-brand {
    margin: 0 0 35px;
    padding: 0;
    width: 176px;
    max-width: 55%;
}
.dhl-customer-login .hero-brand img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}
.dhl-customer-login .hero-title {
    font-family: var(--delivery-heading);
    font-weight: 900;
    font-size: clamp(36px, 3.65vw, 52px);
    line-height: 1.01;
    letter-spacing: -.018em;
    margin: 0 0 16px;
    color: #111318;
    overflow-wrap: break-word;
}
.dhl-customer-login .hero-title-brand,
.dhl-customer-login .hero-title-name { display: block; }
.dhl-customer-login .hero-title-brand { color: var(--dhl-red); }
.dhl-customer-login .hero-subtitle {
    font-family: var(--delivery-body);
    max-width: 500px;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #25220d;
}
.dhl-customer-login .hero-highlight {
    width: 92px;
    height: 5px;
    margin: 23px 0 21px;
    border-radius: 20px;
    background: linear-gradient(90deg, #d40511, #fff1a5);
}
.dhl-customer-login .hero-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
    margin-bottom: 32px;
}
.dhl-customer-login .hero-card {
    position: relative;
    min-width: 0;
    padding: 15px 12px 14px 14px;
    border-radius: 14px;
    background: rgba(69, 53, 0, .1);
}
.dhl-customer-login .hero-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    bottom: 1px;
    width: 3px;
    border-radius: 12px;
    background: linear-gradient(180deg, #d40511, #ffeb8c);
}
.dhl-customer-login .hero-card-label {
    margin-bottom: 6px;
    color: #5b4700;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.dhl-customer-login .hero-card-value {
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    color: #19170a;
    overflow-wrap: break-word;
}
.dhl-customer-login .hero-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(63, 48, 0, .12);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
    color: #282309;
}
.dhl-customer-login .login-side {
    min-width: 0;
    display: flex;
    background: linear-gradient(160deg, #24282d 0%, #171b22 48%, #11151b 100%);
    border-left: 1px solid rgba(255, 255, 255, .08);
}
.dhl-customer-login .login-panel {
    width: 100%;
    padding: 58px 44px 38px;
    /* No full-height logo container and no vertical-centering spacer. */
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.dhl-customer-login .login-inner { width: 100%; max-width: 410px; min-width: 0; }
.dhl-customer-login .login-header { margin: 0 0 30px; text-align: left; }
.dhl-customer-login .login-eyebrow {
    color: #ffdb54;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0 0 12px;
}
.dhl-customer-login .login-title {
    font-family: var(--delivery-heading);
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -.01em;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 10px;
}
.dhl-customer-login .login-subtitle {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: #c4c8ce;
    margin: 0;
}
.dhl-customer-login .premium-error {
    margin: 0 0 22px;
    padding: 13px 15px;
    background: rgba(212, 5, 17, .14);
    border: 1px solid rgba(255, 123, 133, .32);
    border-left: 3px solid #ff7e88;
    border-radius: 10px;
    color: #ffd7db;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.dhl-customer-login .premium-error ul { margin: 0; padding-left: 18px; }
.dhl-customer-login .premium-error:empty,
.dhl-customer-login .validation-summary-valid { display: none; }
.dhl-customer-login .form-row-modern { margin: 0 0 20px; text-align: left; }
.dhl-customer-login .required-mark { color: #ff9199; font-weight: 700; }
.dhl-customer-login .login-options { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.dhl-customer-login .login-options .form-check { margin: 0; }
.dhl-customer-login .forgot-password-link { color: #ffdb54; font-size: 13px; text-underline-offset: 3px; }
.dhl-customer-login .forgot-password-link:focus-visible { outline: 2px solid #ffe172; outline-offset: 4px; }
.dhl-customer-login .form-label {
    display: inline-block;
    font-family: var(--delivery-body);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px;
    color: #f7f8fb;
}
.dhl-customer-login .input-wrap { position: relative; }
.dhl-customer-login .input-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
    color: #788497;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dhl-customer-login .input-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.dhl-customer-login .form-control {
    display: block;
    width: 100%;
    min-width: 0;
    height: 56px;
    border-radius: 12px;
    border: 1px solid #d5dbe3;
    background: #f4f6f8;
    color: #17202b;
    font-family: var(--delivery-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    padding: 0 15px 0 46px;
    transition: border-color .15s, box-shadow .15s;
}
.dhl-customer-login .form-control::placeholder { color: #7a8594; opacity: 1; }
.dhl-customer-login .form-control:focus {
    outline: none;
    border-color: #ffcc00;
    box-shadow: 0 0 0 3px rgba(255, 204, 0, .18);
    background: #fffef8;
    color: #17202b;
}
.dhl-customer-login .form-control.input-validation-error { border-color: #ff8d98; }
.dhl-customer-login .password-input { padding-right: 56px; }
.dhl-customer-login .toggle-password {
    position: absolute;
    top: 50%;
    right: 7px;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #687487;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.dhl-customer-login .toggle-password:hover { color: #1a2535; background: rgba(17, 24, 39, .06); }
.dhl-customer-login .toggle-password:focus-visible { outline: 2px solid #b08500; outline-offset: -2px; }
.dhl-customer-login .field-validation-error {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 6px;
    color: #ff9fa7;
}
.dhl-customer-login .field-validation-error:empty,
.dhl-customer-login .field-validation-valid { display: none; }
.dhl-customer-login .form-check {
    min-height: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 1px 0 24px;
}
.dhl-customer-login .form-check .form-check-input {
    float: none;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, .07);
    border: 1px solid #7b828e;
    cursor: pointer;
}
.dhl-customer-login .form-check .form-check-input:checked { background-color: #d40511; border-color: #ef6470; }
.dhl-customer-login .form-check .form-check-input:focus { box-shadow: 0 0 0 3px rgba(255, 204, 0, .22); border-color: #ffcc00; }
.dhl-customer-login .form-check-label { font-size: 14px; font-weight: 400; color: #d2d5da; cursor: pointer; }
.dhl-customer-login .btn-login {
    position: relative;
    display: block;
    width: 100%;
    min-height: 56px;
    border: 1px solid rgba(255, 229, 133, .8);
    border-radius: 12px;
    padding: 14px 18px;
    font-family: var(--delivery-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: #171300;
    background: linear-gradient(105deg, #ffe57b, #ffcc00 58%, #ffc400);
    box-shadow: 0 8px 25px rgba(255, 204, 0, .14);
    cursor: pointer;
    transition: box-shadow .15s, transform .15s;
}
.dhl-customer-login .btn-login:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(255, 204, 0, .23); }
.dhl-customer-login .btn-login:focus-visible { outline: 2px solid #ffe172; outline-offset: 4px; }
.dhl-customer-login .btn-login:disabled { cursor: wait; opacity: .9; transform: none; }
.dhl-customer-login .btn-label,
.dhl-customer-login .btn-loader { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.dhl-customer-login .btn-loader { display: none; }
.dhl-customer-login .btn-login.loading .btn-label { display: none; }
.dhl-customer-login .btn-login.loading .btn-loader { display: inline-flex; }
.dhl-customer-login .spinner-mini {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(23, 19, 0, .22);
    border-top-color: #171300;
    border-radius: 50%;
    animation: portalLoginSpin .7s linear infinite;
}
@keyframes portalLoginSpin { to { transform: rotate(360deg); } }
.dhl-customer-login .login-note {
    margin: 22px 0 0;
    padding-top: 19px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
    color: #9ba3af;
}
.dhl-customer-login .btn-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 30px;
    padding: 5px 22px;
    border: 1px solid #b9bec6;
    border-radius: 7px;
    background: transparent;
    color: #f1f3f6;
    font-family: var(--delivery-body);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: background-color .15s, border-color .15s;
}
.dhl-customer-login .btn-signup:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, .08);
    color: #fff;
    text-decoration: none;
}
.dhl-customer-login .btn-signup:focus-visible { outline: 2px solid #ffe172; outline-offset: 4px; }
@media (pointer: coarse) {
    .dhl-customer-login .btn-signup { min-height: 44px; }
}
@media (max-width: 1080px) {
    .dhl-customer-login .portal-shell { padding: 24px 20px; }
    .dhl-customer-login .hero-side { padding: 34px 28px 24px; }
    .dhl-customer-login .login-panel { padding: 48px 30px 32px; }
    .dhl-customer-login .hero-title { font-size: 42px; }
    .dhl-customer-login .hero-cards { gap: 9px; }
    .dhl-customer-login .hero-card { padding: 13px 10px 12px 12px; }
}
@media (max-width: 900px) {
    .dhl-customer-login .stage-grid { grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr); min-height: 610px; }
    .dhl-customer-login .hero-side { padding: 30px 23px 22px; }
    .dhl-customer-login .hero-brand { width: 160px; margin-bottom: 30px; }
    .dhl-customer-login .hero-title { font-size: 36px; }
    .dhl-customer-login .hero-subtitle { font-size: 14px; }
    .dhl-customer-login .hero-card-label { font-size: 9px; letter-spacing: .035em; }
    .dhl-customer-login .hero-card-value { font-size: 12px; }
    .dhl-customer-login .login-panel { padding: 43px 26px 28px; }
    .dhl-customer-login .login-title { font-size: 38px; }
    .dhl-customer-login .login-eyebrow { letter-spacing: .055em; }
}
@media (max-width: 740px) {
    .dhl-customer-login .portal-shell { padding: 20px 16px; }
    .dhl-customer-login .portal-stage { max-width: 570px; border-radius: 22px; }
    .dhl-customer-login .stage-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .dhl-customer-login .hero-side { padding: 30px 28px 23px; }
    .dhl-customer-login .hero-brand { margin-bottom: 27px; }
    .dhl-customer-login .hero-title { font-size: 42px; }
    .dhl-customer-login .hero-subtitle { font-size: 15px; }
    .dhl-customer-login .hero-card-label { font-size: 10px; }
    .dhl-customer-login .hero-card-value { font-size: 13px; }
    .dhl-customer-login .hero-cards { margin-bottom: 27px; }
    .dhl-customer-login .hero-footer { padding-top: 14px; }
    .dhl-customer-login .login-side { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
    .dhl-customer-login .login-panel { padding: 34px 28px 30px; }
    .dhl-customer-login .login-inner { max-width: none; }
}
@media (max-width: 440px) {
    .dhl-customer-login .portal-shell { padding: 12px; }
    .dhl-customer-login .portal-stage { border-radius: 18px; }
    .dhl-customer-login .hero-side { padding: 27px 24px 20px; }
    .dhl-customer-login .hero-title { font-size: 35px; }
    .dhl-customer-login .hero-subtitle { font-size: 14px; }
    .dhl-customer-login .hero-cards { gap: 8px; }
    .dhl-customer-login .hero-card { padding: 12px 8px 11px 10px; border-radius: 11px; }
    .dhl-customer-login .hero-card-label { font-size: 8px; letter-spacing: .025em; }
    .dhl-customer-login .hero-card-value { font-size: 11px; line-height: 1.35; }
    .dhl-customer-login .login-panel { padding: 30px 24px 26px; }
    .dhl-customer-login .login-title { font-size: 38px; }
}
@media (max-width: 350px) {
    .dhl-customer-login .hero-side,
    .dhl-customer-login .login-panel { padding-left: 20px; padding-right: 20px; }
    .dhl-customer-login .hero-title { font-size: 30px; }
    .dhl-customer-login .hero-cards { grid-template-columns: minmax(0, 1fr); }
    .dhl-customer-login .hero-card-label { font-size: 10px; }
    .dhl-customer-login .hero-card-value { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .dhl-customer-login *,
    .dhl-customer-login *::before,
    .dhl-customer-login *::after { animation: none !important; transition: none !important; }
}

.dhl-customer-login .login-verification-help { margin: -4px 0 18px; font-size: 13px; }
.dhl-customer-login .login-verification-help a { color: #ffdb54; text-underline-offset: 3px; }
