/* =========================================================
   RVH login, registratie en account — v2.5.3
========================================================= */

.rvh-auth-shell,
.rvh-auth-shell * {
    box-sizing: border-box;
}

.rvh-auth-shell {
    max-width: 1180px;
    margin: 40px auto;
    padding: 20px;
    color: #172033;
}

.rvh-auth-layout {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.1fr);
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(16,24,40,.12);
}

.rvh-auth-side {
    padding: 48px;
    background: linear-gradient(125deg, #0f172a, var(--rvh-primary, #245b91));
    color: #fff;
}

.rvh-auth-side h1 {
    margin: 8px 0 14px;
    color: #fff;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.05;
}

.rvh-auth-side p {
    color: rgba(255,255,255,.76);
    font-size: 16px;
    line-height: 1.65;
}

.rvh-auth-kicker {
    display: block;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rvh-auth-card {
    width: 100%;
    padding: 48px;
    background: #fff;
}

.rvh-auth-card h1,
.rvh-auth-card h2 {
    margin: 0 0 8px;
    color: #101828;
}

.rvh-auth-card h2 {
    font-size: 32px;
}

.rvh-auth-intro {
    margin: 0 0 25px;
    color: #667085;
}

.rvh-auth-benefits {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.rvh-auth-benefits li {
    position: relative;
    padding-left: 28px;
    color: rgba(255,255,255,.9);
    font-weight: 700;
}

.rvh-auth-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6ce9a6;
}

.rvh-account-types {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.rvh-account-types > div {
    padding: 15px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: rgba(255,255,255,.06);
}

.rvh-account-types strong,
.rvh-account-types span {
    display: block;
}

.rvh-account-types span {
    margin-top: 4px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
}

.rvh-auth-form {
    display: grid;
    gap: 17px;
}

.rvh-auth-grid {
    grid-template-columns: 1fr 1fr;
}

.rvh-auth-full {
    grid-column: 1 / -1;
}

.rvh-auth-form label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: 14px;
    font-weight: 800;
}

.rvh-auth-form input,
.rvh-auth-form select {
    width: 100%;
    min-height: 50px;
    padding: 10px 13px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #fff;
    color: #101828;
}

.rvh-auth-form input:focus,
.rvh-auth-form select:focus {
    outline: 0;
    border-color: var(--rvh-primary, #245b91);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--rvh-primary, #245b91) 20%, transparent);
}

.rvh-auth-form small {
    color: #667085;
    font-weight: 500;
}

.rvh-auth-check {
    display: flex !important;
    grid-template-columns: auto 1fr !important;
    align-items: flex-start;
    gap: 9px !important;
}

.rvh-auth-check input {
    width: auto;
    min-height: auto;
    margin-top: 3px;
}

.rvh-password-field {
    position: relative;
    display: block;
}

.rvh-password-field input {
    padding-right: 76px;
}

.rvh-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    min-height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: #f2f4f7;
    color: #344054;
    font-weight: 800;
    transform: translateY(-50%);
    cursor: pointer;
}

.rvh-auth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 0;
    border-radius: var(--rvh-button-radius, 12px);
    background: var(--rvh-button-bg, var(--rvh-primary, #245b91));
    color: #fff !important;
    font-weight: 900;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}

.rvh-auth-button:hover {
    background: var(--rvh-button-hover, #1e40af);
    transform: translateY(-1px);
}

.rvh-auth-button:disabled {
    opacity: .65;
    cursor: wait;
}

.rvh-auth-button-secondary {
    background: #f2f4f7;
    color: #344054 !important;
}

.rvh-auth-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
}

.rvh-auth-links a {
    color: #344054;
    font-weight: 800;
}

.rvh-auth-notice {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 10px;
    font-weight: 800;
}

.rvh-auth-notice-success {
    background: #ecfdf3;
    color: #067647;
}

.rvh-auth-notice-error {
    background: #fef3f2;
    color: #b42318;
}

.rvh-auth-notice-warning {
    background: #fffaeb;
    color: #b54708;
}

.rvh-password-strength {
    min-height: 8px;
    border-radius: 999px;
    background: #f2f4f7;
    overflow: hidden;
}

.rvh-password-strength::before {
    content: "";
    display: block;
    width: var(--rvh-password-strength, 0%);
    height: 8px;
    background: var(--rvh-password-color, #d92d20);
    transition: width .2s ease;
}

.rvh-account-details {
    display: grid;
    margin: 24px 0;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    overflow: hidden;
}

.rvh-account-details > div {
    display: grid;
    grid-template-columns: 180px 1fr;
    padding: 14px 16px;
    border-bottom: 1px solid #eaecf0;
}

.rvh-account-details > div:last-child {
    border-bottom: 0;
}

.rvh-account-details dt {
    color: #344054;
    font-weight: 900;
}

.rvh-account-details dd {
    margin: 0;
    color: #475467;
}

.rvh-account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rvh-login-price {
    text-decoration: underline !important;
}

@media (max-width: 820px) {
    .rvh-auth-layout {
        grid-template-columns: 1fr;
    }

    .rvh-auth-side,
    .rvh-auth-card {
        padding: 32px;
    }
}

@media (max-width: 640px) {
    .rvh-auth-shell {
        padding: 10px;
    }

    .rvh-auth-side,
    .rvh-auth-card {
        padding: 24px;
    }

    .rvh-auth-grid {
        grid-template-columns: 1fr;
    }

    .rvh-auth-full {
        grid-column: auto;
    }

    .rvh-auth-links {
        flex-direction: column;
    }

    .rvh-account-details > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}


/* =========================================================
   RVH accountpagina
========================================================= */

.rvh-account-page {
    width: 100%;
}

.rvh-account-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 26px;
    padding: 32px;
    border-radius: 20px;
    background: linear-gradient(125deg, #0f172a, var(--rvh-primary, #245b91));
    color: #fff;
}

.rvh-account-header h1 {
    margin: 6px 0 10px;
    color: #fff;
    font-size: clamp(30px, 4vw, 44px);
}

.rvh-account-header p {
    margin: 0;
    color: rgba(255, 255, 255, .75);
}

.rvh-account-status {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.rvh-account-status-active {
    background: #dcfae6;
    color: #067647;
}

.rvh-account-status-pending {
    background: #fef0c7;
    color: #b54708;
}

.rvh-account-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.rvh-account-card,
.rvh-account-panel {
    padding: 24px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(16, 24, 40, .05);
}

.rvh-account-card-label {
    display: block;
    margin-bottom: 8px;
    color: #667085;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.rvh-account-card strong {
    display: block;
    color: #101828;
    font-size: 23px;
}

.rvh-account-card p {
    margin: 10px 0 0;
    color: #667085;
    font-size: 13px;
}

.rvh-account-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 20px;
}

.rvh-account-panel h2 {
    margin-top: 0;
}

.rvh-account-actions {
    display: grid;
    gap: 12px;
}

.rvh-auth-button-danger {
    background: #b42318;
}

.rvh-auth-button-danger:hover {
    background: #912018;
}

.rvh-account-pending-box {
    margin-top: 22px;
    padding: 22px;
    border-left: 5px solid #f79009;
    border-radius: 12px;
    background: #fffaeb;
    color: #7a2e0e;
}

.rvh-account-pending-box h2 {
    margin: 0 0 8px;
}

.rvh-account-pending-box p {
    margin: 0;
}

@media (max-width: 900px) {
    .rvh-account-cards,
    .rvh-account-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .rvh-account-header {
        flex-direction: column;
        padding: 24px;
    }

    .rvh-account-card,
    .rvh-account-panel {
        padding: 20px;
    }
}




/* 4.5.2.0 — public owner account portal */
.rvh-personal-card { margin: 0 0 24px; padding: clamp(20px,4vw,36px); border: 1px solid #dde5ef; border-radius: 22px; background: #fff; box-shadow: 0 14px 40px rgba(15,23,42,.07); }
.rvh-personal-card h2 { margin-top: 0; }
.rvh-personal-card .rvh-auth-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.rvh-personal-card input,.rvh-personal-card select,.rvh-personal-card textarea { max-width: 100%; font: inherit; }
.rvh-personal-card textarea { width: 100%; box-sizing: border-box; padding: 14px; border: 1px solid #dde5ef; border-radius: 12px; background: #f8fafc; }
.rvh-personal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 16px 0; }
.rvh-personal-vehicle { padding: 24px 0; border-top: 1px solid #dde5ef; }
.rvh-personal-vehicle img { border-radius: 12px; max-width: 150px; height: auto; }
.rvh-personal-delete { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.rvh-personal-actions a { color: var(--rvh-primary,#245b91); }
.rvh-personal-portal { width: min(calc(100% - 48px),1440px); margin: 36px auto; }
@media(max-width:640px) { .rvh-personal-card .rvh-auth-grid { grid-template-columns: 1fr; } .rvh-personal-portal { width: calc(100% - 32px); } }

/* Keep form controls within the account card, including narrow screens. */
.rvh-auth-form, .rvh-auth-form label { min-width: 0; }
.rvh-auth-form input[type="hidden"] { display: none !important; }
.rvh-personal-card, .rvh-personal-card * { box-sizing: border-box; }
.rvh-personal-card input:not([type="checkbox"]), .rvh-personal-card select, .rvh-personal-card textarea { width: 100%; min-width: 0; }
.rvh-personal-card .rvh-auth-button { white-space: normal; padding: 12px 18px; }
.rvh-personal-plan-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 16px; margin: 24px 0; }
.rvh-personal-plan-list article { padding: 20px; border: 1px solid #dde5ef; border-radius: 16px; background: #f8fafc; overflow-wrap: anywhere; }
.rvh-personal-plan-list h3 { margin: 0 0 12px; }
/* Two columns without implicit grid tracks from full-width form rows. */
.rvh-auth-form.rvh-auth-grid { display: flex; flex-wrap: wrap; gap: 17px; }
.rvh-auth-form.rvh-auth-grid > * { flex: 1 1 45%; min-width: 0; }
.rvh-auth-form.rvh-auth-grid > .rvh-auth-full { flex: 0 0 100%; }
@media (max-width: 640px) {
    .rvh-auth-form.rvh-auth-grid > * { flex-basis: 100%; }
}

.rvh-personal-backend { max-width: 1400px; --rvh-primary: #2271b1; --rvh-button-bg: #2271b1; --rvh-button-hover: #135e96; }
.rvh-personal-backend .rvh-personal-card { border-radius: 12px; box-shadow: none; padding: 24px; }
