/* ==========================================================================
   Eastel Template CSS Overrides
   Minimal style overrides for referral page templates
   ========================================================================== */

/* Section base */
.section-dark {
    background-color: #020617;
    color: #ffffff;
}

/* Badge */
.template-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Featured card highlight */
.card-featured {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.05);
}

.card-featured:hover {
    border-color: rgba(99, 102, 241, 0.7);
    transform: translateY(-2px);
}

/* Table rows */
.comparison-table th {
    text-align: left;
    padding: 1rem 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(148, 163, 184, 1);
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Range slider custom */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6366f1;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6366f1;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Network summary counters */
[data-count] {
    transition: all 0.3s ease;
}

/* Result displays */
[data-result] {
    transition: all 0.3s ease;
}

/* Mobile card adjustments */
@media (max-width: 767px) {
    .mobile-card {
        padding: 1.5rem;
        border-radius: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.05);
    }
}

/* Smooth animations */
.card-transition {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-transition:hover {
    transform: translateY(-0.5rem);
}
