/* Stacked inline card: visual separation between records */
.inline-group .stacked .inline-related {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 12px;
    background-color: #fff;
}

/* Stacked inline header: reduce font weight for hierarchy */
.inline-group .stacked h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

/* Failsafe: any inline group with a table scrolls horizontally instead of overflowing the page */
.inline-group {
    overflow-x: auto;
}

/* Prevent main content from producing a page-level horizontal scrollbar */
#content {
    overflow-x: hidden;
}

/* Collapsible section header cursor hint */
.module.collapse-handler h2 {
    cursor: pointer;
}

/* Credential field: wrapper aligns input and eye button on the same row */
.credential-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Credential field: make editable inputs take all available width */
.credential-wrapper input.credential-field {
    flex: 1;
}

/* Eye toggle button: no background, icon-only */
.credential-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #6c757d;
    padding: 0 4px;
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
}

.credential-toggle-btn:hover {
    color: #343a40;
}

/* Readonly credential value: monospace so character width stays stable on reveal */
.credential-readonly {
    font-family: monospace;
    letter-spacing: 1px;
}
