/* ── Price column (hidden, used for data only) ── */
.col-price {
    display: none !important;
}

/* ── Wrapper ── */
#hygeia-pricelist-wrap {
    max-width: 900px;
    margin: 0 auto;
}

/* ── Search bar ── */
.hygeia-pricelist-search {
    position: relative;
    margin-bottom: 25px;
}

.hygeia-pricelist-search .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

#hygeia-pricelist-search-input {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 16px 12px 42px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

#hygeia-pricelist-search-input:focus {
    border-color: #0069aa;
    box-shadow: 0 0 0 3px rgba(0, 105, 170, 0.12);
}

#hygeia-pricelist-search-input::placeholder {
    color: #aaa;
}

/* ── Results info ── */
.hygeia-pricelist-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: #777;
}

.hygeia-pricelist-info .result-count {
    font-weight: 600;
    color: #555;
}

/* ── Table ── */
#hygeia-pricelist-wrap #table_1 {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #fff;
}

#hygeia-pricelist-wrap #table_1 thead th {
    background: #0069aa;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 20px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#hygeia-pricelist-wrap #table_1 tbody tr {
    transition: background-color 0.15s ease;
}

#hygeia-pricelist-wrap #table_1 tbody td {
    padding: 13px 20px;
    font-size: 15px;
    border-top: 1px solid #f0f0f0;
    color: #333;
    vertical-align: middle;
}

#hygeia-pricelist-wrap #table_1 tbody tr:first-child td {
    border-top: none;
}

#hygeia-pricelist-wrap .col-click {
    cursor: pointer;
    position: relative;
    padding-right: 36px !important;
}

#hygeia-pricelist-wrap .col-click::after {
    content: "\203A";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: #0069aa;
    font-weight: 300;
    opacity: 0;
    transition: opacity 0.15s;
}

#hygeia-pricelist-wrap #table_1 tbody tr:hover > td {
    background-color: #f0f7fc;
}

#hygeia-pricelist-wrap #table_1 tbody tr:hover .col-click::after {
    opacity: 1;
}

/* ── Zebra striping (subtle) ── */
#hygeia-pricelist-wrap #table_1 tbody tr:nth-child(even) td {
    background-color: #fafbfc;
}

#hygeia-pricelist-wrap #table_1 tbody tr:nth-child(even):hover td {
    background-color: #f0f7fc;
}

/* ── No results ── */
#hygeia-pricelist-wrap .no-results td {
    padding: 40px 20px !important;
    text-align: center;
    color: #999;
    font-size: 15px;
}

/* ── Pagination ── */
.hygeia-pricelist-pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    gap: 6px;
}

#hygeia-pricelist-pagination {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

#hygeia-pricelist-pagination li {
    display: inline-block;
}

#hygeia-pricelist-pagination li a,
#hygeia-pricelist-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s;
}

#hygeia-pricelist-pagination li a:hover {
    background: #f0f7fc;
    border-color: #0069aa;
    color: #0069aa;
}

#hygeia-pricelist-pagination li.active a {
    background: #0069aa;
    border-color: #0069aa;
    color: #fff;
}

#hygeia-pricelist-pagination li.disabled a,
#hygeia-pricelist-pagination li.disabled span {
    color: #ccc;
    background: #f9f9f9;
    border-color: #eee;
    cursor: default;
    pointer-events: none;
}

/* ── Modal ── */
.priceModal .modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.priceModal .modal-header {
    background: linear-gradient(135deg, #0069aa, #0080cc);
    padding: 20px 24px;
    border-bottom: none;
    position: relative;
}

.priceModal .modal-header .close {
    color: #fff;
    opacity: 0.8;
    font-size: 26px;
    position: absolute;
    right: 16px;
    top: 16px;
    text-shadow: none;
}

.priceModal .modal-header .close:hover {
    opacity: 1;
}

.priceModal #service-name {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding-right: 30px;
    line-height: 1.4;
}

.priceModal .modal-body {
    padding: 30px 24px 35px;
}

.priceModal .modal-body small {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 6px;
}

.priceModal #service-price {
    font-size: 36px;
    font-weight: 700;
    color: #0069aa;
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    #hygeia-pricelist-wrap #table_1 tbody td {
        padding: 11px 14px;
        font-size: 14px;
    }

    #hygeia-pricelist-wrap #table_1 thead th {
        padding: 12px 14px;
        font-size: 13px;
    }

    #hygeia-pricelist-search-input {
        font-size: 15px;
        padding: 10px 14px 10px 38px;
    }

    .priceModal #service-price {
        font-size: 28px;
    }

    #hygeia-pricelist-pagination li a,
    #hygeia-pricelist-pagination li span {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
    }
}
