/* BASIC FORM CSS */

.form-page {
    margin: 20px;
}

/* Small utilities */
.is-hidden {
    display: none !important;
}

.basic-form--wide {
    max-width: 700px;
}

.form-group--mt-lg {
    margin-top: 20px;
}


.form-name {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
}

.no-menu {
    margin-top: -30px;
}

.basic-form {
    border-radius: 10px;
    padding: 5px 20px 20px 20px;
    background-color: var(--color-form-bg);
    width: 100%;
    max-width: 375px;
    margin-bottom: 10px;
}

@media (max-width: 480px) {
    .form-page {
        margin-left: 20px;
        margin-right: 20px;
    }
    .basic-form {
        max-width: 100%;
    }
}

.basic-form .form-group {
    margin-bottom: 5px;
}

.basic-form label {
    display: block;
    color: var(--color-blue-dark);
    font-size: 12px;
    font-weight: bold;
    margin-left: 7px;
}

.inline-checkbox label {
    display: inline-block; /* Display label and checkbox inline */
    margin-left: 5px; /* Add some spacing between label and checkbox */
}


.priority-box {
    width: fit-content;
    background-color: var(--color-orange);
    color: #fff;
    border-radius: 10px;
    padding: 0 7px 0 2px;
    margin: 10px 0 5px 1px;
}


.form-page .form-control {
    border: none;
    border-radius: 10px;
    font-size: 14px;
    padding: 0 10px;
    margin-bottom: 5px;
    height: 28px;
}

/* V1: make selects visually distinct (orange border) */
.form-page select {
    border: 2px solid var(--color-orange);
    border-radius: 10px;
    font-size: 14px;
    padding: 0 10px;
    margin-bottom: 5px;
    height: 28px;
    background-color: #fff;
}

.form-select.small {
    width: auto;
    border: 2px solid var(--color-orange);
}

/* Native HTML5 date/time: see static/css/native-datetime.css */

.form-page input.small[type="date"],
.form-page input.small[type="time"] {
    width: auto;
    border: none;
}

.form-page select.small {
    padding-right: 30px;
}

.form-page .form-control.title {
    /*width: 300px;*/
    border: none;
}

/* LOGIN PAGES */
.login-page {
    border-radius: 10px;
    padding: 20px;
    background-color: var(--color-form-bg);
    margin: 0 20px;
    max-width: 450px;
}

.auth-hint {
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--color-blue-dark);
}

.auth-warning {
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--color-orange);
}

.auth-success {
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--color-green);
}

.auth-success-icon {
    vertical-align: middle;
}

.btn-link-block {
    text-decoration: none;
    display: block;
    text-align: center;
}

/* Footer styles moved to form-footer.css */

/* APPLY FORM */

.apply-form {
    margin-top: 10px;
}

.button-right {
    text-align: right;
}

.close-right {
    text-align: right;
    margin-bottom: 10px;
}

.notes {
    min-height: auto;
    height: auto;
    border: none;
}

.apply-button {
    border: none;
    background-color: var(--color-blue);
    color: white;
    width: 100%;
    font-size: 16px;
    margin-top: 10px;
}

.sure-button {
    border: none;
    background-color: var(--color-blue);
    color: white;
    font-size: 16px;
    margin-top: 10px;
    flex-grow: 3;
}

.close-button {
    border: none;
    background-color: var(--color-orange);
    color: white;
    font-size: 16px;
    margin-top: 10px;
    flex-grow: 1;
}

.inline-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.accept-container {
    display: flex;
    gap: 10px;
}

.refuse-button {
    flex: 1 1 0px; /* flex-grow, flex-shrink, flex-basis */
    width: calc(50% - 5px); /* Subtract half of the gap from each button */
}

.accept-button {
    flex: 1 1 0px; /* flex-grow, flex-shrink, flex-basis */
    width: calc(50% - 5px); /* Subtract half of the gap from each button */
    background-color: var(--color-green); /* Background color for accept button */
}

/* EDIT FORM */

.form-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.form-buttons--column {
    flex-direction: column;
    align-items: stretch;
}

.form-buttons__row {
    display: flex;
    width: 100%;
}

.form-buttons__row--space-between {
    justify-content: space-between;
}

.form-buttons__row--align-center {
    align-items: center;
}

.form-buttons__row--mb0 {
    margin-bottom: 0;
}

