/* Energy In My Area — brand overrides on top of original theme */

/* Preloader: hide immediately — don't wait for window.load */
.loader-wrap { display: none !important; }

/* Service toggle buttons in hero search */
.svc-btn { transition: all 0.2s ease; }
.svc-btn:hover { background: rgba(255,255,255,0.25) !important; }
.svc-btn.svc-active { background: #0d9488 !important; color: #fff !important; }
.svc-btn:not(.svc-active) { background: rgba(255,255,255,0.15); color: #fff; }

/* Logo: wider than original 152px to fit "Energy In My Area" */
.main-header .logo-box .logo,
.sticky-header .logo-box .logo { max-width: 190px; }
.main-header .logo-box { margin-right: 60px; }

/* Banner headline accent span uses teal now (via color.css) */
/* Subscribe section background override */
.subscribe-section .inner-container { background: #0d9488; }

/* Provider card phone button on listing page (legacy) */
.custom-orange-btn {
    background: linear-gradient(to bottom, #0d9488, #14b8a6) !important;
    border: 2px solid #0d9488 !important;
}
.custom-orange-btn:hover {
    background: linear-gradient(to bottom, #0d9488, #2dd4bf) !important;
    border-color: #2dd4bf !important;
}

/* ===== LISTING PAGE — Provider Cards ===== */
.provider-card {
    display: grid;
    grid-template-columns: 160px 1fr 200px;
    gap: 24px;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(11,37,69,0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.provider-card:hover {
    box-shadow: 0 8px 25px rgba(11,37,69,0.1);
    transform: translateY(-2px);
}
.provider-logo {
    width: 160px;
    height: 90px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.provider-logo img {
    max-width: 90%;
    max-height: 70px;
    object-fit: contain;
}
.provider-logo-text {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-align: center;
    padding: 8px;
    line-height: 1.3;
}
.provider-info { min-width: 0; }
.provider-tag {
    display: inline-block;
    background: #ecfdf8;
    color: #0d9488;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.provider-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px;
    font-family: 'Poppins', sans-serif;
}
.provider-info p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}
.provider-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}
.provider-call-btn {
    background: #0d9488;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px 20px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: background 0.2s ease;
}
.provider-call-btn:hover {
    background: #0f766e;
    color: #fff;
    text-decoration: none;
}
.provider-learn-btn {
    background: #fff;
    color: #0d9488;
    border: 2px solid #0d9488;
    border-radius: 8px;
    padding: 11px 20px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}
.provider-learn-btn:hover {
    background: #0d9488;
    color: #fff;
    text-decoration: none;
}

/* Summary table */
.summary-table-wrap {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    max-width: 500px;
}
.summary-table {
    width: 100%;
    border-collapse: collapse;
}
.summary-table td {
    padding: 14px 20px;
    font-size: 15px;
    border-bottom: 1px solid #f1f5f9;
}
.summary-table td:first-child {
    color: #64748b;
    font-weight: 600;
}
.summary-table td:last-child {
    color: #1e293b;
    font-weight: 700;
}
.summary-table tr:last-child td { border-bottom: none; }

/* Listing page responsive */
@media (max-width: 768px) {
    .provider-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }
    .provider-logo { margin: 0 auto; }
    .provider-actions { flex-direction: row; }
    .provider-call-btn, .provider-learn-btn { flex: 1; }
    /* Hero search stacks on mobile */
    .page-title .content-box { flex-direction: column !important; align-items: stretch !important; }
    .page-title .content-box > form { max-width: 100% !important; }
}

/* Header-top left column visible */
.header-top .left-column { display: block !important; }
.header-top .right-column p { color: #fff; margin: 0; }

/* Footer copyright link color */
.main-footer .copyright a { color: #fff; }
.main-footer .copyright a:hover { color: #14b8a6; }

/* Hero search form input placeholder */
.zipcode-form input[type="text"]::placeholder { color: #999; }
.zipcode-form input[type="text"] { color: #222; }
