/* LESCO Bill Calculator Styles - Light Theme */

.lesco-calculator-container {
    width: 100%;
    margin: 0 auto 2rem;
    background: #fff;
    padding: 0;
    border-radius: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.5;
    overflow: hidden;
    border: 1px solid #eee;
}

/* Width classes */
.lesco-width-full {
    max-width: 100%;
}

.lesco-width-extra-large {
    max-width: 1200px;
}

.lesco-width-large {
    max-width: 1000px;
}

.lesco-width-medium {
    max-width: 800px;
}

.lesco-width-small {
    max-width: 600px;
}

/* Custom width is handled via inline CSS */

/* Ensure consistent font size for all table cells */
.lesco-calculator-container table td,
.lesco-calculator-container table th {
    font-size: 14px;
}

/* Color Palette */
.lesco-color-palette {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

.lesco-color-palette i {
    font-size: 18px;
}

.lesco-brand-text {
    margin-left: 5px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.2;
    color: #FF6600;
}

.lesco-brand-net {
    color: #666;
    font-weight: normal;
}

/* Header Styles */
.lesco-calculator-header {
    width: 100%;
    padding: 40px 15px;
    margin-bottom: 0;
    text-align: center;
    background-color: #212121;
    position: relative;
    overflow: hidden;
}

.lesco-calculator-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #212121;
    z-index: 1;
    opacity: 1;
}

.lesco-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.lesco-header-icon {
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lesco-header-icon i {
    font-size: 40px;
    /* Color will be set by custom CSS */
}

.lesco-header-text {
    text-align: center;
}

.lesco-calculator-container .lesco-header-text h2 {
    /* Color will be set by custom CSS */
    text-align: center;
    margin: 0 0 10px 0;
    padding: 0;
    border: none;
    font-size: 28px;
    font-weight: 700;
    text-shadow: none;
}

.lesco-header-text p {
    /* Color will be set by custom CSS */
    margin: 0;
    font-size: 16px;
    text-shadow: none;
    font-weight: 400;
}

.lesco-content-wrapper {
    padding: 20px 25px;
    max-width: 1140px;
    margin: 0 auto;
}

/* Breadcrumb Navigation */
.lesco-breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
}

.lesco-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.lesco-breadcrumb li {
    display: inline-block;
    margin-right: 5px;
    color: #666;
}

.lesco-breadcrumb li:after {
    content: "›";
    margin-left: 5px;
    color: #999;
}

.lesco-breadcrumb li:last-child:after {
    content: "";
    margin-left: 0;
}

.lesco-breadcrumb a {
    color: #FF6600;
    text-decoration: none;
}

.lesco-breadcrumb a:hover {
    text-decoration: underline;
}

.lesco-calculator-container p.description {
    text-align: left;
    margin-bottom: 20px;
    color: #333333;
    padding: 0;
    font-size: 14px;
    line-height: 1.6;
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
}

.lesco-form-group {
    margin-bottom: 20px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 0;
    color: #333333;
    border: 1px solid #ddd;
}

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

.lesco-form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    margin-top: 5px;
    background-color: #f9f9f9;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    text-indent: 0;
    text-align: left;
    line-height: normal;
    height: auto;
}

/* Specific styling for select elements */
select.lesco-form-control {
    padding: 10px 12px;
    appearance: menulist;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 12px;
    text-overflow: ellipsis;
}

.lesco-form-control:focus {
    border-color: #FF6600;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.2);
}

.lesco-form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333333;
    font-size: 14px;
}

.lesco-info-text {
    margin-top: 5px;
    font-size: 12px;
    color: #666666;
    padding: 0;
}

.lesco-consumer-types {
    margin: 30px 0;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 0;
    color: #333333;
}

.lesco-section-title {
    color: #FF6600 !important;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: none;
    border-left: 4px solid #FF6600;
    padding-left: 10px;
    font-weight: 700;
    position: relative;
    display: block;
}

.lesco-consumer-type-item {
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 3px solid #FF6600;
    font-size: 14px;
    line-height: 1.5;
}

.lesco-btn {
    background-color: #FF6600;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    margin-top: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lesco-btn:hover {
    background-color: #e65c00;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.lesco-calculator-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.lesco-calculator-tab {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: none;
    margin-right: 5px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px 4px 0 0;
}

.lesco-calculator-tab.active {
    background-color: #FF6600;
    color: white;
    border-color: #FF6600;
}

.lesco-error-message {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
}

.lesco-table-responsive {
    overflow-x: auto;
    width: 100%;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.lesco-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-size: 14px;
}

.lesco-table th {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
    background-color: #FF6600;
    color: white;
    font-weight: bold;
}

.lesco-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
    background-color: #ffffff;
    color: #333333;
}

.lesco-table tr:nth-child(even) td {
    background-color: #f9f9f9;
}

.lesco-table tr:hover td {
    background-color: #f5f5f5;
}

.lesco-separator-row td {
    border-top: 2px solid #ddd;
    padding: 5px 0;
}

.lesco-total-row td {
    font-weight: bold;
    background-color: #f5f5f5;
    color: #333333;
}

.lesco-late-payment-row {
    border-top: 1px solid #ddd;
}

