.mdcrm-portal{max-width:1100px;margin:30px auto}.mdcrm-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:22px;margin-bottom:20px;box-shadow:0 4px 20px rgba(0,0,0,.04)}.mdcrm-table{overflow:auto}.mdcrm-card table{width:100%;border-collapse:collapse}.mdcrm-card th,.mdcrm-card td{padding:12px;border-bottom:1px solid #eee;text-align:left}.mdcrm-card input,.mdcrm-card textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid #d1d5db;border-radius:8px}.mdcrm-card textarea{min-height:130px}.mdcrm-card button,.mdcrm-btn{display:inline-block;border:0;border-radius:7px;padding:10px 14px;background:#111827;color:#fff!important;text-decoration:none}.mdcrm-ticket{padding:14px 0;border-top:1px solid #eee}.mdcrm-ticket span{float:right}.mdcrm-card select{width:100%;box-sizing:border-box;padding:12px;border:1px solid #d1d5db;border-radius:8px}.mdcrm-ticket-message{margin:12px 0;padding:12px;border:1px solid #e5e7eb;border-radius:8px;background:#fafafa}.mdcrm-ticket-reply{margin-top:12px}.mdcrm-ticket small{display:block;margin:6px 0;color:#666}.mdcrm-attachments{margin-top:8px}.mdcrm-attachments a{display:inline-block;margin-right:10px;font-size:13px}.mdcrm-kb-search{display:flex;gap:8px;margin-bottom:16px}.mdcrm-kb-search input{flex:1}.mdcrm-kb-search button{width:auto}.mdcrm-kb-cats{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 20px}.mdcrm-kb-cats a{padding:7px 11px;border:1px solid #e5e7eb;border-radius:20px;text-decoration:none}.mdcrm-kb-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px}.mdcrm-kb-item{border:1px solid #e5e7eb;border-radius:10px;padding:16px}.mdcrm-kb-item h4{margin:6px 0}.mdcrm-kb-item small{color:#6b7280}.mdcrm-kb-featured{display:inline-block;font-size:11px;padding:3px 7px;background:#f3f4f6;border-radius:12px}.mdcrm-kb-article{max-width:850px}.mdcrm-kb-article img{max-width:100%;height:auto}
.mdcrm-portal-shell{display:grid;grid-template-columns:240px 1fr;min-height:820px;max-width:1500px;margin:30px auto;background:#f7f9fc;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;box-shadow:0 20px 60px rgba(15,23,42,.08)}
.mdcrm-portal-sidebar{background:linear-gradient(180deg,#0b5bd3,#0d47a1);color:#fff;padding:22px 16px;display:flex;flex-direction:column}
.mdcrm-portal-brand{display:flex;gap:10px;align-items:center;padding:4px 8px 24px}
.mdcrm-brand-mark{width:38px;height:38px;border-radius:10px;background:#fff;color:#0b5bd3;font-weight:800;display:flex;align-items:center;justify-content:center}
.mdcrm-portal-brand small{display:block;opacity:.8;margin-top:2px}
.mdcrm-portal-sidebar nav{display:flex;flex-direction:column;gap:6px}
.mdcrm-portal-sidebar nav a,.mdcrm-logout{color:#fff;text-decoration:none;padding:11px 12px;border-radius:8px;opacity:.92}
.mdcrm-portal-sidebar nav a:hover,.mdcrm-portal-sidebar nav a.active{background:rgba(255,255,255,.14)}
.mdcrm-logout{margin-top:auto;background:rgba(255,255,255,.08)}
.mdcrm-portal-main{padding:28px}
.mdcrm-portal-topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}
.mdcrm-portal-topbar h2{margin:0;font-size:28px}
.mdcrm-portal-topbar p{margin:4px 0 0;color:#64748b}
.mdcrm-portal-user{background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:9px 14px}
.mdcrm-portal-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-bottom:18px}
.mdcrm-portal-kpi{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px;box-shadow:0 4px 18px rgba(15,23,42,.04)}
.mdcrm-portal-kpi span{display:block;color:#64748b;font-size:12px}
.mdcrm-portal-kpi b{display:block;font-size:22px;margin:5px 0}
.mdcrm-portal-kpi small{color:#64748b}
.mdcrm-portal-grid{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-bottom:18px}
.mdcrm-customer-type{display:inline-block;background:#eef5ff;color:#0b5bd3;border-radius:999px;padding:5px 10px;font-size:12px;margin-bottom:10px}
.mdcrm-portal-actions{display:grid;gap:10px}
.mdcrm-portal-actions a{display:block;border:1px solid #e5e7eb;border-radius:9px;padding:11px;text-decoration:none;background:#fff}
.mdcrm-portal-main .mdcrm-card{border-radius:12px;box-shadow:0 4px 18px rgba(15,23,42,.04)}
@media(max-width:1100px){.mdcrm-portal-shell{grid-template-columns:1fr}.mdcrm-portal-sidebar{display:none}.mdcrm-portal-kpis{grid-template-columns:repeat(2,1fr)}.mdcrm-portal-grid{grid-template-columns:1fr}}
@media(max-width:640px){.mdcrm-portal-main{padding:16px}.mdcrm-portal-kpis{grid-template-columns:1fr}.mdcrm-portal-topbar{align-items:flex-start;gap:10px}.mdcrm-portal-user{display:none}}

.mdcrm-login-shell{min-height:70vh;display:flex;align-items:center;justify-content:center;padding:30px;background:#f7f9fc}
.mdcrm-login-card{width:min(430px,100%);background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:32px;box-shadow:0 20px 60px rgba(15,23,42,.08)}
.mdcrm-login-logo{width:54px;height:54px;border-radius:14px;background:#0b5bd3;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:18px}
.mdcrm-login-card h1{margin:0;font-size:27px}.mdcrm-login-subtitle{color:#64748b;margin:7px 0 22px}
.mdcrm-login-card label{display:block;font-weight:600}.mdcrm-login-card input[type=text],.mdcrm-login-card input[type=password]{width:100%;box-sizing:border-box;padding:12px;margin-top:6px;border:1px solid #d7dde6;border-radius:9px}
.mdcrm-login-card button{width:100%;padding:12px;background:#0b5bd3;color:#fff;border:0;border-radius:9px;font-weight:700}
.mdcrm-login-row{display:flex;justify-content:space-between;align-items:center;font-size:13px}.mdcrm-login-row label{font-weight:400}
.mdcrm-login-error{background:#fff2f2;color:#9b1c1c;border:1px solid #fecaca;border-radius:9px;padding:11px 13px}
.mdcrm-security-ok{display:inline-block;background:#ecfdf5;color:#047857;border-radius:999px;padding:6px 10px;font-weight:700}
.mdcrm-secret{font-family:monospace;font-size:18px;letter-spacing:2px;background:#f3f6fa;padding:14px;border-radius:9px;word-break:break-all;margin:10px 0}
.mdcrm-recovery-codes{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.mdcrm-recovery-codes code{display:block;padding:10px;background:#f3f6fa;border-radius:8px;text-align:center}
.mdcrm-btn-secondary{background:#64748b!important}

body.mdcrm-standalone{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important}
body.mdcrm-standalone .mdcrm-portal-shell{max-width:none!important;width:100%!important;min-height:100vh!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.mdcrm-standalone .mdcrm-login-shell{min-height:100vh!important;width:100%!important;padding:24px!important;box-sizing:border-box!important}
body.mdcrm-standalone a,body.mdcrm-standalone button,body.mdcrm-standalone input,body.mdcrm-standalone select,body.mdcrm-standalone textarea{font-family:inherit}

.mdcrm-qr-wrap{display:inline-block;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:16px;margin:8px 0 16px;box-shadow:0 5px 18px rgba(15,23,42,.05)}
.mdcrm-qr-wrap img,.mdcrm-qr-wrap canvas{display:block!important}

.mdcrm-qr-wrap canvas{display:none!important}.mdcrm-qr-wrap img{display:block!important}

.mdcrm-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;margin-top:18px}
.mdcrm-profile-grid p{margin:0}
.mdcrm-profile-grid label{display:block;color:#334155}
.mdcrm-profile-grid input{width:100%;box-sizing:border-box;margin-top:7px;padding:11px 12px;border:1px solid #d7dde6;border-radius:9px;background:#fff}
.mdcrm-profile-span{grid-column:1/-1}
.mdcrm-profile-actions{display:flex;justify-content:flex-end;margin-top:20px}
.mdcrm-profile-actions button{border:0;border-radius:9px;padding:11px 18px;background:#0b5bd3;color:#fff;font-weight:700;cursor:pointer}
.mdcrm-profile-success{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;border-radius:9px;padding:11px 13px;margin:14px 0}
.mdcrm-panel-head p{margin:4px 0 0;color:#64748b}
@media(max-width:700px){.mdcrm-profile-grid{grid-template-columns:1fr}.mdcrm-profile-span{grid-column:auto}}

.mdcrm-password-form{margin-top:16px}
.mdcrm-password-form p{margin:0 0 14px}
.mdcrm-password-form label{display:block;color:#334155}
.mdcrm-password-form input{width:100%;box-sizing:border-box;margin-top:7px;padding:11px 12px;border:1px solid #d7dde6;border-radius:9px;background:#fff}
.mdcrm-password-form button{border:0;border-radius:9px;padding:11px 18px;background:#0b5bd3;color:#fff;font-weight:700;cursor:pointer}

.mdcrm-activation-shell{
    min-height:100vh;
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:32px;
    box-sizing:border-box;
    background:linear-gradient(135deg,#f7f9fc 0%,#eef4fb 100%);
}
.mdcrm-activation-card{
    width:min(560px,100%);
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:34px;
    box-shadow:0 20px 60px rgba(15,23,42,.10);
}
.mdcrm-activation-brand{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:24px;
}
.mdcrm-activation-brand strong{
    display:block;
    font-size:16px;
    color:#0f172a;
}
.mdcrm-activation-brand small{
    display:block;
    color:#64748b;
    margin-top:2px;
}
.mdcrm-activation-card h1{
    margin:0 0 8px;
    font-size:30px;
    color:#0f172a;
}
.mdcrm-activation-card form{
    margin-top:22px;
}
.mdcrm-activation-card label{
    display:block;
    font-weight:600;
    color:#334155;
}
.mdcrm-activation-card input[type=password]{
    width:100%;
    box-sizing:border-box;
    padding:12px;
    margin-top:7px;
    border:1px solid #d7dde6;
    border-radius:9px;
}
.mdcrm-activation-card button{
    width:100%;
    border:0;
    border-radius:9px;
    padding:12px 18px;
    margin-top:8px;
    background:#0b5bd3;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}

/* Professionele Helpdesk */
.mdcrm-helpdesk-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:18px}
.mdcrm-helpdesk-head h3{font-size:22px;margin:0}.mdcrm-helpdesk-head p{margin:5px 0 0;color:#64748b}
.mdcrm-ticket-list{display:grid;gap:12px}
.mdcrm-ticket-card-modern{position:relative;display:block;background:#fff;border:1px solid #e5e7eb;border-radius:13px;text-decoration:none;color:#0f172a;overflow:hidden;box-shadow:0 4px 18px rgba(15,23,42,.04);transition:.18s}
.mdcrm-ticket-card-modern:hover{transform:translateY(-1px);box-shadow:0 8px 26px rgba(15,23,42,.08);border-color:#cbd5e1}
.mdcrm-ticket-colorbar{position:absolute;left:0;top:0;bottom:0;width:5px;background:#64748b}
.mdcrm-ticket-colorbar-open{background:#2563eb}.mdcrm-ticket-colorbar-in_progress{background:#7c3aed}.mdcrm-ticket-colorbar-waiting_customer{background:#d97706}.mdcrm-ticket-colorbar-waiting_internal{background:#64748b}.mdcrm-ticket-colorbar-resolved{background:#059669}.mdcrm-ticket-colorbar-closed{background:#475569}
.mdcrm-ticket-card-main{padding:17px 18px 16px 21px}.mdcrm-ticket-card-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.mdcrm-ticket-card-top h4{margin:4px 0 0;font-size:16px}.mdcrm-ticket-ref{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-weight:700}
.mdcrm-ticket-card-main>p{color:#64748b;margin:11px 0}.mdcrm-ticket-badges{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.mdcrm-ticket-badge{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}
.mdcrm-ticket-card-bottom{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#64748b;font-size:12px}
.mdcrm-ticket-tags{display:inline-flex;gap:6px;flex-wrap:wrap}.mdcrm-ticket-tag{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:color-mix(in srgb,var(--tag-color) 12%,white);color:var(--tag-color);border:1px solid color-mix(in srgb,var(--tag-color) 25%,white);font-size:11px;font-weight:700}
.mdcrm-ticket-detail{background:#fff;border:1px solid #e5e7eb;border-radius:15px;padding:22px;margin-bottom:18px;box-shadow:0 5px 20px rgba(15,23,42,.04)}
.mdcrm-ticket-detail-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.mdcrm-ticket-detail-header h2{margin:7px 0 3px}.mdcrm-ticket-back{text-decoration:none;color:#2563eb;font-size:13px}
.mdcrm-ticket-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 0 18px;border-bottom:1px solid #eef2f7;color:#64748b;font-size:13px}
.mdcrm-ticket-conversation{padding:20px 0;display:grid;gap:14px}.mdcrm-ticket-message-modern{display:flex;gap:12px;align-items:flex-start}.mdcrm-ticket-message-modern.is-customer{flex-direction:row-reverse}
.mdcrm-message-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#eef2ff;color:#3730a3;display:flex;align-items:center;justify-content:center;font-weight:800}
.mdcrm-ticket-message-modern.is-customer .mdcrm-message-avatar{background:#e0f2fe;color:#0369a1}.mdcrm-message-body{max-width:78%;background:#f8fafc;border:1px solid #e5e7eb;border-radius:13px;padding:12px 14px}
.mdcrm-ticket-message-modern.is-customer .mdcrm-message-body{background:#eff6ff;border-color:#dbeafe}.mdcrm-message-head{display:flex;gap:10px;align-items:center;margin-bottom:7px}.mdcrm-message-head span{font-size:11px;color:#94a3b8}
.mdcrm-message-text{color:#334155;line-height:1.55}.mdcrm-attachments{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.mdcrm-attachments a{font-size:12px;text-decoration:none;background:#fff;border:1px solid #e2e8f0;border-radius:7px;padding:6px 8px}
.mdcrm-ticket-compose{border-top:1px solid #eef2f7;padding-top:18px}.mdcrm-ticket-compose h4{margin:0 0 10px}.mdcrm-ticket-compose textarea{width:100%;min-height:115px;box-sizing:border-box;border:1px solid #d7dde6;border-radius:10px;padding:12px}
.mdcrm-ticket-compose-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px}.mdcrm-ticket-compose-actions button{border:0;border-radius:9px;background:#0b5bd3;color:#fff;font-weight:700;padding:10px 15px}
.mdcrm-ticket-close-box{margin-top:18px;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px;background:#f8fafc;border-radius:11px}.mdcrm-ticket-close-box p{margin:4px 0 0;color:#64748b}
.mdcrm-btn-danger-outline{border:1px solid #fca5a5;color:#b91c1c;background:#fff;text-decoration:none;padding:9px 12px;border-radius:9px;font-weight:700;white-space:nowrap}.mdcrm-ticket-closed-banner{margin-top:18px;background:#f1f5f9;color:#475569;border-radius:10px;padding:12px 14px;font-weight:700}
.mdcrm-notification-form{margin-top:14px}.mdcrm-notification-row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid #eef2f7}
.mdcrm-switch{position:relative;width:46px;height:26px}.mdcrm-switch input{opacity:0;width:0;height:0}.mdcrm-switch-slider{position:absolute;inset:0;background:#cbd5e1;border-radius:999px;transition:.2s}.mdcrm-switch-slider:before{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s}.mdcrm-switch input:checked + .mdcrm-switch-slider{background:#0b5bd3}.mdcrm-switch input:checked + .mdcrm-switch-slider:before{transform:translateX(20px)}
.mdcrm-notification-form>button{margin-top:16px;border:0;border-radius:9px;background:#0b5bd3;color:#fff;font-weight:700;padding:10px 15px}
@media(max-width:700px){.mdcrm-ticket-card-top,.mdcrm-ticket-detail-header,.mdcrm-ticket-close-box{flex-direction:column}.mdcrm-ticket-badges{justify-content:flex-start}.mdcrm-message-body{max-width:88%}.mdcrm-ticket-compose-actions{flex-direction:column;align-items:flex-start}}

.mdcrm-ticket-close-box form{margin:0}
.mdcrm-ticket-close-box button.mdcrm-btn-danger-outline{font:inherit;cursor:pointer}

.mdcrm-payment-notice{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;border-radius:10px;padding:12px 14px;margin-bottom:18px}
.mdcrm-no-payment{display:inline-flex;align-items:center;background:#f1f5f9;color:#475569;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}


/* ===== Klantenportaal login 4.2.3 ===== */
.mdcrm-login-page{
    min-height:100vh;width:100%;display:grid;grid-template-columns:minmax(360px,.9fr) minmax(480px,1.1fr);
    background:#f6f8fc;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    color:#0f172a
}
.mdcrm-login-visual{
    position:relative;display:flex;align-items:center;padding:64px;
    background:linear-gradient(145deg,#0758c9 0%,#0b49a5 58%,#082f6f 100%);
    color:#fff;overflow:hidden
}
.mdcrm-login-visual:before,.mdcrm-login-visual:after{
    content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.07)
}
.mdcrm-login-visual:before{width:420px;height:420px;right:-170px;top:-120px}
.mdcrm-login-visual:after{width:300px;height:300px;left:-120px;bottom:-120px}
.mdcrm-login-visual-inner{position:relative;z-index:1;max-width:520px}
.mdcrm-login-eyebrow{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.16em;opacity:.8;margin-bottom:18px}
.mdcrm-login-visual h2{font-size:44px;line-height:1.08;letter-spacing:-.035em;margin:0 0 18px;color:#fff}
.mdcrm-login-visual p{font-size:17px;line-height:1.65;opacity:.82;max-width:480px;margin:0 0 34px}
.mdcrm-login-features{display:grid;grid-template-columns:1fr 1fr;gap:13px 20px;font-size:14px;font-weight:600}
.mdcrm-login-panel{display:flex;align-items:center;justify-content:center;padding:50px}
.mdcrm-login-card-modern{width:min(460px,100%)}
.mdcrm-login-brand{display:flex;align-items:center;gap:14px;margin-bottom:42px}
.mdcrm-login-logo-img{display:block;max-width:150px;max-height:64px;width:auto;height:auto;object-fit:contain}
.mdcrm-login-logo-fallback{width:52px;height:52px;display:flex;align-items:center;justify-content:center;border-radius:13px;background:#0b5bd3;color:#fff;font-size:18px;font-weight:800}
.mdcrm-login-brand>div:last-child{padding-left:3px;border-left:1px solid #e2e8f0}
.mdcrm-login-brand strong{display:block;font-size:14px;color:#0f172a;padding-left:12px}
.mdcrm-login-brand small{display:block;color:#64748b;font-size:11px;margin-top:2px;padding-left:12px}
.mdcrm-login-heading h1{font-size:32px;letter-spacing:-.025em;margin:0 0 8px;color:#0f172a}
.mdcrm-login-heading p{margin:0 0 30px;color:#64748b;font-size:14px}
.mdcrm-login-form-wrap form{margin:0}
.mdcrm-login-form-wrap p{margin:0 0 18px}
.mdcrm-login-form-wrap label{display:block;color:#334155;font-size:13px;font-weight:650;margin-bottom:7px}
.mdcrm-login-form-wrap input[type=text],
.mdcrm-login-form-wrap input[type=password]{
    display:block;width:100%;height:50px;box-sizing:border-box;background:#fff;
    border:1px solid #cbd5e1;border-radius:10px;padding:0 14px;font-size:15px;color:#0f172a;
    outline:none;transition:border .15s,box-shadow .15s
}
.mdcrm-login-form-wrap input[type=text]:focus,
.mdcrm-login-form-wrap input[type=password]:focus{border-color:#0b5bd3;box-shadow:0 0 0 3px rgba(11,91,211,.10)}
.mdcrm-login-form-wrap .login-remember{display:flex;align-items:center;margin:3px 0 20px}
.mdcrm-login-form-wrap .login-remember label{display:flex;align-items:center;gap:8px;margin:0;font-weight:500;color:#475569}
.mdcrm-login-form-wrap .login-remember input{width:16px!important;height:16px!important;margin:0!important}
.mdcrm-login-form-wrap .login-submit{margin:0}
.mdcrm-login-form-wrap input[type=submit]{
    width:100%;height:50px;border:0;border-radius:10px;background:#0b5bd3;color:#fff;
    font-size:14px;font-weight:750;cursor:pointer;box-shadow:0 8px 20px rgba(11,91,211,.18);
    transition:transform .15s,background .15s
}
.mdcrm-login-form-wrap input[type=submit]:hover{background:#094aa9;transform:translateY(-1px)}
.mdcrm-login-links{display:flex;justify-content:flex-end;margin-top:14px}
.mdcrm-login-links a{font-size:13px;color:#0b5bd3;text-decoration:none;font-weight:600}
.mdcrm-login-links a:hover{text-decoration:underline}
.mdcrm-login-security{margin-top:34px;padding-top:20px;border-top:1px solid #e5e7eb;color:#94a3b8;font-size:11px;text-align:center}
body.mdcrm-standalone .mdcrm-login-page{min-height:100vh}
@media(max-width:900px){
    .mdcrm-login-page{grid-template-columns:1fr}
    .mdcrm-login-visual{display:none}
    .mdcrm-login-panel{min-height:100vh;padding:28px}
    .mdcrm-login-brand{margin-bottom:34px}
}
@media(max-width:520px){
    .mdcrm-login-panel{padding:22px}
    .mdcrm-login-heading h1{font-size:28px}
    .mdcrm-login-logo-img{max-width:125px;max-height:55px}
}

/* ===== Klantenportaal wachtwoord herstel 4.2.4 ===== */
.mdcrm-reset-form{margin-top:24px}
.mdcrm-reset-form p{margin:0 0 18px}
.mdcrm-reset-form label{display:block;color:#334155;font-size:13px;font-weight:650;margin-bottom:7px}
.mdcrm-reset-form input[type=text],
.mdcrm-reset-form input[type=password]{
    display:block;width:100%;height:50px;box-sizing:border-box;background:#fff;
    border:1px solid #cbd5e1;border-radius:10px;padding:0 14px;margin-top:7px;
    font-size:15px;color:#0f172a;outline:none
}
.mdcrm-reset-form input:focus{border-color:#0b5bd3;box-shadow:0 0 0 3px rgba(11,91,211,.10)}
.mdcrm-reset-form button,
.mdcrm-password-primary{
    display:block;width:100%;box-sizing:border-box;text-align:center;height:50px;line-height:50px;
    border:0;border-radius:10px;background:#0b5bd3;color:#fff!important;text-decoration:none;
    font-size:14px;font-weight:750;cursor:pointer;padding:0 16px
}
.mdcrm-reset-form button:hover,.mdcrm-password-primary:hover{background:#094aa9}
.mdcrm-password-secondary{
    display:block;width:100%;box-sizing:border-box;text-align:center;margin-top:15px;
    padding:12px 16px;border:1px solid #cbd5e1;border-radius:10px;color:#334155!important;
    text-decoration:none;background:#fff;font-weight:650
}
.mdcrm-reset-success{
    margin:22px 0;padding:15px 16px;border:1px solid #a7f3d0;border-radius:10px;
    background:#ecfdf5;color:#047857
}
.mdcrm-reset-success strong{display:block;font-size:15px;margin-bottom:4px}
.mdcrm-reset-success p{margin:0;line-height:1.5}
.mdcrm-login-links-left{justify-content:flex-start!important}
.mdcrm-password-hint{color:#64748b;font-size:12px;line-height:1.45;margin-top:-4px!important}


/* ===== 4.2.5: login + password recovery identical geometry =====
   Keep all authentication screens on exactly the same two-column canvas. */
body.mdcrm-login-page .mdcrm-login-page{
    width:100vw!important;
    max-width:none!important;
    min-height:100vh!important;
    margin:0!important;
    padding:0!important;
    grid-template-columns:minmax(360px,.9fr) minmax(480px,1.1fr)!important;
}
body.mdcrm-login-page .mdcrm-login-visual{
    width:auto!important;
    min-width:0!important;
    box-sizing:border-box!important;
}
body.mdcrm-login-page .mdcrm-login-panel{
    width:auto!important;
    min-width:0!important;
    box-sizing:border-box!important;
}
body.mdcrm-login-page .mdcrm-login-card-modern{
    width:min(460px,100%)!important;
    max-width:460px!important;
}
@media(max-width:900px){
    body.mdcrm-login-page .mdcrm-login-page{
        grid-template-columns:1fr!important;
    }
}

/* ===== 4.2.7 login validation / alert ===== */
.mdcrm-alert{
    display:flex;align-items:flex-start;gap:12px;margin:0 0 22px;padding:14px 15px;
    border:1px solid transparent;border-radius:10px;font-size:13px;line-height:1.45
}
.mdcrm-alert-danger{
    color:#842029;background:#f8d7da;border-color:#f5c2c7
}
.mdcrm-alert-icon{
    flex:0 0 25px;width:25px;height:25px;border-radius:50%;display:flex;align-items:center;
    justify-content:center;background:#dc3545;color:#fff;font-weight:800;font-size:14px;margin-top:1px
}
.mdcrm-alert strong{display:block;font-size:13px;margin:1px 0 2px}
.mdcrm-alert p{margin:0!important;color:inherit!important}
.mdcrm-portal-login-form{margin:0}
.mdcrm-portal-login-form p{margin:0 0 18px}
.mdcrm-portal-login-form label{display:block;color:#334155;font-size:13px;font-weight:650}
.mdcrm-portal-login-form input[type=text],
.mdcrm-portal-login-form input[type=password]{
    display:block;width:100%;height:50px;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;
    border-radius:10px;padding:0 14px;margin-top:7px;font-size:15px;color:#0f172a;outline:none;
    transition:border .15s,box-shadow .15s
}
.mdcrm-portal-login-form input[type=text]:focus,
.mdcrm-portal-login-form input[type=password]:focus{
    border-color:#0b5bd3;box-shadow:0 0 0 3px rgba(11,91,211,.10)
}
.mdcrm-portal-login-form .login-remember{display:flex;align-items:center;margin:3px 0 20px}
.mdcrm-portal-login-form .login-remember label{display:flex;align-items:center;gap:8px;font-weight:500;color:#475569}
.mdcrm-portal-login-form .login-remember input{width:16px!important;height:16px!important;margin:0!important}
.mdcrm-portal-login-form .login-submit{margin:0}
.mdcrm-portal-login-form input[type=submit]{
    width:100%;height:50px;border:0;border-radius:10px;background:#0b5bd3;color:#fff;
    font-size:14px;font-weight:750;cursor:pointer;box-shadow:0 8px 20px rgba(11,91,211,.18)
}
.mdcrm-portal-login-form input[type=submit]:hover{background:#094aa9}


/* ===== 4.2.8 Bootstrap-achtige status badges ===== */
.mdcrm-status-badge{
    display:inline-flex;align-items:center;justify-content:center;
    padding:.38em .68em;border-radius:999px;font-size:11px;font-weight:700;
    line-height:1;white-space:nowrap;border:1px solid transparent
}
.mdcrm-status-success{color:#0f5132;background:#d1e7dd;border-color:#badbcc}
.mdcrm-status-danger{color:#842029;background:#f8d7da;border-color:#f5c2c7}
.mdcrm-status-warning{color:#664d03;background:#fff3cd;border-color:#ffecb5}
.mdcrm-status-primary{color:#084298;background:#cfe2ff;border-color:#b6d4fe}
.mdcrm-status-info{color:#055160;background:#cff4fc;border-color:#b6effb}
.mdcrm-status-secondary{color:#41464b;background:#e2e3e5;border-color:#d3d6d8}
.mdcrm-status-sub{display:block;margin-top:5px;color:#b42318;font-size:10px;white-space:nowrap}
.mdcrm-doc-actions{white-space:nowrap}
.mdcrm-btn-pay{background:#0b5bd3!important}
.mdcrm-btn-outline{background:#fff!important;color:#475569!important;border:1px solid #cbd5e1!important}
.mdcrm-btn-secondary-small{background:#64748b!important;font-size:12px;padding:8px 10px!important}
@media(max-width:700px){
    .mdcrm-doc-actions{white-space:normal}
    .mdcrm-status-sub{white-space:normal}
}


/* ===== 4.2.9: 2FA in dezelfde klantenportaal login-stijl ===== */
.mdcrm-2fa-login-form{margin:0}
.mdcrm-2fa-login-form p{margin:0 0 20px}
.mdcrm-2fa-login-form label{display:block;color:#334155;font-size:13px;font-weight:650}
.mdcrm-2fa-login-form input[type=text]{
    display:block;width:100%;height:54px;box-sizing:border-box;background:#fff;
    border:1px solid #cbd5e1;border-radius:10px;padding:0 15px;margin-top:7px;
    font-size:22px;font-weight:700;letter-spacing:.18em;text-align:center;color:#0f172a;
    outline:none;transition:border .15s,box-shadow .15s
}
.mdcrm-2fa-login-form input[type=text]:focus{
    border-color:#0b5bd3;box-shadow:0 0 0 3px rgba(11,91,211,.10)
}
.mdcrm-2fa-login-form button{
    width:100%;height:50px;border:0;border-radius:10px;background:#0b5bd3;color:#fff;
    font-size:14px;font-weight:750;cursor:pointer;box-shadow:0 8px 20px rgba(11,91,211,.18)
}
.mdcrm-2fa-login-form button:hover{background:#094aa9}

/* ===== 4.3.0 document actions ===== */
.mdcrm-doc-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.mdcrm-btn-pdf{
    background:#fff!important;
    color:#0b5bd3!important;
    border:1px solid #b6d4fe!important;
}
.mdcrm-btn-pdf:hover{
    background:#eef5ff!important;
}
@media(max-width:700px){
    .mdcrm-doc-actions{min-width:180px}
    .mdcrm-doc-actions .mdcrm-btn{display:inline-flex}
}

/* ===== 4.3.1 abonnement opzeggen ===== */
.mdcrm-sub-cancel-form{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin:0}
.mdcrm-sub-cancel-form small,.mdcrm-sub-cancel-date{display:block;color:#64748b;font-size:10px;margin-top:5px}
.mdcrm-btn-cancel-sub{
    border:1px solid #f1aeb5;background:#fff;color:#b02a37;border-radius:8px;
    padding:8px 10px;font-weight:700;font-size:12px;cursor:pointer
}
.mdcrm-btn-cancel-sub:hover{background:#f8d7da}
.mdcrm-muted-action{font-size:12px;color:#64748b}
.mdcrm-alert-warning{color:#664d03;background:#fff3cd;border-color:#ffecb5}
.mdcrm-alert-warning .mdcrm-alert-icon{background:#ffc107;color:#664d03}

.mdcrm-sub-category{
    display:inline-flex;padding:4px 7px;border-radius:6px;background:#eef2f7;color:#475569;
    font-size:11px;font-weight:650;white-space:nowrap
}

/* ===== 4.3.3 legacy subscriptions category/action compatibility ===== */
.mdcrm-sub-category{max-width:180px;overflow:hidden;text-overflow:ellipsis}
.mdcrm-sub-cancel-form{min-width:150px}
.mdcrm-btn-cancel-sub{white-space:nowrap}

/* ===== 4.3.4: cancellation effective date preview ===== */
.mdcrm-sub-cancel-info{
    display:flex;flex-direction:column;gap:3px;margin:0 0 8px;
    padding:9px 10px;border:1px solid #fde68a;border-radius:8px;background:#fffbeb;
    color:#78350f;min-width:185px
}
.mdcrm-sub-cancel-info strong{font-size:11px;font-weight:700}
.mdcrm-sub-cancel-info small{font-size:10px;color:#92400e;margin:0}
.mdcrm-sub-cancel-effective{
    display:block;font-size:13px;font-weight:800;color:#b45309
}

/* ===== 4.3.8 abonnement beheren/opzeggen ===== */
.mdcrm-cancel-page{max-width:1050px}
.mdcrm-back-link{display:inline-block;margin-bottom:16px;text-decoration:none;font-weight:650}
.mdcrm-cancel-service{display:flex;flex-direction:column;gap:4px;padding:14px 16px;background:#f8fafc;border-radius:10px;margin:0 0 18px}
.mdcrm-cancel-service span{font-size:12px;color:#64748b}
.mdcrm-manage-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.mdcrm-manage-box{border:1px solid #e2e8f0;border-radius:12px;padding:18px;background:#fff}
.mdcrm-manage-box h4{margin:0 0 8px;font-size:17px}
.mdcrm-manage-box p{color:#64748b}
.mdcrm-manage-danger{border-color:#fecaca}
.mdcrm-renew-toggle{display:flex;align-items:center;gap:9px;padding:12px;background:#f8fafc;border-radius:9px;margin:14px 0}
.mdcrm-renew-toggle input{width:18px;height:18px}
.mdcrm-cancel-date{display:flex;flex-direction:column;gap:3px;padding:14px;border:1px solid #fde68a;background:#fffbeb;border-radius:10px;margin:12px 0 16px}
.mdcrm-cancel-date span,.mdcrm-cancel-date small{font-size:11px;color:#92400e}
.mdcrm-cancel-date strong{font-size:22px;color:#b45309}
.mdcrm-field-label{display:block;font-weight:700;margin:12px 0}
.mdcrm-field-label span{font-weight:400;color:#64748b}
.mdcrm-field-label textarea{display:block;width:100%;box-sizing:border-box;margin-top:7px;border:1px solid #cbd5e1;border-radius:9px;padding:11px;resize:vertical}
.mdcrm-btn-danger{border:0;background:#b42318;color:#fff;border-radius:8px;padding:10px 14px;font-weight:750;cursor:pointer}
.mdcrm-btn-secondary{display:inline-block;border:1px solid #cbd5e1;background:#fff;color:#0f172a;border-radius:8px;padding:9px 13px;font-weight:700;text-decoration:none;cursor:pointer}
.mdcrm-alert-success{background:#d1e7dd;border-color:#badbcc;color:#0f5132}
@media(max-width:800px){.mdcrm-manage-grid{grid-template-columns:1fr}}


/* ===== 4.4.0 mobiele PWA installatieprompt ===== */
.mdcrm-pwa-install[hidden]{display:none!important}
.mdcrm-pwa-install{
    position:fixed;inset:0;z-index:999999;
    display:flex;align-items:flex-end;justify-content:center;
    padding:14px;background:rgba(15,23,42,.42);
    opacity:0;transition:opacity .18s ease
}
.mdcrm-pwa-install.is-visible{opacity:1}
.mdcrm-pwa-install-card{
    position:relative;width:min(480px,100%);display:flex;gap:14px;
    background:#fff;border:1px solid #e2e8f0;border-radius:18px;
    padding:18px;box-shadow:0 20px 60px rgba(15,23,42,.24);
    transform:translateY(18px);transition:transform .18s ease
}
.mdcrm-pwa-install.is-visible .mdcrm-pwa-install-card{transform:translateY(0)}
.mdcrm-pwa-install-icon{
    width:58px;height:58px;flex:0 0 58px;border-radius:14px;
    overflow:hidden;background:#eef2f7;display:flex;align-items:center;justify-content:center
}
.mdcrm-pwa-install-icon img{display:block;width:100%;height:100%;object-fit:contain}
.mdcrm-pwa-install-content{min-width:0}
.mdcrm-pwa-kicker{
    display:block;margin:1px 0 4px;font-size:10px;font-weight:800;
    letter-spacing:.12em;color:#0b5bd3
}
.mdcrm-pwa-install h3{margin:0 26px 6px 0;font-size:17px;line-height:1.25}
.mdcrm-pwa-install p{margin:0 0 12px;color:#64748b;font-size:13px;line-height:1.5}
.mdcrm-pwa-close{
    position:absolute;right:10px;top:9px;width:30px;height:30px;
    border:0;background:transparent;color:#64748b;font-size:24px;line-height:1;
    cursor:pointer
}
.mdcrm-pwa-actions{display:flex;gap:8px;flex-wrap:wrap}
.mdcrm-pwa-install-button{
    border:0;border-radius:9px;background:#0b5bd3;color:#fff;
    padding:10px 13px;font-size:12px;font-weight:750;cursor:pointer
}
.mdcrm-pwa-later{
    border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#475569;
    padding:10px 13px;font-size:12px;font-weight:650;cursor:pointer
}
.mdcrm-pwa-ios-help{
    margin:5px 0 13px;padding:10px 12px;background:#f8fafc;border-radius:10px;
    border:1px solid #e2e8f0
}
.mdcrm-pwa-ios-help p{margin:0 0 5px;color:#334155}
.mdcrm-pwa-ios-help ol{margin:0;padding-left:20px;color:#475569;font-size:12px;line-height:1.65}
.mdcrm-share-symbol{font-weight:800;color:#0b5bd3}
@media(min-width:901px){
    .mdcrm-pwa-install{display:none!important}
}
@media(max-width:520px){
    .mdcrm-pwa-install{padding:10px}
    .mdcrm-pwa-install-card{border-radius:16px;padding:16px}
    .mdcrm-pwa-install-icon{width:52px;height:52px;flex-basis:52px}
}


/* ===== 4.4.1 bulk documenten downloaden ===== */
.mdcrm-bulk-toolbar{
    display:flex;align-items:center;gap:12px;flex-wrap:wrap;
    padding:11px 12px;margin:0 0 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px
}
.mdcrm-bulk-toolbar label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700}
.mdcrm-bulk-toolbar input[type=checkbox],.mdcrm-select-col input{width:16px;height:16px}
.mdcrm-selected-count{font-size:12px;color:#64748b;margin-right:auto}
.mdcrm-bulk-download:disabled{opacity:.45;cursor:not-allowed}
.mdcrm-select-col{width:34px!important;text-align:center}
@media(max-width:700px){
    .mdcrm-bulk-toolbar{align-items:stretch}
    .mdcrm-bulk-download{width:100%}
}

/* ===== 4.5.0 digitale contractondertekening ===== */
.mdcrm-sign-page{max-width:1050px}
.mdcrm-sign-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}
.mdcrm-sign-head h3{margin:0 0 5px}
.mdcrm-contract-document{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;line-height:1.65;margin-bottom:22px}
.mdcrm-sign-form,.mdcrm-sign-proof{border:1px solid #dbe2ea;background:#f8fafc;border-radius:12px;padding:20px}
.mdcrm-signature-wrap{background:#fff;border:1px solid #cbd5e1;border-radius:10px;overflow:hidden;margin:7px 0 10px}
#mdcrm-signature-canvas{display:block;width:100%;height:180px;touch-action:none;cursor:crosshair}
.mdcrm-sign-agree{display:flex;align-items:flex-start;gap:9px;margin:18px 0;font-size:13px;font-weight:650}
.mdcrm-sign-agree input{margin-top:2px}
.mdcrm-sign-submit{min-width:210px}
.mdcrm-saved-signature{display:block;max-width:260px;max-height:110px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:8px;margin:12px 0}
.mdcrm-sign-proof code{font-size:10px;word-break:break-all}

/* ===== 4.5.1 samengesteld contract ===== */
.mdcrm-contract-document .contract-section{margin:0 0 28px}
.mdcrm-contract-document .contract-section h2{font-size:17px;margin:0 0 12px;padding-bottom:7px;border-bottom:1px solid #e2e8f0}
.mdcrm-contract-document .contract-lines{width:100%;border-collapse:collapse;margin:10px 0 12px}
.mdcrm-contract-document .contract-lines th,.mdcrm-contract-document .contract-lines td{padding:8px;border-bottom:1px solid #e5e7eb;text-align:left;font-size:12px}
.mdcrm-contract-document .contract-lines th{background:#f8fafc}
.mdcrm-contract-document .contract-totals{text-align:right}
.mdcrm-contract-document .contract-terms{padding-top:8px}
@media(max-width:700px){.mdcrm-contract-document{overflow-x:auto}.mdcrm-contract-document .contract-lines{min-width:720px}}

/* ===== 4.5.3 ondertekende contract-PDF acties ===== */
.mdcrm-signed-pdf-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.mdcrm-btn-pdf-download{
    background:#0f766e!important;
    color:#fff!important;
    border:1px solid #0f766e!important;
}
.mdcrm-btn-pdf-download:hover{background:#115e59!important}

/* ===== 4.5.9 algemene voorwaarden link ===== */
.mdcrm-contract-document .contract-terms a{
    color:#0b5bd3;
    text-decoration:underline;
    text-underline-offset:2px;
}
.mdcrm-contract-document .contract-terms a:hover{
    text-decoration-thickness:2px;
}


/* 4.10.3 - Mobiele klantenportaal */
.mdcrm-mobile-menu-toggle,
.mdcrm-mobile-menu-overlay{display:none}

@media (max-width:900px){
    html.mdcrm-no-scroll,html.mdcrm-no-scroll body{overflow:hidden!important}

    .mdcrm-portal-shell{
        display:block!important;
        min-height:100vh;
        width:100%;
        overflow-x:hidden;
    }

    .mdcrm-mobile-menu-toggle{
        display:inline-flex;
        position:sticky;
        top:10px;
        z-index:1002;
        align-items:center;
        justify-content:center;
        gap:8px;
        min-height:44px;
        margin:10px 12px 8px;
        padding:10px 14px;
        border:0;
        border-radius:9px;
        background:#0f172a;
        color:#fff;
        font-size:15px;
        font-weight:700;
        cursor:pointer;
        box-shadow:0 4px 14px rgba(15,23,42,.18);
    }

    .mdcrm-mobile-menu-icon{font-size:20px;line-height:1}

    .mdcrm-mobile-menu-overlay{
        position:fixed;
        inset:0;
        z-index:998;
        background:rgba(15,23,42,.5);
    }
    .mdcrm-mobile-menu-overlay:not([hidden]){display:block}

    .mdcrm-portal-sidebar{
        display:block!important;
        position:fixed!important;
        top:0;left:0;bottom:0;
        z-index:1001;
        width:min(84vw,320px)!important;
        max-width:320px;
        height:100dvh;
        overflow-y:auto;
        transform:translateX(-105%);
        transition:transform .22s ease;
        box-shadow:8px 0 28px rgba(15,23,42,.22);
    }
    .mdcrm-mobile-menu-open .mdcrm-portal-sidebar{transform:translateX(0)}

    .mdcrm-portal-main,
    .mdcrm-portal-content,
    .mdcrm-portal-body{
        width:100%!important;
        max-width:none!important;
        min-width:0!important;
        margin:0!important;
        padding-left:12px!important;
        padding-right:12px!important;
        box-sizing:border-box;
    }

    .mdcrm-card{
        width:100%!important;
        max-width:none!important;
        min-width:0!important;
        margin-left:0!important;
        margin-right:0!important;
        padding:16px!important;
        border-radius:12px!important;
        box-sizing:border-box;
        overflow:hidden;
    }

    .mdcrm-card h1,.mdcrm-card h2,.mdcrm-card h3,.mdcrm-card h4{overflow-wrap:anywhere}

    .mdcrm-table,.mdcrm-table-wrap,.mdcrm-responsive-table{
        width:100%;
        max-width:100%;
        overflow-x:auto!important;
        overflow-y:hidden;
        -webkit-overflow-scrolling:touch;
        border-radius:8px;
    }

    .mdcrm-table table,.mdcrm-bulk-doc-form table{
        width:max-content!important;
        min-width:100%!important;
        border-collapse:collapse;
    }

    .mdcrm-table th,.mdcrm-table td,
    .mdcrm-bulk-doc-form th,.mdcrm-bulk-doc-form td{
        white-space:nowrap;
        vertical-align:middle;
    }

    .mdcrm-table td:first-child,
    .mdcrm-table td:nth-child(2){
        white-space:normal;
        min-width:140px;
        overflow-wrap:anywhere;
    }

    .mdcrm-doc-actions{
        min-width:190px;
        white-space:normal!important;
    }

    .mdcrm-doc-actions .mdcrm-btn,
    .mdcrm-doc-actions a,
    .mdcrm-doc-actions button{
        display:flex!important;
        align-items:center;
        justify-content:center;
        width:100%;
        min-height:44px;
        margin:6px 0!important;
        padding:10px 12px!important;
        border-radius:8px!important;
        box-sizing:border-box;
        text-align:center;
        line-height:1.25;
        white-space:normal!important;
        overflow-wrap:anywhere;
    }

    .mdcrm-btn,.mdcrm-btn-secondary,.mdcrm-btn-cancel-sub,.mdcrm-btn-pay,
    .mdcrm-btn-pdf,.mdcrm-btn-outline,.mdcrm-btn-secondary-small,
    button,input[type="submit"]{
        min-height:44px;
        touch-action:manipulation;
    }

    .mdcrm-bulk-actions,.mdcrm-document-toolbar,.mdcrm-action-row,.mdcrm-manage-grid{
        display:flex!important;
        flex-direction:column!important;
        align-items:stretch!important;
        gap:10px!important;
    }

    .mdcrm-bulk-actions button,.mdcrm-bulk-actions .mdcrm-btn,
    .mdcrm-document-toolbar a,.mdcrm-action-row a,.mdcrm-action-row button{
        width:100%!important;
    }

    .mdcrm-card input[type="text"],.mdcrm-card input[type="email"],
    .mdcrm-card input[type="password"],.mdcrm-card input[type="tel"],
    .mdcrm-card input[type="number"],.mdcrm-card input[type="date"],
    .mdcrm-card select,.mdcrm-card textarea{
        width:100%!important;
        max-width:100%!important;
        min-height:44px;
        box-sizing:border-box;
        font-size:16px;
    }
    .mdcrm-card textarea{min-height:120px}

    .mdcrm-dashboard-grid,.mdcrm-portal-grid,.mdcrm-kpi-grid,
    .mdcrm-three-col,.mdcrm-two-col,.mdcrm-manage-grid{
        display:grid!important;
        grid-template-columns:1fr!important;
        width:100%!important;
        gap:12px!important;
    }

    .mdcrm-status-badge,.mdcrm-sub-category{
        display:inline-flex;
        max-width:100%;
        white-space:normal;
        overflow-wrap:anywhere;
    }

    .mdcrm-cancel-page,.mdcrm-manage-box{
        width:100%;
        min-width:0;
        box-sizing:border-box;
    }

    .mdcrm-back-link{
        display:inline-flex;
        align-items:center;
        min-height:44px;
    }

    .mdcrm-select-col{width:38px;min-width:38px}
    .mdcrm-doc-checkbox,.mdcrm-select-all-docs{width:20px;height:20px}
}

@media (max-width:520px){
    .mdcrm-portal-main,.mdcrm-portal-content,.mdcrm-portal-body{
        padding-left:8px!important;
        padding-right:8px!important;
    }
    .mdcrm-card{padding:13px!important}
    .mdcrm-mobile-menu-toggle{margin-left:8px;margin-right:8px}
    .mdcrm-table{
        margin-left:-4px;
        margin-right:-4px;
        width:calc(100% + 8px);
        max-width:calc(100% + 8px);
    }
}


/* 4.10.4 - mobile menu reliability / theme override */
@media (max-width:900px){
    .mdcrm-portal-shell.mdcrm-mobile-menu-open .mdcrm-portal-sidebar{
        display:block!important;
        visibility:visible!important;
        opacity:1!important;
        transform:translate3d(0,0,0)!important;
        left:0!important;
    }
    .mdcrm-portal-shell:not(.mdcrm-mobile-menu-open) .mdcrm-portal-sidebar{
        transform:translate3d(-105%,0,0)!important;
    }
    .mdcrm-mobile-menu-toggle{
        pointer-events:auto!important;
        visibility:visible!important;
        opacity:1!important;
    }
}

/* 4.15.1 Domain & Hosting in portal */
.mdcrm-domain-search{display:flex;gap:10px;align-items:center;margin:14px 0}
.mdcrm-domain-search input{flex:1 1 auto;min-width:0}
#mdcrm-domain-result{margin:10px 0 18px;font-weight:600}
#mdcrm-hosting-plan{width:100%;max-width:520px;min-height:44px;margin:8px 0 14px}
@media(max-width:700px){
 .mdcrm-domain-search{flex-direction:column;align-items:stretch}
 .mdcrm-domain-search .mdcrm-btn,#mdcrm-order-domain{width:100%}
}


/* 4.16.3 - Moderne domeinchecker */
.mdcrm-domain-shop{overflow:visible!important}
.mdcrm-domain-shop-head{margin-bottom:18px}
.mdcrm-domain-eyebrow{
    display:inline-block;
    margin-bottom:6px;
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
    color:#2563eb;
}
.mdcrm-domain-shop h2{margin:0 0 6px;font-size:28px}
.mdcrm-domain-shop-head p{margin:0;color:#64748b}

.mdcrm-domain-search-modern{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
    padding:8px;
    border:1px solid #dbe3ef;
    border-radius:16px;
    background:#fff;
    box-shadow:0 8px 28px rgba(15,23,42,.06);
}
.mdcrm-domain-input-wrap{position:relative}
.mdcrm-domain-input-wrap input{
    width:100%!important;
    min-height:54px!important;
    padding:0 16px 0 46px!important;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:transparent!important;
    font-size:18px!important;
    font-weight:600;
}
.mdcrm-domain-globe{
    position:absolute;left:17px;top:50%;transform:translateY(-50%);
    color:#64748b;font-size:22px;
}
.mdcrm-domain-check-btn{
    min-width:130px;
    border-radius:11px!important;
    padding-left:22px!important;
    padding-right:22px!important;
}
.mdcrm-domain-check-btn:disabled,.mdcrm-domain-order-btn:disabled{opacity:.6;cursor:wait}

.mdcrm-domain-result{margin:16px 0}
.mdcrm-domain-checking{
    display:flex;align-items:center;gap:9px;
    padding:13px 15px;
    border-radius:11px;
    background:#f8fafc;
    color:#475569;
}
.mdcrm-domain-spinner{
    width:17px;height:17px;border:2px solid #cbd5e1;border-top-color:#2563eb;
    border-radius:50%;animation:mdcrm-spin .7s linear infinite;
}
@keyframes mdcrm-spin{to{transform:rotate(360deg)}}

.mdcrm-domain-result-card{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto auto;
    gap:14px;
    align-items:center;
    padding:18px;
    border:1px solid;
    border-radius:14px;
}
.mdcrm-domain-result-icon{
    display:flex;align-items:center;justify-content:center;
    width:38px;height:38px;border-radius:50%;
    font-size:20px;font-weight:800;
}
.mdcrm-domain-result-copy{display:flex;flex-direction:column;min-width:0}
.mdcrm-domain-result-copy strong{
    font-size:18px;
    overflow-wrap:anywhere;
}
.mdcrm-domain-result-copy span{font-size:14px;margin-top:2px}
.mdcrm-domain-status-badge{
    padding:6px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
}
.mdcrm-domain-price{
    font-size:18px;
    font-weight:800;
    white-space:nowrap;
}
.mdcrm-domain-price small{font-size:12px;font-weight:500}

.mdcrm-domain-result-available{
    border-color:#bbf7d0;
    background:#f0fdf4;
    color:#166534;
}
.mdcrm-domain-result-available .mdcrm-domain-result-icon{
    background:#dcfce7;color:#15803d;
}
.mdcrm-domain-result-available .mdcrm-domain-status-badge{
    background:#dcfce7;color:#166534;
}

.mdcrm-domain-result-taken{
    border-color:#fecaca;
    background:#fff7f7;
    color:#991b1b;
}
.mdcrm-domain-result-taken .mdcrm-domain-result-icon{
    background:#fee2e2;color:#dc2626;
}
.mdcrm-domain-result-taken .mdcrm-domain-status-badge{
    background:#fee2e2;color:#991b1b;
}
.mdcrm-domain-result-error{
    grid-template-columns:auto minmax(0,1fr);
    border-color:#fed7aa;background:#fff7ed;color:#9a3412;
}
.mdcrm-domain-result-error .mdcrm-domain-result-icon{background:#ffedd5}
.mdcrm-domain-result-error div:last-child{display:flex;flex-direction:column}

.mdcrm-domain-transfer-hint,.mdcrm-domain-note{
    margin-top:10px;
    padding:13px 15px;
    border-radius:10px;
    background:#f8fafc;
    color:#475569;
    font-size:14px;
}
.mdcrm-domain-transfer-hint{
    border-left:4px solid #2563eb;
}

.mdcrm-domain-order-area{
    margin-top:20px;
    padding-top:20px;
    border-top:1px solid #e5e7eb;
}
.mdcrm-domain-order-area[hidden],.mdcrm-transfer-fields[hidden]{display:none!important}
.mdcrm-transfer-fields{
    margin-bottom:20px;
    padding:16px;
    border:1px solid #dbeafe;
    border-radius:12px;
    background:#eff6ff;
}
.mdcrm-transfer-fields h3,.mdcrm-hosting-choice h3{margin:0 0 5px}
.mdcrm-transfer-fields p,.mdcrm-hosting-choice p{margin:0 0 12px;color:#64748b}
.mdcrm-transfer-fields label{
    display:block;margin-bottom:6px;font-weight:700;
}
.mdcrm-transfer-fields input{
    width:100%!important;
    min-height:46px;
    box-sizing:border-box;
}
.mdcrm-field-error{border-color:#dc2626!important;box-shadow:0 0 0 2px rgba(220,38,38,.1)!important}
.mdcrm-domain-order-btn{margin-top:4px;min-height:46px!important}

.mdcrm-hosting-list{display:flex;flex-direction:column;gap:10px}
.mdcrm-hosting-item{
    display:flex;justify-content:space-between;align-items:center;gap:16px;
    padding:14px 16px;
    border:1px solid #e5e7eb;
    border-radius:12px;
    background:#fff;
}
.mdcrm-hosting-item>div{display:flex;flex-direction:column}
.mdcrm-hosting-item span{color:#64748b;font-size:13px;margin-top:2px}

@media(max-width:700px){
    .mdcrm-domain-search-modern{grid-template-columns:1fr}
    .mdcrm-domain-check-btn{width:100%}
    .mdcrm-domain-result-card{
        grid-template-columns:auto minmax(0,1fr);
    }
    .mdcrm-domain-status-badge,.mdcrm-domain-price{
        grid-column:2;
        justify-self:start;
    }
    .mdcrm-domain-shop h2{font-size:24px}
    .mdcrm-hosting-item{
        flex-direction:column;
        align-items:stretch;
    }
    .mdcrm-hosting-item .mdcrm-btn{width:100%}
}


/* 4.16.4 - Hostingpakketten als visuele kaarten */
.mdcrm-hosting-choice{margin-top:8px}
.mdcrm-hosting-choice-head{margin-bottom:14px}
.mdcrm-hosting-choice-head h3{margin:0 0 5px;font-size:20px}
.mdcrm-hosting-choice-head p{margin:0;color:#64748b}

.mdcrm-hosting-plan-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin:16px 0 18px;
}
.mdcrm-hosting-plan-card{
    position:relative;
    display:flex;
    flex-direction:column;
    min-width:0;
    min-height:100%;
    overflow:hidden;
    border:2px solid #e5e7eb;
    border-radius:16px;
    background:#fff;
    cursor:pointer;
    transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.mdcrm-hosting-plan-card:hover{
    transform:translateY(-2px);
    border-color:#bfdbfe;
    box-shadow:0 12px 28px rgba(15,23,42,.08);
}
.mdcrm-hosting-plan-card.is-selected{
    border-color:#2563eb;
    box-shadow:0 0 0 3px rgba(37,99,235,.10),0 12px 30px rgba(15,23,42,.08);
}
.mdcrm-hosting-plan-card.is-featured{
    border-color:#93c5fd;
}
.mdcrm-hosting-plan-card>input[type="radio"]{
    position:absolute!important;
    opacity:0!important;
    pointer-events:none!important;
}

.mdcrm-hosting-plan-media{
    width:100%;
    aspect-ratio:16/7;
    overflow:hidden;
    background:#f8fafc;
}
.mdcrm-hosting-plan-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.mdcrm-hosting-plan-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#eff6ff,#f8fafc);
}
.mdcrm-hosting-plan-icon span{
    display:flex;
    align-items:center;
    justify-content:center;
    width:62px;
    height:62px;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 22px rgba(15,23,42,.08);
    color:#2563eb;
    font-size:32px;
}

.mdcrm-hosting-plan-body{
    display:flex;
    flex-direction:column;
    flex:1;
    padding:18px;
}
.mdcrm-hosting-plan-top h4{
    margin:0;
    font-size:18px;
    line-height:1.25;
}
.mdcrm-hosting-plan-body>p{
    margin:9px 0 18px;
    color:#64748b;
    font-size:14px;
    line-height:1.55;
    flex:1;
}
.mdcrm-hosting-plan-price{
    display:flex;
    align-items:baseline;
    gap:5px;
    margin-top:auto;
}
.mdcrm-hosting-plan-price strong{
    font-size:22px;
    color:#0f172a;
}
.mdcrm-hosting-plan-price span{
    color:#64748b;
    font-size:13px;
}

.mdcrm-hosting-plan-select-label{
    margin-top:14px;
    padding:10px 12px;
    border:1px solid #dbe3ef;
    border-radius:10px;
    text-align:center;
    font-weight:800;
    color:#334155;
    background:#f8fafc;
}
.mdcrm-hosting-plan-card.is-selected .mdcrm-hosting-plan-select-label{
    border-color:#2563eb;
    background:#2563eb;
    color:#fff;
}
.mdcrm-hosting-plan-card.is-selected .mdcrm-hosting-plan-select-label::after{
    content:" ✓";
}

.mdcrm-hosting-plan-badge{
    position:absolute;
    z-index:2;
    top:12px;
    right:12px;
    max-width:calc(100% - 24px);
    padding:6px 9px;
    border-radius:999px;
    background:#2563eb;
    color:#fff;
    font-size:11px;
    font-weight:800;
    box-shadow:0 5px 14px rgba(37,99,235,.22);
}
.mdcrm-hosting-plan-domain-only .mdcrm-hosting-plan-price strong{
    font-size:16px;
}

@media(max-width:1000px){
    .mdcrm-hosting-plan-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:620px){
    .mdcrm-hosting-plan-grid{
        grid-template-columns:1fr;
    }
    .mdcrm-hosting-plan-media{
        aspect-ratio:16/6;
    }
}


/* 4.16.7 - Geen dubbele paginakoppen in het klantenportaal */
.mdcrm-portal-main > .mdcrm-portal-topbar{
    display:none!important;
}
.mdcrm-portal-main{
    padding-top:24px;
}


/* 4.17.0 - Self-service opzeggingen */
.mdcrm-service-list{display:flex;flex-direction:column;gap:12px}
.mdcrm-service-item{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px 18px;
    align-items:center;
    padding:16px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:#fff;
}
.mdcrm-service-main{display:flex;flex-direction:column;min-width:0}
.mdcrm-service-main strong{font-size:16px;overflow-wrap:anywhere}
.mdcrm-service-main span{margin-top:3px;color:#64748b;font-size:13px}
.mdcrm-service-actions{display:flex;gap:8px;align-items:center}
.mdcrm-cancel-service{grid-column:1/-1}
.mdcrm-link-button{
    padding:0;
    border:0;
    background:transparent;
    color:#b42318;
    text-decoration:underline;
    cursor:pointer;
    font:inherit;
}
.mdcrm-cancel-panel{
    margin-top:12px;
    padding:16px;
    border:1px solid #fecaca;
    border-radius:12px;
    background:#fff7f7;
}
.mdcrm-cancel-panel[hidden]{display:none!important}
.mdcrm-cancel-panel h4{margin:0 0 5px}
.mdcrm-cancel-panel p{margin:0 0 14px;color:#7f1d1d}
.mdcrm-cancel-panel label{display:block;margin:11px 0 5px;font-weight:700}
.mdcrm-cancel-panel select,.mdcrm-cancel-panel input{
    width:100%;
    max-width:520px;
    min-height:42px;
}
.mdcrm-cancel-actions{display:flex;gap:12px;align-items:center;margin-top:14px}
.mdcrm-cancel-status{
    display:flex;
    flex-wrap:wrap;
    gap:10px 14px;
    align-items:center;
    padding:10px 12px;
    border-radius:9px;
}
.mdcrm-cancel-status.is-scheduled{background:#fff7ed;color:#9a3412}
.mdcrm-cancel-status.is-processing{background:#eff6ff;color:#1d4ed8}
.mdcrm-cancel-status.is-completed{background:#f1f5f9;color:#475569}
.mdcrm-cancel-status.is-error{background:#fef2f2;color:#991b1b;flex-direction:column;align-items:flex-start}
.mdcrm-cancel-result{margin-top:10px;font-size:13px}
@media(max-width:700px){
    .mdcrm-service-item{grid-template-columns:1fr}
    .mdcrm-service-actions{grid-column:1}
    .mdcrm-cancel-actions{flex-direction:column;align-items:stretch}
    .mdcrm-cancel-actions .mdcrm-btn{width:100%}
}


/* 4.19.4 - Mijn diensten + nette lege status */
.mdcrm-my-services>h3{
    margin:0 0 18px;
    font-size:24px;
}
.mdcrm-empty-services{
    display:flex;
    align-items:flex-start;
    gap:14px;
    padding:18px;
    border:1px solid #fecaca;
    border-radius:14px;
    background:#fff7f7;
    color:#991b1b;
}
.mdcrm-empty-services-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 38px;
    width:38px;
    height:38px;
    border-radius:50%;
    background:#fee2e2;
    color:#b91c1c;
    font-size:20px;
    font-weight:800;
}
.mdcrm-empty-services>div:last-child{
    display:flex;
    flex-direction:column;
    gap:4px;
}
.mdcrm-empty-services strong{
    font-size:15px;
    line-height:1.4;
}
.mdcrm-empty-services span{
    color:#7f1d1d;
    font-size:13px;
    line-height:1.5;
}

/* 4.19.5 - Centrale lege-status component */
.mdcrm-empty-state{display:flex;align-items:flex-start;gap:14px;width:100%;margin:14px 0 4px;padding:18px;border:1px solid #fecaca;border-radius:14px;background:#fff7f7;color:#991b1b;box-sizing:border-box}
.mdcrm-empty-state-icon{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#fee2e2;color:#b91c1c;font-size:20px;font-weight:800}
.mdcrm-empty-state-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.mdcrm-empty-state-copy strong{font-size:15px;line-height:1.45;color:#991b1b}
.mdcrm-empty-state-copy span{color:#7f1d1d;font-size:13px;line-height:1.55}
@media(max-width:620px){.mdcrm-empty-state{padding:15px;gap:11px}.mdcrm-empty-state-icon{flex-basis:34px;width:34px;height:34px;font-size:18px}}

/* 4.25.1 - 2FA QR */
.mdcrm-qr-wrap{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:240px;
    min-height:240px;
    padding:10px;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:12px;
    box-sizing:border-box;
}
.mdcrm-qr-wrap > div{
    width:220px;
    min-height:220px;
}
.mdcrm-qr-wrap img,
.mdcrm-qr-wrap canvas{
    width:220px !important;
    height:220px !important;
    max-width:100%;
}
.mdcrm-qr-error{
    width:220px;
    min-height:120px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:18px;
    color:#b91c1c;
    background:#fff1f2;
    border-radius:8px;
    box-sizing:border-box;
}

/* 4.25.3 - hosting aanbiedingen */
.mdcrm-hosting-plan-price.has-sale{
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    gap:6px 9px;
}
.mdcrm-hosting-plan-price.has-sale del{
    opacity:.58;
    font-size:.92em;
}
.mdcrm-hosting-plan-price.has-sale strong{
    font-size:1.28em;
}
.mdcrm-hosting-plan-sale-badge{
    font-weight:700;
}

/* 4.25.4 */
.mdcrm-hosting-plan-icon svg{width:44px;height:44px}.mdcrm-domain-custom-intro{margin-bottom:20px}.mdcrm-domain-extensions,.mdcrm-bulk-domain-card{margin-top:20px}
.mdcrm-tld-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px;margin-top:16px}.mdcrm-tld-card{padding:14px;border:1px solid #dfe6ef;border-radius:12px;background:#f8fafc;display:flex;flex-direction:column;gap:4px}
.mdcrm-all-tlds-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:7px;max-height:300px;overflow:auto;margin-top:12px}.mdcrm-all-tlds-grid span{padding:7px;border:1px solid #e2e8f0;border-radius:8px}
#mdcrm-bulk-domains{width:100%;box-sizing:border-box;padding:14px;border:1px solid #d8e0ea;border-radius:12px}.mdcrm-bulk-actions{margin-top:12px}.mdcrm-bulk-badge{padding:6px 10px;border-radius:999px;background:#e8f0ff;color:#1d4ed8;font-weight:800}
.mdcrm-bulk-table{margin-top:16px;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.mdcrm-bulk-head,.mdcrm-bulk-row{display:grid;grid-template-columns:42px 2fr 1fr 1fr;gap:10px;align-items:center;padding:11px 14px}.mdcrm-bulk-head{background:#f8fafc}.mdcrm-bulk-row{border-top:1px solid #edf1f5}
.mdcrm-bulk-status{display:inline-flex;width:max-content;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:800}.mdcrm-bulk-status.is-free{background:#dcfce7;color:#166534}.mdcrm-bulk-status.is-transfer{background:#fef3c7;color:#92400e}.mdcrm-bulk-status.is-taken{background:#fee2e2;color:#991b1b}
.mdcrm-bulk-checkout-bar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:10px;padding:14px;background:#f8fafc;border-radius:12px}.mdcrm-bulk-checkout-bar>div{display:flex;align-items:center;gap:12px}
@media(max-width:700px){.mdcrm-bulk-head{display:none}.mdcrm-bulk-row{grid-template-columns:32px 1fr}.mdcrm-bulk-row>.mdcrm-bulk-status,.mdcrm-bulk-row>span:last-child{grid-column:2}.mdcrm-bulk-checkout-bar,.mdcrm-bulk-checkout-bar>div{flex-direction:column;align-items:stretch}}

/* 4.25.5 - domeinsuggesties */
.mdcrm-domain-suggestions{margin-top:14px;border:1px solid #dfe6ef;border-radius:14px;overflow:hidden;background:#fff}.mdcrm-domain-suggestions-title{padding:16px 18px;background:#f8fafc;display:flex;flex-direction:column;gap:3px}.mdcrm-domain-suggestions-title span{font-size:13px;color:#64748b}.mdcrm-domain-suggestion{width:100%;border:0;border-top:1px solid #edf1f5;background:#fff;padding:13px 18px;display:flex;justify-content:space-between;align-items:center;text-align:left;cursor:pointer}.mdcrm-domain-suggestion:hover{background:#f8fbff}.mdcrm-domain-suggestion:disabled{cursor:default;opacity:.55}.mdcrm-domain-suggestion>span:first-child{display:flex;flex-direction:column;gap:2px}.mdcrm-domain-suggestion small{color:#64748b}.mdcrm-domain-suggestion.is-free small{color:#15803d}.mdcrm-domain-suggestion-price{font-weight:700;white-space:nowrap}@media(max-width:600px){.mdcrm-domain-suggestion{align-items:flex-start;gap:8px;flex-direction:column}}


/* 4.25.6 - polished domain suggestions */
.mdcrm-domain-suggestions{
    margin-top:16px;
    padding:18px;
    border:1px solid #dfe6ef;
    border-radius:16px;
    background:#fff;
    box-shadow:0 8px 28px rgba(15,23,42,.05);
}
.mdcrm-domain-suggestions-title{
    padding:0 0 14px 0;
    margin-bottom:2px;
    background:transparent;
}
.mdcrm-domain-suggestions-title strong{
    display:block;
    font-size:20px;
    line-height:1.25;
    color:#0f172a;
}
.mdcrm-domain-suggestions-title span{
    display:block;
    margin-top:4px;
    color:#64748b;
    font-size:14px;
}
.mdcrm-domain-suggestions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.mdcrm-domain-suggestions-title{
    grid-column:1/-1;
}
.mdcrm-domain-suggestions .mdcrm-domain-suggestion{
    appearance:none !important;
    -webkit-appearance:none !important;
    width:100% !important;
    min-height:92px;
    margin:0 !important;
    padding:16px !important;
    border:1px solid #e2e8f0 !important;
    border-radius:14px !important;
    background:#fff !important;
    color:#0f172a !important;
    box-shadow:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:16px;
    text-align:left !important;
    cursor:pointer;
    transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease;
}
.mdcrm-domain-suggestions .mdcrm-domain-suggestion.is-free:hover{
    transform:translateY(-1px);
    border-color:#2563eb !important;
    box-shadow:0 8px 22px rgba(37,99,235,.10) !important;
    background:#fbfdff !important;
}
.mdcrm-domain-suggestions .mdcrm-domain-suggestion:disabled{
    cursor:default !important;
    opacity:.62 !important;
    background:#f8fafc !important;
}
.mdcrm-domain-suggestion-main{
    display:flex;
    align-items:center;
    min-width:0;
    gap:12px;
}
.mdcrm-domain-suggestion-icon{
    width:38px;
    height:38px;
    min-width:38px;
    border-radius:10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-weight:800;
    background:#dcfce7;
    color:#15803d;
}
.mdcrm-domain-suggestion.is-taken .mdcrm-domain-suggestion-icon{
    background:#fee2e2;
    color:#b91c1c;
}
.mdcrm-domain-suggestion.is-transfer .mdcrm-domain-suggestion-icon{
    background:#fef3c7;
    color:#92400e;
}
.mdcrm-domain-suggestion-copy{
    display:flex;
    flex-direction:column;
    min-width:0;
    gap:3px;
}
.mdcrm-domain-suggestion-copy strong{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:16px;
    line-height:1.25;
    color:#0f172a;
}
.mdcrm-domain-suggestion-status{
    width:max-content;
    padding:3px 8px;
    border-radius:999px;
    font-size:11px !important;
    line-height:1.35;
    font-weight:700;
    background:#dcfce7;
    color:#166534 !important;
}
.mdcrm-domain-suggestion.is-taken .mdcrm-domain-suggestion-status{
    background:#fee2e2;
    color:#991b1b !important;
}
.mdcrm-domain-suggestion.is-transfer .mdcrm-domain-suggestion-status{
    background:#fef3c7;
    color:#92400e !important;
}
.mdcrm-domain-suggestion-side{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    flex-shrink:0;
}
.mdcrm-domain-suggestion-price{
    font-size:18px;
    line-height:1.15;
    font-weight:800;
    color:#0f172a;
    white-space:nowrap;
}
.mdcrm-domain-suggestion-side small{
    margin-top:2px;
    color:#64748b;
    font-size:12px;
}
@media(max-width:900px){
    .mdcrm-domain-suggestions{
        grid-template-columns:1fr;
    }
}
@media(max-width:520px){
    .mdcrm-domain-suggestions{
        padding:14px;
    }
    .mdcrm-domain-suggestions .mdcrm-domain-suggestion{
        min-height:84px;
        padding:13px !important;
        gap:10px;
    }
    .mdcrm-domain-suggestion-icon{
        width:34px;
        height:34px;
        min-width:34px;
    }
    .mdcrm-domain-suggestion-copy strong{
        font-size:15px;
    }
    .mdcrm-domain-suggestion-price{
        font-size:16px;
    }
}

/* 4.25.9 DNS beheer */
.mdcrm-domain-service{flex-wrap:wrap}.mdcrm-domain-service-actions{display:flex;align-items:center;gap:10px}.mdcrm-dns-manager{width:100%}.mdcrm-dns-panel{margin-top:12px;padding:18px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}.mdcrm-dns-head{display:flex;justify-content:space-between;margin-bottom:12px}.mdcrm-dns-head>div{display:flex;flex-direction:column}.mdcrm-dns-head span{font-size:13px;color:#64748b}.mdcrm-dns-toolbar{margin:10px 0}.mdcrm-dns-row{display:grid;grid-template-columns:110px 80px 70px 1fr auto auto;gap:8px;align-items:center;padding:9px;border-bottom:1px solid #e5e7eb}.mdcrm-dns-row input,.mdcrm-dns-form-grid input,.mdcrm-dns-form-grid select{min-height:40px;border:1px solid #cbd5e1;border-radius:8px;padding:7px 9px}.mdcrm-dns-row button{border:1px solid #cbd5e1;background:#fff;border-radius:8px;padding:8px;cursor:pointer}.mdcrm-dns-delete{color:#b91c1c}.mdcrm-dns-add-form{border-top:1px solid #e5e7eb;margin-top:16px;padding-top:14px}.mdcrm-dns-form-grid{display:grid;grid-template-columns:1fr 120px 120px 2fr;gap:8px;margin:10px 0}.mdcrm-dns-message{margin:8px 0;color:#15803d}.mdcrm-dns-message.is-error{color:#b91c1c}@media(max-width:800px){.mdcrm-dns-row,.mdcrm-dns-form-grid{grid-template-columns:1fr 1fr}.mdcrm-dns-row input{grid-column:1/-1}}@media(max-width:500px){.mdcrm-dns-row,.mdcrm-dns-form-grid{grid-template-columns:1fr}}

/* 4.26.0 WHOIS */
.mdcrm-domain-search-links{margin-top:8px;text-align:right}.mdcrm-text-action{border:0;background:transparent;padding:3px 0;color:#2563eb;font-weight:700;cursor:pointer}.mdcrm-domain-whois-mini{margin-top:5px;font-size:12px;color:#2563eb;text-decoration:underline;cursor:pointer}.mdcrm-whois-modal[hidden]{display:none!important}.mdcrm-whois-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px}.mdcrm-whois-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(2px)}.mdcrm-whois-dialog{position:relative;width:min(760px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:18px;box-shadow:0 25px 70px rgba(0,0,0,.25);padding:22px}.mdcrm-whois-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.mdcrm-whois-head>div{display:flex;flex-direction:column}.mdcrm-whois-head strong{font-size:21px}.mdcrm-whois-head span{font-size:13px;color:#64748b}.mdcrm-whois-close{border:0;background:#f1f5f9;border-radius:9px;width:36px;height:36px;font-size:24px;cursor:pointer}.mdcrm-whois-search{display:flex;gap:8px;margin:18px 0}.mdcrm-whois-search input{flex:1;min-height:44px;border:1px solid #cbd5e1;border-radius:9px;padding:8px 11px}.mdcrm-whois-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.mdcrm-whois-summary>div,.mdcrm-whois-field{padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.mdcrm-whois-summary span,.mdcrm-whois-field>span{display:block;font-size:11px;text-transform:uppercase;color:#64748b;margin-bottom:4px}.mdcrm-whois-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mdcrm-whois-raw{white-space:pre-wrap;word-break:break-word;font-family:ui-monospace,monospace;font-size:13px}.mdcrm-whois-note{padding:14px;border-radius:10px;background:#f8fafc;color:#475569}.mdcrm-whois-error{padding:12px;border-radius:9px;background:#fef2f2;color:#b91c1c}.mdcrm-modal-open{overflow:hidden}@media(max-width:600px){.mdcrm-whois-summary,.mdcrm-whois-grid{grid-template-columns:1fr}.mdcrm-whois-search{flex-direction:column}.mdcrm-whois-dialog{padding:16px}}

/* 4.26.1 compleet domeinbeheer */
.mdcrm-domain-control{width:100%}.mdcrm-domain-control-inner{margin-top:14px;padding:20px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 8px 26px rgba(15,23,42,.05)}.mdcrm-domain-control-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:14px}.mdcrm-domain-control-head>div{display:flex;flex-direction:column}.mdcrm-domain-control-head strong{font-size:20px}.mdcrm-domain-control-head span{font-size:13px;color:#64748b}.mdcrm-domain-control-message{margin:8px 0;font-size:13px}.mdcrm-domain-control-message.is-ok{color:#15803d}.mdcrm-domain-control-message.is-error{color:#b91c1c}.mdcrm-domain-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.mdcrm-domain-info-grid>div{padding:13px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.mdcrm-domain-info-grid span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.03em;color:#64748b;margin-bottom:4px}.mdcrm-domain-info-grid strong{font-size:14px;color:#0f172a}.mdcrm-domain-info-grid .is-good{color:#15803d}.mdcrm-domain-info-grid .is-warning{color:#b45309}.mdcrm-domain-section{margin-top:16px;padding:16px;border:1px solid #e2e8f0;border-radius:12px}.mdcrm-domain-section h4{margin:0 0 5px}.mdcrm-domain-section p{margin:0 0 10px;color:#64748b}.mdcrm-domain-section-head{display:flex;justify-content:space-between;gap:15px;align-items:center}.mdcrm-switch{position:relative;width:48px;height:26px}.mdcrm-switch input{display:none}.mdcrm-switch span{position:absolute;inset:0;background:#cbd5e1;border-radius:99px;cursor:pointer}.mdcrm-switch span:after{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s}.mdcrm-switch input:checked+span{background:#16a34a}.mdcrm-switch input:checked+span:after{transform:translateX(22px)}.mdcrm-ns-list{display:flex;flex-direction:column;gap:8px}.mdcrm-ns-row{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:8px}.mdcrm-ns-row input{width:100%;min-height:40px;border:1px solid #cbd5e1;border-radius:8px;padding:7px 9px}.mdcrm-domain-inline-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}.mdcrm-holder-summary{display:flex;flex-direction:column}.mdcrm-holder-summary span{color:#64748b;font-size:13px}.mdcrm-auth-result code{padding:6px 9px;border-radius:7px;background:#f1f5f9;word-break:break-all}.mdcrm-domain-action-active{margin-top:12px;padding:12px;border-radius:10px;background:#fff7ed;color:#9a3412;display:flex;flex-direction:column}.mdcrm-domain-danger{background:#fff7f7;border-color:#fecaca}@media(max-width:950px){.mdcrm-domain-info-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.mdcrm-domain-info-grid,.mdcrm-ns-row{grid-template-columns:1fr}.mdcrm-domain-service-actions{align-items:stretch;flex-direction:column}.mdcrm-domain-control-inner{padding:15px}}

/* 4.27.0 VPS shop */
.mdcrm-vps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.mdcrm-vps-card{padding:18px;border:1px solid #e2e8f0;border-radius:15px;background:#fff}.mdcrm-vps-card h3{margin:0 0 4px}.mdcrm-vps-card code{font-size:11px;color:#64748b}.mdcrm-vps-price{font-size:25px;font-weight:800;margin:15px 0}.mdcrm-vps-price small{font-size:12px;font-weight:500;color:#64748b}.mdcrm-vps-card label{display:block;font-size:12px;font-weight:700;margin:10px 0}.mdcrm-vps-card select,.mdcrm-vps-card input{width:100%;min-height:42px;margin-top:4px;border:1px solid #cbd5e1;border-radius:8px;padding:7px 9px}@media(max-width:900px){.mdcrm-vps-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.mdcrm-vps-grid{grid-template-columns:1fr}}

/* 4.27.3 - VPS category-first whitelabel layout */
.mdcrm-vps-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px}.mdcrm-vps-hero h2{margin:5px 0 7px}.mdcrm-vps-hero p{max-width:780px;margin:0;color:#64748b}.mdcrm-vps-hero-badge{flex-shrink:0;padding:8px 12px;border-radius:999px;background:#ecfdf5;color:#047857;font-size:12px;font-weight:800}
.mdcrm-vps-category-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.mdcrm-vps-category-tabs a{padding:9px 14px;border:1px solid #dbe3ee;border-radius:999px;background:#fff;color:#334155;text-decoration:none;font-size:13px;font-weight:800}.mdcrm-vps-category-tabs a.active,.mdcrm-vps-category-tabs a:hover{border-color:#2563eb;color:#2563eb;background:#eff6ff}
.mdcrm-vps-category-section{scroll-margin-top:20px}.mdcrm-vps-category-section+.mdcrm-vps-category-section{margin-top:34px;padding-top:28px;border-top:1px solid #e2e8f0}.mdcrm-vps-category-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:18px}.mdcrm-vps-category-head>div>span{display:block;color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.mdcrm-vps-category-head h3{margin:3px 0 4px;font-size:23px}.mdcrm-vps-category-head p{margin:0;color:#64748b}.mdcrm-vps-category-head>strong{padding:6px 10px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:12px}
.mdcrm-vps-family-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.mdcrm-vps-family-nav a{padding:7px 12px;border:1px solid #dbe3ee;border-radius:999px;background:#fff;color:#334155;text-decoration:none;font-size:12px;font-weight:700}.mdcrm-vps-family-nav a:hover{border-color:#2563eb;color:#2563eb}
.mdcrm-vps-groups{display:flex;flex-direction:column;gap:30px}.mdcrm-vps-group{scroll-margin-top:20px}.mdcrm-vps-group-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid #edf1f5}.mdcrm-vps-group-kicker{display:block;color:#64748b;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.mdcrm-vps-group-head h3{margin:3px 0;font-size:20px}.mdcrm-vps-group-head p{margin:0;color:#64748b;font-size:13px}.mdcrm-vps-count{padding:5px 9px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:11px;font-weight:700}
.mdcrm-vps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.mdcrm-vps-card{display:flex;flex-direction:column;min-width:0;padding:18px;border:1px solid #e2e8f0;border-radius:15px;background:#fff;box-shadow:0 6px 22px rgba(15,23,42,.04)}.mdcrm-vps-card:hover{border-color:#cbd5e1;box-shadow:0 10px 30px rgba(15,23,42,.07)}.mdcrm-vps-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.mdcrm-vps-family{padding:5px 8px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:800}.mdcrm-vps-card-top code{max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#94a3b8;font-size:10px}.mdcrm-vps-card h4{margin:13px 0 5px;font-size:18px}.mdcrm-vps-card-description{margin:0 0 12px;color:#64748b;font-size:13px}.mdcrm-vps-price{display:flex;align-items:baseline;gap:5px;margin-top:auto;padding:14px 0 12px}.mdcrm-vps-price>span{font-size:12px;color:#64748b}.mdcrm-vps-price strong{font-size:25px}.mdcrm-vps-price small{color:#64748b}.mdcrm-vps-config{display:grid;gap:9px;margin-bottom:11px}.mdcrm-vps-config label>span{display:block;margin-bottom:4px;color:#475569;font-size:11px;font-weight:800}.mdcrm-vps-config select,.mdcrm-vps-config input{width:100%;min-height:42px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:9px;background:#fff}.mdcrm-vps-buy{width:100%}
.mdcrm-vps-addon-groups{display:flex;flex-direction:column;gap:18px}.mdcrm-vps-addon-group{padding:16px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}.mdcrm-vps-addon-group-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.mdcrm-vps-addon-group-head h4{margin:0;font-size:16px}.mdcrm-vps-addon-group-head span{font-size:11px;color:#64748b}.mdcrm-vps-addon-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mdcrm-vps-addon-card{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.mdcrm-vps-addon-card>div:first-child{display:flex;flex-direction:column;min-width:0}.mdcrm-vps-addon-card span{margin-top:2px;color:#64748b;font-size:12px}.mdcrm-vps-addon-price{flex-shrink:0;font-weight:800}.mdcrm-vps-addon-price small{display:block;color:#64748b;font-size:10px;font-weight:400;text-align:right}.mdcrm-vps-addon-note{margin-top:12px;padding:11px 13px;border-radius:10px;background:#eff6ff;color:#1e40af;font-size:12px}
.mdcrm-my-vps{margin-top:20px}.mdcrm-vps-status{padding:5px 9px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:11px;font-weight:800}.mdcrm-vps-status.active,.mdcrm-vps-status.running,.mdcrm-vps-status.online{background:#dcfce7;color:#166534}.mdcrm-vps-status.provisioning,.mdcrm-vps-status.installing{background:#fef3c7;color:#92400e}.mdcrm-vps-status.error,.mdcrm-vps-status.provision_error{background:#fee2e2;color:#991b1b}
@media(max-width:1100px){.mdcrm-vps-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.mdcrm-vps-hero,.mdcrm-vps-category-head,.mdcrm-vps-group-head{flex-direction:column;align-items:flex-start}.mdcrm-vps-grid,.mdcrm-vps-addon-grid{grid-template-columns:1fr}.mdcrm-vps-addon-card{align-items:flex-start}.mdcrm-vps-addon-price small{text-align:left}}

/* 4.27.4 - test mode domain UX & exclusive management panels */
.mdcrm-test-domain-label{
    display:inline-flex;
    margin-left:6px;
    padding:3px 7px;
    border-radius:999px;
    background:#fef3c7;
    color:#92400e;
    font-size:10px;
    font-style:normal;
    font-weight:800;
    vertical-align:middle;
}
.mdcrm-test-live-action{
    opacity:.68;
}
.mdcrm-test-domain-notice-floating{
    position:fixed;
    right:22px;
    bottom:22px;
    z-index:999999;
    width:min(390px,calc(100vw - 32px));
    padding:14px 16px;
    border:1px solid #fde68a;
    border-radius:12px;
    background:#fffbeb;
    color:#92400e;
    box-shadow:0 16px 40px rgba(15,23,42,.16);
    transform:translateY(18px);
    opacity:0;
    transition:.22s ease;
}
.mdcrm-test-domain-notice-floating.is-visible{
    transform:translateY(0);
    opacity:1;
}
.mdcrm-test-domain-notice-floating strong,
.mdcrm-test-domain-notice-floating span{
    display:block;
}
.mdcrm-test-domain-notice-floating span{
    margin-top:3px;
    font-size:13px;
}
.mdcrm-domain-control[hidden],
.mdcrm-dns-panel[hidden]{
    display:none!important;
}

/* 4.27.5 - polished domain extensions + compact cancellation */
.mdcrm-domain-extensions{padding:28px 30px}
.mdcrm-domain-extensions .mdcrm-panel-head{margin-bottom:22px}
.mdcrm-domain-extensions .mdcrm-panel-head h3{margin:0 0 7px;font-size:26px;line-height:1.2}
.mdcrm-domain-extensions .mdcrm-panel-head p{margin:0;color:#64748b;font-size:15px}
.mdcrm-domain-extensions .mdcrm-tld-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:0}
.mdcrm-domain-extensions .mdcrm-tld-card{appearance:none;width:100%;min-height:205px;padding:20px 16px 16px;border:1px solid #dfe6ef;border-radius:14px;background:#fff;color:#0f172a;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;text-align:center;cursor:pointer;font:inherit;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.mdcrm-domain-extensions .mdcrm-tld-card:hover{border-color:#b8c7dc;box-shadow:0 10px 28px rgba(15,23,42,.07);transform:translateY(-2px)}
.mdcrm-domain-extensions .mdcrm-tld-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:10px;border-radius:50%;background:#f1f5f9;color:#526b8d;font-size:26px;line-height:1}
.mdcrm-domain-extensions .mdcrm-tld-card>strong{order:-1;margin-bottom:12px;font-size:18px;line-height:1}
.mdcrm-domain-extensions .mdcrm-tld-price{margin-top:3px;color:#0f172a;font-size:21px;font-weight:800;line-height:1.15}
.mdcrm-domain-extensions .mdcrm-tld-card>small{margin-top:3px;color:#64748b;font-size:12px}
.mdcrm-domain-extensions .mdcrm-tld-action{margin-top:auto;min-width:118px;padding:8px 13px;border-radius:8px;background:#0f172a;color:#fff;font-size:12px;font-weight:750;line-height:1}
.mdcrm-domain-extensions .mdcrm-all-tlds{margin-top:20px}
.mdcrm-domain-extensions .mdcrm-all-tlds>summary{width:max-content;max-width:100%;margin:0 auto;padding:11px 18px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#0f172a;font-size:13px;font-weight:700;cursor:pointer;list-style:none}
.mdcrm-domain-extensions .mdcrm-all-tlds>summary::-webkit-details-marker{display:none}
.mdcrm-all-tlds-icon{margin-right:7px;font-size:17px}
.mdcrm-domain-service-actions>.mdcrm-cancel-service{width:auto;min-width:0;padding:0;margin:0;background:transparent;border-radius:0;display:inline-flex}
.mdcrm-domain-service-actions .mdcrm-open-cancel{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 13px;border:1px solid #dbe3ee;border-radius:8px;background:#fff;color:#475569;text-decoration:none;font-size:12px;font-weight:750;line-height:1}
.mdcrm-domain-service-actions .mdcrm-open-cancel:hover{border-color:#fecaca;background:#fff7f7;color:#b42318}
.mdcrm-domain-service-actions .mdcrm-cancel-service{position:relative}
.mdcrm-domain-service-actions .mdcrm-cancel-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:30;width:min(430px,calc(100vw - 40px))}
@media(max-width:1050px){.mdcrm-domain-extensions .mdcrm-tld-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.mdcrm-domain-extensions{padding:20px 16px}.mdcrm-domain-extensions .mdcrm-tld-grid{grid-template-columns:1fr 1fr;gap:10px}.mdcrm-domain-extensions .mdcrm-tld-card{min-height:180px;padding:16px 10px 12px}.mdcrm-domain-service-actions>.mdcrm-cancel-service{width:100%}.mdcrm-domain-service-actions .mdcrm-open-cancel{width:100%}.mdcrm-domain-service-actions .mdcrm-cancel-panel{position:static;width:100%}}

/* 4.27.6 fixes */
.mdcrm-domain-extensions .mdcrm-tld-icon svg{width:25px;height:25px}
.mdcrm-domain-service-actions .mdcrm-domain-cancel-btn{background:#0f172a!important;border-color:#0f172a!important;color:#fff!important;box-shadow:0 4px 12px rgba(15,23,42,.10)}
.mdcrm-domain-service-actions .mdcrm-domain-cancel-btn:hover{background:#7f1d1d!important;border-color:#7f1d1d!important;color:#fff!important}
/* 4.27.8 - expanded WHOIS */
.mdcrm-whois-details{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
    margin-top:12px;
}
.mdcrm-whois-detail{
    min-width:0;
    padding:12px 13px;
    border:1px solid #e2e8f0;
    border-radius:10px;
    background:#f8fafc;
}
.mdcrm-whois-detail>span{
    display:block;
    margin-bottom:4px;
    color:#64748b;
    font-size:10px;
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
}
.mdcrm-whois-detail>strong{
    display:block;
    color:#0f172a;
    font-size:13px;
    font-weight:650;
    line-height:1.5;
    word-break:break-word;
}
.mdcrm-whois-raw-details{
    margin-top:14px;
    border:1px solid #e2e8f0;
    border-radius:10px;
    overflow:hidden;
}
.mdcrm-whois-raw-details>summary{
    padding:11px 13px;
    background:#f8fafc;
    cursor:pointer;
    font-size:12px;
    font-weight:750;
}
.mdcrm-whois-raw-details pre{
    margin:0;
    padding:14px;
    max-height:360px;
    overflow:auto;
    background:#0f172a;
    color:#e2e8f0;
    white-space:pre-wrap;
    word-break:break-word;
    font-size:11px;
    line-height:1.55;
}
@media(max-width:600px){
    .mdcrm-whois-details{grid-template-columns:1fr}
}

/* 4.28.1 - centered cancellation modal */
.mdcrm-cancel-service{
    position:static!important;
}
.mdcrm-cancel-modal[hidden]{
    display:none!important;
}
.mdcrm-cancel-modal{
    position:fixed!important;
    inset:0!important;
    z-index:999999!important;
    width:auto!important;
    height:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:24px!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
}
.mdcrm-cancel-backdrop{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.56);
    backdrop-filter:blur(2px);
}
.mdcrm-cancel-dialog{
    position:relative;
    z-index:1;
    width:min(700px,calc(100vw - 32px));
    max-height:calc(100vh - 48px);
    overflow:auto;
    padding:28px 30px 26px;
    border:1px solid #dbe3ee;
    border-radius:18px;
    background:#fff;
    box-shadow:0 28px 80px rgba(15,23,42,.28);
}
.mdcrm-cancel-x{
    position:absolute;
    top:18px;
    right:18px;
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    border:0;
    border-radius:10px;
    background:#f1f5f9;
    color:#0f172a;
    font-size:25px;
    line-height:1;
    cursor:pointer;
}
.mdcrm-cancel-x:hover{
    background:#e2e8f0;
}
.mdcrm-cancel-dialog h3,
.mdcrm-cancel-dialog h2{
    margin:0 48px 14px 0;
    font-size:27px;
    line-height:1.2;
}
.mdcrm-cancel-dialog .mdcrm-cancel-warning{
    margin:10px 0 18px;
    padding:13px 15px;
    border:1px solid #fecaca;
    border-radius:10px;
    background:#fff7f7;
    color:#b42318;
}
.mdcrm-cancel-dialog label{
    display:block;
    margin-top:14px;
}
.mdcrm-cancel-dialog input[type="date"],
.mdcrm-cancel-dialog input[type="text"],
.mdcrm-cancel-dialog select,
.mdcrm-cancel-dialog textarea{
    width:100%;
    min-height:44px;
    padding:9px 11px;
    border:1px solid #cbd5e1;
    border-radius:9px;
    background:#fff;
}
.mdcrm-cancel-dialog .mdcrm-cancel-actions{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    margin-top:22px;
}
.mdcrm-cancel-dialog .mdcrm-confirm-cancel,
.mdcrm-cancel-dialog button[type="submit"]{
    background:#dc2626!important;
    border-color:#dc2626!important;
    color:#fff!important;
}
.mdcrm-cancel-dialog .mdcrm-confirm-cancel:hover,
.mdcrm-cancel-dialog button[type="submit"]:hover{
    background:#b91c1c!important;
    border-color:#b91c1c!important;
}
body.mdcrm-modal-open{
    overflow:hidden!important;
}
@media(max-width:600px){
    .mdcrm-cancel-modal{padding:12px!important}
    .mdcrm-cancel-dialog{
        width:100%;
        max-height:calc(100vh - 24px);
        padding:22px 18px 20px;
        border-radius:14px;
    }
    .mdcrm-cancel-dialog h3,
    .mdcrm-cancel-dialog h2{font-size:22px}
    .mdcrm-cancel-dialog .mdcrm-cancel-actions{
        flex-direction:column-reverse;
    }
    .mdcrm-cancel-dialog .mdcrm-cancel-actions button{
        width:100%;
    }
}

/* 4.28.5 - bulk domain progress */
.mdcrm-domain-checking>strong,.mdcrm-domain-checking>span{display:block}.mdcrm-domain-checking>span{margin-top:3px;color:#64748b;font-size:12px}
.mdcrm-bulk-progress{height:7px;margin-top:10px;overflow:hidden;border-radius:99px;background:#e2e8f0}.mdcrm-bulk-progress i{display:block;height:100%;border-radius:inherit;background:#2563eb;transition:width .2s ease}

/* 4.28.6 grouped bulk domain choices */
.mdcrm-bulk-group{margin:16px 0 20px;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;background:#fff}
.mdcrm-bulk-group-title{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0}
.mdcrm-bulk-group-title strong{font-size:16px}.mdcrm-bulk-group-title span{font-size:12px;color:#64748b}
.mdcrm-bulk-group .mdcrm-bulk-table{margin:0;border:0;border-radius:0}

/* 4.28.7 - compact extension chooser for single domain search */
.mdcrm-domain-suggestions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.mdcrm-domain-suggestions-title{grid-column:1/-1;display:flex;justify-content:space-between;gap:12px;align-items:end;margin-bottom:2px}
.mdcrm-domain-suggestions-title span{font-size:12px;color:#64748b}
.mdcrm-domain-suggestion{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border:1px solid #e2e8f0;border-radius:13px;background:#fff}
.mdcrm-domain-suggestion-main,.mdcrm-domain-suggestion-side{display:flex;align-items:center;gap:10px}.mdcrm-domain-suggestion-side{margin-left:auto}
.mdcrm-domain-suggestion-copy{display:flex;flex-direction:column}.mdcrm-domain-suggestion-copy small{font-size:11px}
.mdcrm-domain-suggestion-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#f1f5f9;font-weight:800}
.mdcrm-domain-suggestion.is-free .mdcrm-domain-suggestion-icon{background:#ecfdf5;color:#15803d}.mdcrm-domain-suggestion.is-taken .mdcrm-domain-suggestion-icon,.mdcrm-domain-suggestion.is-transfer .mdcrm-domain-suggestion-icon{background:#fff7ed;color:#c2410c}
.mdcrm-domain-suggestion-price{font-weight:800;white-space:nowrap}.mdcrm-domain-suggestion-side>small{color:#94a3b8;white-space:nowrap}
.mdcrm-domain-suggestion-select,.mdcrm-domain-whois-mini{border:0;border-radius:8px;padding:7px 10px;background:#0f172a;color:#fff;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
@media(max-width:760px){.mdcrm-domain-suggestions{grid-template-columns:1fr}.mdcrm-domain-suggestion{align-items:flex-start}.mdcrm-domain-suggestion-side{flex-wrap:wrap;justify-content:flex-end}}

/* 4.29.3 - TLD name + introductory/renewal pricing */
.mdcrm-tld-card{position:relative}
.mdcrm-tld-card .mdcrm-tld-name{display:block!important;margin:8px 0 5px!important;font-size:20px!important;line-height:1.15!important;color:#0f172a!important;font-weight:800!important;opacity:1!important;visibility:visible!important}
.mdcrm-tld-promo-badge{position:absolute;top:12px;right:12px;padding:5px 8px;border-radius:999px;background:#fff3cd;color:#8a5a00;font-size:10px;font-weight:800;letter-spacing:.04em}
.mdcrm-tld-card.is-promo .mdcrm-tld-price{margin-top:1px}
.mdcrm-tld-first-year{font-weight:700;color:#64748b!important}
.mdcrm-tld-renewal{display:block!important;margin-top:4px!important;color:#475569!important;font-size:11px!important;font-weight:600!important}

/* 4.29.5 - clickable complete TLD list */
.mdcrm-all-tlds-grid{
    display:grid!important;
    grid-template-columns:repeat(auto-fill,minmax(105px,1fr));
    gap:7px!important;
    max-height:420px;
    overflow:auto;
    padding:10px 2px 4px;
}
.mdcrm-all-tld-item{
    appearance:none;
    display:flex;
    align-items:center;
    min-height:38px;
    padding:8px 10px;
    border:1px solid #dfe6ef;
    border-radius:8px;
    background:#fff;
    color:#334155;
    font:inherit;
    font-size:12px;
    text-align:left;
    cursor:pointer;
    transition:.16s ease;
}
.mdcrm-all-tld-item:hover{
    border-color:#93c5fd;
    background:#eff6ff;
    color:#1d4ed8;
    transform:translateY(-1px);
}
.mdcrm-all-tld-item:focus-visible{
    outline:2px solid #2563eb;
    outline-offset:2px;
}
@media(max-width:650px){
    .mdcrm-all-tlds-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* 4.29.6 - refined all-TLD palette */
.mdcrm-all-tlds-grid .mdcrm-all-tld-item{
    background:#ffffff!important;
    color:#334155!important;
    border:1px solid #dbe3ee!important;
    box-shadow:0 1px 2px rgba(15,23,42,.03)!important;
}
.mdcrm-all-tlds-grid .mdcrm-all-tld-item:hover{
    background:#f0f6ff!important;
    color:#1d4ed8!important;
    border-color:#93c5fd!important;
    box-shadow:0 4px 12px rgba(37,99,235,.08)!important;
    transform:translateY(-1px);
}
.mdcrm-all-tlds-grid .mdcrm-all-tld-item:active{
    background:#e8f1ff!important;
    border-color:#60a5fa!important;
    transform:translateY(0);
}
.mdcrm-all-tlds-grid .mdcrm-all-tld-item:focus-visible{
    outline:2px solid #2563eb!important;
    outline-offset:2px;
}
