/* Custom Fields — Shared Rendering Styles */

.cf-section-label {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 16px 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e8f0;
}

.cf-section-label:first-child {
    margin-top: 0;
}

.cf-field-group {
    margin-bottom: 14px;
}

.cf-help-text {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.cf-input-group {
    display: flex;
    align-items: center;
}

.cf-input-prefix,
.cf-input-suffix {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 8px 12px;
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
}

.cf-input-prefix {
    border-right: none;
    border-radius: 6px 0 0 6px;
}

.cf-input-suffix {
    border-left: none;
    border-radius: 0 6px 6px 0;
}

.cf-input-group .cf-input {
    border-radius: 0;
}

.cf-input-group .cf-input:first-child {
    border-radius: 6px 0 0 6px;
}

.cf-input-group .cf-input:last-child {
    border-radius: 0 6px 6px 0;
}

.cf-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cf-field-group .checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cf-field-group .checkbox-item input[type="checkbox"],
.cf-field-group .checkbox-item input[type="radio"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    cursor: pointer;
    margin: 0;
}

.cf-field-group .checkbox-item label {
    margin: 0;
    font-size: 14px;
    color: #0f172a;
    cursor: pointer;
}

/* Display mode */

.cf-display-row {
    display: flex;
    align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
}

.cf-display-row:last-child {
    border-bottom: none;
}

.cf-display-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    width: 160px;
    flex-shrink: 0;
}

.cf-display-value {
    font-size: 14px;
    color: #0f172a;
    flex: 1;
}

.cf-display-value a {
    color: #2563eb;
    text-decoration: none;
}

.cf-display-value a:hover {
    text-decoration: underline;
}
