/* Table cell padding */
.user-management-table table td {
    padding: 2px !important;
}
.user-management-table table th{ padding: 4px !important;}

.awardee-management-table table td {
    padding: 2px !important;
}
.awardee-management-table table th{ padding: 4px !important;}

/* 🔥 Force override theme styles */
.user-role-update-button,
.user-status-update-button {
    background-color: #b30000 !important;  /* dark red */
    color: #fff !important;
    border: none !important;
    border-radius: 3px !important;
    font-size: 10px !important;
    padding: 5px 8px !important;
    cursor: pointer !important;
    line-height: 1 !important;
    height: auto !important;
    min-width: unset !important;
    display: inline-block !important;
    text-transform: none !important; /* prevent uppercase */
}

.user-role-update-button:hover,
.user-status-update-button:hover {
    background-color: #800000 !important;  /* darker red */
}
.role-filter {
    width: auto;
    min-width: 120px;
    padding: 3px 6px;
}
.user-management-table select {
    font-size: 10px !important;
    padding: 3px 5px !important;
    height: auto !important;
}
/* Scrollable container */
.table-container {
    overflow-x: auto;
    max-width: 100%;
}

/* Scrollable container */
.table-container {
    overflow-x: auto;
    max-width: 100%;
}

/* Table base */
.awardee-management-table {
    font-size: 12px;
    border-collapse: collapse;
    width: max-content;   /* allow scroll */
    min-width: 1400px;
    table-layout: fixed;  /* force width */
}

/* Cells */
.awardee-management-table th,
.awardee-management-table td {
    padding: 6px 8px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #ccc;
    word-wrap: break-word;     /* ✅ wrap words */
    word-break: break-word;    /* ✅ wrap long strings */
    white-space: normal;       /* ✅ allow multiple lines */
}/*
.awardee-management-table th:nth-child(1), 
.awardee-management-table td:nth-child(1) {
    width: 40px !important;
}
*/
.awardee-management-table th:nth-child(2), 
.awardee-management-table td:nth-child(2) {
    max-width: 120px !important;
}

.awardee-management-table th:nth-child(3), 
.awardee-management-table td:nth-child(3) {
    max-width: 100px !important;
}

.awardee-management-table th:nth-child(4), .awardee-management-table td:nth-child(4) {
    max-width: 100px !important;
}
.awardee-management-table th:nth-child(5),
.awardee-management-table td:nth-child(5) {
    max-width: 110px !important;
}

.awardee-management-table th:nth-child(6), 
.awardee-management-table td:nth-child(6) {
    max-width: 110px !important;
}

.awardee-management-table th:nth-child(7), 
.awardee-management-table td:nth-child(7),
.awardee-management-table th:nth-child(8), 
.awardee-management-table td:nth-child(8),
.awardee-management-table th:nth-child(9), 
.awardee-management-table td:nth-child(9) {
    max-width: 90px !important;
}
.awardee-management-table th:nth-child(10), 
.awardee-management-table td:nth-child(10)
{
    max-width: 110px !important;
}
.awardee-management-table th:nth-child(11), 
.awardee-management-table td:nth-child(11),
.awardee-management-table th:nth-child(12),
.awardee-management-table td:nth-child(12) {
    max-width: 90px !important;
}

.awardee-management-table th:nth-child(13), 
.awardee-management-table td:nth-child(13)
{
    max-width: 80px !important;
}
.awardee-management-table th:nth-child(14), 
.awardee-management-table td:nth-child(14), 
.awardee-management-table th:nth-child(15), 
.awardee-management-table td:nth-child(15),
.awardee-management-table th:nth-child(16), 
.awardee-management-table td:nth-child(16) {
    max-width: 60px !important;
}
.awardee-management-table th:nth-child(17), 
.awardee-management-table td:nth-child(17), .awardee-management-table th:nth-child(18), 
.awardee-management-table td:nth-child(18) {
    max-width: 60px !important;
}
.awardee-management-table th:nth-child(20), 
.awardee-management-table td:nth-child(20) {
    max-width: 120px !important;
}
/* ✅ Status colors */
.status-completed {
    color: green;
    font-weight: bold;
}
.status-pending {
    color: orange;
    font-weight: bold;
}
.status-failed {
    color: red;
    font-weight: bold;
}

/* ✅ Remarks input */
.remark-field {
    border: 1px solid #ccc!important;
    padding: 3px!important;
    font-size: 12px!important;
}

/* ✅ Saved tick */
.remark-saved {
    display: inline-block;
    margin-left: 5px;
    color: green;
    font-weight: bold;
    font-size: 14px;
}
/* Small booking button inside table */
.awardee-management-table .mark-booking-form  button {
    padding: 2px 3px;        /* smaller padding */
    font-size: 10px;         /* smaller text */
    line-height: 1.2;
    min-width: 80px;         /* optional: control width */
    background-color: #ba0e29; /* same or tweak color */
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
.awardee-management-table .unbook-form   button{
    padding: 2px 3px;        /* smaller padding */
    font-size: 10px;         /* smaller text */
	line-height: 1.2;
}
.awardee-management-table .mark-booking-form button:hover {
    background-color: #a31545; /* slightly darker on hover */
}

/* Optional: reduce input width next to button */
.awardee-management-table .mark-booking-form input[type="number"] {
    width: 60px;
    font-size: 12px;
    padding: 2px;
}
