/* EGTR Electric Guitar Module Styles */

/* Ensure header height consistency with other modules */
.module-type1:has(.egtr-component-container) .module-type1-header {
    height: 45px;
}

.egtr-component-container {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.egtr-component {
    margin-bottom: 8px;
    width: 100%;
}

/* Spacing utilities */
.egtr-space5 { height: 5px; }
.egtr-space10 { height: 10px; }

/* Test Button - Electric Guitar Style */
.egtr-test-btn {
    width: 60%;
    height: 28px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(255, 107, 53, 0.3);
}

.egtr-test-btn:hover {
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.4);
}

.egtr-test-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 3px rgba(255, 107, 53, 0.3);
}

.egtr-test-btn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Electric Guitar Pickup Dropdown */
.egtr-pickup {
    width: 100%;
    padding: 6px;
    border: 1px solid #555;
    border-radius: 3px;
    background: #2a2a2a;
    color: #ff6b35;
    font-size: 12px;
}

.egtr-pickup:focus {
    border-color: #ff6b35;
    outline: none;
    box-shadow: 0 0 5px rgba(255, 107, 53, 0.3);
}

/*======================== CV INPUTS ===================*/
.egtr-cv-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;
}

.egtr-cv-field input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 12px;
    color: #ccc;
    width: 100%;
    font-weight: bold;
}

.egtr-cv-field input::placeholder {
    color: #666;
    font-weight: normal;
}

/* Connection indicator dot */
.egtr-cv-connection-indicator {
    width: 8px;
    height: 8px;
    background: gray;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 6px;
}

.egtr-cv-connection-indicator.connected {
    background: #06F838; /* bright green for valid connection */
    box-shadow: 0 0 4px rgba(6, 248, 56, 0.6);
}

.egtr-cv-connection-indicator.invalid {
    background: red;
    box-shadow: 0 0 4px rgba(255, 0, 0, 0.6);
}

.vcf-note-section {
  margin-top: 10px;
  text-align: left;
}

.vcf-note-text {
  font-size: 8px;
  color: #00ff88;
  font-style: italic;
  line-height: 15px;
}

/* Value displays with electric guitar color */
.egtr-component .value-display {
    color: #ff6b35;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .egtr-component-container {
        padding: 6px;
    }
    
    .egtr-test-btn {
        height: 30px;
        font-size: 12px;
    }
}
