.search-box {
    max-width: 800px;
    height: 52px;
    border-radius: 10px !important;
    font-family: 'Poppins';
    font-size: 16px !important;
    border-width: 2px;
    background-image: url(/public/img/search.png);
    background-position: 10px center;
    background-repeat: no-repeat;
    padding-left: 40px;
}


/* 
 .p-datatable-layout .p-datatable-table, .p-datatable-layout th, .p-datatable-layout td {
    border: 2px solid #e8e7e7;
}
*/

.p-datatable-layout td {
    border-top: 1px solid #810947; 
    border-bottom: 1px solid #810947; 
    border-left: none;  
    border-right: none; 
}

.p-datatable-layout th {
    border-bottom: 1px solid #810947; 
    border-left: none;  
    border-right: none; 
}


.p-datatable-layout th {
    background-color: #eff0f0;
    font-family: 'Poppins';
    font-size: 20px;
    line-height: 22px;
    padding: 8px;
    font-weight: 400;
}

.p-datatable-layout th .p-column-header-content {
    justify-content: center;
}


.p-datatable-layout td {
    font-family: 'Poppins';
    font-size: 16px;
    font-weight: 500;
    padding: 1px;
    vertical-align: middle;
    text-align: center !important;
}

.p-datatable-layout.hide-header thead {
    display: none;
}

.p-datatable-layout.row-pointer {
    cursor: pointer;
}

/* commented
.create-btn {
    font-size: 14px;
    font-family: 'Poppins';
}

.delete-btn {
    font-size: 14px;
    font-family: 'Poppins';
}

.excel-btn {
    font-size: 14px;
    font-family: 'Poppins';
}
*/    

/* commented
.btn-control-panel {
    justify-content: flex-end !important;
}
*/    

td.td-p-0 {
    padding: 0 !important;
}

td .p-20 {
    padding: 20px;
}

.p-datatable-layout td.full-height {
    position: relative;
}

td.full-height p {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* Make the button container match the table width */
.btn-control-panel {
    display: flex;
    justify-content: flex-end;   /* push buttons to the right inside container */
    width: 100%;                 /* full width of parent */
    box-sizing: border-box;      /* include padding in width */
    margin-bottom: 8px;          /* space between buttons and table */
    gap: 10px;                   /* space between buttons */
}

/* Buttons: rounded rectangle */
.create-btn, .delete-btn, .excel-btn, .general-btn {
    font-size: 14px;
    font-family: 'Poppins';
    padding: 10px 20px;
    border-radius: 12px;
    border: 2px solid #810947;
    background-color: #eff0f0;
    cursor: pointer;
}

/* Optional: ensure .btn-control-panel sits directly above the table */
.p-datatable-layout + .btn-control-panel,
.btn-control-panel + .p-datatable-layout {
    margin-left: auto;            /* align container with table if needed */
    margin-right: 0;
    width: auto;                  /* shrink to table width */
}

.color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.color-swatch[data-color=""],
.color-swatch:not([data-color]) {
    display: none;
}

