/* === 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__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--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;
}

.sdp-meta {
    font-size: 0.85em;
    color: #777;
    margin: -10px 0 15px 0;
}

.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-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;
}

/* 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 12px;
        font-size: 0.85em;
    }
}
