.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.batch-query-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.query-panel,
.results-panel {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.panel-header {
    padding: 24px 30px 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-actions {
    display: flex;
    gap: 12px;
}

.query-form {
    padding: 0 30px 30px;
}

.form-section {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-weight: 600;
    color: #374151;
}

.section-tip {
    font-size: 12px;
    color: #9ca3af;
    font-weight: normal;
    margin-left: auto;
}

.input-wrapper {
    position: relative;
}

.domain-input {
    width: 100%;
    min-height: 160px;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    resize: vertical;
    transition: all 0.2s ease;
}

.domain-input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #6b7280;
}

.query-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    padding: 2px;
}

.query-option {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.query-option:hover {
    border-color: #d1d5db;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.query-option.selected {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.query-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-label {
    display: flex;
    align-items: center;
    padding: 16px 12px;
    cursor: pointer;
    gap: 12px;
}

.option-content {
    flex: 1;
    min-width: 0;
}

.option-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.option-price {
    font-size: 13px;
    color: #059669;
    font-weight: 500;
}

.query-option.selected .option-price {
    color: #047857;
}

.option-check {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.query-option.selected .option-check {
    border-color: #3b82f6;
    background: #3b82f6;
    color: white;
}

.options-toolbar {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.option-btn {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    color: #6b7280;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-btn:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.primary-btn,
.secondary-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.primary-btn {
    background: #3b82f6;
    color: white;
    min-width: 160px;
}

.primary-btn:hover {
    background: #2563eb;
}

.secondary-btn {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #d1d5db;
    min-width: 100px;
}

.secondary-btn:hover {
    background: #e5e7eb;
}

.results-summary {
    display: flex;
    gap: 40px;
    padding: 20px 30px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.summary-item {
    text-align: center;
    flex: 1;
}

.summary-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.summary-value {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
}

.summary-item.success .summary-value {
    color: #10b981;
}

.summary-item.error .summary-value {
    color: #ef4444;
}

.summary-item.pending .summary-value {
    color: #f59e0b;
}

.action-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
}

.action-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.export-btn {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.export-btn:hover {
    background: #059669;
    border-color: #059669;
}

.retry-btn {
    background: #f59e0b;
    border-color: #f59e0b;
    color: white;
    margin-right: 8px;
}

.retry-btn:hover {
    background: #d97706;
    border-color: #d97706;
}

.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    min-width: 320px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f4f6;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 20px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.progress-text {
    color: #6b7280;
}

.progress-percent {
    color: #3b82f6;
    font-weight: 500;
}

.progress-track {
    height: 6px;
    background: #f3f4f6;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #3b82f6;
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.loading-options {
    text-align: center;
    padding: 20px;
    color: #6b7280;
}

.error-state {
    text-align: center;
    padding: 20px;
    color: #6b7280;
}

.error-state i {
    font-size: 24px;
    margin-bottom: 8px;
    color: #ef4444;
}

.error-state button {
    margin-top: 8px;
    padding: 6px 12px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.result-table th,
.result-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.result-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.result-table tr:hover {
    background: #f8fafc;
}

.copyable {
    cursor: pointer;
    transition: all 0.2s ease;
}

.copyable:hover {
    background: #f3f4f6;
    border-radius: 4px;
    padding: 2px 4px;
    margin: -2px -4px;
}

.type-tag {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.type-personal {
    background: #dbeafe;
    color: #1e40af;
}

.type-enterprise {
    background: #d1fae5;
    color: #065f46;
}

.status-normal {
    color: #059669;
    font-weight: 500;
}

.status-limited {
    color: #dc2626;
    font-weight: 500;
}

.price-calculator {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 16px;
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.price-item.total {
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
    margin-top: 8px;
    font-weight: 600;
}

.price-label {
    color: #64748b;
    font-size: 14px;
}

.price-value {
    color: #1e293b;
    font-weight: 500;
}

.total-price {
    color: #dc2626;
    font-size: 18px;
    font-weight: 600;
}

.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none !important;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.payment-modal.show {
    display: flex !important;
}


.payment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.payment-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
}

.payment-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-header h3 {
    margin: 0;
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #6b7280;
}

.payment-body {
    padding: 24px;
}

.order-summary {
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: #374151;
}

.summary-row.total {
    border-top: 1px solid #e5e7eb;
    margin-top: 8px;
    padding-top: 12px;
    font-weight: 600;
    font-size: 16px;
    color: #dc2626;
}

.payment-methods h4 {
    margin: 0 0 16px 0;
    color: #374151;
    font-size: 16px;
    font-weight: 600;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.payment-option {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
}

.payment-option:hover {
    border-color: #d1d5db;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option input[type="radio"]:checked+.option-content {
    color: #3b82f6;
}

.payment-option:has(input[type="radio"]:checked) {
    border-color: #3b82f6;
    background: #eff6ff;
}

.option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    transition: color 0.2s ease;
}

.option-content i {
    font-size: 24px;
}

.payment-footer {
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.cancel-btn,
.confirm-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.cancel-btn {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.cancel-btn:hover {
    background: #e5e7eb;
}

.confirm-btn {
    background: #3b82f6;
    color: white;
}

.confirm-btn:hover {
    background: #2563eb;
}

.order-info {
    font-size: 12px;
    color: #6b7280;
    font-weight: normal;
    margin-left: 8px;
}

.table-row-pending {
    background-color: #fefce8;
}

.table-row-success {
    background-color: #f0fdf4;
}

.table-row-error {
    background-color: #fef2f2;
}

.row-updated {
    background-color: #dbeafe !important;
    transition: background-color 1s ease;
}

.query-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.query-status.success {
    background: #d1fae5;
    color: #065f46;
}

.query-status.error {
    background: #fee2e2;
    color: #991b1b;
}

.query-status.pending {
    background: #fef3c7;
    color: #92400e;
}

.table-wrapper {
    max-height: 600px;
    overflow-y: auto;
    border-radius: 8px;
}

.table-wrapper::-webkit-scrollbar {
    width: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .query-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .option-label {
        padding: 12px 10px;
        gap: 8px;
    }

    .option-title {
        font-size: 13px;
        white-space: normal;
        line-height: 1.3;
        margin-bottom: 2px;
    }

    .option-price {
        font-size: 11px;
    }

    .results-summary {
        gap: 16px;
        padding: 16px 20px;
    }

    .panel-header {
        padding: 16px 20px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .panel-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .table-wrapper {
        overflow-x: auto;
    }

    .result-table {
        min-width: 600px;
    }

    .payment-content {
        width: 95%;
        margin: 20px auto;
    }

    .payment-options {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .form-actions {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        justify-content: center;
    }

    .query-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .results-summary {
        gap: 12px;
        padding: 12px 15px;
    }

    .summary-value {
        font-size: 20px;
    }

    .container {
        padding: 70px 10px;
    }
}


.retry-loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    backdrop-filter: blur(4px);
}

.retry-loading-modal.show {
    display: flex;
}

.retry-loading-content {
    background: white;
    padding: 32px 40px;
    border-radius: 16px;
    text-align: center;
    min-width: 380px;
    max-width: 500px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.retry-loading-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706, #f59e0b);
    background-size: 200% 100%;
    animation: retryProgress 2s linear infinite;
}

@keyframes retryProgress {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.retry-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #fef3c7;
    border-top: 4px solid #f59e0b;
    border-radius: 50%;
    animation: retrySpinnerRotate 1s linear infinite;
    margin: 0 auto 24px;
    position: relative;
}

.retry-spinner::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 2px solid transparent;
    border-top: 2px solid #d97706;
    border-radius: 50%;
    animation: retrySpinnerRotate 0.8s linear infinite reverse;
}

@keyframes retrySpinnerRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.retry-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.retry-title i {
    color: #f59e0b;
    font-size: 20px;
}

.retry-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
}

.retry-progress-info {
    background: #fef9e7;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.retry-current-domain {
    font-size: 16px;
    font-weight: 500;
    color: #92400e;
    margin-bottom: 8px;
    word-break: break-all;
}

.retry-progress-text {
    font-size: 14px;
    color: #78716c;
    margin-bottom: 12px;
}

.retry-progress-bar {
    height: 8px;
    background: #fef3c7;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.retry-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
    position: relative;
}

.retry-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: retryShimmer 1.5s infinite;
}

@keyframes retryShimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.retry-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.retry-stat-item {
    text-align: center;
    flex: 1;
}

.retry-stat-label {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.retry-stat-value {
    font-size: 16px;
    font-weight: 600;
}

.retry-stat-value.success {
    color: #10b981;
}

.retry-stat-value.failed {
    color: #ef4444;
}

.retry-stat-value.total {
    color: #6b7280;
}

.retry-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.retry-btn:active {
    transform: translateY(0);
}

.retry-btn:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.retry-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.retry-btn:hover::before {
    left: 100%;
}

.retry-success-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    z-index: 10003;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
}

.retry-success-toast.show {
    transform: translateX(0);
}

.retry-success-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.retry-success-content {
    flex: 1;
}

.retry-success-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.retry-success-message {
    font-size: 13px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .retry-loading-content {
        min-width: 320px;
        margin: 20px;
        padding: 24px 28px;
    }

    .retry-current-domain {
        font-size: 14px;
    }

    .retry-success-toast {
        right: 10px;
        left: 10px;
        min-width: auto;
        transform: translateY(-100px);
    }

    .retry-success-toast.show {
        transform: translateY(0);
    }
}

.status-success {
    color: #52c41a;
}

.status-error {
    color: #ff4d4f;
}

.status-normal {
    color: #52c41a;
}

.status-blocked {
    color: #ff4d4f;
}

.type-enterprise {
    background: #e6f7ff;
    color: #1890ff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
}

.type-personal {
    background: #f6ffed;
    color: #52c41a;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
}

.row-updated {
    background-color: #fff7e6 !important;
    transition: background-color 0.3s ease;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 3px;
}

.table-wrapper {
    min-width: 100%;
    overflow: visible;
}


.result-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    margin: 0;
}

.result-table th {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    padding: 12px 8px;
    text-align: left;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 10;
}

.result-table td {
    border: 1px solid #e8e8e8;
    padding: 10px 8px;
    vertical-align: middle;
    word-break: break-all;
    max-width: 200px;
}

.result-table th:first-child,
.result-table td:first-child {
    min-width: 150px;
    max-width: 200px;
}

.result-table th:last-child,
.result-table td:last-child {
    min-width: 100px;
    max-width: 120px;
    text-align: center;
}

.copyable {
    cursor: pointer;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.copyable:hover {
    background-color: #e6f7ff;
    color: #1890ff;
    border-radius: 3px;
    padding: 2px 4px;
    margin: -2px -4px;
}

.status-success {
    color: #52c41a;
    font-weight: 500;
}

.status-error {
    color: #ff4d4f;
    font-weight: 500;
}

.status-normal {
    color: #52c41a;
}

.status-blocked {
    color: #ff4d4f;
}

.type-enterprise {
    background: #e6f7ff;
    color: #1890ff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
}

.type-personal {
    background: #f6ffed;
    color: #52c41a;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
}


.table-row-success {
    background-color: #f6ffed;
}

.table-row-error {
    background-color: #fff2f0;
}

.table-row-pending {
    background-color: #e6f7ff;
}

.row-updated {
    background-color: #fff7e6 !important;
    transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
    .table-container {
        margin: 0 -15px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .result-table {
        min-width: 600px;
        font-size: 13px;
    }

    .result-table th,
    .result-table td {
        padding: 8px 6px;
    }
}


.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}


.table-loading {
    text-align: center;
    padding: 40px;
    color: #999;
}

.table-loading i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.query-option.required {
    border-color: #3b82f6 !important;
    background: #eff6ff !important;
    cursor: not-allowed;
}

.query-option.required .option-label {
    cursor: not-allowed;
}

.query-option.required .option-check {
    border-color: #3b82f6 !important;
    background: #3b82f6 !important;
    color: white !important;
}

.query-option.required .option-title {
    color: #1e40af;
}

.query-option.required .option-price {
    color: #1e40af;
    font-weight: 600;
}

.required-badge {
    display: inline-block;
    background: #3b82f6;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 6px;
    font-weight: 500;
}

.query-option.required:hover {
    transform: none !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15) !important;
}
.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    pointer-events: none;
}

.loading-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    min-width: 320px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    margin: auto;
    position: relative;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .loading-modal {
        padding: 10px;
    }
    
    .loading-content {
        padding: 30px 20px;
        min-width: 280px;
        width: 100%;
        margin: 20px 0;
    }
}

@media (max-height: 600px) {
    .loading-modal {
        align-items: flex-start;
        padding-top: 20px;
        overflow-y: auto;
    }
    
    .loading-content {
        margin: 20px auto;
        position: static;
    }
}

@media (max-width: 768px) {
    .loading-modal {
        padding: 10px;
        overflow-y: auto;
    }
    
    .loading-content {
        width: 100%;
        max-width: none;
        margin: 10px 0;
        min-height: auto;
    }
}

