/* Cinema Seat Reservation admin dashboard. */
.custom-tabset > input[type="radio"] {
  position: absolute;
  left: -200vw;
}

.custom-tabset .tab-panel {
  display: none;
}

.custom-tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
.custom-tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
.custom-tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3),
.custom-tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4),
.custom-tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
.custom-tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6) {
  display: block;
}

.custom-tabset > label {
  position: relative;
  display: inline-block;
  padding: 15px 15px 25px;
  border: 1px solid transparent;
  border-bottom: 0;
  cursor: pointer;
  font-weight: 600;
}

.custom-tabset > label::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 10px;
  width: 22px;
  height: 4px;
  background: #8d8d8d;
}

input:focus-visible + label {
  outline: 2px solid rgba(0, 102, 204, 1);
  border-radius: 3px;
}

.custom-tabset > label:hover,
.custom-tabset > input:focus + label,
.custom-tabset > input:checked + label {
  color: #06c;
}

.custom-tabset > label:hover::after,
.custom-tabset > input:focus + label::after,
.custom-tabset > input:checked + label::after {
  background: #06c;
}

.custom-tabset > input:checked + label {
  border-color: #ccc;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;
}

.tab-panel {
  padding: 30px 0;
  border-top: 1px solid #ccc;
}

/*
 Demo purposes only
*/
.csrma-dashboard,
.csrma-dashboard * {
  box-sizing: border-box;
}

.custom-tabset {
  width: 100%;
  margin-top: 5px;
}

.csrma-dashboard { max-width: 1240px; margin: 28px 20px 40px 0; color: #172033; }
.csrma-dashboard .csrma-hero { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 38px 42px; border-radius: 18px; color: #fff; background: linear-gradient(125deg,#151d36 0%,#253c74 58%,#6b45d8 100%); box-shadow: 0 18px 45px rgba(23,32,51,.18); overflow: hidden; position: relative; }
.csrma-hero h1 { color: #fff; font-size: 34px; line-height: 1.15; margin: 8px 0 10px; }
.csrma-hero p { font-size: 16px; max-width: 680px; margin: 0 0 22px; color: #e8ecff; }
.csrma-eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: 11px; color: #c9d2ff; }
.csrma-hero > .dashicons { width: 150px; height: 150px; font-size: 150px; color: rgba(255,255,255,.14); transform: rotate(-9deg); }
.csrma-hero .button { min-height: 40px; padding: 5px 18px; border-radius: 8px; margin-right: 8px; font-weight: 600; }
.csrma-hero .button-primary { background: #fff; border-color: #fff; color: #293b70; }
.csrma-hero .button-primary:hover { background: #eef1ff; border-color: #eef1ff; color: #1c2c59; }
.csrma-secondary { color: #fff !important; border-color: rgba(255,255,255,.55) !important; background: rgba(255,255,255,.08) !important; }
.csrma-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 20px 0; }
.csrma-stat, .csrma-card { background: #fff; border: 1px solid #e1e6ef; border-radius: 14px; box-shadow: 0 8px 24px rgba(29,45,78,.06); }
.csrma-stat { padding: 22px; display: grid; grid-template-columns: 42px 1fr; align-items: center; column-gap: 12px; }
.csrma-stat .dashicons { grid-row: 1 / 3; width: 42px; height: 42px; font-size: 23px; padding: 9px; border-radius: 11px; color: #5d43c6; background: #f0edff; }
.csrma-stat strong { font-size: 25px; line-height: 1; }
.csrma-stat > span:last-child { margin-top: 5px; color: #68758b; }
.csrma-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; }
.csrma-card { padding: 28px; }
.csrma-card h2 { margin: 0 0 22px; font-size: 19px; color: #172033; }
.csrma-steps { list-style: none; margin: 0; }
.csrma-steps li { display: flex; gap: 15px; margin: 0 0 21px; }
.csrma-steps li:last-child { margin-bottom: 0; }
.csrma-steps li > span { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #5d43c6; font-weight: 700; }
.csrma-steps strong { font-size: 14px; }
.csrma-steps p { color: #68758b; margin: 4px 0 0; }
.csrma-status p { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; margin: 0; border-top: 1px solid #edf0f5; }
.csrma-status p span { color: #68758b; }
.csrma-status .is-good { color: #16845b; }
.csrma-status .is-warning { color: #b36200; }
.csrma-bookings { margin-top: 20px; }
.csrma-card-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.csrma-card-head h2 { margin-bottom: 5px; }
.csrma-card-head p { margin: 0; color: #68758b; }
.csrma-table-wrap { overflow-x: auto; }
.csrma-bookings table { border: 0; box-shadow: none; border-radius: 10px; overflow: hidden; }
.csrma-bookings th { color: #3e4a60; font-weight: 700; }
.csrma-bookings td, .csrma-bookings th { padding: 13px 14px; }
@media (max-width: 900px) { .csrma-stats { grid-template-columns: repeat(2,1fr); } .csrma-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .csrma-dashboard { margin-right: 10px; } .csrma-dashboard .csrma-hero { padding: 28px 24px; } .csrma-hero > .dashicons { display: none; } .csrma-stats { grid-template-columns: 1fr; } .csrma-card-head { align-items: flex-start; flex-direction: column; } }