.form-buttons__row--mb8 {
    margin-bottom: 8px;
}

.form-buttons__row--mb10 {
    margin-bottom: 10px;
}

.button-container {
    display: flex;
    align-items: center;
}

.button-container--gap-sm {
    gap: 3px;
}

.button-container--gap-md {
    gap: 5px;
}

.button-container--align-end {
    align-self: flex-end;
}

.button-container--justify-start {
    justify-content: flex-start;
}

.button-container--justify-end {
    justify-content: flex-end;
}

.form-group--inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.form-group--with-shiftgroup {
    justify-content: space-between;
    gap: 10px;
}

.form-group--inline-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.shiftgroup-display {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 10px;
    height: 28px;
    border: 1px solid var(--color-blue-dark);
    border-radius: 10px;
    background: transparent;
    min-width: 110px;
    max-width: 50%;
}

.shiftgroup-display__label {
    font-size: 12px;
    font-weight: bold;
    color: var(--color-blue-dark);
    white-space: nowrap;
}

.shiftgroup-display__value {
    font-size: 12px;
    color: var(--color-blue-dark);
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
}

.shiftgroup-display--clickable {
    cursor: pointer;
}

.shiftgroup-display--clickable:hover {
    background: var(--color-blue-dark);
}

.shiftgroup-display--clickable:hover .shiftgroup-display__label,
.shiftgroup-display--clickable:hover .shiftgroup-display__value {
    color: #fff;
}

.form-group--inline input[type="checkbox"],
.form-group--inline .priority-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0;
}

.form-group--inline label {
    margin: 0;
    cursor: pointer;
    font-size: 12px;
    color: var(--color-blue-dark);
    font-weight: bold;
}

