/* Cable Comparison Plugin Styles */

.cc-comparison-wrap {
    max-width: 1100px;
    margin: 0 auto;
    font-family: inherit;
}

.cc-section-title {
    font-size: 1.6em;
    margin-bottom: 24px;
    color: #1a1a1a;
}

/* Provider block */
.cc-provider-block {
    margin-bottom: 40px;
}

.cc-provider-header {
    border-left: 4px solid #e3002b;
    padding-left: 12px;
    margin-bottom: 16px;
}

.cc-provider-name {
    font-size: 1.3em;
    margin: 0;
    color: #1a1a1a;
}

/* Plans grid */
.cc-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* Plan card */
.cc-plan-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}

.cc-plan-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.cc-plan-name {
    font-size: 1.1em;
    font-weight: 700;
    color: #1a1a1a;
}

.cc-plan-speed {
    font-size: 0.95em;
    color: #555;
    background: #f4f4f4;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
}

.cc-plan-price {
    font-size: 1.5em;
    font-weight: 800;
    color: #e3002b;
    margin: 4px 0;
}

.cc-plan-features {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.88em;
    color: #444;
    flex-grow: 1;
}

.cc-plan-features li {
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cc-plan-features li:last-child {
    border-bottom: none;
}

/* CTA Button */
.cc-cta-button {
    display: block;
    text-align: center;
    background: #e3002b;
    color: #fff !important;
    padding: 12px 0;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95em;
    text-decoration: none !important;
    margin-top: 8px;
    transition: background 0.2s;
}

.cc-cta-button:hover {
    background: #b80022;
}

/* Search widget */
.cc-search-widget {
    margin: 20px 0;
}

.cc-search-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.cc-zip-input {
    padding: 12px 16px;
    font-size: 1em;
    border: 2px solid #ccc;
    border-radius: 6px;
    width: 180px;
    transition: border-color 0.2s;
}

.cc-zip-input:focus {
    border-color: #e3002b;
    outline: none;
}

.cc-search-button {
    padding: 12px 24px;
    background: #e3002b;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.cc-search-button:hover {
    background: #b80022;
}

/* Loading state */
.cc-loading {
    text-align: center;
    padding: 40px;
    color: #777;
    font-size: 1.1em;
}

/* Error / no results */
.cc-error,
.cc-no-results {
    background: #fff8f8;
    border: 1px solid #ffd0d0;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    color: #a00;
}

/* Search append at bottom of comparison */
.cc-search-append {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.cc-search-append p {
    margin-bottom: 10px;
    color: #555;
}

/* Responsive */
@media (max-width: 600px) {
    .cc-plans-grid {
        grid-template-columns: 1fr;
    }

    .cc-search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .cc-zip-input,
    .cc-search-button {
        width: 100%;
    }
}
