/* Dordle's own touches on the Invena theme (assets/css/style.css, copied from the retired dordle-web):
   the primary colour is the blue of the Dordle logo instead of the theme's near-black, the page headers
   use Dordle's own photographs, and the few pieces the site adds (registration steps, status list,
   messages, the account table) are styled here. Invena ships Bootstrap 5.0, so the 5.3 "-subtle"
   colours and the checkbox styles the forms use are defined here too. Loaded after style.css. */

:root {
    --color-primary: #10688e;
    --color-primary-dark: #0a4560;
    --color-primary-soft: rgba(16, 104, 142, 0.08);
}

a {
    color: var(--color-primary);
}

a:hover {
    color: var(--color-primary-dark);
}

/* Header: the top bar in the darker Dordle blue; the logo at a fixed height. */
.header-top-area-wrapper {
    background: var(--color-primary-dark);
}

.site-logo {
    height: 44px;
    width: auto;
}

.header-one .button-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-one .button-area form {
    margin: 0;
}

.header-one .button-area .rts-btn {
    margin-left: 0;
}

/* The phone menu button: shown where the desktop menu is not. (By id as well: Invena styles #menu-btn.) */
#menu-btn.site-menu-btn {
    display: none;
    background: #f2f2f2;
    border: none;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.site-menu-btn i {
    font-size: 18px;
    color: #1c2539;
}

@media only screen and (max-width: 1199px) {
    .header-one .nav-area,
    .header-one .button-area .rts-btn {
        display: none !important;
    }

    #menu-btn.site-menu-btn {
        display: flex;
    }
}

/* The home banner: Invena leaves 283px above the headline for a background picture the site does not use. */
.banner-five-content {
    padding-top: 90px;
}

@media only screen and (max-width: 991px) {
    .banner-five-content {
        padding-top: 50px;
    }
}

.side-bar .site-side-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.side-bar .site-side-actions .rts-btn {
    margin: 0;
    width: 100%;
    justify-content: center;
}

/* An outline button beside the solid one. */
.rts-btn.btn-border {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.rts-btn.btn-border:hover {
    background: var(--color-primary);
    color: #fff;
}

.rts-btn.btn-primary:hover {
    background: var(--color-primary-dark);
}

/* Page headers (partner-breadcrumb): Dordle's photographs, darkened so the white title reads. */
.page-header {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 320px;
    isolation: isolate;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 69, 96, 0.85) 0%, rgba(10, 69, 96, 0.55) 100%);
    z-index: -1;
}

.page-header .title-area-left .title,
.page-header .title-area-left .pre {
    color: #fff;
}

.page-header .title-area-left .pre {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}

.page-header--registration {
    background-image: url(../assets/images/bg/hero-banner-017.jpg);
}

.page-header--cayman {
    background-image: url(../assets/images/credit-bureau-cayman-islands-dordle-003.webp);
}

.page-header--account {
    background-image: url(../assets/images/credit-bureau-cayman-islands-dordle-004.webp);
}

@media only screen and (max-width: 767px) {
    .page-header {
        height: 220px;
    }

    .page-header .title-area-left .title {
        font-size: 34px;
        line-height: 1.2;
    }
}

