/* custom.css */

/* Toggle buttons for collapse */
button[data-bs-toggle="collapse"] {
    transition: background-color 0.2s, color 0.2s;
}

button[data-bs-toggle="collapse"].collapsed {
    background-color: #e9ecef;
    color: #212529;
}

/* Collapsed text panels */
.collapse {
    margin-top: 0.5rem;
}

/* Dim unimportant text (e.g., comments) */
.text-muted-small {
    color: #6c757d;
    font-size: 0.85rem;
}

/* Highlight search hits (if you add highlighting later) */
.search-highlight {
    background-color: yellow;
    font-weight: bold;
}

/* Page size dropdown positioning */
.page-size-select {
    max-width: 150px;
    display: inline-block;
}

/* Make placeholder text lighter across the project */
::placeholder {
    color: #adb5bd !important;
    /* lighter gray from Bootstrap palette */
    opacity: 1;
    /* ensure it's not semi-transparent */
}

.col-name {
    width: 25%;
    max-width: 25%;
    word-wrap: break-word;
    /* allow long names to wrap naturally */
    white-space: normal;
    /* allow multiple lines */
}

.col-nowrap {
    white-space: nowrap;
}

/* Make label and input alignment perfect in modals */
.modal .col-form-label {
    text-align: right;
    font-weight: 500;
}

.modal .form-control,
.modal .form-select {
    width: auto;
    display: inline-block;
}

.error-text {
    color: #d9534f;    /* strong bootstrap-like red */
    font-weight: bold;
    margin-top: 4px;
}
