/*
 * domainvalue.css — calculator-pagina styling
 *
 * Scoped onder .dvc-page → geen botsing met de rest van WTK.
 * px-based ipv rem (root html font-size = 10px in WTK).
 * Kleurenpalet: brand-rood #b22222 als accent, rust eromheen.
 */

.dvc-page {
    background: #f6f7f9;
    margin: -15px -15px 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    font-size: 16px;
}

.dvc-page h1, .dvc-page h2, .dvc-page h3,
.dvc-page p, .dvc-page ol, .dvc-page ul {
    margin: 0;
    padding: 0;
}

.dvc-page code {
    background: #f0f1f3;
    padding: 1px 6px;
    border-radius: 4px;
    font-family: "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: 14px;
}

/* ───────────────────────────────────────────────────────── HERO */
.dvc-hero {
    padding: 72px 24px 56px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
    border-bottom: 1px solid #e6e8eb;
}
.dvc-hero__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.dvc-hero__title {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
    color: #111;
}
.dvc-hero__title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    background: #b22222;
    margin: 20px auto 0;
    border-radius: 2px;
}
.dvc-hero__lead {
    font-size: 18px;
    color: #4a5058;
    margin-bottom: 32px;
}

/* ───────────────────────────────────────────────────────── FORM */
.dvc-form {
    max-width: 580px;
    margin: 0 auto;
}
.dvc-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.dvc-form__row {
    display: flex;
    gap: 8px;
    background: #fff;
    border: 1.5px solid #d8dce0;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.dvc-form__row:focus-within {
    border-color: #b22222;
    box-shadow: 0 0 0 4px rgba(178, 34, 34, 0.08);
}
.dvc-input {
    flex: 1;
    padding: 14px 16px;
    border: 0;
    background: transparent;
    font-size: 17px;
    font-family: inherit;
    color: #1a1a1a;
    outline: none;
    min-width: 0;
}
.dvc-input::placeholder {
    color: #a0a4a9;
}
.dvc-btn {
    display: inline-block;
    padding: 14px 24px;
    font-size: 16px;
    font-family: inherit;
    font-weight: 600;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background 0.15s, transform 0.05s;
    white-space: nowrap;
}
.dvc-btn--primary {
    background: #b22222;
    color: #fff;
}
.dvc-btn--primary:hover { background: #971c1c; color: #fff; text-decoration: none; }
.dvc-btn--primary:active { transform: translateY(1px); }
.dvc-btn--large {
    padding: 18px 36px;
    font-size: 17px;
}
.dvc-form__hint {
    margin-top: 16px;
    font-size: 14px;
    color: #6a7079;
    text-align: center;
}
.dvc-chip {
    display: inline-block;
    padding: 4px 12px;
    margin: 4px 4px 0;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #5a6068;
    border: 1px solid #d8dce0;
    border-radius: 99px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
}
.dvc-chip:hover {
    border-color: #b22222;
    color: #b22222;
    background: #fcf6f6;
    text-decoration: none;
}

/* ───────────────────────────────────────────────────────── SECTION TITLES */
.dvc-section__title {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #111;
    text-align: center;
    margin: 0 0 32px;
}

/* ───────────────────────────────────────────────────────── HOWTO */
.dvc-howto {
    padding: 72px 24px;
    background: #ffffff;
}
.dvc-howto__grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.dvc-howto__card {
    padding: 32px 28px;
    background: #f6f7f9;
    border-radius: 12px;
    border: 1px solid #e6e8eb;
}
.dvc-howto__icon {
    font-size: 32px;
    color: #b22222;
    margin-bottom: 12px;
    line-height: 1;
}
.dvc-howto__card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111;
}
.dvc-howto__card p {
    font-size: 15px;
    color: #4a5058;
}

