.dsp-container,
.dsp-container * {
    box-sizing: border-box;
}

.dsp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.dsp-header {
    text-align: center;
    margin-bottom: 30px;
}

.dsp-header h1 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.dsp-header p {
    color: #666;
    font-size: 14px;
}

.dsp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    align-items: flex-end;
}

.dsp-filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 120px;
}

.dsp-filter-group label {
    font-weight: 600;
    color: #333;
    font-size: 13px;
}

.dsp-filter-group input,
.dsp-filter-group select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    width: 100%;
    min-width: 120px;
}

.dsp-price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dsp-price-inputs input {
    flex: 1;
}

.dsp-filter-btn {
    padding: 10px 18px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.dsp-filter-btn:hover {
    background: #0056b3;
}

.dsp-domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.dsp-domain-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dsp-domain-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.dsp-domain-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.dsp-domain-name a {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    word-break: break-all;
}

.dsp-domain-name a:hover {
    color: #007bff;
}

.dsp-type-badge {
    padding: 3px 8px;
    background: #e7f3ff;
    color: #007bff;
    border-radius: 15px;
    font-size: 11px;
    white-space: nowrap;
}

.dsp-verified-badge {
    padding: 3px 8px;
    background: #d4edda;
    color: #155724;
    border-radius: 15px;
    font-size: 11px;
    white-space: nowrap;
}

.dsp-domain-price {
    margin-bottom: 12px;
}

.dsp-price-label {
    display: block;
    font-size: 11px;
    color: #666;
    margin-bottom: 4px;
}

.dsp-price-value {
    font-size: 22px;
    font-weight: 700;
    color: #e74c3c;
}

.dsp-price-hint {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.dsp-domain-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.dsp-meta-item {
    font-size: 12px;
    color: #666;
    padding: 3px 6px;
    background: #f8f9fa;
    border-radius: 3px;
}

.dsp-auction-time {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px;
    background: #fff3cd;
    border-radius: 4px;
    margin-bottom: 12px;
    font-size: 12px;
    flex-wrap: wrap;
}

.dsp-time-label,
.dsp-timer-label {
    font-size: 12px;
    color: #856404;
}

.dsp-time-value,
.dsp-timer-value {
    font-size: 12px;
    font-weight: 600;
    color: #856404;
}

.dsp-domain-actions {
    display: flex;
    gap: 8px;
}

.dsp-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.dsp-form .dsp-btn {
    width: 100%;
    max-width: 200px;
    margin: 20px auto 0;
    display: block;
}

.dsp-btn-primary {
    background: #007bff;
    color: white;
}

.dsp-btn-primary:hover {
    background: #0056b3;
}

.dsp-btn-secondary {
    background: #f8f9fa !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
}

.dsp-btn-secondary:hover {
    background: #e9ecef !important;
}

.dsp-buy-cancel {
    background: #f8f9fa !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
}

.dsp-buy-modal .dsp-buy-cancel {
    background: #f8f9fa !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}

.dsp-no-results {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}

.dsp-pagination {
    text-align: center;
    margin-top: 25px;
}

.dsp-pagination a {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
}

.dsp-pagination a:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.dsp-form {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.dsp-form-group {
    margin-bottom: 15px;
}

.dsp-form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    font-size: 13px;
}

.dsp-form-group input,
.dsp-form-group select,
.dsp-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #333;
    background: white;
}

.dsp-buyer-id {
    color: #333 !important;
    background: white !important;
}

.dsp-transfer-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dsp-transfer-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    z-index: 1001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.dsp-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.dsp-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.dsp-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.dsp-modal-close:hover {
    color: #333;
}

.dsp-modal-body {
    padding: 24px;
}

.dsp-info-section {
    margin-bottom: 20px;
}

.dsp-info-section h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.dsp-info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.dsp-info-item label {
    color: #666;
    font-size: 14px;
}

.dsp-info-item span {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.dsp-account-item {
    flex-direction: column;
    gap: 8px;
}

.dsp-account-value {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.dsp-account-value span {
    flex: 1;
    font-family: monospace;
    font-size: 14px;
    color: #333;
    word-break: break-all;
}

.dsp-copy-btn {
    padding: 6px 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}

.dsp-copy-btn:hover {
    background: #0056b3;
}

.dsp-warning {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.dsp-warning p {
    margin: 0;
    color: #856404;
    font-size: 14px;
}

.dsp-modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.dsp-modal-footer .dsp-btn {
    flex: 1;
    padding: 12px;
    font-size: 14px;
}

.dsp-btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.dsp-btn-secondary:hover {
    background: #e9ecef;
}

.dsp-btn-primary {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.dsp-btn-primary:hover:not(:disabled) {
    background: #0056b3;
}

.dsp-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.dsp-form-group input[type="number"]::-webkit-inner-spin-button,
.dsp-form-group input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.dsp-form-group input[type="number"] {
    -moz-appearance: textfield;
}

.dsp-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.dsp-form-hint {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.required {
    color: #dc3545;
}

.dsp-verification-box {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.dsp-verification-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
}

.dsp-verification-details p {
    margin: 8px 0;
    font-family: monospace;
    font-size: 13px;
}

.dsp-verification-details code {
    background: #e9ecef;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 12px;
}

.dsp-success {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 4px;
    margin: 12px 0;
    font-size: 13px;
}

.dsp-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 4px;
    margin: 12px 0;
    font-size: 13px;
}

.dsp-single-domain {
    max-width: 700px;
    margin: 0 auto;
}

.dsp-domain-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.dsp-info-row {
    display: flex;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    background: white;
}

.dsp-info-row:nth-child(2n) {
    border-right: none;
}

.dsp-info-row:last-child,
.dsp-info-row:nth-last-child(2) {
    border-bottom: none;
}

.dsp-info-label {
    flex: 1;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    background: #f8f9fa;
    padding-right: 12px;
    padding-left: 12px;
    margin-left: -16px;
    padding-top: 12px;
    padding-bottom: 12px;
    margin-top: -12px;
    margin-bottom: -12px;
    min-width: 100px;
}

.dsp-info-value {
    flex: 2;
    font-size: 14px;
    color: #333;
    padding-left: 12px;
    display: flex;
    align-items: center;
}

.dsp-price-highlight {
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
}

.dsp-domain-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.dsp-domain-actions .dsp-btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    min-width: 160px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dsp-domain-actions .dsp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}



.dsp-sold-badge {
    padding: 8px 16px;
    background: #dc3545;
    color: white;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
}

.dsp-domain-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.dsp-details-section {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}



.dsp-domain-description {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.dsp-domain-description h3 {
    margin-bottom: 12px;
    font-size: 15px;
}

.dsp-domain-description p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.dsp-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.dsp-tab {
    padding: 10px 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 13px;
}

.dsp-tab.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.dsp-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.dsp-section-header h2 {
    font-size: 16px;
    margin: 0;
}

.dsp-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.dsp-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px;
}

.dsp-table th,
.dsp-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    white-space: nowrap;
}

.dsp-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.dsp-table-action {
    margin-right: 12px;
    color: #007bff;
    text-decoration: none;
    font-size: 13px;
}

.dsp-table-action:hover {
    text-decoration: underline;
}

.dsp-empty-state {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.dsp-empty-state p {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.dsp-pending-badge {
    margin-left: 8px;
    padding: 2px 6px;
    background: #fff3cd;
    color: #856404;
    border-radius: 3px;
    font-size: 11px;
}

.dsp-status-pending {
    color: #ffc107;
    font-weight: 600;
}

.dsp-status-approved {
    color: #28a745;
    font-weight: 600;
}

.dsp-status-rejected {
    color: #dc3545;
    font-weight: 600;
}

.dsp-status-sold {
    color: #6c757d;
    font-weight: 600;
}

.dsp-main-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.dsp-main-tab {
    padding: 10px 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dsp-main-tab:hover {
    border-color: #007bff;
    color: #007bff;
}

.dsp-main-tab.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.dsp-domain-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.dsp-domain-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.dsp-domain-table th,
.dsp-domain-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.dsp-domain-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.dsp-domain-table tr:hover {
    background: #f8f9fa;
}

.dsp-domain-name-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dsp-domain-name-cell a {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
}

.dsp-domain-name-cell a:hover {
    color: #007bff;
}

.dsp-whois-badge {
    padding: 3px 8px;
    background: #d4edda;
    color: #155724;
    border-radius: 15px;
    font-size: 11px;
    white-space: nowrap;
}

.dsp-type-tag {
    padding: 4px 10px;
    background: #e7f3ff;
    color: #007bff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.dsp-price-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dsp-price-cell .dsp-price-label {
    font-size: 11px;
    color: #666;
}

.dsp-price-cell .dsp-price-value {
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
}

.dsp-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.dsp-no-results-cell {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
}

.dsp-balance-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: white;
}

.dsp-balance-label {
    font-size: 14px;
    opacity: 0.9;
}

.dsp-balance-value {
    font-size: 22px;
    font-weight: 700;
}

.dsp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.dsp-modal {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
}

.dsp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.dsp-modal-header h3 {
    margin: 0;
    font-size: 16px;
}

.dsp-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.dsp-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.dsp-modal-body {
    padding: 20px;
}

@media screen and (max-width: 768px) {
    .dsp-container {
        padding: 10px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        min-width: auto;
    }
    
    .dsp-header {
        padding: 0 5px;
    }
    
    .dsp-header h1 {
        font-size: 22px;
        line-height: 1.2;
    }
    
    .dsp-header p {
        font-size: 13px;
    }
    
    .dsp-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px;
        width: 100%;
        border-radius: 6px;
    }
    
    .dsp-filter-group {
        min-width: 100%;
        width: 100%;
    }
    
    .dsp-filter-group label {
        font-size: 12px;
    }
    
    .dsp-filter-group input,
    .dsp-filter-group select {
        padding: 10px;
        font-size: 14px;
        min-width: 100%;
        border-radius: 4px;
    }
    
    .dsp-price-inputs {
        flex-direction: row;
        gap: 10px;
        width: 100%;
    }
    
    .dsp-price-inputs input {
        flex: 1;
        min-width: 0;
    }
    
    .dsp-filter-btn {
        align-self: stretch;
        padding: 12px;
        font-size: 15px;
        width: 100%;
        border-radius: 4px;
    }
    
    .dsp-domain-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }
    
    .dsp-domain-card {
        padding: 12px;
        width: 100%;
        border-radius: 6px;
    }
    
    .dsp-domain-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .dsp-domain-name a {
        font-size: 15px;
        word-break: break-all;
        width: 100%;
        display: block;
    }
    
    .dsp-type-badge {
        align-self: flex-start;
    }
    
    .dsp-price-value {
        font-size: 20px;
    }
    
    .dsp-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .dsp-section-header h2 {
        font-size: 15px;
    }
    
    .dsp-table-wrapper {
        border-radius: 0;
        box-shadow: none;
        border: 1px solid #eee;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -10px;
        padding: 0 10px;
    }
    
    .dsp-table {
        min-width: 600px;
        width: auto;
        border-radius: 0;
    }
    
    .dsp-table th,
    .dsp-table td {
        padding: 10px 8px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    .dsp-domain-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }
    
    .dsp-domain-actions .dsp-btn {
        width: 100%;
        max-width: 200px;
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 4px;
    }
    
    .dsp-tabs {
        justify-content: flex-start;
        gap: 5px;
        flex-wrap: wrap;
    }
    
    .dsp-tab {
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 4px;
    }
    
    .dsp-form,
    .dsp-verification-box {
        padding: 12px;
        width: 100%;
        max-width: 100%;
        border-radius: 6px;
        box-shadow: none;
        border: 1px solid #eee;
        margin: 0 -10px;
    }
    
    .dsp-form-group {
        margin-bottom: 12px;
    }
    
    .dsp-form-group label {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .dsp-form-group input,
    .dsp-form-group select,
    .dsp-form-group textarea {
        padding: 10px;
        font-size: 14px;
        border-radius: 4px;
        border: 1px solid #ddd;
    }
    
    .dsp-btn {
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 4px;
    }
    
    .dsp-empty-state {
        padding: 30px 15px;
        border-radius: 6px;
    }
    
    .dsp-pagination {
        padding: 0 5px;
    }
    
    .dsp-pagination a {
        padding: 8px 10px;
        font-size: 12px;
        margin: 0 2px;
        border-radius: 4px;
    }
    
    .dsp-domain-meta {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .dsp-meta-item {
        font-size: 11px;
        padding: 2px 5px;
    }
    
    .dsp-single-domain {
        max-width: 100%;
        width: 100%;
    }
    
    .dsp-domain-info-grid {
        grid-template-columns: 1fr;
    }
    
    .dsp-info-row {
        border-right: none;
    }
    
    .dsp-info-row:nth-child(2n) {
        border-right: none;
    }
    
    .dsp-info-label {
        min-width: 80px;
        font-size: 13px;
    }
    
    .dsp-info-value {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .dsp-container {
        padding: 8px;
        min-width: auto;
    }
    
    .dsp-header h1 {
        font-size: 20px;
    }
    
    .dsp-header p {
        font-size: 12px;
    }
    
    .dsp-domain-card {
        padding: 10px;
    }
    
    .dsp-price-value {
        font-size: 18px;
    }
    
    .dsp-info-row {
        padding: 10px 12px;
    }
    
    .dsp-info-label {
        min-width: 70px;
        font-size: 12px;
    }
    
    .dsp-info-value {
        font-size: 12px;
    }
    
    .dsp-price-highlight {
        font-size: 16px;
    }
    
    .dsp-empty-state {
        padding: 25px 12px;
    }
    
    .dsp-empty-state p {
        font-size: 13px;
    }
    
    .dsp-btn {
        padding: 9px 14px;
        font-size: 13px;
    }
    
    .dsp-filter-btn {
        padding: 10px;
        font-size: 14px;
    }
    
    .dsp-tab {
        padding: 7px 12px;
        font-size: 11px;
    }
    
    .dsp-table th,
    .dsp-table td {
        padding: 8px 6px;
        font-size: 11px;
    }
}

.dsp-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.dsp-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #ddd;
    border-radius: 3px;
    background: white;
    position: relative;
}

.dsp-checkbox-label input[type="checkbox"]:checked {
    background: #007bff;
    border-color: #007bff;
}

.dsp-checkbox-label input[type="checkbox"]:checked::after {
    content: '\2714';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.dsp-checkbox-label span {
    flex: 1;
    text-align: left;
}

#dsp_min_price_group {
    display: none;
}

.dsp-verification-actions {
    text-align: center;
    margin-top: 15px;
}

.dsp-verification-actions .dsp-btn {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    display: block;
}

.dsp-seller-link {
    color: #007bff;
    text-decoration: none;
}

.dsp-seller-link:hover {
    text-decoration: underline;
}

.dsp-seller-stats {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.dsp-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    min-width: 90px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dsp-stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dsp-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #007bff;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dsp-stat-label {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    font-weight: 500;
}

.dsp-seller-profile {
    max-width: 900px;
    margin: 0 auto;
}

.dsp-seller-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.dsp-seller-header h1 {
    font-size: 24px;
    margin: 0;
}

.dsp-hide-stats-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dsp-seller-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.dsp-stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dsp-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.dsp-stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1.1;
}

.dsp-stat-card .dsp-stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.dsp-seller-domains {
    margin-top: 30px;
}

.dsp-seller-domains h2 {
    font-size: 18px;
    margin-bottom: 15px;
}

.dsp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 15px;
}

.dsp-empty {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

@media screen and (max-width: 768px) {
    .dsp-seller-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dsp-hide-stats-form {
        justify-content: flex-start;
    }
    
    .dsp-seller-stats-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .dsp-stat-card {
        padding: 15px;
    }
    
    .dsp-stat-number {
        font-size: 24px;
    }
    
    .dsp-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .dsp-seller-stats {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 320px) {
    .dsp-container {
        padding: 5px;
    }
    
    .dsp-header h1 {
        font-size: 18px;
    }
    
    .dsp-domain-card {
        padding: 8px;
    }
    
    .dsp-domain-name a {
        font-size: 14px;
    }
    
    .dsp-table th,
    .dsp-table td {
        padding: 6px 4px;
        font-size: 10px;
    }
    
    .dsp-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .dsp-tabs {
        gap: 3px;
    }
    
    .dsp-tab {
        padding: 6px 10px;
        font-size: 10px;
    }
}

/* ===== 子比主题暗黑模式适配 ===== */
body.dark-theme .dsp-container {
    color: var(--main-color, #e0e0e0);
}

body.dark-theme .dsp-header h1,
body.dark-theme .dsp-header p,
body.dark-theme .dsp-guide-box h3,
body.dark-theme .dsp-domain-description h3,
body.dark-theme .dsp-purchase-rules h3 {
    color: var(--key-color, #f0f0f0);
}

body.dark-theme .dsp-guide-box,
body.dark-theme .dsp-domain-description,
body.dark-theme .dsp-purchase-rules {
    background: var(--main-bg-color, #2a2a2a);
    border-color: var(--main-border-color, #444);
    color: var(--main-color, #e0e0e0);
}

body.dark-theme .dsp-guide-box li,
body.dark-theme .dsp-domain-description p,
body.dark-theme .dsp-purchase-rules li {
    color: var(--muted-color, #bbb);
}

body.dark-theme .dsp-guide-box p,
body.dark-theme .dsp-domain-description h3,
body.dark-theme .dsp-purchase-rules h3 {
    color: var(--key-color, #f0f0f0);
}

body.dark-theme .dsp-balance-info {
    background: linear-gradient(135deg, #4a5fc1 0%, #5a4ba2 100%);
}

body.dark-theme .dsp-header h1,
body.dark-theme .dsp-section-header h2,
body.dark-theme .dsp-seller-header h1,
body.dark-theme .dsp-domain-description h3,
body.dark-theme .dsp-seller-domains h2 {
    color: var(--key-color, #f0f0f0);
}

body.dark-theme .dsp-header p,
body.dark-theme .dsp-domain-description p,
body.dark-theme .dsp-empty-state p,
body.dark-theme .dsp-empty {
    color: var(--muted-2-color, #999);
}

body.dark-theme .dsp-form,
body.dark-theme .dsp-verification-box,
body.dark-theme .dsp-details-section,
body.dark-theme .dsp-domain-description,
body.dark-theme .dsp-empty-state,
body.dark-theme .dsp-info-row,
body.dark-theme .dsp-modal,
body.dark-theme .dsp-transfer-modal,
body.dark-theme .dsp-stat-card {
    background: var(--main-bg-color, #2a2a2a);
    border-color: var(--main-border-color, #444);
    color: var(--main-color, #e0e0e0);
}

body.dark-theme .dsp-filters,
body.dark-theme .dsp-domain-info-grid,
body.dark-theme .dsp-table,
body.dark-theme .dsp-domain-table,
body.dark-theme .dsp-tab,
body.dark-theme .dsp-main-tab,
body.dark-theme .dsp-checkbox-label,
body.dark-theme .dsp-info-section,
body.dark-theme .dsp-seller-stats,
body.dark-theme .dsp-verification-details,
body.dark-theme .dsp-account-value {
    background: var(--main-bg-color, #2a2a2a);
    border-color: var(--main-border-color, #444);
}

body.dark-theme .dsp-domain-card {
    background: var(--main-bg-color, #2a2a2a);
    border-color: var(--main-border-color, #444);
}

body.dark-theme .dsp-domain-card:hover {
    border-color: var(--theme-color, #5a9fd4);
    box-shadow: 0 4px 12px rgba(90, 159, 212, 0.15);
}

body.dark-theme .dsp-domain-name a,
body.dark-theme .dsp-table-action,
body.dark-theme .dsp-seller-link {
    color: var(--theme-color, #5a9fd4);
}

body.dark-theme .dsp-domain-name a:hover,
body.dark-theme .dsp-table-action:hover,
body.dark-theme .dsp-seller-link:hover {
    color: var(--focus-color, #7bbde5);
}

body.dark-theme .dsp-form-group label {
    color: var(--muted-color, #aaa);
}

body.dark-theme .dsp-form-group input,
body.dark-theme .dsp-form-group select,
body.dark-theme .dsp-form-group textarea,
body.dark-theme .dsp-buyer-id {
    background: var(--body-bg-color, #1e1e1e);
    border-color: var(--main-border-color, #444);
    color: var(--main-color, #e0e0e0);
}

body.dark-theme .dsp-info-label {
    background: var(--muted-bg-color, #333);
    color: var(--muted-color, #aaa);
}

body.dark-theme .dsp-info-value {
    color: var(--main-color, #e0e0e0);
}

body.dark-theme .dsp-table th,
body.dark-theme .dsp-domain-table th {
    background: var(--muted-bg-color, #333);
    color: var(--key-color, #f0f0f0);
}

body.dark-theme .dsp-table td,
body.dark-theme .dsp-domain-table td,
body.dark-theme .dsp-table th,
body.dark-theme .dsp-domain-table th {
    border-color: var(--main-border-color, #444);
}

body.dark-theme .dsp-domain-table tr:hover {
    background: var(--muted-bg-color, #333);
}

body.dark-theme .dsp-btn-secondary {
    background: var(--main-bg-color, #2a2a2a);
    border-color: var(--main-border-color, #444);
    color: var(--main-color, #e0e0e0);
}

body.dark-theme .dsp-btn-secondary:hover {
    background: var(--muted-bg-color, #333);
}

body.dark-theme .dsp-tab,
body.dark-theme .dsp-main-tab {
    color: var(--main-color, #e0e0e0);
}

body.dark-theme .dsp-tab:hover,
body.dark-theme .dsp-main-tab:hover {
    border-color: var(--theme-color, #5a9fd4);
    color: var(--theme-color, #5a9fd4);
}

body.dark-theme .dsp-tab.active,
body.dark-theme .dsp-main-tab.active,
body.dark-theme .dsp-btn-primary,
body.dark-theme .dsp-domain-actions .dsp-btn-primary {
    background: var(--theme-color, #5a9fd4);
    border-color: var(--theme-color, #5a9fd4);
    color: white;
}

body.dark-theme .dsp-pagination a {
    background: var(--main-bg-color, #2a2a2a);
    border-color: var(--main-border-color, #444);
    color: var(--main-color, #e0e0e0);
}

body.dark-theme .dsp-pagination a:hover {
    background: var(--theme-color, #5a9fd4);
    border-color: var(--theme-color, #5a9fd4);
    color: white;
}

body.dark-theme .dsp-price-value,
body.dark-theme .dsp-price-highlight {
    color: #ff6b6b;
}

body.dark-theme .dsp-type-tag,
body.dark-theme .dsp-whois-badge {
    background: var(--muted-bg-color, #333);
    color: var(--theme-color, #5a9fd4);
}

body.dark-theme .dsp-success,
body.dark-theme .dsp-error,
body.dark-theme .dsp-warning,
body.dark-theme .dsp-pending-badge,
body.dark-theme .dsp-modal-close:hover {
    opacity: 0.9;
}

body.dark-theme .dsp-modal-overlay,
body.dark-theme .dsp-transfer-modal-overlay {
    background: rgba(0, 0, 0, 0.7);
}

body.dark-theme .dsp-modal-header,
body.dark-theme .dsp-modal-footer {
    background: var(--muted-bg-color, #333);
    border-color: var(--main-border-color, #444);
    color: var(--main-color, #e0e0e0);
}

body.dark-theme .dsp-modal-header h3 {
    color: var(--key-color, #f0f0f0);
}

body.dark-theme .dsp-filter-group label {
    color: var(--muted-color, #aaa);
}

body.dark-theme .dsp-filter-group input,
body.dark-theme .dsp-filter-group select {
    background: var(--body-bg-color, #1e1e1e);
    border-color: var(--main-border-color, #444);
    color: var(--main-color, #e0e0e0);
}

body.dark-theme .dsp-filter-btn {
    background: var(--theme-color, #5a9fd4);
    border-color: var(--theme-color, #5a9fd4);
}

body.dark-theme .dsp-filter-btn:hover {
    background: var(--focus-color, #4a8fc4);
}

body.dark-theme .dsp-form-hint {
    color: var(--muted-2-color, #999);
}

body.dark-theme .dsp-verification-details code,
body.dark-theme .dsp-account-value {
    background: var(--body-bg-color, #1e1e1e);
    color: var(--theme-color, #5a9fd4);
}

body.dark-theme .dsp-checkbox-label input[type="checkbox"] {
    background: var(--body-bg-color, #1e1e1e);
    border-color: var(--main-border-color, #555);
}

body.dark-theme .dsp-checkbox-label input[type="checkbox"]:checked {
    background: var(--theme-color, #5a9fd4);
    border-color: var(--theme-color, #5a9fd4);
}

body.dark-theme .dsp-modal-close {
    color: var(--muted-color, #999);
}

body.dark-theme .dsp-modal-close:hover {
    background: var(--muted-bg-color, #333);
    color: var(--main-color, #e0e0e0);
}

/* 新增:缩小的价格模块样式 */
.dsp-price-module {
    background: #f8fafc;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.dsp-price-module .dsp-price {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dsp-price-module .dsp-price-label {
    color: #888;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dsp-price-module .dsp-price-value {
    color: #dc3545;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.dsp-price-module .dsp-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.dsp-price-module .dsp-status.pending {
    background: #fff3cd;
    color: #856404;
}

.dsp-price-module .dsp-status.approved {
    background: #d4edda;
    color: #155724;
}

.dsp-price-module .dsp-status.rejected {
    background: #f8d7da;
    color: #721c24;
}

.dsp-price-module .dsp-status.sold {
    background: #d1ecf1;
    color: #0c5460;
}

body.dark-theme .dsp-price-module {
    background: var(--muted-bg-color, #333);
    border-color: var(--main-border-color, #444);
}

body.dark-theme .dsp-price-module .dsp-price-label {
    color: var(--muted-2-color, #999);
}

body.dark-theme .dsp-price-module .dsp-status.pending {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

body.dark-theme .dsp-price-module .dsp-status.approved {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

body.dark-theme .dsp-price-module .dsp-status.rejected {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

body.dark-theme .dsp-price-module .dsp-status.sold {
    background: rgba(23, 162, 184, 0.15);
    color: #17a2b8;
}

/* 新增:域名信息区 (域名属性 + 安全检测) */
.dsp-domain-info-section {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.6;
}

.dsp-domain-info-row {
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
}

.dsp-domain-info-row:not(:last-child) {
    border-bottom: 1px dashed #eee;
}

.dsp-domain-info-row .dsp-info-label {
    color: #333;
    font-weight: 600;
    margin-right: 12px;
    white-space: nowrap;
    min-width: 70px;
    background: none;
    padding: 0;
    margin: 0 12px 0 0;
}

.dsp-domain-info-row .dsp-info-value {
    color: #555;
    flex: 1;
    display: block;
    align-items: normal;
    padding: 0;
}

.dsp-info-tip {
    color: #999;
    font-size: 12px;
    display: inline-block;
    margin-left: 6px;
}

.dsp-detection-link {
    color: var(--theme-color, #007bff);
    text-decoration: none;
    margin: 0 4px;
    font-size: 13px;
}

.dsp-detection-link:hover {
    text-decoration: underline;
    color: var(--focus-color, #0056b3);
}

body.dark-theme .dsp-domain-info-section {
    background: var(--main-bg-color, #2a2a2a);
    border-color: var(--main-border-color, #444);
    color: var(--main-color, #e0e0e0);
}

body.dark-theme .dsp-domain-info-row {
    border-color: var(--main-border-color, #444);
}

body.dark-theme .dsp-domain-info-row .dsp-info-label {
    color: var(--key-color, #f0f0f0);
    background: transparent;
}

body.dark-theme .dsp-domain-info-row .dsp-info-value {
    color: var(--muted-color, #bbb);
}

body.dark-theme .dsp-info-tip {
    color: var(--muted-3-color, #888);
}

body.dark-theme .dsp-detection-link {
    color: var(--theme-color, #5a9fd4);
}

body.dark-theme .dsp-detection-link:hover {
    color: var(--focus-color, #7bbde5);
}

/* 新增:联系方式展示模块 */
.dsp-contact-module {
    background: #f0f8ff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 16px;
    font-size: 13px;
}

.dsp-contact-module h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #1e40af;
    font-weight: 600;
}

.dsp-contact-module .dsp-contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.dsp-contact-module .dsp-contact-item {
    color: #333;
    font-size: 13px;
}

.dsp-contact-module .dsp-contact-item .dsp-contact-label {
    color: #666;
    font-weight: 500;
    margin-right: 4px;
}

.dsp-contact-login-hint {
    color: #888;
    font-size: 13px;
}

.dsp-contact-login-hint a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.dsp-contact-login-hint a:hover {
    text-decoration: underline;
}

body.dark-theme .dsp-contact-module {
    background: rgba(90, 159, 212, 0.08);
    border-color: var(--main-border-color, #444);
}

body.dark-theme .dsp-contact-module h4 {
    color: var(--theme-color, #5a9fd4);
}

body.dark-theme .dsp-contact-module .dsp-contact-item {
    color: var(--main-color, #e0e0e0);
}

body.dark-theme .dsp-contact-module .dsp-contact-item .dsp-contact-label {
    color: var(--muted-color, #aaa);
}

body.dark-theme .dsp-contact-login-hint {
    color: var(--muted-2-color, #999);
}

body.dark-theme .dsp-contact-login-hint a {
    color: var(--theme-color, #5a9fd4);
}

/* 卖家信息区内部联系方式小模块 */
.dsp-seller-inline-contact {
    margin-top: 12px;
    padding: 10px 14px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 13px;
}

body.dark-theme .dsp-seller-inline-contact {
    background: var(--muted-bg-color, #333);
    color: var(--main-color, #e0e0e0);
}

body.dark-theme .dsp-seller-inline-contact a {
    color: var(--theme-color, #5a9fd4);
}

/* 发布流程说明模块 */
.dsp-guide-box {
    margin-bottom: 20px;
    padding: 15px 20px;
    background: #f0f8ff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
}

.dsp-guide-box h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #1e40af;
    font-weight: 600;
}

.dsp-guide-box ol {
    margin: 0 0 10px 0;
    padding-left: 20px;
}

.dsp-guide-box li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.dsp-guide-box p {
    margin: 10px 0 0 0;
    font-size: 14px;
    color: #666;
}

/* 卖家联系方式选择器 - 继承标准 dsp-form-group 样式 */
.dsp-contact-selector {
    margin-top: 8px;
}

.dsp-contact-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 10px;
}

.dsp-contact-row:last-child {
    margin-bottom: 0;
}

/* 联系方式类型选择框: 固定宽度，继承 dsp-form-group 样式 */
.dsp-contact-type {
    flex: 0 0 140px !important;
    width: 140px !important;
}

/* 联系方式输入框: 占据剩余宽度 */
.dsp-contact-input {
    flex: 1;
}

/* 在移动端自适应: 窄屏时类型选择框更窄 */
@media (max-width: 480px) {
    .dsp-contact-row {
        flex-direction: column;
        align-items: stretch;
    }

    .dsp-contact-type {
        flex: 1 !important;
        width: 100% !important;
    }
}

/* ===== 卖家交易信息布局:文字在前,数字在后 (一行显示) ===== */
.dsp-seller-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.dsp-seller-stat {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    min-width: 100px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.dsp-seller-stat-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.dsp-seller-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #007bff;
}

body.dark-theme .dsp-seller-stat {
    background: linear-gradient(135deg, #2a2a2a 0%, #333 100%);
    border: 1px solid var(--main-border-color, #444);
}

body.dark-theme .dsp-seller-stat-label {
    color: var(--muted-color, #bbb);
}

body.dark-theme .dsp-seller-stat-value {
    color: var(--theme-color, #5a9fd4);
}

/* ===== 安全检测弹窗 ===== */
.dsp-detection-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dsp-detection-popup {
    background: white;
    border-radius: 12px;
    min-width: 380px;
    max-width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.dsp-detection-popup-header {
    padding: 18px 24px;
    background: linear-gradient(135deg,#007bff,#0056b3);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dsp-detection-popup-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.dsp-detection-close {
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    opacity: 0.9;
    background: transparent;
    border: none;
    color: white;
    padding: 0;
}

.dsp-detection-close:hover {
    opacity: 1;
}

.dsp-detection-popup-body {
    padding: 24px;
}

.dsp-detection-domain {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.dsp-detection-domain strong {
    color: #007bff;
    font-size: 15px;
}

.dsp-detection-loading {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 13px;
}

.dsp-detection-result {
    margin-top: 10px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
    color: #555;
    line-height: 1.8;
}

.dsp-detection-result a {
    color: #007bff;
    text-decoration: underline;
}

.dsp-detection-actions {
    margin-top: 18px;
    text-align: center;
}

.dsp-detection-btn {
    padding: 8px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.dsp-detection-btn:hover {
    background: #0056b3;
}

body.dark-theme .dsp-detection-popup {
    background: var(--main-bg-color, #2a2a2a);
    color: var(--main-color, #e0e0e0);
}

body.dark-theme .dsp-detection-popup-body {
    background: var(--main-bg-color, #2a2a2a);
}

body.dark-theme .dsp-detection-domain {
    color: var(--muted-color, #bbb);
}

body.dark-theme .dsp-detection-result {
    background: var(--muted-bg-color, #333);
    color: var(--muted-color, #bbb);
    border: 1px solid var(--main-border-color, #444);
}