@font-face {
    font-family: "PostNL";
    src: url("postnlweb-light-webfont.woff2") format("woff2"),
         url("postnlweb-light-webfont.woff") format("woff"),
         url("postnlweb-light-webfont.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PostNL";
    src: url("postnlweb-regular-webfont.woff2") format("woff2"),
         url("postnlweb-regular-webfont.woff") format("woff"),
         url("postnlweb-regular-webfont.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PostNL";
    src: url("postnlweb-regular-webfont.woff2") format("woff2"),
         url("postnlweb-regular-webfont.woff") format("woff"),
         url("postnlweb-regular-webfont.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PostNL";
    src: url("postnlweb-medium-webfont.woff2") format("woff2"),
         url("postnlweb-medium-webfont.woff") format("woff"),
         url("postnlweb-medium-webfont.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PostNL";
    src: url("postnlweb-bold-webfont.woff2") format("woff2"),
         url("postnlweb-bold-webfont.woff") format("woff"),
         url("postnlweb-bold-webfont.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family:'Font Awesome 5 Free';
    font-style:normal;
    font-weight:400;
    src:url("fa-regular-400.eot");
    src:url("fa-regular-400.eot?#iefix") format("embedded-opentype"), 
    url("fa-regular-400.woff2") format("woff2"), 
    url("fa-regular-400.woff") format("woff"), 
    url("fa-regular-400.ttf") format("truetype"), 
    url("fa-regular-400.svg#fontawesome") format("svg");
}
@font-face {
    font-family: "ABC ROM";
    font-weight: 700;
    src: url(ABCROM-Bold.woff2);
}
@font-face {
    font-family: "Hanken Grotesk";
    font-weight: 400;
    src: url(Hanken-Grotesk.woff2);
}
:root {
    --primary-blue: #001A73;
    --accent-orange: #ed8c00;
    --button-blue: #6161FF;
    --text-dark: #1F1E2F;
    --text-gray: #67687F;
    --error-red: #d70036;
    --link-blue: #4E4EE2;
    --bg-light: #f4f4f4;
    --postnl-blue: #001A73;
    --postnl-light-blue: #6161FF;
    --postnl-hover-blue: #4E4EE2;
    --postnl-orange: #ed8c00;
    --postnl-red: #d70036;
    --text-main: #1F1E2F;
    --text-secondary: #67687F;
    --bg-gray: #f5f5f5;
    --border-gray: #67687F;
}

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

body {
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

.login-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.main-header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 9px 13%;
    min-height: calc(100% - 90rem);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left, .header-right {
    flex: 1;
}

.header-right {
    display: flex;
    justify-content: flex-end;
}

.top-logo {
    height: 55px;
    width: 55px;
    display: block;
}

.cancel-link {
    font-family: 'Hanken Grotesk', sans-serif;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ed8c00;
    text-decoration: none;
    transition: color .1s linear;
    font-weight: 500;
}
.cancel-link:hover {
    color: #66728a;
    text-decoration: none;
}
/* Main Container */
.login-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.login-card {
    background: #fff;
    width: 100%;
    max-width: 930px;
    padding: 45px 20px;
    min-height: calc(100% - 11rem);
    border-radius: 8px 8px 0 8px;
    margin-bottom: 1rem;
}

.card-content {
    max-width: 42%;
    margin: 0 auto;
}

.illustration-box {
    margin-bottom: 0px;
}

.hero-image {
    width: 144px;
    height: 144px;
}

.login-title {
    font-family: 'ABC ROM', 'Hanken Grotesk', sans-serif;
    color: var(--primary-blue);
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 40.2px;
    margin-bottom: 40px;
}

/* Forms */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 8px;
    position: relative;
    width: 100%;
}

.form-label {
    font-family: 'Hanken Grotesk', sans-serif;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 600;
    line-height: 19.2px;
    display: block;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    border: 1px solid var(--text-gray);
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 1rem;
    height: 2.5rem;
    padding: 0 35px 0 10px;
    border-radius: 4px;
    background: #fff;
    line-height: 1.5rem;
    -webkit-appearance: none;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: var(--button-blue);
}

.form-input.invalid {
    border-color: var(--error-red);
}

.toggle-password {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Hanken Grotesk', sans-serif;
    color: var(--link-blue);
    font-size: 16px;
    font-weight: 700;
    padding: 0;
    padding-bottom: 5px;

}

.toggle-password img {
    width: 24px;
    height: 24px;
}

.error-message {
    display: none;
    font-size: .875rem;
    line-height: 1.43;
    font-weight: 300;
    color: var(--error-red);
    float: left;
    width: 100%;
    margin: .5rem 0;
    text-align: left;
    margin-bottom:15px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    width: 100%;
}
input[name="email2"]{display: none;}
.custom-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--button-blue);
    cursor: pointer;
}

.checkbox-group label {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    cursor: pointer;
}

.postnl-error_message::before {
    content: url(attention_red.svg);
    position: absolute;
    margin-left: -2rem;
    max-height: 3rem;
}
.btn-primary {
    width: 100%;
    font-family: 'Hanken Grotesk', sans-serif;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    background: var(--button-blue);
    border-radius: 4px;
    line-height: 22.4px;
    border: none;
    padding: 12px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.divider span {
    padding: 0 10px;
    color: #67687F;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
}

.btn-secondary {
    width: 100%;
    background: #fff;
    border: 1px solid var(--button-blue);
    color: var(--button-blue);
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}

.btn-secondary:hover {
    text-decoration: underline;
}

.btn-icon {
    width: 16px;
}

.forgot-password {
    display: block;
    text-align: center;
    color: var(--link-blue);
    text-decoration: none;
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.forgot-password:hover {
    text-decoration: underline;
}
.wait-title {
    color: var(--primary-blue);
    font-size: 28px;
    font-weight: 700;
    margin: 24px 0 12px;
    font-family: PostNL,sans-serif;
}

.wait-text {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
    font-family: 'Hanken Grotesk', sans-serif;
}

.highlight {
    color: var(--primary-blue);
    font-weight: 700;
}

.loader-wrapper {
    margin-bottom: 20px;
}

.spinner {
    width: 60px;
    height: 60px;
    position: relative;
    margin: 0 auto;
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--button-blue);
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    animation-delay: -1.0s;
    background-color: var(--primary-blue);
}

@keyframes sk-bounce {
    0%, 100% { transform: scale(0.0); }
    50% { transform: scale(1.0); }
}

.loader {
  --color-1: #6161FF;
  --size: 1px;
  width: calc(48 * var(--size));
  height: calc(48 * var(--size));
  border: calc(5 * var(--size)) solid var(--color-1);
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 400;
}

.status-icon {
    width: 18px;
    height: 18px;
}

.rotating {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.description-text {
    text-align: left;
    margin-bottom: 30px;
    line-height: 1.5;
    font-family: "Hanken Grotesk",sans-serif;
    font-size: 16px;
    color: #1F1E2F;
    font-weight: 300;

}
.otp .form-group {
    text-align: left;
    margin-bottom: 30px;
}

.otp .input-label {
    font-family: 'Hanken Grotesk';
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 700;
    line-height: 19.2px;
    display: block;
    margin-bottom: 12px;
}

.otp .otp-input-container {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.otp .otp-digit {
    width: 50px;
    height: 60px;
    border: 1px solid var(--text-gray);
    border-radius: 4px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    font-family: 'Hanken Grotesk';
}

.otp .otp-digit:focus {
    outline: none;
    border-color: var(--button-blue);
    box-shadow: 0 0 0 2px rgba(97, 97, 255, 0.1);
}

.otp .error-message {
    font-size: .875rem;
    line-height: 1.43;
    font-weight: 300;
    color: var(--error-red);
    width: 100%;
    margin: .5rem 0;
    text-align: left;
}

.otp .submit-btn {
    width: 100%;
    background: var(--button-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px;
    font-family: 'Hanken Grotesk';
    font-size: 16px;
    font-weight: 700;
    line-height: 22.4px;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 24px;
}

.otp .submit-btn:hover {
    background: #4E4EE2;
}

.otp .divider-container {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.otp .divider-line {
    flex-grow: 1;
    height: 1px;
    background: #e0e0e0;
}

.otp .divider-text {
    padding: 0 15px;
    color: var(--text-gray);
    font-size: 14px;
}

.otp .resend-section {
    margin-top: 20px;
}

.otp #timerText {
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
    font-family: "Hanken Grotesk",sans-serif;
    font-size: 14px;
    color: #1F1E2F;
    font-weight: 300;
}

.otp #timer {
    font-weight: 700;
    color: var(--primary-blue);
}
.main-footer {
    background: #fff;
    padding: 25px 13% 22px 13%;
    border-top: 1px solid #eee;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 40px;
}

.copyright {
    font-family: 'Hanken Grotesk', sans-serif;
    color: var(--text-dark);
    font-size: 14px;
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    font-family: 'Hanken Grotesk', sans-serif;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-left {
        flex-direction: column;
    }
    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }
    .login-card {
        padding: 30px 15px;
    }
}
.support-links { margin-top: 30px; text-align: center; font-size: 16px; font-family: 'Hanken Grotesk', sans-serif;}
.link-forgot { color: var(--postnl-hover-blue); text-decoration: none; font-weight: 700; }
.link-forgot:hover { text-decoration: underline; }
.sep { margin: 0 10px; color: #ccc; }
small{font-family: 'Hanken Grotesk', sans-serif;}