.et-page {
    max-width: 1000px;
    margin: 0 auto;
}

.page-intro {
    max-width: 820px;
    margin: 0 auto 1rem;
    text-align: center;
    font-size: 0.92rem;
}

.toolbar {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.75rem;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #adb5bd;
    pointer-events: none;
}

.search-box input {
    padding-left: 30px;
    min-width: 300px;
}

.packages-table {
    font-size: 0.9rem;
}

.packages-table thead th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6c757d;
    border-bottom: 2px solid #e9ecef;
}

.packages-table td code {
    background-color: #f6f8fa;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.85em;
    color: #0b5ed7;
    word-break: break-all;
}

.empty-state {
    padding: 3rem 1rem;
    border: 1px dashed #dee2e6;
    border-radius: 8px;
    background-color: #fbfcfd;
}

.section-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6c757d;
    font-weight: 600;
    margin-top: 0.25rem;
}

.package-summary {
    border: 1px solid #e9ecef;
    background-color: #fbfcfd;
}

.detail-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 2px 0;
    font-size: 0.88rem;
}

.detail-line > span {
    color: #6c757d;
}

.detail-line code {
    word-break: break-all;
    font-size: 0.82em;
    color: #495057;
}

.contact-row .contact-remove {
    flex: 0 0 auto;
}

.batch-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1080;
    max-height: 260px;
    overflow-y: auto;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.batch-suggestions .list-group-item {
    cursor: pointer;
}

.batch-suggestions .list-group-item small {
    color: #6c757d;
}

/* Wide enough to show a full client secret (~24+ chars) without scrolling. */
.batch-table td .form-control-sm {
    min-width: 280px;
}

/* Keep the secret input and its show/hide toggle on one line — Bootstrap's
   input-group wraps by default, which pushed the eye button below the field. */
.batch-table td .input-group {
    flex-wrap: nowrap;
    width: max-content;
}

/* Each contact email on its own line so the column stays as narrow as one
   address instead of stretching to fit the whole comma-joined list. */
.contacts-cell {
    font-size: 0.85rem;
    line-height: 1.4;
}

.contacts-cell .contact-line {
    white-space: nowrap;
}

.target-row {
    background: #fbfcfd;
}

/* Toast header accent, matching the WAF Switcher page. */
.toast.toast-success .toast-header { color: #1a7f47; }
.toast.toast-danger .toast-header  { color: #b02a37; }
.toast.toast-info .toast-header    { color: #055160; }

.toast-container {
    z-index: 1080;
}
