File size: 16,878 Bytes
5727e23 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SamPlanning Services - Fee Calculator</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: {
50: '#f0fdf4',
100: '#dcfce7',
200: '#bbf7d0',
300: '#86efac',
400: '#4ade80',
500: '#22c55e',
600: '#16a34a',
700: '#15803d',
800: '#166534',
900: '#14532d',
}
}
}
}
}
</script>
<style>
.gradient-bg {
background: linear-gradient(135deg, rgba(34,197,94,0.1) 0%, rgba(16,163,74,0.2) 100%);
}
.card-shadow {
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.input-focus:focus {
border-color: #16a34a;
box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.3);
}
</style>
</head>
<body class="bg-primary-50 min-h-screen font-sans">
<div class="gradient-bg py-12 px-4 sm:px-6 lg:px-8">
<div class="max-w-4xl mx-auto">
<!-- Header -->
<div class="text-center mb-12">
<div class="flex justify-center items-center mb-4">
<i class="fas fa-drafting-compass text-4xl text-primary-600 mr-3"></i>
<h1 class="text-4xl font-bold text-primary-800">SamPlanning Services</h1>
</div>
<h2 class="text-2xl font-semibold text-primary-700">Planning Application Fee Calculator</h2>
<p class="mt-2 text-primary-600 max-w-2xl mx-auto">
Estimate your planning application fee quickly and easily based on UK fee schedules
</p>
</div>
<!-- Calculator Card -->
<div class="bg-white rounded-xl card-shadow overflow-hidden">
<div class="md:flex">
<!-- Input Section -->
<div class="p-8 md:w-2/3">
<h3 class="text-xl font-semibold text-primary-800 mb-6">Project Details</h3>
<div class="space-y-6">
<!-- Application Type -->
<div>
<label class="block text-sm font-medium text-primary-700 mb-1">Application Type</label>
<select id="applicationType" class="w-full px-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition">
<option value="householder">Householder Application</option>
<option value="full">Full Planning Permission</option>
<option value="outline">Outline Planning Permission</option>
<option value="reserved">Reserved Matters</option>
<option value="change">Change of Use</option>
<option value="listed">Listed Building Consent</option>
</select>
</div>
<!-- Floor Area -->
<div>
<label class="block text-sm font-medium text-primary-700 mb-1">Floor Area (m²)</label>
<div class="relative">
<input type="number" id="floorArea" class="w-full px-4 py-2 rounded-lg border border-gray-300 input-focus transition" placeholder="Enter floor area">
<div class="absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none">
<span class="text-gray-500">m²</span>
</div>
</div>
</div>
<!-- Number of Dwellings -->
<div id="dwellingsField" class="hidden">
<label class="block text-sm font-medium text-primary-700 mb-1">Number of Dwellings</label>
<input type="number" id="dwellings" class="w-full px-4 py-2 rounded-lg border border-gray-300 input-focus transition" placeholder="Enter number" min="1">
</div>
<!-- Site Area -->
<div id="siteAreaField" class="hidden">
<label class="block text-sm font-medium text-primary-700 mb-1">Site Area (hectares)</label>
<div class="relative">
<input type="number" id="siteArea" class="w-full px-4 py-2 rounded-lg border border-gray-300 input-focus transition" placeholder="Enter site area">
<div class="absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none">
<span class="text-gray-500">ha</span>
</div>
</div>
</div>
<!-- Listed Building Checkbox -->
<div id="listedBuildingField" class="hidden">
<div class="flex items-center">
<input type="checkbox" id="listedBuilding" class="h-4 w-4 text-primary-600 focus:ring-primary-500 border-gray-300 rounded">
<label for="listedBuilding" class="ml-2 block text-sm text-primary-700">Listed Building involved</label>
</div>
</div>
<!-- Calculate Button -->
<div class="pt-2">
<button id="calculateBtn" class="w-full bg-primary-600 hover:bg-primary-700 text-white font-medium py-3 px-4 rounded-lg transition duration-300 flex items-center justify-center">
<i class="fas fa-calculator mr-2"></i> Calculate Fee
</button>
</div>
</div>
</div>
<!-- Results Section -->
<div class="bg-primary-50 p-8 md:w-1/3 flex flex-col">
<h3 class="text-xl font-semibold text-primary-800 mb-6">Estimated Fee</h3>
<div id="resultContainer" class="flex-grow flex flex-col justify-center items-center text-center">
<div class="text-primary-500 mb-4">
<i class="fas fa-home text-5xl opacity-50"></i>
</div>
<p class="text-primary-600">Enter your project details and click "Calculate Fee" to see your estimated planning application fee.</p>
</div>
<div id="feeResult" class="hidden">
<div class="bg-white rounded-lg p-6 mb-4 text-center border border-primary-200">
<div class="text-sm text-primary-600 mb-1">Estimated Fee</div>
<div class="text-3xl font-bold text-primary-700" id="calculatedFee">£0</div>
<div class="text-xs text-primary-500 mt-2" id="feeDescription">Based on standard rates</div>
</div>
<div class="text-xs text-primary-600">
<p class="mb-2">This is an estimate based on current UK planning fee schedules.</p>
<p>For a precise quote, please contact our team.</p>
</div>
</div>
</div>
</div>
</div>
<!-- Information Section -->
<div class="mt-12 bg-white rounded-xl card-shadow p-8">
<h3 class="text-xl font-semibold text-primary-800 mb-4">Planning Fee Information</h3>
<div class="grid md:grid-cols-2 gap-6">
<div>
<h4 class="font-medium text-primary-700 mb-2 flex items-center">
<i class="fas fa-info-circle text-primary-500 mr-2"></i> Standard Fees
</h4>
<ul class="text-sm text-primary-600 space-y-2">
<li>• Householder application: £462</li>
<li>• Full application (up to 50m²): £462</li>
<li>• Outline application: £462 per 0.1ha</li>
<li>• Change of use: £462</li>
</ul>
</div>
<div>
<h4 class="font-medium text-primary-700 mb-2 flex items-center">
<i class="fas fa-exclamation-triangle text-primary-500 mr-2"></i> Additional Fees
</h4>
<ul class="text-sm text-primary-600 space-y-2">
<li>• Listed Building Consent: Additional £462</li>
<li>• Large developments: Fees increase with size</li>
<li>• Commercial developments: Higher fee brackets</li>
</ul>
</div>
</div>
<div class="mt-6 pt-6 border-t border-primary-100">
<div class="flex items-center">
<div class="flex-shrink-0 bg-primary-100 p-3 rounded-full">
<i class="fas fa-phone-alt text-primary-600"></i>
</div>
<div class="ml-4">
<h4 class="text-sm font-medium text-primary-700">Need more help?</h4>
<p class="text-sm text-primary-600">Contact our planning experts for advice on your specific project.</p>
<button class="mt-2 inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-primary-600 hover:bg-primary-700">
<i class="fas fa-envelope mr-2"></i> Contact Us
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
const applicationType = document.getElementById('applicationType');
const floorArea = document.getElementById('floorArea');
const dwellings = document.getElementById('dwellings');
const siteArea = document.getElementById('siteArea');
const listedBuilding = document.getElementById('listedBuilding');
const calculateBtn = document.getElementById('calculateBtn');
const resultContainer = document.getElementById('resultContainer');
const feeResult = document.getElementById('feeResult');
const calculatedFee = document.getElementById('calculatedFee');
const feeDescription = document.getElementById('feeDescription');
const dwellingsField = document.getElementById('dwellingsField');
const siteAreaField = document.getElementById('siteAreaField');
const listedBuildingField = document.getElementById('listedBuildingField');
// Show/hide relevant fields based on application type
applicationType.addEventListener('change', function() {
const type = this.value;
// Reset all optional fields
dwellingsField.classList.add('hidden');
siteAreaField.classList.add('hidden');
listedBuildingField.classList.add('hidden');
// Show relevant fields
if (type === 'full' || type === 'outline') {
dwellingsField.classList.remove('hidden');
siteAreaField.classList.remove('hidden');
}
if (type === 'listed') {
listedBuildingField.classList.remove('hidden');
}
});
// Calculate fee when button clicked
calculateBtn.addEventListener('click', function() {
const type = applicationType.value;
const area = parseFloat(floorArea.value) || 0;
const dwellingCount = parseInt(dwellings.value) || 1;
const siteAreaValue = parseFloat(siteArea.value) || 0;
const isListed = listedBuilding.checked;
let fee = 0;
let description = "Based on standard rates";
// Calculate fee based on application type
switch(type) {
case 'householder':
fee = 462;
description = "Householder application";
break;
case 'full':
if (area <= 50) {
fee = 462;
description = "Full application (up to 50m²)";
} else if (area <= 100) {
fee = 462 * 1.5;
description = "Full application (50-100m²)";
} else {
fee = 462 * 2;
description = "Full application (over 100m²)";
}
if (dwellingCount > 1) {
fee = dwellingCount * 462;
description = `Full application (${dwellingCount} dwellings)`;
}
break;
case 'outline':
fee = Math.ceil(siteAreaValue * 10) * 462;
description = `Outline application (${siteAreaValue}ha site)`;
break;
case 'reserved':
fee = 462;
description = "Reserved matters application";
break;
case 'change':
fee = 462;
description = "Change of use application";
break;
case 'listed':
fee = isListed ? 462 : 0;
description = isListed ? "Listed Building Consent" : "No additional consent needed";
break;
}
// Show results
calculatedFee.textContent = `£${fee.toLocaleString()}`;
feeDescription.textContent = description;
resultContainer.classList.add('hidden');
feeResult.classList.remove('hidden');
});
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Samik1994/samplanning-fee-calculator" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |