.backlink-evaluator-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.backlink-evaluator-container h2 {
    color: #1a1a1a;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 600;
}

.evaluator-description {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

.evaluator-form {
    margin-top: 20px;
}

.form-section {
    background: #f8f9fa;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    border-left: 4px solid #0073aa;
}

.form-section h3 {
    color: #0073aa;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-row input[type="text"],
.form-row input[type="url"],
.form-row input[type="number"],
.form-row select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-row input:focus,
.form-row select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.form-row small {
    display: block;
    margin-top: 6px;
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

.form-row small.critical {
    color: #dc3545;
    font-weight: 500;
}

.required {
    color: #dc3545;
}

.weight {
    color: #0073aa;
    font-weight: 500;
    font-size: 12px;
}

.auto-reject {
    display: inline-block;
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 8px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.btn-evaluate {
    flex: 1;
    background: #0073aa;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-evaluate:hover {
    background: #005a87;
}

.btn-evaluate:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-reset {
    flex: 0 0 auto;
    background: #6c757d;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-reset:hover {
    background: #545b62;
}

.evaluation-results {
    margin-top: 40px;
    padding: 30px;
    border-radius: 12px;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.evaluation-results.approved {
    background: #d4edda;
    border: 2px solid #28a745;
}

.evaluation-results.rejected {
    background: #f8d7da;
    border: 2px solid #dc3545;
}

.evaluation-results.conditional {
    background: #fff3cd;
    border: 2px solid #ffc107;
}

.results-header {
    margin-bottom: 25px;
}

.results-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.verdict-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.verdict-badge.approved {
    background: #28a745;
    color: white;
}

.verdict-badge.rejected {
    background: #dc3545;
    color: white;
}

.verdict-badge.conditional {
    background: #ffc107;
    color: #1a1a1a;
}

.score-display {
    font-size: 48px;
    font-weight: 700;
    margin: 15px 0;
}

.score-display.approved {
    color: #28a745;
}

.score-display.rejected {
    color: #dc3545;
}

.score-display.conditional {
    color: #ffc107;
}

.website-url {
    font-size: 14px;
    color: #666;
    word-break: break-all;
    margin-bottom: 20px;
}

.website-url a {
    color: #0073aa;
    text-decoration: none;
}

.website-url a:hover {
    text-decoration: underline;
}

.recommendation {
    background: rgba(255, 255, 255, 0.6);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

.criteria-section {
    margin-top: 25px;
}

.criteria-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 600;
}

.criteria-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.criteria-list li {
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.5;
}

.criteria-list.passed li {
    border-left: 4px solid #28a745;
}

.criteria-list.failed li {
    border-left: 4px solid #dc3545;
}

.criteria-list.warnings li {
    border-left: 4px solid #ffc107;
}

.criteria-list li::before {
    display: inline-block;
    width: 20px;
    margin-right: 10px;
    font-weight: bold;
}

.criteria-list.passed li::before {
    content: "✓";
    color: #28a745;
}

.criteria-list.failed li::before {
    content: "✗";
    color: #dc3545;
}

.criteria-list.warnings li::before {
    content: "⚠";
    color: #ffc107;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .backlink-evaluator-container {
        padding: 20px;
        margin: 20px 10px;
    }
    
    .form-section {
        padding: 20px 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-evaluate,
    .btn-reset {
        width: 100%;
    }
}