/* The narrow column the forms and legal text sit in. */
.narrow {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.site-panel {
    background: #fff;
    border: 1px solid #e8ebef;
    border-radius: 10px;
    padding: 40px;
}

@media only screen and (max-width: 575px) {
    .site-panel {
        padding: 24px;
    }
}

.site-panel + .site-panel {
    margin-top: 30px;
}

.site-panel h2,
.site-panel h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.lead-text {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Forms (Invena's .full-grid .form-content-box pattern), plus what Bootstrap 5.0 here lacks. */
.full-grid .form-content-box {
    margin-bottom: 30px;
}

.full-grid .form-content-box .form-group {
    margin-bottom: 20px;
}

.full-grid .form-content-box .form-group label {
    font-size: 15px;
    color: #1c2539;
}

.full-grid .form-content-box .form-group textarea.form-control-mod {
    height: auto;
    min-height: 90px;
}

.full-grid .form-content-box .form-group input[type=file].form-control-mod {
    padding: 10px 12px;
}

.form-control-mod:focus,
.full-grid .form-content-box .form-group select:focus {
    outline: 2px solid rgba(16, 104, 142, 0.35);
}

.validation-error,
.field-validation-error {
    color: #c62828;
    font-size: 14px;
    display: block;
    margin-top: 4px;
}

.validation-summary-valid {
    display: none;
}

.site-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.site-check input[type=checkbox] {
    width: 20px;
    max-width: 20px;
    height: 20px !important;
    margin-top: 3px;
    flex: 0 0 20px;
    accent-color: var(--color-primary);
}

/* Invena also draws a box (and tick) on the label beside every checkbox; the site keeps the real one only. */
.site-check input[type=checkbox] ~ label {
    padding-left: 0;
    font-size: 16px;
    line-height: 1.5;
}

.site-check input[type=checkbox] ~ label::before,
.site-check input[type=checkbox] ~ label::after {
    display: none;
}

/* Messages. */
.site-alert {
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 25px;
    border: 1px solid transparent;
    font-size: 16px;
}

.site-alert ul {
    margin: 0;
    padding-left: 18px;
}

.site-alert--success { background: #eaf7ee; border-color: #bfe5ca; color: #1e6b35; }
.site-alert--error { background: #fdecec; border-color: #f5c2c2; color: #a12020; }
.site-alert--warning { background: #fff5e6; border-color: #fad7a0; color: #8a5300; }
.site-alert--info { background: var(--color-primary-soft); border-color: rgba(16, 104, 142, 0.25); color: var(--color-primary-dark); }

.site-alert a {
    font-weight: 700;
    color: inherit;
    text-decoration: underline;
}

.site-flash {
    border-radius: 0;
    margin: 0;
    text-align: center;
}

/* The registration steps: create account, verify email, documents, review. */
.steps {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    counter-reset: step;
}

.steps li {
    flex: 1;
    counter-increment: step;
    border-top: 4px solid #e0e6eb;
    padding-top: 10px;
    font-size: 15px;
    color: #7c8a99;
    margin: 0;
}

.steps li::before {
    content: counter(step) ". ";
    font-weight: 700;
}

.steps li.done {
    border-color: #3eb75e;
    color: #1c2539;
}

.steps li.current {
    border-color: var(--color-primary);
    color: var(--color-primary);
    font-weight: 700;
}

@media only screen and (max-width: 575px) {
    .steps li {
        font-size: 12px;
    }
}

/* Where a registration stands. */
.status-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.status-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #eef1f4;
    margin: 0;
}

.status-list li:last-child {
    border-bottom: 0;
}

.status-list li > i {
    font-size: 22px;
    line-height: 1.3;
    width: 26px;
    text-align: center;
}

.status-list .item-title {
    font-weight: 700;
    color: #1c2539;
}

.status-list .item-text {
    color: #5d666f;
}

.text-done { color: #3eb75e; }
.text-waiting { color: #ff8f3c; }
.text-closed { color: #c62828; }
.text-brand { color: var(--color-primary); }

/* Services on the home page: a Font Awesome icon inside Invena's round icon (the template uses SVG files). */
.service-single-main-wrapper-five .icon i {
    font-size: 32px;
    color: var(--color-primary);
}

.service-single-main-wrapper-five {
    height: 100%;
}

/* "How it works": numbered steps, five across on a wide screen. */
.how-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
}

.how-step {
    background: #fff;
    border: 1px solid #e8ebef;
    border-radius: 10px;
    padding: 30px;
    height: 100%;
}

.how-step .number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    margin-bottom: 18px;
}

.how-step .title {
    font-size: 20px;
    margin-bottom: 10px;
}

.how-step p {
    margin: 0;
}

.bg-soft {
    background: #f6f8fa;
}

/* Why credit matters: Invena's about-single-home-7 items with Font Awesome icons. */
.about-content-inner-five .about-single-home-7 .icon {
    flex: 0 0 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.about-content-inner-five .about-single-home-7 .icon i {
    font-size: 24px;
    color: var(--color-primary);
}

/* Invena caps this text at 65% of its column; the site's text uses the whole column. */
.about-content-inner-five {
    max-width: none;
}

/* The commitment band: Invena lays the CTA out as a row for a one-line title; the site's title and text stack. */
.rts-call-to-action-area-three.page-header {
    height: auto;
    padding: 90px 0;
}

.rts-call-to-action-area-three .cta-main-wrapper-inner {
    display: block;
    max-width: 860px;
}

.rts-call-to-action-area-three .cta-main-wrapper-inner .title {
    margin-bottom: 0;
}

.rounded-photo {
    border-radius: 10px;
    width: 100%;
    height: auto;
}

/* Pricing cards (Invena's pricing-wrapper-one): the price tab above the card. */
.pricing-wrapper-one {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}

.pricing-wrapper-one .pricing-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Each card's Order button at the card's foot, level across a row (Invena sets a fixed 42px above it). */
.pricing-wrapper-one .pricing-body .rts-btn {
    margin-top: auto !important;
    align-self: flex-start;
}

.pricing-wrapper-one .pricing-body p {
    margin-bottom: 25px;
}

.pricing-wrapper-one .plane-process .title,
.pricing-wrapper-one .plane-process span {
    color: #fff;
}

/* Order choices. */
.order-choice {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    border: 1px solid #e0e6eb;
    border-radius: 10px;
    padding: 22px;
    cursor: pointer;
    margin-bottom: 14px;
    transition: border-color 0.2s, background 0.2s;
}

.order-choice:hover,
.order-choice:has(input:checked) {
    border-color: var(--color-primary);
    background: var(--color-primary-soft);
}

.order-choice input[type=radio] {
    width: 20px;
    height: 20px;
    margin-top: 4px;
    accent-color: var(--color-primary);
}

.order-choice .name {
    font-weight: 700;
    font-size: 18px;
    color: #1c2539;
}

.order-choice .price {
    font-weight: 700;
    font-size: 18px;
    color: var(--color-primary);
    white-space: nowrap;
}

/* The account's orders. */
.site-table {
    width: 100%;
    border-collapse: collapse;
}

.site-table th,
.site-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #eef1f4;
    text-align: left;
    vertical-align: middle;
}

.site-table th {
    font-weight: 700;
    color: #1c2539;
}

.site-table .amount {
    text-align: right;
    white-space: nowrap;
}

.site-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
}

.site-badge--waiting { background: #fff5e6; color: #8a5300; }
.site-badge--paid { background: #eaf7ee; color: #1e6b35; }

/* The checkout. */
.checkout-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.payment-result {
    text-align: center;
}

.payment-mark {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
}

.payment-mark--good { background: #eaf7ee; color: #1e6b35; }
.payment-mark--bad { background: #fdecec; color: #a12020; }
.payment-mark--wait { background: #fff5e6; color: #8a5300; }

/* The test card page: the stand-in for a payment provider's own page. */
.pay-page {
    background: #f4f6f8;
}

.pay-ribbon {
    background: #8a5300;
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    font-size: 15px;
}

.pay-column {
    max-width: 520px;
    margin: 0 auto;
    padding: 30px 16px 60px;
}

.pay-column .site-panel {
    padding: 30px;
}

@media only screen and (max-width: 575px) {
    .pay-column .site-panel {
        padding: 20px;
    }
}

.pay-title {
    font-size: 24px;
    margin-bottom: 6px;
}

.pay-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.pay-reference {
    font-size: 14px;
    margin-bottom: 20px;
    overflow-wrap: anywhere;
}

.pay-reference code {
    font-size: 13px;
    color: inherit;
}

.pay-cards {
    font-size: 15px;
}

.pay-cards ul {
    list-style: none;
    padding: 0;
    margin: 8px 0;
}

.pay-cards li {
    margin: 0;
    line-height: 1.8;
}

.pay-cards code {
    font-size: 14px;
    color: inherit;
    font-weight: 700;
    margin-right: 6px;
}

/* The theme sizes its buttons to their text; on the card page they fill the column. */
.pay-column .rts-btn {
    width: 100%;
    max-width: none;
    justify-content: center;
}

/* Legal pages. */
.legal-text h2 {
    font-size: 26px;
    margin: 35px 0 15px;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    font-size: 17px;
    line-height: 1.75;
}

/* Footer. */
.footer-two-single-wized .site-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-two-single-wized .site-footer-links li {
    margin: 0 0 10px;
}

.footer-two-single-wized .site-footer-links a {
    color: #1c2539;
}

.footer-two-single-wized .site-footer-links a:hover {
    color: var(--color-primary);
}

.footer-two-single-wized .wized-title {
    margin-bottom: 20px;
}

.rts-copy-right-1 .copyright-h-2-wrapper {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
