/* Custom Wheel Badges - Interactive Fitment Hub Styles */
.fitment-hub-container {
    background: #ffffff;
    border: 2px solid #002244;
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0, 22, 68, 0.06);
    font-family: system-ui, -apple-system, sans-serif;
}

.fitment-hub-header {
    border-bottom: 3px solid #002244;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.fitment-hub-header h3 {
    margin: 0;
    color: #002244;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fitment-hub-header p {
    margin: 0.5rem 0 0 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
}

.fitment-workspace {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.input-panel {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.input-panel h4 {
    margin: 0 0 1.2rem 0;
    color: #002244;
    font-size: 1.1rem;
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 0.4rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group-last {
    margin-bottom: 0.5rem;
}

.form-group label, .slider-header label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: #334155;
    margin-bottom: 0.4rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.88rem;
    color: #334155;
    margin-bottom: 0.4rem;
}

.slider-header span {
    color: #0048a5;
    font-family: monospace;
    font-size: 1.2rem;
}

.form-select {
    width: 100%;
    padding: 0.65rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    font-size: 0.95rem;
    color: #0f172a;
}

.form-range {
    width: 100%;
    accent-color: #0088cc;
}

.simulator-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    min-height: 250px;
    position: relative;
}

.simulator-panel h4 {
    position: absolute;
    top: 10px;
    left: 15px;
    margin: 0;
    color: #475569;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sim-cap-boundary {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, #334155 0%, #0f172a 100%);
    border: 4px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.sim-gel-layer {
    width: 85%;
    height: 85%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 50%), #0088cc;
    box-shadow: inset 0 2px 10px rgba(255,255,255,0.4), 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.sim-gel-layer span {
    color: white;
    font-weight: bold;
    font-family: monospace;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.simulator-caption {
    margin: 1.2rem 0 0 0;
    font-size: 1rem;
    color: #0f172a;
    text-align: center;
    line-height: 1.3;
}

.matrix-display-card {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    border-left-width: 5px;
    border-left-style: solid;
    transition: all 0.2s ease;
}

.matrix-display-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.2rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #1e293b;
}

.matrix-engineering-notes {
    margin: 1rem 0 0 0;
    padding-top: 0.8rem;
    font-size: 0.88rem;
    font-style: italic;
}

@media (max-width: 600px) {
    .matrix-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

@media (max-width: 768px) {
    .fitment-workspace {
        grid-template-columns: 1fr;
    }
}
