/* ============================================================
   MEDICAL APPROVED — TABLE + SEARCH STYLE
============================================================ */

/* Card Body Table */
.medical-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.medical-table th {
    background: #fafafa;
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    text-align: left;
}

.medical-table td {
    padding: 10px;
    border-bottom: 1px solid #f1f1f1;
}

/* Search Field — Bigger, cleaner */
#medical-search {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    height: 48px;
    outline: none;
    transition: 0.2s ease;
}

#medical-search:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.2);
}

/* Referral input inside table */
.ref-input {
    width: 140px;
    padding: 6px 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Small buttons */
.androlab-btn-small {
    padding: 6px 12px;
    background: #0073aa;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.androlab-btn-small:hover {
    background: #005c87;
}

/* ===============================
   Improved Pagination Styling
   =============================== */
.androlab-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e3e6ea;
}

.androlab-pagination .page-info {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.androlab-pagination .page-buttons {
    display: flex;
    gap: 10px;
}

.androlab-pagination .page-btn {
    padding: 8px 16px;
    background: #111;
    border: 1px solid #cdd4da;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.androlab-pagination .page-btn:hover:not(:disabled) {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
}

.androlab-pagination .page-btn.active {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
    font-weight: 600;
}

.androlab-pagination .page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
