/* 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: 90px !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;
}
/* user search*/

/* ================= ADMIN EXTRA PASS OVERLAY ================= */
#awardee_pass_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

/* ================= POPUP BOX ================= */
#awardee_pass_overlay > div {
    width: 92%;
    max-width: 380px;
    padding: 22px 20px;
    border-radius: 18px;
    background: url('https://indiafashionicon.com/wp-content/uploads/2026/01/7ed73d02b8d5e989ad44e2a1dddd5122.jpg')
        no-repeat center center;
    background-size: cover;
    box-shadow: 0 25px 70px rgba(0,0,0,0.6);
    position: relative;
    color: #271e55;
    font-size: 14px;
}

/* ================= CLOSE BUTTON ================= */
#btn-close-pass {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 30px;
    height: 30px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,.4);
}

/* ================= HEADINGS ================= */
#awardee_pass_overlay h4 {
    text-align: center;
    font-size: 18px;
    margin-bottom: 12px;
    color: #89061a;
    font-weight: 800;
}

/* ================= INFO TEXT ================= */
#awardee_pass_overlay p {
    margin: 6px 0;
    line-height: 1.4;
}

/* ================= SEPARATOR ================= */
#awardee_pass_overlay hr {
    border: none;
    border-top: 1px dashed #c6b676;
    margin: 12px 0;
}

/* ================= INPUTS ================= */
#passQty,
#coupon-code {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-top: 6px;
    font-size: 14px;
}

#coupon-code {
    margin-top: 8px;
}

/* ================= COUPON MESSAGE ================= */
#coupon-msg {
    display: block;
    margin-top: 6px;
    font-weight: 700;
    color: #2e7d32;
}

/* ================= PRICE ROW ================= */
#pricePerPass,
#totalAmount {
    font-weight: 800;
    color: #89061a;
}

/* ================= PAY BUTTON ================= */
#btn-pay-pass {
    width: 100%;
    margin-top: 14px;
    padding: 11px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #c1a52b, #eecc5c);
    color: #89061a;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,.35);
}

#btn-pay-pass:hover {
    transform: scale(1.02);
}

/* ================= MOBILE ================= */
@media (max-width: 480px) {
    #awardee_pass_overlay > div {
        font-size: 13px;
        padding: 18px;
    }
}
/* ===== PASS + PROMO ONE LINE ===== */
.pass-promo-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    flex-wrap: nowrap;
}

.pass-promo-row label {
    font-weight: 700;
    white-space: nowrap;
}

.pass-promo-row #passQty {
    width: 55px;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
    text-align: center;
}

.pass-promo-row #coupon-code {
    width: 95px;
    padding: 6px;
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.pass-promo-row #coupon-msg {
    min-width: 70px;
    font-size: 11px;
    font-weight: 700;
}

/* Mobile safe */
@media (max-width: 420px) {
    .pass-promo-row #coupon-code {
        width: 80px;
    }
}
