#electricity-bill-calculator {
    width:100%;
    margin: 0 auto;
	border-radius: 5px;
	background: #FCFDFD;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
	margin-bottom:20px;
}


.ebc-form-section {
    padding: 60px 60px;
    border-radius: 8px;
	background: linear-gradient(0deg, #EDF6F8 0%, #EDF6F8 100%), rgba(255, 255, 255, 0.80);
	box-shadow: 0 0 0 1px #E5E5E5;	
}
.ebc-calculator-form{
	max-width:600px;
}

.ebc-form-grid {
    display:flex;
	gap:0px 23px;
    margin-bottom: 25px;
}

.ebc-form-group {
    display: flex;
    flex-direction: column;
}

.ebc-form-group label {
    margin-bottom: 10px;
	color:#111928;
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 24px; 
}



.ebc-form-group input {
    padding: 12px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 6px;
	border: 1px solid #2E7D8E;
	background: #fff;
	height:46px;
	color: #52545D;
	font-style: normal;
	font-weight: 400;
	line-height: 24px; 
}

.ebc-form-group input:focus {
    outline: none;
    border-color: #2E7D8E;
    box-shadow: 0 0 0 3px rgba(74, 155, 142, 0.1);
}

.ebc-form-submit {
    text-align: center;
}
#ebc-calculator-form{
	max-width:600px;
	margin:auto;
}

#ebc_submit_btn {   	
	border-radius: 6px;
	background: #2E7D8E;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.10);
	display: flex;
	height: 36px;
	padding: 7px 15px;
	justify-content: center;
	align-items: center;
	border:0px;
	font-size:14px;
	width:auto;
	margin:auto;

}

#ebc_submit_btn:hover {
    background: #2E7D8E;
    transform: translateY(-2px);
}

#ebc_submit_btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.ebc-loading {
    text-align: center;
    padding: 40px;
}

.ebc-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2E7D8E;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ebc-results {
    padding: 30px;
	max-width:660px;
	margin:auto;
}
.ebc-results-header{
	border-radius: 8px;
	border: 1px solid #E5E5E5;
	background: #FCFDFD;
	padding: 25px 35px;
	margin-bottom:30px;

}

.ebc-results .ebc-results-header h3 {
	color: #111928;
	text-align: center;
	font-size: 16px;
	font-weight: 500;
	line-height: 32px;
	letter-spacing: -0.6px;
    margin-bottom: 15px;
}

.ebc-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    
}

.ebc-summary-item {
    text-align: center;
    

}

.ebc-summary-label {
	color: #164E63;
	text-align: center;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	padding-bottom:8px;
}

.ebc-summary-value {
	color: #2A5260;
	text-align: center;
	font-size: 24px;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: -0.4px;
}

/* Chart Section */
.ebc-chart-section {
    margin-bottom: 40px;
}

.ebc-chart-container {
    position: relative;
    height: 250px;
    padding: 20px 0px;
    margin-bottom: 20px;
}

#ebc_monthly_chart {
    width: 100% !important;
    height: 100% !important;
}

.ebc-avg-line-label {
	position: absolute;
    top: 40px;
    background: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    box-shadow: 0 2px 4px 0 rgba(30, 41, 59, 0.25);
    margin: auto;
    left: 0px;
    right: 0px;
    text-align: center;
    width: 167px;
}
.ebc-avg-line-label:after {
	top: 100%;
	left: 0;
	right:0px;
	border: solid transparent;
	content: "";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(255, 255, 255, 0);
	border-top-color: #fff;
	border-width: 8px;
	margin:auto;
}
.ebc-avg-line-label:before {
	left:0px;
	right:0px;
	margin:auto;
	content: "";
	height: 5px;
	width: 5px;
	position: absolute;
	border-radius:50px;
	background:#2D788D;
	bottom:-16px;
	
}

.ebc-results .ebc-breakdown-section h4 {
    color: #111928;
	text-align: center;
	font-size: 16px;
	font-weight: 500;
	line-height: 32px;
	letter-spacing: -0.6px;
    margin-bottom: 15px;
    
}

.ebc-table-wrapper {
    overflow-x: auto;
	border-radius:5px 5px 0px 0px;
    
}

.ebc_breakdown_table {
    width: 100%;
    border-collapse: collapse;
    background: white;
	border:1px solid #E5E5E5;
}

.ebc_breakdown_table th {
    background: #EDF6F8;
    padding: 12px 10px;
    text-align: center;
    font-weight: 600;
    color: #101214;
    font-size: 14px;
	border:1px solid #E5E5E5;

}

.ebc_breakdown_table td {
    padding: 12px;
    border:1px solid #E5E5E5;
    font-size: 14px;
	 font-weight: 400;
    color: #101214;
	 padding: 15px 10px;
	 text-align: center;
}
.ebc_breakdown_table th:first-child, .ebc_breakdown_table td:first-child{text-align:left;}
.ebc_breakdown_table th:last-child, .ebc_breakdown_table td:last-child{text-align:right;}
.ebc_breakdown_table tbody tr:nth-child(odd) {
    background: #fff;
}
.ebc_breakdown_table tbody tr:nth-child(even) {
    background: #FCFDFD;
}

.ebc_breakdown_table tbody tr:hover {
    background: #f5f5f5;
}

.ebc-disclaimer {
    color: #47576B;
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
    text-align: left;
    border:1px #E5E5E5 solid;
	border-top:0px;
	background: #FCFDFD;
	padding:15px;
	border-radius:0px 0px 5px 5px
}
.question-icon{
	width: 15px;
    height: 15px;
    display: inline-block;
    background: #274552;
    border-radius: 100%;
    color: #fff;
    line-height: normal;
    text-align: center;
    font-size: 13px;
    margin: 0px;
}

.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-trigger {
    color: #007cba;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
}

.tooltip-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 100%;
    left: -18px;
    width: 250px;
    background-color: #fff;
    color: #000;
    text-align: left;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 8px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.tooltip-content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 20px;
    border: 6px solid transparent;
    border-top-color: #fff;
}

.tooltip-container:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

.tooltip-content:hover {
    visibility: visible;
    opacity: 1;
}
#electricity-bill-calculator .ebc-error-message {
    color: #d63638;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}




/* Mobile Responsive */
@media (max-width: 767px) {
	.ebc-form-section{padding:25px;}
 .ebc-form-grid {flex-wrap: wrap; gap:16px;}
 .ebc-form-grid .ebc-form-group{width:calc(50% - 8px);}
 .ebc-form-grid .ebc-form-group:last-child{width:100%; flex:1 1 200px}
.ebc-results{padding:15px;}
.ebc-summary-grid {
    flex-direction: column;
    display: flex;
}
.ebc-form-group label{font-size:14px; margin-bottom:5px;}	
    .tooltip-content {
        width: 200px;
        font-size: 12px;
        padding: 10px 12px;
        left: -50px;
    }
    
    .tooltip-content::after {
        left: 60px; 
    }	
	.ebc-avg-line-label{top:23px;}
	.ebc-chart-container{padding:0px;}
}

@media (max-width: 480px) {
    .ebc-chart-container {
        height: 200px;
        padding: 10px;
    }
    
    .ebc-avg-line-label {
        font-size: 12px;
        padding: 6px 8px;
    }
	.ebc-form-grid .ebc-form-group:last-child{width:100%; flex:1 1 120px}
}