.lesco-late-payment-row td {
    background-color: #fff8e1;
    color: #FF6600;
}

.lesco-note {
    margin: 20px 0;
    padding: 15px;
    background-color: #fff8e1;
    border: 1px solid #FF6600;
    border-radius: 0;
    color: #FF6600;
}

.lesco-hidden {
    display: none;
}

.lesco-section {
    margin-top: 30px;
    background-color: #ffffff;
    color: #333333;
    padding: 20px;
    border: 1px solid #ddd;
}

.lesco-section h3 {
    /* color will be set by custom CSS */
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.lesco-section-title {
    /* color will be set by custom CSS */
    font-size: 22px;
    /* border-left color will be set by custom CSS */
    padding-left: 10px;
    margin-bottom: 15px;
    border-bottom: none !important;
}

.lesco-section h4 {
    color: #FF6600;
    margin: 15px 0 10px;
    border-left: 3px solid #FF6600;
    padding-left: 10px;
}

.lesco-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 20px;
    font-size: 14px;
}

.lesco-info-table th, .lesco-info-table td {
    padding: 8px 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.lesco-info-table td {
    background-color: #ffffff;
    color: #333333;
}

.lesco-info-table th {
    background-color: #FF6600;
    color: #ffffff;
    font-weight: bold;
}

.slab-charges-table th {
    /* background-color will be set by custom CSS */
    color: white;
    text-align: center;
    font-size: 14px;
}

.slab-charges-table td {
    text-align: center;
    font-size: 14px;
}

.status-cell {
    font-weight: bold;
    color: #999;
}

.status-cell.applied {
    /* color will be set by custom CSS */
    color: #FF6600;
}

.slab-note {
    background-color: #fff8e1;
    border-color: #FF6600;
    color: #FF6600;
}

.lesco-section-subsection {
    margin-top: 30px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

.lesco-peak-hours {
    margin: 15px 0;
}

.lesco-peak-hours ul {
    margin: 10px 0;
    padding-left: 20px;
}

.lesco-peak-hours li {
    margin-bottom: 5px;
}

/* FAQ Section Styles */
.lesco-faq-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 0;
}

.lesco-faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.lesco-faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.lesco-faq-item h4 {
    color: #333;
    margin: 0 0 10px 0;
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-left: 3px solid #FF6600;
    font-size: 16px;
    cursor: pointer;
    position: relative;
}

.lesco-faq-item h4:hover {
    background-color: #eee;
}

.lesco-faq-item p {
    margin: 10px 0;
    padding: 0 15px;
    line-height: 1.6;
    color: #333;
    font-size: 14px;
}

.lesco-pulse-table {
    margin-top: 20px;
    font-size: 14px;
}

.lesco-pulse-table th {
    /* background-color will be set by custom CSS */
    color: white;
    text-align: center;
}

.lesco-pulse-table td {
    text-align: center;
}

.lesco-pulse-table .current-row {
    /* background-color will be set by custom CSS */
    background-color: #fff8e1;
    font-weight: bold;
}

.lesco-pulse-table .current-row td:last-child {
    /* color will be set by custom CSS */
    color: #FF6600;
}

.lesco-pulse-table .current-units {
    position: relative;
}

.lesco-pulse-table .current-units::after {
    content: "←";
    position: absolute;
    right: 5px;
    /* color will be set by custom CSS */
    color: #FF6600;
    font-weight: bold;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .lesco-calculator-container {
        max-width: 95%;
        margin: 0 auto 2rem;
    }

    .lesco-content-wrapper {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .lesco-calculator-container {
        padding: 0 0 15px 0;
        max-width: 100%;
    }

    .lesco-form-group {
        padding: 15px;
        margin: 0 15px;
    }

    .lesco-header-content {
        flex-direction: column;
    }

    .lesco-logo-container {
        margin-right: 0;
        margin-bottom: 10px;
        text-align: center;
    }

    .lesco-logo {
        max-width: 150px;
    }

    .lesco-color-palette {
        justify-content: center;
        margin-top: 10px;
    }

    .lesco-table th, .lesco-table td {
        padding: 8px;
    }

    .lesco-info-table {
        font-size: 14px;
    }

    .lesco-calculator-container p.description {
        padding: 0 15px;
    }

    .lesco-content-wrapper {
        padding: 15px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .lesco-calculator-container {
        padding: 0 0 10px 0;
        width: 100%;
        max-width: 100%;
    }

    .lesco-calculator-header {
        padding: 20px 10px;
    }

    .lesco-form-group {
        padding: 15px 10px;
        margin: 0 10px;
    }

    .lesco-logo {
        max-width: 120px;
    }

    .lesco-calculator-container .lesco-header-text h2 {
        font-size: 20px;
    }

    .lesco-header-text p {
        font-size: 12px;
    }

    .lesco-table th, .lesco-table td {
        padding: 6px;
        font-size: 14px;
    }

    .lesco-info-table th, .lesco-info-table td {
        padding: 6px;
        font-size: 13px;
    }

    .lesco-calculator-container p.description {
        padding: 0 10px;
        font-size: 14px;
    }

    .lesco-content-wrapper {
        padding: 10px;
        max-width: 100%;
    }

    .lesco-table-responsive {
        overflow-x: auto;
    }
}
