/* === Statix Domain Pricing Frontend === */

/* Overview Cards */
.statix-domain-overview {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.sdo-header {
    text-align: center;
    margin-bottom: 30px;
}

.sdo-header h2 {
    font-size: 2em;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.sdo-header p {
    color: #666;
    font-size: 1.1em;
}

.sdo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.sdo-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sdo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    border-color: #c5d9ed;
}

.sdo-card--hidden {
    display: none !important;
}

.sdo-card__icon {
    font-size: 2.5em;
    margin-bottom: 12px;
}

.sdo-card__title {
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a2e;
}

.sdo-card__count {
    color: #888;
    font-size: 0.9em;
}

/* Category-specific colors */
.sdo-card--promo { border-top: 4px solid #e74c3c; }
.sdo-card--popular { border-top: 4px solid #f39c12; }
.sdo-card--europe { border-top: 4px solid #3498db; }
.sdo-card--adult { border-top: 4px solid #e84393; }
.sdo-card--colors { border-top: 4px solid #9b59b6; }
.sdo-card--sports { border-top: 4px solid #27ae60; }
.sdo-card--technology { border-top: 4px solid #00cec9; }
.sdo-card--business { border-top: 4px solid #0984e3; }
.sdo-card--regional { border-top: 4px solid #fdcb6e; }
.sdo-card--more {
    background: #f8fafc;
    border-style: dashed;
    border-color: #c5d9ed;
}

.sdo-card--more:hover {
    background: #e8f4f8;
    border-color: #0207ec;
}

.sdo-card--other { border-top: 4px solid #b2bec3; }

/* Category Detail Table */
.statix-domain-pricing {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

.sdp-breadcrumb {
    font-size: 0.85em;
    color: #888;
    margin-bottom: 10px;
}

.sdp-breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.sdp-breadcrumb a:hover {
    text-decoration: underline;
}

.sdp-sep {
    margin: 0 6px;
    color: #ccc;
}

/* Categorie navigatie */
.sdp-cat-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.sdp-cat-link {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: #f0f4f8;
    color: #555;
    text-decoration: none;
    font-size: 0.85em;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    border: 1px solid transparent;
}

.sdp-cat-link:hover {
    background: #e1e8f0;
    color: #1a1a2e;
}

.sdp-cat-link--active {
    background: #0207ec;
    color: #fff;
    border-color: #0207ec;
}

.sdp-cat-link--active:hover {
    background: #1e22f0;
    color: #fff;
}

.sdp-meta {
    font-size: 0.85em;
    color: #777;
    margin: 0 0 15px 0;
    text-align: right;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.sdp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.sdp-header h3 {
    margin: 0;
    font-size: 1.5em;
    color: #1a1a2e;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.sdp-search {
    flex: 1;
    min-width: 200px;
    max-width: 320px;
}

.sdp-search-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95em;
    transition: border-color 0.2s;
}

.sdp-search-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}

.sdp-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.sdp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
    background: #fff;
    table-layout: auto;
}

.sdp-table thead {
    background: #f8f9fa;
}

.sdp-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: #555;
    border-bottom: 2px solid #e5e7eb;
    white-space: nowrap;
}
.sdp-table th:nth-child(2),
.sdp-table th:nth-child(3),
.sdp-table th:nth-child(4) { width: 130px; text-align: center; }
.sdp-table th:nth-child(5) { width: 90px; text-align: center; }

.sdp-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}
.sdp-table td:nth-child(2),
.sdp-table td:nth-child(3),
.sdp-table td:nth-child(4),
.sdp-table td:nth-child(5) { text-align: center; }

.sdp-table tbody tr:hover {
    background: #f8fbff;
}

.sdp-tld {
    font-size: 1.05em;
    color: #2c3e50;
}

.sdp-price {
    font-family: 'SF Mono', Monaco, monospace;
    color: #27ae60;
    font-weight: 600;
    white-space: nowrap;
    font-size: 1.15em;
}

.sdp-action {
    text-align: right;
}

.sdp-btn {
    display: inline-block;
    padding: 6px 14px;
    background: #3498db;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8em;
    transition: background 0.2s, transform 0.1s;
    border: none;
    cursor: pointer;
}

.sdp-btn:hover {
    background: #2980b9;
    color: #fff !important;
    transform: scale(1.03);
}

.sdp-empty {
    text-align: center;
    color: #888;
    padding: 40px;
    font-size: 1.1em;
}

.sdp-action-col {
    width: 180px;
    min-width: 160px;
}

.sdp-action-btns {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sdp-btn--buy {
    background: #41c57c !important;
}

.sdp-btn--buy:hover {
    background: #36a86a !important;
}

.sdp-btn--transfer {
    background: #f39c12 !important;
}

.sdp-btn--transfer:hover {
    background: #d68910 !important;
}

.sdp-actions {
    min-width: 130px;
}

.sdp-verification {
    margin-left: 6px;
    font-size: 0.85em;
    cursor: help;
    opacity: 0.8;
}

.sdp-banner {
    margin-top: 30px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f0f6fc 0%, #e8f4f8 100%);
    border: 1px solid #c5d9ed;
    border-radius: 10px;
    text-align: center;
}

.sdp-banner p {
    margin: 0 0 12px 0;
    color: #555;
    font-size: 0.95em;
}

.sdp-banner-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #2c3e50;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9em;
    transition: background 0.2s;
}

.sdp-banner-btn:hover {
    background: #1a252f;
    color: #fff !important;
}

/* === Overview: Checker, Popular, USPs, CTA === */

.sdo-checker-section {
    margin: 40px 0;
}

.sdo-checker-card {
    max-width: 700px;
    margin: 0 auto;
}

.sdo-popular {
    margin: 40px 0;
    text-align: center;
}

.sdo-popular h3 {
    font-size: 1.4em;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.sdo-popular-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.sdo-popular-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px 24px;
    min-width: 140px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.sdo-popular-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.sdo-popular-tld {
    font-weight: 700;
    font-size: 1.15em;
    color: #1a1a2e;
}


.sdo-popular-price {
    color: #27ae60;
    font-weight: 600;
    font-size: 1.05em;
    font-family: 'SF Mono', Monaco, monospace;
}

.sdo-usps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.sdo-usp-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sdo-usp-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95em;
    color: #444;
    line-height: 1.4;
}

.sdo-usp-check {
    color: #41c57c;
    font-weight: 700;
    font-size: 1.1em;
    flex-shrink: 0;
    margin-top: 1px;
}

.sdo-cta {
    text-align: center;
    margin: 40px 0 60px;
    padding-bottom: 20px;
}

/* Domein checker resultaten */
.statix-domain-search-results:empty {
    display: none;
}

.statix-domain-search-results {
    margin-top: 16px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.statix-domain-search-msg {
    padding: 24px 16px;
    margin: 0;
    text-align: center;
    color: #666;
}

.statix-domain-search-results h4 {
    padding: 12px 16px 0;
    margin: 0 0 4px;
    font-size: 1em;
}

.sdp-result-item {
    transition: background 0.2s;
    padding: 10px 16px;
}

.sdp-result-item:hover {
    background: #f8f9fa;
}

.sdp-result-item.unavailable {
    background: #fff5f5;
}

.sdp-result-item.unavailable:hover {
    background: #ffeaea;
}

.sdp-result-price {
    font-weight: 600;
    color: #0207ec;
    font-size: 0.9em;
    white-space: nowrap;
}

.sdp-result-note {
    font-size: 0.75em;
    color: #888;
    margin-top: 2px;
}

/* Resultaat rij layout */
.sdp-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    gap: 12px;
}

.sdp-result-item:last-child {
    border-bottom: none;
}

.sdp-result-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.sdp-result-domain {
    font-weight: 600;
    font-size: 1em;
    margin-bottom: 4px;
}

.sdp-result-status {
    display: inline-block;
    font-weight: 600;
    font-size: 0.8em;
}

.sdp-result-status--avail {
    color: #41c57c;
}

.sdp-result-status--taken {
    color: #e74c3c;
}

.sdp-result-status--uncertain {
    color: #f39c12;
}

.sdp-result-status--mine {
    color: #3498db;
}

.sdp-result-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Domein checker resultaten knoppen */
.sdp-result-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.sdp-result-action {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    color: #fff !important;
}

.sdp-result-action--buy {
    background: #41c57c;
}

.sdp-result-action--buy:hover {
    background: #36a86a;
}

.sdp-result-action--transfer {
    background: #f39c12;
}

.sdp-result-action--transfer:hover {
    background: #d68910;
}

.sdp-result-action.disabled {
    background: #ccc;
    cursor: not-allowed;
}

.sdo-cta-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #0207ec;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1em;
    transition: background 0.2s, transform 0.1s;
    border-bottom: 3px solid #0105b8;
}

.sdo-cta-btn:hover {
    background: #1e22f0;
    transform: translateY(-1px);
}

.sdo-cta-btn:active {
    transform: translateY(1px);
    border-bottom-width: 1px;
}

/* Utility class voor Statix groen (logo kleur) */
.statix-green {
    color: #41c57c !important;
}

/* Responsive */
@media (max-width: 768px) {
    .sdo-grid {
        grid-template-columns: 1fr;
    }

    .sdp-header {
        flex-direction: column;
        align-items: stretch;
    }

    .sdp-search {
        max-width: 100%;
    }

    .sdp-table th,
    .sdp-table td {
        padding: 10px 12px;
        font-size: 0.9em;
    }

    .sdp-btn {
        padding: 6px 10px;
        font-size: 0.8em;
    }

    .sdp-action-btns {
        gap: 4px;
    }

    .sdp-action-btns .sdp-btn {
        padding: 4px 8px;
        font-size: 0.75em;
    }

    .sdo-popular-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .sdo-popular-item {
        min-width: auto;
    }

    .sdo-usps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sdo-cta-btn {
        width: 100%;
        box-sizing: border-box;
    }

    .sdp-result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .sdp-result-meta {
        width: 100%;
        justify-content: space-between;
    }

    .sdp-result-actions {
        justify-content: flex-start;
        width: auto;
    }

    .sdp-cat-nav {
        gap: 6px;
    }

    .sdp-cat-link {
        padding: 5px 10px;
        font-size: 0.8em;
    }
}
