/* =========================================================
   JR Invites Viewer – Background Tweaks
   Targets viewer-lin plugin markup:
   - Connected Invites box: .imvl-connected-box
   - Table header row: .im-table thead th
   ========================================================= */

/* 1) Connected Invites background */
.imvl-connected-box{
  background: #E5E0D5 !important;
}

/* Some installs wrap the connected invites content in an inner panel */
.imvl-connected-box .imvl-connected-inner,
.imvl-connected-box .imvl-connected-content{
  background: transparent !important;
}

/* 2) Invited Memories table header row background */
.im-table thead,
.im-table thead tr,
.im-table thead th{
  background: #E5E0D5 !important;
}

/* Keep borders subtle (optional, but matches parchment) */
.im-table thead th{
  border-color: rgba(0,0,0,0.06) !important;
}

/* 3) Rounded outer corners for the Invited Memories table (site style) */
.im-table-wrap{
  border-radius: 14px !important;
  overflow: hidden !important; /* ensures header bg follows the rounded corners */
}

/* If the table uses collapsed borders, radius can fail – force separate borders */
.im-table{
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

/* Nicer rounding on the header cells too (top corners) */
.im-table thead th:first-child{
  border-top-left-radius: 14px !important;
}
.im-table thead th:last-child{
  border-top-right-radius: 14px !important;
}
