/* VCF Module Styling */
.vcf-component-container {
    padding: 15px;
    height: calc(100% - 45px);
    overflow-y: auto;
}

.vcf-component {
    margin-bottom: 8px;
}

.vcf-space20 {
    height: 20px;
}

.vcf-space10 {
    height: 10px;
}

/* Dropdown Styling */
.vcf-dropdown {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.vcf-dropdown label {
    color: #ccc;
    font-size: 12px;
    font-weight: bold;
}

.vcf-type-select {
    padding: 4px 8px;
    background: #333;
    color: #fff;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 11px;
    outline: none;
}

.vcf-type-select:focus {
    border-color: #00aaff;
}

/* Slider Pot Styling */
.vcf-slider-pot {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.vcf-slider-pot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vcf-slider-pot-header label {
    color: #ccc;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.vcf-value-display {
    color: #00aaff;
    font-size: 11px;
    font-weight: bold;
    min-width: 40px;
    text-align: right;
}

.vcf-slider-pot input[type="range"] {
    width: 100%;
    height: 6px;
    background: #444;
    outline: none;
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
}

.vcf-slider-pot input[type="range"]::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
    background: #00aaff;
    border-radius: 50%;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.vcf-slider-pot input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #00aaff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/*======================== CV INPUTS ===================*/
.vcf-cv-field, 
.vcf-patching-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    height: 25px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #111;
    font-size: 12px;
    color: #999;
}

.vcf-cv-field input,
.vcf-patching-field input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 12px;
    color: #ccc;
    width: 100%;
    font-weight: bold;
}

.vcf-cv-field input::placeholder,
.vcf-patching-field input::placeholder {
    color: #666;
    font-weight: normal;
}

/* Connection indicator dot */
.vcf-cv-connection-indicator,
.vcf-patching-connection-indicator {
    width: 8px;
    height: 8px;
    background: gray;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 6px;
}

.vcf-cv-connection-indicator.connected,
.vcf-patching-connection-indicator.connected {
    background: #06F838; /* bright green for valid connection */
    box-shadow: 0 0 4px rgba(6, 248, 56, 0.6);
}

.vcf-cv-connection-indicator.invalid,
.vcf-patching-connection-indicator.invalid {
    background: red;
    box-shadow: 0 0 4px rgba(255, 0, 0, 0.6);
}


/* VCF specific color theme - purple/violet */
.vcf-slider-pot input[type="range"]::-webkit-slider-thumb {
    background: #9966ff;
}

.vcf-slider-pot input[type="range"]::-moz-range-thumb {
    background: #9966ff;
}

.vcf-value-display {
    color: #9966ff;
}

.vcf-cv-field input[type="text"]:focus,
.vcf-patching-field input[type="text"]:focus {
    border-color: #9966ff;
}

.vcf-type-select:focus {
    border-color: #9966ff;
}

/*======================== VCF LABEL ===================*/
.vcf-label-field {
    font-size: 11px;
    font-weight: bold;
    color: #00ff88;      /* bright synth green */
    text-align: left;
    display: block; 
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