.alert-warning-soft {
    background-color: var(--bs-warning-bg-subtle, #fff3cd);
    border: 1px solid var(--bs-warning-border-subtle, #ffc107);
    color: var(--bs-warning-text-emphasis, #856404);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.help-link {
    padding: 2px 4px;
    color: var(--color-blue);
    text-decoration: none;
}

.help-link:hover,
.help-link:focus {
    color: var(--color-blue-dark);
    text-decoration: none;
}

.notes-toggle {
    cursor: pointer;
    background-color: rgba(var(--color-blue-rgb), 0.50);
    padding: 0 10px;
    height: 23px;
    border-radius: 10px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notes-toggle__label {
    color: #fff;
    font-weight: bold;
    font-size: 12px;
}

.notes-toggle__icon {
    color: #fff;
    font-size: 14px;
}

.notes-toggle__left {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.notes-toggle__prefix-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 14px;
    flex: 0 0 auto;
}

.notes-toggle__prefix-icon i {
    color: inherit !important;
}

.contact-table {
    width: 100%;
    border-collapse: collapse;
}

.contact-table__label {
    vertical-align: top;
    width: 100px;
}

.status-message {
    margin-bottom: 10px;
    font-style: italic;
}

.icon-color {
    color: #fff !important;
}

.edit-id {
    cursor: pointer;
    background-color: var(--color-blue);
    color: #fff;
    padding: 3px 7px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: normal;
    width: max-content;
    height: 22px;
}

.edit-id--inline {
    height: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Shift copy header: ID badge */
.shift-copy-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.edit-id--shiftinfo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.address-id {
    background-color: var(--color-blue);
    color: #fff;
    padding: 1px 5px;
    border-radius: 7px;
    font-size: 11px;
    width: max-content;
    height: 18px;
    margin-bottom: 10px;
}

.times {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.times .form-group {
    flex: 0 0 auto;
}

.form-control.notes {
    min-height: auto;
    height: auto;
    line-height: 1.2;
    font-size: 12px;
    padding: 5px;
    margin-bottom: 2px;
}

.info-row {
    display: flex;
    justify-content: space-between; /* Distribute space between items */
    font-size: 12px;
    padding: 0 10px 5px 10px;
    color: var(--color-blue);
}

.samen {
    border-style: solid;
    border-color: #fff;
    border-width: 1px;
    border-radius: 10px;
    margin: 10px -7px -7px -7px;
    padding: 0 5px;
}

.details {
    background-color: white;
    margin: 5px 0;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    min-height: 26px;
}

.details.bg-blue {
    background-color: var(--color-field-bg);
}

.contactdetails {
    background-color: white;
    width: fit-content;
    margin: 5px 0;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
}

.ex-profile-container {
    display: flex;
    justify-content: space-between; /* Aligns children to each end */
    align-items: center; /* Vertically aligns children in the middle */

}

.ex-profile {
    font-size: 12px;
    color: var(--color-blue);
}

.ex-profile p {
    margin: 0 5px 5px 5px;
}

.profile-info {
    flex-grow: 1; /* Allow profile info to grow and occupy available space */
    display: flex;
    align-items: center; /* Center profile info vertically within its container */
}

.ex-profile-row {
    display: flex;
    justify-content: space-between; /* Align items horizontally */
    align-items: center; /* Align items vertically */
}

.ex-profile-buttons {
    display: flex; /* Make buttons behave as flex items */
}


/* SHIFT LIST STYLES */

.sb-padding {
    padding-top: 10px;
}

.details-box {
    margin-top: 20px;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
}

.details-box p {
    font-size: 12px;
    line-height: 14px;
    margin-bottom: 8px;
}

.details-box h1 {
    font-size: 16px;
    margin-bottom: 10px;
}

.details-box h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.align-button {
    margin-left: 5px;
}

.search-form {
    display: inline-block;
    width: auto;
}

.shift-list {
    margin-top: 30px;
    font-size: 12px;
}

.inline-header h1 {
    display: inline-block; /* Makes the element inline, but allow it to have a width and height */
    margin: 0; /* Removes default margins */
    padding: 0; /* Adjust padding as needed, setting to 0 for demonstration */
}

.inline-header span {
    font-size: 16px; /* Sets the font size of the span element */
}

.shift-table {
    border-collapse: collapse;
}

.tr-info {
    width: 100%;
    margin-top: 10px;
}

.shift-table td {
    border: 1px solid var(--color-blue-dark);
    padding: 0 5px;
}

.shift-table tr:nth-child(even) {
    background-color: #ddd;
}

.shift-list h1 {
    margin: 10px 0;
    color: var(--color-blue-dark);
}

.table-header {
    color: var(--color-blue-dark);
    background-color: var(--color-form-bg);
    border-radius: 10px;
    padding: 0 5px;
    margin: 0 5px 5px 5px;
    text-align: center;
}

.search-buttons {
    margin-top: 10px;
    text-align: right;
}

.blue-text {
    cursor: pointer;
    color: var(--color-blue-dark);
}

.text-right {
    text-align: right;
}

.search-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.left-buttons {
    display: flex;
    gap: 10px; /* Adjust the gap as needed */
}

.right-buttons {
    display: flex;
}


/* NEW SHIFT STYLES */

.new-shift-row {
    border-radius: 10px;
    padding: 15px;
    background-color: var(--color-form-bg);
    width: fit-content;
    margin-top: 10px;
}

.new-flex-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
}

.new-first-row, .new-second-row {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.notes-container .form-group textarea {
    min-height: 30px;
    height: 30px; /* Adjust height as needed */
}

/* Container styles for the second row */
.new-second-row {
    display: flex;
    align-items: flex-start; /* Align items to the start */
    width: 100%;
    gap: 1rem; /* Adjust as needed for spacing */
}

/* Flex-grow for note fields */
.new-second-row .form-group:not(.delete-icon-container) {
    flex: 1; /* Allow note fields to grow and fill available space */
}

/* Style for the delete icon container */
.delete-icon-container {
    flex: 0 0 auto; /* Do not grow or shrink, take only the space it needs */
    display: flex;
    align-items: center; /* Center icon vertically */
    margin-left: auto; /* Push delete icon to the end */
    width: auto; /* Adjust width if needed */
}

@media screen and (max-width: 1450px) {
    .new-first-row, .new-second-row {
        flex-direction: column;
    }

    .custom-select {
        max-width: calc(100% - 30px); /* Workaround to make this fit the mobile screen */
    }
}


.new-form label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    margin-left: 7px;
}

.new-title {
    width: 200px;
}

.new-button-container {
    margin-top: 10px;
    width: 100%;
}

.add-form label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    margin-left: 7px;
}

/* SELECT2 STYLES */

.add-child-select2 .select2-container--default .select2-selection--single {
    border: none;
    border-radius: 10px;
    height: 28px;
}

.select2-results__option {
    font-size: 14px;
    line-height: 7px;
}

.select2-selection {
    font-size: 14px;
}

.select2.select2-container {
    width: auto !important;
}

.input-select {
    width: auto;
}

.select2.select2-container .select2-selection {
    border: none;
    border-radius: 10px;
    height: 28px;
}

.js-example-basic-hide-search {
    border: none;
    border-radius: 10px;
    height: 32px;
    width: auto;
}

.custom-file-input {
    background-color: #f9f9f9;  /* Example background color */
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    font-size: 14px;
}

/* RATING FORM */

.star-rating-section.is-readonly {
    pointer-events: none;
    opacity: 0.75;
}

.evaluate-buttons {
    display: flex;
    justify-content: space-between;
}

.label-left {
    width: 25%;
    text-align: left;
    color: var(--color-blue-dark);
    font-weight: bold;
    padding-right: 10px;
}

.star-rating {
    text-align: center;
    margin-top: 5px;
}

.star-rating-card p {
    margin-bottom: 5px;
    text-align: center;
    margin-top: 5px;
}

.star-rating-card {
    text-align: center;
}

.star-rating-card .star {
    font-size: 25px;
}

.star-rating-card .star.filled {
    color: var(--color-orange);
    font-size: 25px;
}

.star-rating .star {
    cursor: pointer;
    color: #fff;
    font-size: 35px;
}

.star-rating .star.filled {
    color: var(--color-orange);
    font-size: 35px;
}

/* rating-notes moved to options.css */

/* Rating info edit form */

.rating-info {
    padding: 5px 0;
}

.rating-info h3 {
    font-size: 12px;
    color: var(--color-blue-dark);
    font-weight: bold;
    padding-top: 5px;
}

.info-stars {
    text-align: center;
}

.rating-info .star {
    font-size: 25px;
    line-height: 12px;
    color: #fff;
}

.rating-info .star.filled {
    color: var(--color-orange);
    font-size: 25px;
    line-height: 12px;
}

.rating-info-notes {
    background-color: var(--color-field-bg);
    font-size: 12px;
    border-radius: 10px;
    padding: 5px;
    height: auto;
}

/* INFO PAGE */

a.route-link {
    color: var(--color-blue-dark); /* Set the text color to var(--color-blue-dark) */
    text-decoration: none; /* Remove the underline */
}

/* ADD SHIFTS FORM */

.delete-icon-container {
    display: flex;
    align-items: center;
    padding-top: 25px;
    cursor: pointer; /* Indicate clickable element */
}

.delete-icon {
    font-size: 1.2rem; /* Adjust font size as needed */
    color: #fff; /* Initial color */
}

.delete-icon.selected {
    color: red; /* Color when selected */
}

/* FORM STYLING: Clean borders and select backgrounds */

/* Remove borders from all form fields */
.form-page input.form-control,
.form-page textarea.form-control,
.shifts-container input.form-control,
.shifts-container textarea.form-control,
.shifts-container select.form-control {
    border: none;
}

/* V1: selects should keep an orange border (including .form-control variants) */
.form-page select.form-control,
.form-page select.form-select,
.shifts-container select.form-control,
.shifts-container select.form-select {
    border: 2px solid var(--color-orange);
    background-color: #fff;
}

/* Auto width for selectboxes */
.form-page select.form-control,
.form-page select.js-example-basic-single,
.shifts-container select.form-control,
.shifts-container select.js-example-basic-single {
    width: auto;
}

/* Focus styling with subtle orange border */
.form-page input.form-control:focus,
.form-page textarea.form-control:focus,
.form-page select.form-control:focus,
.shifts-container input.form-control:focus,
.shifts-container textarea.form-control:focus,
.shifts-container select.form-control:focus {
    outline: none;
    box-shadow: none;
    border: 2px solid var(--color-orange);
}

/* Keep select focus border consistent (1px) */
.form-page select:focus,
.shifts-container select:focus {
    border: 2px solid var(--color-orange);
}

/* Select2 dropdown styling - orange border like native selects */
.select2.select2-container .select2-selection {
    border: 2px solid var(--color-orange) !important;
    border-radius: 10px !important;
    background-color: #fff;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
    outline: none;
    box-shadow: none;
    border: 2px solid var(--color-orange) !important;
}

/* BOOTSTRAP BUTTON OVERRIDES */

/* Global button shape — matches sevendocs and removes need for custom-button border-radius */
.btn { border-radius: 8px; }

/* btn-primary uses Seventimes blue, replacing custom-button color role */
.btn-primary {
    --bs-btn-bg:                  var(--color-blue);
    --bs-btn-border-color:        var(--color-blue);
    --bs-btn-hover-bg:            var(--color-blue-hover);
    --bs-btn-hover-border-color:  var(--color-blue-hover);
    --bs-btn-active-bg:           var(--color-blue-hover);
    --bs-btn-active-border-color: var(--color-blue-hover);
    --bs-btn-disabled-bg:         var(--color-blue);
    --bs-btn-disabled-border-color: var(--color-blue);
}

/* btn-success uses project green so confirm/apply actions look consistent */
.btn-success {
    --bs-btn-bg:                  var(--color-green);
    --bs-btn-border-color:        var(--color-green);
    --bs-btn-hover-bg:            var(--color-green-hover);
    --bs-btn-hover-border-color:  var(--color-green-hover);
    --bs-btn-active-bg:           var(--color-green-hover);
    --bs-btn-active-border-color: var(--color-green-hover);
    --bs-btn-disabled-bg:         var(--color-green);
    --bs-btn-disabled-border-color: var(--color-green);
}

/* STATUS BADGE COLOURS
 * Semantic classes that map directly to colors.css tokens.
 * Use these instead of Bootstrap .bg-* utilities for status badges,
 * since .bg-primary / .bg-success are remapped per-app (e.g. sevendocs).
 */
.badge-status-blue   { background-color: var(--color-blue);   color: #fff; }
.badge-status-green  { background-color: var(--color-green);  color: #fff; }
.badge-status-orange { background-color: var(--color-orange); color: #fff; }
.badge-status-danger { background-color: var(--bs-danger, #dc3545);             color: #fff; }

/* STATUS FILTER BAR (users tab) */
.manage-table__sub {
    font-size: .75rem;
    color: var(--color-text-muted, #6c757d);
    font-weight: 400;
    margin-top: 1px;
}

/* STATUS FILTER BAR (users tab) */
.manage-status-filter {
    display: flex;
    gap: 6px;
    padding: 10px 0 8px;
    border-bottom: 1px solid var(--bg-blue-20);
    margin-bottom: 4px;
}
.manage-status-btn {
    padding: 3px 12px;
    border-radius: 20px;
    font-size: .8125rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--bg-blue-30, #c8d8ee);
    color: var(--color-blue-dark);
    background: #fff;
    transition: background .15s, color .15s;
}
.manage-status-btn:hover { background: var(--bg-blue-10); color: var(--color-blue-dark); }
.manage-status-btn.active { background: var(--color-blue); color: #fff; border-color: var(--color-blue); }

/* CUSTOM BUTTON STYLES */

.custom-button {
    border: none;
    background-color: var(--color-blue);
    color: white;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.custom-button:hover {
    background-color: var(--color-blue-hover);
}


/* ─── Data wrapper: lichtblauwe achtergrond + witte kaart (Inbound-stijl) ─── */

.data-wrapper {
    background-color: var(--bg-blue-20);
    min-height: 100vh;
    padding: 50px 16px 32px;  /* 50px clears the floating clock icon */
}

.data-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 24px;
    max-width: 1320px;
    margin: 0 auto 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.data-card--wide {
    max-width: 1320px;
}

.data-card .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.data-card .page-header h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.data-card label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #888;
    margin-bottom: 4px;
}

.data-card .form-group {
    margin-bottom: 16px;
}

.data-card .data-value {
    font-size: .9rem;
    color: #333;
    padding: 4px 0;
}

.data-card .section-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #888;
    margin: 24px 0 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0f0f0;
}

.data-card .fc-small {
    max-width: 200px;
}

.data-card input.form-control,
.data-card textarea.form-control {
    border: 1px solid #dde3ec;
    border-radius: 6px;
    font-size: .875rem;
    height: auto;
    padding: 8px 12px;
    width: 100%;
    margin-bottom: 0;
    background-color: #fff;
}

.data-card textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

.data-card input.form-control:focus,
.data-card textarea.form-control:focus {
    outline: none;
    box-shadow: none;
    border: 2px solid var(--color-orange);
}

.data-card select.form-control,
.data-card select {
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
    border: 2px solid var(--color-orange);
    border-radius: 6px;
    font-size: .875rem;
    height: auto;
    padding: 8px 2.25rem 8px 12px;
    width: 100%;
    margin-bottom: 0;
    background-color: #fff;
}

.data-card select.form-control:focus,
.data-card select:focus {
    outline: none;
    box-shadow: none;
    border: 2px solid var(--color-orange);
}

.data-card .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 0;
    margin-bottom: 16px;
}

.data-card .form-check-input {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.data-card .form-check-label {
    font-size: .875rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #333;
    cursor: pointer;
    margin: 0;
}

/* ─── Management tabs (manage/index.html) ───────────────── */

/* Sticky wrapper — full width, needed for position:sticky to work */
.manage-tab-header-outer {
    position: sticky;
    top: 44px;          /* clears the floating clock icon */
    z-index: 100;
    padding: 8px 16px 0;
}

/* Inner row constrained to the same width as .data-card (1320px) */
.manage-tab-header {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.manage-tab-header__title {
    margin-left: auto;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--color-blue-dark);
    padding-bottom: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Tabs sitting on the blue background */
.manage-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: flex-end;
}

.manage-tab-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--color-blue-dark);
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 7px 18px 9px;
    text-decoration: none;
    transition: background .15s;
}

.manage-tab-link:hover {
    background: rgba(255, 255, 255, 0.7);
    color: var(--color-blue-dark);
    text-decoration: none;
}

.manage-tab-link.active {
    background: #fff;
    color: var(--color-blue-dark);
    border-color: #e8edf5;
    border-bottom-color: #fff;
}

.manage-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 10px;
    font-size: .68rem;
    font-weight: 700;
    background: rgba(21, 96, 189, 0.15);
    color: var(--color-blue-dark);
    line-height: 1;
}

.manage-tab-link.active .manage-tab-badge {
    background: var(--bg-blue-20);
}

/* Card directly below tabs — no top-left radius when first tab is active */
.manage-card {
    margin-top: 0;
}

.manage-card--first-tab {
    border-top-left-radius: 0;
}

/* Search bar */
.manage-search-form {
    margin-bottom: 12px;
}

.manage-search-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.manage-search-input {
    max-width: 280px;
    font-size: .875rem;
    height: 32px;
    padding: 4px 10px;
}

/* Table: bold links, no underline, alternating light-blue rows */
.manage-table a {
    font-weight: 600;
    text-decoration: none;
    color: var(--color-blue-dark);
}

.manage-table a:hover {
    text-decoration: underline;
}

.manage-table tbody tr:nth-child(odd) td {
    background-color: var(--bg-blue-10);
}

.manage-table tbody tr:nth-child(even) td {
    background-color: #fff;
}

.manage-table tbody tr:hover td {
    background-color: var(--bg-blue-20) !important;
}

/* Pagination */
.manage-pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 0 4px;
    flex-wrap: wrap;
}

.manage-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--color-blue-dark);
    background: var(--bg-blue-10);
    border: 1px solid transparent;
    text-decoration: none;
    transition: background .12s;
}

.manage-page-btn:hover {
    background: var(--bg-blue-20);
    color: var(--color-blue-dark);
    text-decoration: none;
}

.manage-page-btn--active {
    background: var(--color-blue);
    color: #fff;
    border-color: var(--color-blue);
    pointer-events: none;
}

.manage-page-btn--disabled {
    opacity: .35;
    pointer-events: none;
    cursor: default;
}

.manage-page-ellipsis {
    padding: 0 4px;
    color: #999;
    font-size: .8rem;
}

.manage-page-info {
    margin-left: 8px;
    font-size: .75rem;
    color: #888;
}

.manage-table thead th {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #888;
    border-bottom: 1px solid #e8edf5;
    padding: 8px 10px;
}

.manage-table tbody td {
    font-size: .875rem;
    padding: 8px 10px;
    vertical-align: middle;
    border-bottom: 1px solid #f4f6fa;
}

.manage-table tbody tr:last-child td {
    border-bottom: none;
}

.manage-table tbody tr:hover td {
    background-color: var(--bg-blue-10);
}

.manage-table__actions {
    text-align: right;
    white-space: nowrap;
}

/* Extra-small button variant */
.btn-xs {
    font-size: .72rem;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1.5;
}

/* Copy toast notification (used by copyToClipboard.js) */
.copy-toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.copy-toast {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

.copy-toast--visible {
    opacity: 1;
    transform: translateY(0);
}
