/* for prporty value calculator pages */
h1 {margin-top: 10px;}	
.leaflet-popup-content {font-size: 13px;margin:10px 20px 8px 10px;}
.leaflet-control-layers label {font-size:1.4em;}
.mapdiv {height: calc(100vh - 12rem); border:solid 1px black;margin:2px 4px 0 4px;}
.mapdiv {height: calc(100dvh - 12rem);}   
/* Disclaimer Overlay Styles */
        .disclaimer-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem; padding-top: 40px;
        }
        .disclaimer-overlay.hidden {
            display: none;
        }
        .disclaimer-box {
            background: white;
            max-width: 800px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            border-radius: 16px;
            box-shadow: 0 25px 80px rgba(0,0,0,0.5);
        }
        .disclaimer-header {
            background: linear-gradient(135deg, #A5231D 0%, #7A1A14 100%);
            color: white;
            padding: 1.5rem 2rem;
            text-align: center;
        }
        .disclaimer-header h2 {
		    color: #ffffff;
            font-size: 2rem;
            margin-bottom: 0.5rem; 
            margin-top: 0.5rem; 
        }
        .disclaimer-header p {
            opacity: 0.9;
            font-size: 1.25rem;
        }
        .disclaimer-content {
            padding: 2rem;
        }
        .disclaimer-content h3 {
            color: #1e293b;
            font-size: 1.7rem;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #e2e8f0;
        }
        .disclaimer-content p {
            color: #475569;
            line-height: 1.7;
            margin-bottom: 1rem;
            font-size: 1.25rem;
        }
        .disclaimer-content ul {
            color: #475569;
            line-height: 1.7;
            margin-bottom: 1.5rem;
            margin-left: 1.5rem;
            font-size: 1.25rem;
        }
        .disclaimer-content ul li {
            margin-bottom: 0.5rem;
        }
        .disclaimer-warning {
            background: #fef3c7;
            border: 2px solid #f59e0b;
            border-radius: 8px;
            padding: 2rem; 
            margin: 1.5rem 0;
        }
        .disclaimer-warning p {
            color: #92400e;
            margin: 0;
            font-weight: 500;
			line-height: 1.5;
        }
        .disclaimer-acceptance {
            background: #f8fafc;
            border-top: 2px solid #e2e8f0;
            padding: 1.5rem 2rem;
        }
        .checkbox-container {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
            cursor: pointer;
        }
        .checkbox-container input[type="checkbox"] {
            width: 22px;
            height: 22px;
            margin-top: 2px;
            cursor: pointer;
            accent-color: #dc2626;
        }
        .checkbox-container label {
            color: #1e293b;
            font-weight: 600;
            cursor: pointer;
            line-height: 1.5;
        }
        .btn-accept {
            width: 100%;
            background: #dc2626;
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .btn-accept:hover:not(:disabled) {
            background: #b91c1c;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
        }
        .btn-accept:disabled {
            background: #cbd5e1;
            cursor: not-allowed;
            transform: none;
        }
        
        /* Main App Styles */
        .container-calc {
            max-width: 1400px;
            margin: 0 auto;
            background: white;
            border-radius: 16px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            overflow: hidden;
        }
        .header {
            background: linear-gradient(135deg, #A5231D 0%, #7A1A14 100%);
            color: white;
            padding: 2rem;
            text-align: center;
        }
        .header h1 { font-size: 2rem; margin-bottom: 0.5rem; }
        .header p { font-size: 1.1rem; opacity: 0.95; }
        .main-content {
            display: grid;
            grid-template-columns: 400px 1fr;
            height: 600px;
        }
        @media (max-width: 968px) {
            .main-content {
                grid-template-columns: 1fr;
                height: auto;
            }
            .sidebar { max-height: none !important; }
			.disclaimer-box {
				max-width: 800px;
				width: 100%;
				max-height: 75vh;
				overflow-y: auto;
			}
			h1 {font-size:20px;}
			.leaflet-popup-content {max-width:180px;}
        }
		
        .sidebar {
            padding: 1rem 2rem 2rem;
            overflow-y: auto;
            background: #f8fafc;
            border-right: 1px solid #e2e8f0;
        }
        
        .step-box {
            background: white;
            border: 3px solid #e2e8f0;
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            transition: all 0.3s;
        }
        .step-box.active {
            border-color: #dc2626;
            box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
        }
        .step-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            background: #dc2626;
            color: white;
            border-radius: 50%;
            font-weight: bold;
            font-size: 1.1rem;
            margin-right: 0.75rem;
        }
        .step-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
        }
        
        .input-group {
            margin-bottom: 1rem;
        }
        .input-group label {
            display: block;
            font-weight: 600;
            color: #475569;
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }
        .input-group input, .input-group select {
            width: 100%;
            padding: 0.875rem;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            font-size: 1.75rem;
            transition: all 0.3s;
        }
        .input-group input:focus, .input-group select:focus {
            outline: none;
            border-color: #dc2626;
            box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
        }
        
        .btn-primary {
            height:auto;
			width: 100%;
            background: #dc2626;
            color: white;
            border: none;
            padding: 1rem; 
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .btn-primary:hover {
            background: #b91c1c;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
        }
        .btn-primary:disabled {
            background: #cbd5e1;
            cursor: not-allowed;
            transform: none;
        }
        .btn-primary.hidden {
            display: none;
			height:0;
			padding:0;
        }
		.btn-step2 {width:95%;margin: 0 auto;display: block; margin-top: 10px;}
				
		.result-box {
            background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
            border: 3px solid #dc2626;
            border-radius: 12px;
            padding: 1.5rem;
            margin-top: 1.5rem;
			margin-bottom: 1.5rem;
            animation: slideIn 0.5s ease-out;
        }
        @keyframes slideIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .result-box h3 {
            color: #991b1b;
            font-size: 1.3rem;
            margin-bottom: 1rem;
            text-align: center;
        }
        .result-item {
            display: flex;
            justify-content: space-between;
            padding: 0.75rem;
            margin-bottom: 0.5rem;
            background: white;
            border-radius: 8px;
            align-items: center;
        }
        .result-label {
            font-weight: 600;
            color: #64748b;
        }
        .result-value {
            font-weight: 800;
            color: #1e293b;
            font-size: 1.5rem;
        }
        .result-value.big {
            font-size: 1.8rem;
            color: #dc2626;
        }
        
        .info-message {
            background: #dbeafe;
            border-left: 4px solid #3b82f6;
            padding: 1rem;
            margin-bottom: 1rem;
            border-radius: 6px;
            font-size: 1.2rem;
            color: #1e40af;
        }
        
        .legend {
            max-width: 250px;
            margin: 0 auto;
            margin-top: 15px;
            margin
            background: white;
            padding: 1rem;            
            border:solid 1px black;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 1000;
            font-size: 1.15rem;
        }
        .legend h4 {
            margin-bottom: 0.75rem;
            color: #202226;
            font-size: 1.2rem;
        }
        .legend-item {
            display: flex;
            align-items: center;
            margin-bottom: 0.5rem;
        }
        .legend-color {
            width: 20px;
            height: 20px;
            border-radius: 3px;
            margin-right: 0.5rem;
        }
        
        .loading {
            text-align: center;
            color: #64748b;
            font-style: italic;
        }
          
        .result-disclaimer {
            background: #f1f5f9;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            padding: 0.75rem;
            margin-top: 1rem;
            font-size: 1.1rem;
            color: #64748b;
            line-height: 1.5;
        }