{"id":9,"date":"2026-02-07T08:40:07","date_gmt":"2026-02-07T08:40:07","guid":{"rendered":"https:\/\/projects.mavrey.com\/desco\/?page_id=9"},"modified":"2026-02-07T09:55:57","modified_gmt":"2026-02-07T09:55:57","slug":"e-bill","status":"publish","type":"page","link":"https:\/\/projects.mavrey.com\/desco\/","title":{"rendered":""},"content":{"rendered":"\n<p class=\"is-style-text-display is-style-text-display--1 wp-block-paragraph\" style=\"padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20)\">    <style>\r\n        \/* Scoped styles to avoid conflicts *\/\r\n        .ebc-container {\r\n            font-family: Arial, sans-serif;\r\n            padding: 20px;\r\n            max-width: 850px;\r\n            margin: auto;\r\n            background: #f4f4f4;\r\n            font-size: 1rem;\r\n            line-height: 1.6;\r\n            border-radius: 8px;\r\n        }\r\n\r\n        .ebc-container h2 {\r\n            font-size: 1.8rem;\r\n            margin-bottom: 1.5rem;\r\n            text-align: center;\r\n        }\r\n\r\n        .ebc-form {\r\n            display: flex;\r\n            flex-direction: column;\r\n            gap: 12px;\r\n            margin-bottom: 20px;\r\n        }\r\n\r\n        .ebc-form label {\r\n            font-size: 1.25rem;\r\n            font-weight: 600;\r\n            margin-bottom: 8px;\r\n        }\r\n\r\n        .ebc-form input[type=\"number\"] {\r\n            padding: 14px 18px;\r\n            width: 100%;\r\n            box-sizing: border-box;\r\n            margin: 8px 0;\r\n            font-size: 1.1rem;\r\n            border: 1px solid #ccc;\r\n            border-radius: 6px;\r\n            touch-action: manipulation;\r\n        }\r\n\r\n        .ebc-form input[type=\"submit\"] {\r\n            padding: 14px 24px;\r\n            background: #007bff;\r\n            color: #fff;\r\n            border: none;\r\n            border-radius: 6px;\r\n            cursor: pointer;\r\n            font-size: 1.1rem;\r\n            font-weight: 600;\r\n            transition: background-color 0.2s;\r\n        }\r\n\r\n        .ebc-form input[type=\"submit\"]:hover {\r\n            background: #0056b3;\r\n        }\r\n\r\n        .ebc-form input[type=\"submit\"]:active {\r\n            background: #004085;\r\n        }\r\n\r\n        .ebc-output {\r\n            background: #fff;\r\n            padding: 15px;\r\n            border-radius: 8px;\r\n            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\r\n        }\r\n\r\n        .ebc-output h3 {\r\n            margin-top: 0;\r\n            font-size: 1.4rem;\r\n            text-align: center;\r\n        }\r\n\r\n        .ebc-bill-details {\r\n            background-color: #f0f0f0;\r\n            padding: 15px;\r\n            border-radius: 8px;\r\n            margin-bottom: 15px;\r\n        }\r\n\r\n        .ebc-bill-details p {\r\n            margin: 6px 0;\r\n            font-size: 0.95rem;\r\n            line-height: 1.5;\r\n            color: #333;\r\n            word-break: break-word;\r\n        }\r\n\r\n        .ebc-bill-details hr {\r\n            border: none;\r\n            border-top: 1px solid #ccc;\r\n            margin: 8px 0;\r\n        }\r\n    <\/style>\r\n\r\n    <div class=\"ebc-container\">\r\n        <h2>Electricity Bill Calculator<\/h2>\r\n\r\n        <form method=\"post\" class=\"ebc-form\" novalidate>\r\n            <label for=\"ebc_units\">Enter Consumed Units (kWh):<\/label>\r\n            <input type=\"number\" name=\"ebc_units\" id=\"ebc_units\" required min=\"1\"\r\n                value=\"\">\r\n            <input type=\"submit\" value=\"Calculate Bill\">\r\n        <\/form>\r\n\r\n            <\/div>\r\n    <\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"no-header","meta":{"footnotes":""},"class_list":["post-9","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/projects.mavrey.com\/desco\/index.php?rest_route=\/wp\/v2\/pages\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/projects.mavrey.com\/desco\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/projects.mavrey.com\/desco\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/projects.mavrey.com\/desco\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/projects.mavrey.com\/desco\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9"}],"version-history":[{"count":8,"href":"https:\/\/projects.mavrey.com\/desco\/index.php?rest_route=\/wp\/v2\/pages\/9\/revisions"}],"predecessor-version":[{"id":32,"href":"https:\/\/projects.mavrey.com\/desco\/index.php?rest_route=\/wp\/v2\/pages\/9\/revisions\/32"}],"wp:attachment":[{"href":"https:\/\/projects.mavrey.com\/desco\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}