/* ───────────────────────────────────────────────────────── CONTENT (factors) */
.dvc-content {
    padding: 72px 24px;
    background: #f6f7f9;
}
.dvc-content__intro {
    max-width: 720px;
    margin: 0 auto 32px;
    text-align: center;
    color: #4a5058;
    font-size: 17px;
}
.dvc-page .dvc-factors {
    max-width: 1080px;
    margin: 0 auto;
    list-style: none;
    counter-reset: factor;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.dvc-factors li {
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 10px;
    padding: 24px 28px;
    position: relative;
}
@media (max-width: 720px) {
    .dvc-factors { grid-template-columns: 1fr; }
}
.dvc-factors li h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a1a;
}
.dvc-factors li h3 span {
    font-weight: 400;
    color: #9aa0a6;
    font-size: 14px;
    margin-left: 6px;
}
.dvc-factors li p {
    font-size: 15px;
    color: #4a5058;
}
.dvc-factors__not-measured {
    background: #fdf8f8 !important;
    border-color: #f0d8d8 !important;
}

/* ───────────────────────────────────────────────────────── FAQ */
.dvc-faq {
    padding: 72px 24px;
    background: #ffffff;
}
.dvc-faq__list {
    max-width: 760px;
    margin: 0 auto;
}
.dvc-faq details {
    border-bottom: 1px solid #e6e8eb;
    padding: 18px 4px;
}
.dvc-faq details:last-child { border-bottom: 0; }
.dvc-faq summary {
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    list-style: none;
    padding-right: 28px;
    position: relative;
    transition: color 0.15s;
}
.dvc-faq summary::-webkit-details-marker { display: none; }
.dvc-faq summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 400;
    color: #b22222;
    transition: transform 0.15s;
}
.dvc-faq details[open] summary::after {
    content: "−";
}
.dvc-faq summary:hover { color: #b22222; }
.dvc-faq details p {
    margin-top: 10px;
    color: #4a5058;
    font-size: 15px;
}

/* ───────────────────────────────────────────────────────── CTA FOOTER */
.dvc-ctafooter {
    padding: 72px 24px;
    background: linear-gradient(180deg, #f6f7f9 0%, #ffffff 100%);
    text-align: center;
}
.dvc-ctafooter__inner {
    max-width: 600px;
    margin: 0 auto;
}
.dvc-ctafooter h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 12px;
    color: #111;
}
.dvc-ctafooter p {
    color: #4a5058;
    font-size: 17px;
    margin-bottom: 28px;
}

/* ───────────────────────────────────────────────────────── RESULT PAGE */
.dvc-result {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 24px 24px;
}
.dvc-back {
    display: inline-block;
    color: #5a6068;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 24px;
}
.dvc-back:hover { color: #b22222; }

.dvc-result__header {
    text-align: center;
    margin-bottom: 40px;
}
.dvc-page .dvc-result__title {
    font-size: 28px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: #4a5058;
    margin-bottom: 40px;
}
.dvc-result__title span {
    display: block;
    color: #111;
    font-weight: 700;
    font-size: 36px;
    margin-top: 6px;
    letter-spacing: -0.025em;
}
.dvc-result__price {
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 16px;
    padding: 40px 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
.dvc-result__price-display {
    font-size: 56px;
    font-weight: 700;
    color: #b22222;
    letter-spacing: -0.025em;
    line-height: 1;
}
.dvc-result__price-range {
    color: #6a7079;
    font-size: 15px;
    margin-top: 14px;
}
.dvc-result__brand-warning {
    margin-top: 20px;
    background: #fff8e8;
    border: 1px solid #ecd693;
    border-radius: 10px;
    padding: 14px 18px;
    color: #6b5217;
    font-size: 14px;
    text-align: left;
}
.dvc-result__brand-warning strong { color: #4a3a14; }

.dvc-result__brand-own {
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 16px;
    padding: 56px 24px;
}
.dvc-result__brand-own-msg {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
}
.dvc-result__brand-explain {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.55;
    color: #4a5058;
    font-weight: 400;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.dvc-result__brand-link {
    color: #b22222;
    text-decoration: underline;
    font-weight: 500;
}
.dvc-result__brand-link:hover {
    color: #8b1a1a;
}

/* "Domain is free to register" card — used for unregistered domains.
   Warm sandy bg matches affiliate-cards below. Celebration emoji as
   visual accent. Solid bg (no gradient — gradient caused sub-pixel
   artifacts at rounded corners on some Chrome versions). */
.dvc-page .dvc-result__free {
    background: #fcf7f4;
    border: 1px solid #ead7c8;
    border-radius: 16px;
    padding: 48px 36px 40px;
    margin-top: 32px;
    text-align: center;
    position: relative;
    z-index: 1;                   /* lift above any positioned element behind */
    isolation: isolate;           /* establish own stacking context */
    overflow: hidden;
    box-sizing: border-box;
}
.dvc-page .dvc-result__free-icon {
    display: block;
    font-size: 48px;
    line-height: 1;
    margin: 0 auto 20px;
    text-align: center;
}
.dvc-page .dvc-result__free-heading {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 auto 10px;
    letter-spacing: -0.015em;
    text-align: center;
}
.dvc-page .dvc-result__free-msg {
    display: block;
    font-size: 16px;
    color: #4a5058;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 380px;             /* tighter so wrapping looks decisively centered */
    text-align: center;
}
.dvc-result__free-cta {
    position: absolute;
    right: 24px;
    bottom: 18px;
    color: #b22222;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
}
.dvc-result__free-cta:hover {
    color: #971c1c;
    text-decoration: none;
}
.dvc-result__free-cta span {
    display: inline-block;
    transition: transform 0.15s;
    margin-left: 2px;
}
.dvc-result__free-cta:hover span {
    transform: translateX(3px);
}

/* DISCLAIMER ─────────────────────────── */
.dvc-disclaimer {
    background: #fbf6ed;
    border: 1px solid #ecd693;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 40px;
    color: #4a3a14;
    line-height: 1.65;
}
.dvc-disclaimer h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #4a3a14;
    letter-spacing: -0.005em;
}
.dvc-disclaimer p { margin-bottom: 12px; font-size: 15px; }
.dvc-disclaimer p:last-child { margin-bottom: 0; }
.dvc-disclaimer ul {
    margin: 8px 0 12px 18px;
    padding: 0;
    list-style: disc;
    color: #4a3a14;
}
.dvc-disclaimer ul li { font-size: 14px; padding-left: 4px; margin: 4px 0; }
.dvc-disclaimer strong { color: #4a3a14; }

/* BREAKDOWN ─────────────────────────── */
.dvc-breakdown {
    margin-bottom: 48px;
}
.dvc-breakdown__list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 10px;
    overflow: hidden;
}
.dvc-breakdown__list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px;
    border-bottom: 1px solid #eef0f2;
    font-size: 15px;
}
.dvc-breakdown__list li:last-child { border-bottom: 0; }
.dvc-bd__label  { color: #4a5058; }
.dvc-bd__value  { font-weight: 600; color: #1a1a1a; font-feature-settings: "tnum"; }
.dvc-bd__total  { background: #fafbfc; }
.dvc-bd__total .dvc-bd__label { font-weight: 600; color: #1a1a1a; }
.dvc-bd__total .dvc-bd__value { color: #b22222; font-size: 17px; }
.dvc-breakdown__list code {
    font-family: "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: 13px;
    background: #f0f1f3;
    padding: 1px 5px;
    border-radius: 3px;
    color: #1a1a1a;
}

/* COMPS ─────────────────────────── */
.dvc-comps {
    margin-bottom: 48px;
}
.dvc-comps__hint {
    color: #6a7079;
    font-size: 14px;
    text-align: center;
    margin: 0 0 20px;
}
.dvc-comps__table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 10px;
    overflow: hidden;
    font-size: 14px;
}
.dvc-comps__table th,
.dvc-comps__table td {
    padding: 12px 18px;
    text-align: left;
    border-bottom: 1px solid #eef0f2;
}
.dvc-comps__table th {
    background: #f6f7f9;
    font-weight: 600;
    font-size: 13px;
    color: #6a7079;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.dvc-comps__table tr:last-child td { border-bottom: 0; }
.dvc-comps__table td:nth-child(3) {
    font-weight: 600;
    color: #1a1a1a;
    font-feature-settings: "tnum";
}

/* ADS ─────────────────────────── */
.dvc-ads {
    margin-bottom: 48px;
}
.dvc-ads .dvc-section__title {
    margin-bottom: 28px;
}
.dvc-ads__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 24px;
}
.dvc-ad-card {
    display: block;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 10px;
    text-decoration: none;
    color: #1a1a1a;
    transition: border-color 0.15s, transform 0.05s;
}
.dvc-ad-card:hover {
    border-color: #b22222;
    text-decoration: none;
    color: #1a1a1a;
}
.dvc-ad-card:active { transform: translateY(1px); }
.dvc-ad-card__title {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 6px;
    word-break: break-word;
}
.dvc-ad-card__price {
    color: #b22222;
    font-weight: 600;
    font-feature-settings: "tnum";
}
.dvc-ad-card__price--bid {
    color: #6a7079;
    text-transform: lowercase;
    font-style: italic;
    font-weight: 500;
}

/* "Beschikbaar — registreer zelf"-cards: groen pijltje rechtsonder
   als visuele hint dat klikken naar de affiliate-registratie leidt.
   Op hover verschijnt "Registreer nu" links van het pijltje. */
.dvc-ads--available .dvc-ad-card {
    position: relative;
    padding-right: 30px;
}
.dvc-ads--available .dvc-ad-card::after {
    content: '→';
    position: absolute;
    bottom: 8px;
    right: 12px;
    color: #2e8b57;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    transition: transform 0.15s ease;
}
.dvc-ads--available .dvc-ad-card::before {
    content: 'Registreer nu';
    position: absolute;
    bottom: 10px;
    right: 36px;
    color: #2e8b57;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
    white-space: nowrap;
}
.dvc-ads--available .dvc-ad-card:hover::before {
    opacity: 1;
}
.dvc-ads--available .dvc-ad-card:hover::after {
    transform: translateX(2px);
}
.dvc-ad-card__cta {
    color: #b22222;
    font-size: 13px;
    font-weight: 600;
}
/* Affiliate-cards (status 60) used to have a sand tint — removed to keep
   all card grids visually consistent on result pages. The "Registreer →"
   CTA + section heading are sufficient to signal the difference. */

/* SHARE ─────────────────────────── */
.dvc-share {
    margin-bottom: 48px;
    text-align: center;
}
.dvc-share__row {
    max-width: 580px;
    margin: 0 auto;
}
.dvc-share__url {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #d8dce0;
    border-radius: 10px;
    background: #f6f7f9;
    font-family: "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: 14px;
    color: #1a1a1a;
    text-align: center;
    cursor: pointer;
}
.dvc-share__url:focus {
    border-color: #b22222;
    outline: none;
}
.dvc-share__note {
    margin: 14px auto 0;
    max-width: 580px;
    font-size: 13px;
    color: #6a7079;
    text-align: center;
}

/* ───────────────────────────────────────────────────────── MOBILE */
@media (max-width: 768px) {
    .dvc-hero               { padding: 48px 20px 40px; }
    .dvc-hero__title        { font-size: 32px; letter-spacing: -0.02em; }
    .dvc-hero__lead         { font-size: 16px; }
    .dvc-form__row          { flex-direction: column; padding: 8px; gap: 6px; }
    .dvc-input              { padding: 12px 14px; font-size: 16px; }
    .dvc-btn                { padding: 13px 24px; }
    .dvc-howto              { padding: 48px 20px; }
    .dvc-howto__grid        { grid-template-columns: 1fr; gap: 12px; }
    .dvc-content,
    .dvc-faq,
    .dvc-ctafooter          { padding: 48px 20px; }
    .dvc-section__title     { font-size: 24px; }
    .dvc-factors li         { padding: 20px 22px; }
    .dvc-ctafooter h2       { font-size: 24px; }

    /* RESULT PAGE — mobile */
    .dvc-result                  { padding: 32px 20px 16px; }
    .dvc-result__title           { font-size: 22px; }
    .dvc-result__title span      { font-size: 26px; }
    .dvc-result__price           { padding: 28px 18px; }
    .dvc-result__price-display   { font-size: 40px; }
    .dvc-disclaimer              { padding: 20px 22px; }
    .dvc-breakdown__list li      { padding: 12px 16px; font-size: 14px; }
    .dvc-comps__table th,
    .dvc-comps__table td         { padding: 10px 12px; font-size: 13px; }
    .dvc-ads__grid               { grid-template-columns: 1fr; }
    .dvc-ad-card                 { padding: 16px 18px; }
}
