:root {
    --pink-light: rgba(219, 39, 119, 0.1);
    --gray-light: #f3f4f6;
    --gray-text: #6b7280;
}

.search_container {
    width: 100%;
    margin-right: 10px;
}

.search_form {
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--gray-light);
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.search_input {
    width: 100%;
    padding: 10px 14px;
    padding-right: 46px;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #1f2937;
    outline: none !important;
}

.search_form:focus,
.search_form:focus-within,
.search_container:focus-within {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.search_input::placeholder {
    color: var(--gray-text);
}

.search_button {
    position: absolute;
    right: 4px;
    background: transparent;
    border: none;
    color: var(--gray-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    transition: all 0.2s ease;
}

.search_form:focus-within {
    border-color: var(--pink);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px var(--pink-light);
}

.search_button:hover {
    color: var(--primary) !important;
}

.header_container {
    width: 25%;
    min-width: 175px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.header_filters {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.filter_form{
    min-width: 150px;
    margin-right: 10px;
}

.pink_select {
    width: 100%;
    background-color: white;
    font-weight: 500;
    padding: 12px 16px 12px 16px;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px auto;
    transition: all 0.2s ease;
    box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.05),
    0 2px 4px rgba(0, 0, 0, 0.05);
}

.pink_select option {
    background-color: #ffffff;
    color: #1f2937;
}

/* Header */

.header2 {
    display: flex;
    align-items: center;
    gap: 25px;
    z-index: 1;
    padding-bottom: 15px;
}

.dashboard_title{
    font-size: clamp(1.4rem, 5vw, 2rem);
    line-height: 1.25;
    color: var(--primary);
}

/* Table styling */
.table_container {
    width: 100%;
    padding: 0;
}

.table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
}

.table_inner {
    display: grid;
    width: 100%;
    min-width: var(--min-breedte, 0px);
    grid-template-columns: var(--kolommen, repeat(auto-fit, minmax(120px, 1fr)));
}

.table_head,
.table_row {
    display: contents;
}

.table_head > div,
.table_row > div {
    padding: 22px 24px;
    display: flex;
    align-items: center;
}

.table_head > div {
    background: #f2f2f2;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: sticky;
    top: 0;
}

.table_body {
    display: contents;
}

.table_row > div {
    background: #ffffff;
    border-bottom: 1px solid #f2f2f2;
    transition: background .2s ease;
}

.table_row:nth-child(odd) > div {
    background: #f8f8f8;
}

.table_row:hover > div {
    background: #fdf2f8;
}

.table_actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 14px 12px;
    background: inherit;
    justify-content: flex-start;
    white-space: nowrap;
}

/* Actie-knoppen in tabelrijen */
.table_action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.table_action:hover { background: #f1f5f9; color: var(--primary, #001b5e); }
.table_action--verwijder:hover { background: #fef2f2; color: #dc2626; }
.table_action .material-symbols-outlined { font-size: 1.1rem; }

/* Naam-cel met avatar */
.table_naam_cel {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.table_avatar {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--primary, #001b5e);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.03em;
}
.table_naam_cel strong { font-weight: 600; color: #1e293b; }
.table_naam_cel span   { font-size: 0.8rem; color: #64748b; display: block; }

.table_row--link {
    display: contents;
    text-decoration: none;
    cursor: pointer;
}
.table_row--link > div { cursor: pointer; }

.table_leeg {
    padding: 2rem 24px;
    color: #94a3b8;
    font-size: 0.9rem;
    grid-column: 1 / -1;
}
