.da-pa-checker-tool {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.checker-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
}

/* Header */
.checker-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.checker-header h1 {
    color: #333;
    font-size: 32px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.subtitle {
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Input Section */
.input-section {
    margin-bottom: 40px;
}

.url-input-group {
    margin-bottom: 25px;
}

.input-with-btn {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

#website-url {
    flex: 1;
    padding: 18px 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

#website-url:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.check-button {
    padding: 18px 35px;
    background: linear-gradient(to right, #4CAF50, #45a049);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.check-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.check-button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.input-hint {
    color: #666;
    font-size: 14px;
    margin-top: 8px;
    margin-left: 5px;
}

/* Toggle Switch */
.bulk-check-toggle {
    margin: 25px 0;
}

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.toggle-switch input {
    display: none;
}

.slider {
    position: relative;
    width: 60px;
    height: 30px;
    background: #ccc;
    border-radius: 34px;
    transition: .4s;
}

.slider:before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background: white;
    border-radius: 50%;
    transition: .4s;
}

input:checked + .slider {
    background: #4CAF50;
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.toggle-label {
    font-weight: 600;
    color: #333;
}

/* Bulk Input */
.bulk-input-section {
    margin-top: 25px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

#bulk-urls {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    margin: 15px 0;
    resize: vertical;
    font-family: monospace;
}

.bulk-check-button {
    padding: 15px 30px;
    background: linear-gradient(to right, #2196F3, #1976D2);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.bulk-check-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

/* Results Section */
.results-section {
    margin-top: 40px;
}

.result-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    margin-bottom: 25px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}

.result-header h3 {
    color: #333;
    margin: 0;
    font-size: 24px;
}

.result-status {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.result-status.pending { background: #ffc107; color: #333; }
.result-status.success { background: #4CAF50; color: white; }
.result-status.error { background: #f44336; color: white; }

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.metric-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 5px solid;
    transition: transform 0.3s;
}

.metric-card:hover {
    transform: translateY(-5px);
}

.da-card { border-left-color: #4CAF50; }
.pa-card { border-left-color: #2196F3; }
.spam-card { border-left-color: #FF9800; }
.backlinks-card { border-left-color: #9C27B0; }

.metric-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
}

.metric-icon {
    font-size: 20px;
}

.metric-value {
    font-size: 48px;
    font-weight: 700;
    margin: 10px 0;
    color: #333;
}

.metric-bar {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    margin: 15px 0;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 1s ease;
}

.da-card .metric-fill { background: linear-gradient(to right, #4CAF50, #8BC34A); }
.pa-card .metric-fill { background: linear-gradient(to right, #2196F3, #03A9F4); }
.spam-card .metric-fill { background: linear-gradient(to right, #FF9800, #FFC107); }

.metric-rating {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.backlinks-card .metric-info {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* Additional Metrics */
.additional-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #dee2e6;
}

.additional-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.metric-title {
    font-weight: 600;
    color: #333;
}

.metric-data {
    font-weight: 600;
    color: #2196F3;
}

/* Recommendations */
.recommendations-card {
    background: #e8f5e9;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #4CAF50;
}

.recommendations-card h4 {
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.recommendation-icon {
    font-size: 20px;
    margin-top: 2px;
}

.recommendation-text {
    flex: 1;
    color: #333;
}

/* Bulk Results */
.bulk-results {
    margin-top: 40px;
}

.bulk-table-container {
    overflow-x: auto;
    margin: 25px 0;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.bulk-results-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.bulk-results-table th {
    background: #f8f9fa;
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
}

.bulk-results-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.bulk-results-table tr:hover {
    background: #f8f9fa;
}

.bulk-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.export-btn, .clear-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.export-btn {
    background: #4CAF50;
    color: white;
}

.clear-btn {
    background: #f44336;
    color: white;
}

.export-btn:hover, .clear-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Comparison Section */
.comparison-section {
    margin-top: 50px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.comparison-inputs {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.compare-input {
    flex: 1;
    min-width: 250px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.compare-button {
    padding: 15px 30px;
    background: linear-gradient(to right, #9C27B0, #7B1FA2);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.compare-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.3);
}

.comparison-chart {
    margin-top: 30px;
    padding: 25px;
    background: white;
    border-radius: 10px;
    height: 400px;
    position: relative;
}

/* History Section */
.history-section {
    margin-top: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #2196F3;
    transition: all 0.3s;
    cursor: pointer;
}

.history-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.history-domain {
    font-weight: 600;
    color: #333;
}

.history-scores {
    display: flex;
    gap: 20px;
}

.history-score {
    text-align: center;
}

.history-score-value {
    font-size: 20px;
    font-weight: 700;
}

.history-score-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}

/* Info Section */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 5px solid #2196F3;
}

.info-card h4 {
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.scale-chart {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.scale-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.scale-color {
    width: 25px;
    height: 25px;
    border-radius: 5px;
}

.scale-color.excellent { background: #4CAF50; }
.scale-color.good { background: #8BC34A; }
.scale-color.average { background: #FFC107; }
.scale-color.poor { background: #FF9800; }
.scale-color.very-poor { background: #f44336; }

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #333;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 1000;
    max-width: 400px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success { background: #4CAF50; }
.toast.error { background: #f44336; }
.toast.warning { background: #FF9800; }

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .da-pa-checker-tool {
        padding: 15px;
        margin: 20px;
    }
    
    .checker-container {
        padding: 20px;
    }
    
    .checker-header h1 {
        font-size: 24px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .input-with-btn {
        flex-direction: column;
    }
    
    .check-button {
        width: 100%;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-inputs {
        flex-direction: column;
    }
    
    .compare-input {
        min-width: 100%;
    }
    
    .bulk-actions {
        flex-direction: column;
    }
    
    .info-section {
        grid-template-columns: 1fr;
    }
}