.msts-portal,
.msts-login-notice {
  width: 100%;
  margin: 24px 0;
  font-family: inherit;
  color: #14305c;
}

.msts-card {
  background: #ffffff;
  border: 1px solid #e5ebf5;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(1, 42, 122, 0.08);
  padding: 28px;
}

.msts-section-head h3,
.msts-portal-top h3,
.msts-ticket-detail-head h3 {
  margin: 0 0 8px;
  color: #012a7a;
  line-height: 1.2;
}

.msts-section-head p,
.msts-portal-top p,
.msts-ticket-detail-head p {
  margin: 0;
  color: #5d6f8d;
}

.msts-auth-grid,
.msts-card + .msts-card {
  margin-top: 18px;
}

.msts-auth-columns,
.msts-grid,
.msts-stats,
.msts-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.msts-auth-box,
.msts-detail-box {
  background: #f9fbff;
  border: 1px solid #e7eefb;
  border-radius: 16px;
  padding: 20px;
}

.msts-detail-box span {
  display: block;
  color: #60708a;
  margin-bottom: 8px;
  font-size: 13px;
}

.msts-detail-box strong {
  color: #012a7a;
  font-size: 16px;
}

.msts-auth-box h4,
.msts-reply-wrap h4 {
  margin: 0 0 14px;
  color: #012a7a;
}

.msts-form p,
.msts-inline-form {
  margin: 0 0 16px;
}

.msts-form label {
  display: block;
  font-weight: 600;
  color: #012a7a;
  font-size: 14px;
}

.msts-form input,
.msts-form select,
.msts-form textarea,
.login .input,
.msts-toolbar input,
.msts-toolbar select {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #ccd8ee;
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 48px;
  box-sizing: border-box;
  background: #ffffff;
  color: #14305c;
}

.msts-form input[type="file"] {
  padding: 10px 12px;
}

.msts-form textarea {
  resize: vertical;
  min-height: 140px;
}

.msts-form button,
.wp-submit,
.msts-btn,
.msts-toolbar button {
  appearance: none;
  border: 0;
  border-radius: 12px;
  min-height: 48px;
  padding: 0 18px;
  background: linear-gradient(135deg, #012a7a 0%, #0c479d 100%);
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(1, 42, 122, 0.18);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.msts-form button:hover,
.wp-submit:hover,
.msts-btn:hover,
.msts-toolbar button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(1, 42, 122, 0.2);
}

.msts-btn-light {
  background: #eef3fb;
  color: #012a7a !important;
  box-shadow: none;
}

.msts-btn-gold {
  background: linear-gradient(135deg, #cc9f24 0%, #e0b645 100%);
  color: #17345f !important;
  box-shadow: 0 12px 24px rgba(204, 159, 36, 0.18);
}

.msts-alert {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 600;
}

.msts-alert-success {
  background: rgba(9, 164, 99, .10);
  color: #0c7a4a;
  border: 1px solid rgba(9, 164, 99, .22);
}

.msts-alert-error {
  background: rgba(214, 48, 49, .08);
  color: #a91e1e;
  border: 1px solid rgba(214, 48, 49, .18);
}

.msts-small-link {
  margin: 14px 0 0;
}

.msts-small-link a {
  color: #012a7a;
  text-decoration: none;
}

.msts-portal-top,
.msts-ticket-detail-head,
.msts-ticket-row,
.msts-thread-head,
.msts-actions,
.msts-actions-inline,
.msts-reply-head,
.msts-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.msts-actions,
.msts-actions-inline,
.msts-toolbar,
.msts-reply-head {
  flex-wrap: wrap;
}

.msts-toolbar {
  margin: 18px 0 20px;
  padding: 16px;
  border: 1px solid #e5ebf5;
  border-radius: 16px;
  background: #f8fbff;
}

.msts-toolbar > * {
  flex: 1 1 180px;
}

.msts-stats {
  margin: 18px 0;
}

.msts-stat-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e5ebf5;
  border-radius: 18px;
  padding: 20px;
}

.msts-stat-card span {
  display: block;
  color: #60708a;
  margin-bottom: 8px;
}

.msts-stat-card strong {
  font-size: 34px;
  line-height: 1;
  color: #012a7a;
}

.msts-ticket-table {
  display: grid;
  gap: 12px;
}

.msts-ticket-row {
  border: 1px solid #e7edf7;
  border-radius: 16px;
  padding: 16px 18px;
  background: #ffffff;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.msts-ticket-row:hover {
  transform: translateY(-1px);
  border-color: #cfdcf1;
  box-shadow: 0 14px 28px rgba(1, 42, 122, 0.07);
}

.msts-ticket-main {
  display: grid;
  gap: 6px;
}

.msts-ticket-main strong {
  color: #012a7a;
}

.msts-ticket-main span,
.msts-ticket-date,
.msts-field-help {
  color: #6e7d97;
  font-size: 13px;
}

.msts-field-help {
  display: block;
  margin-top: 8px;
}

.msts-ticket-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.msts-badge,
.msts-soft-badge,
.msts-thread-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.msts-soft-badge,
.msts-status-open {
  background: rgba(204, 159, 36, .14);
  color: #9d7510;
}

.msts-status-in_progress {
  background: rgba(1, 42, 122, .10);
  color: #012a7a;
}

.msts-status-waiting_customer {
  background: rgba(98, 108, 128, .12);
  color: #50596e;
}

.msts-status-closed,
.msts-priority-laag {
  background: rgba(9, 164, 99, .10);
  color: #09784a;
}

.msts-priority-normaal,
.msts-thread-label {
  background: rgba(1, 42, 122, .10);
  color: #012a7a;
}

.msts-priority-hoog,
.msts-priority-spoed {
  background: rgba(214, 48, 49, .10);
  color: #a91e1e;
}

.msts-detail-grid {
  margin-top: 20px;
}

.msts-thread {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.msts-thread-item {
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #e8edf7;
  background: #fbfdff;
}

.msts-thread-item.is-support {
  background: #f7fbff;
  border-color: #dce8fb;
}

.msts-thread-item.is-customer {
  background: #fffdf7;
  border-color: #f1e8c9;
}

.msts-thread-head strong {
  color: #012a7a;
}

.msts-thread-head span {
  color: #6c7d98;
  font-size: 13px;
}

.msts-thread-body {
  margin-top: 10px;
  color: #17345f;
}

.msts-thread-files,
.msts-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.msts-file-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef3fb;
  color: #012a7a !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
}

.msts-reply-wrap {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #e5ebf5;
}

.msts-empty {
  padding: 20px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px dashed #d7e4f8;
  color: #56708f;
}


/* Strakkere login-/registratieweergave */
.msts-auth-columns {
  align-items: start;
  margin-top: 20px;
}

.msts-login-box {
  align-self: start;
}

.msts-login-form-wrap #loginform {
  display: grid;
  gap: 16px;
  margin: 0;
}

.msts-login-form-wrap #loginform p {
  margin: 0;
}

.msts-login-form-wrap #loginform label {
  display: block;
  margin: 0;
  font-weight: 600;
  color: #012a7a;
  font-size: 14px;
  line-height: 1.35;
}

.msts-login-form-wrap #loginform .input {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #ccd8ee;
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 48px;
  box-sizing: border-box;
  background: #ffffff;
  color: #14305c;
  font-size: 15px;
}

.msts-login-form-wrap .login-remember label {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  color: #14305c !important;
  font-weight: 500 !important;
}

.msts-login-form-wrap .login-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  accent-color: #012a7a;
}

.msts-login-form-wrap .login-submit {
  margin-top: 2px !important;
}

.msts-login-form-wrap .wp-submit {
  width: auto;
  min-width: 132px;
}

.msts-login-box .msts-small-link {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .msts-auth-columns,
  .msts-grid,
  .msts-stats,
  .msts-detail-grid {
    grid-template-columns: 1fr;
  }

  .msts-portal-top,
  .msts-ticket-detail-head,
  .msts-ticket-row,
  .msts-toolbar,
  .msts-reply-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .msts-ticket-meta {
    justify-content: flex-start;
  }
}


.msts-portal-top {
  margin-bottom: 6px;
}

.msts-card .msts-ticket-detail-head {
  margin-bottom: 6px;
}

.msts-activity-card {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid #e5ebf5;
  border-radius: 18px;
  background: #fbfdff;
}

.msts-activity-card h4 {
  margin: 0 0 14px;
  color: #012a7a;
}

.msts-activity-list {
  display: grid;
  gap: 12px;
}

.msts-activity-item {
  padding: 14px 16px;
  border: 1px solid #e5ebf5;
  border-radius: 14px;
  background: #ffffff;
}

.msts-activity-item strong {
  display: block;
  color: #012a7a;
  margin-bottom: 6px;
}

.msts-activity-item p {
  margin: 0 0 6px;
  color: #5d6f8d;
}

.msts-activity-item span {
  display: block;
  color: #74849d;
  font-size: 12px;
}

.msts-sla-ok {
  background: rgba(9, 164, 99, .10);
  color: #09784a;
}

.msts-sla-warning {
  background: rgba(204, 159, 36, .14);
  color: #9d7510;
}

.msts-sla-overdue {
  background: rgba(214, 48, 49, .10);
  color: #a91e1e;
}

.msts-sla-closed {
  background: rgba(98, 108, 128, .12);
  color: #50596e;
}

.msts-detail-box small {
  display: block;
  margin-top: 8px;
  color: #6c7d98;
  font-size: 12px;
  line-height: 1.5;
}

.msts-rating-card {
  margin-top: 18px;
  background: #ffffff;
  border: 1px solid #e5ebf5;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(1, 42, 122, 0.06);
  padding: 24px;
}

.msts-rating-summary,
.msts-rating-feedback {
  margin-top: 14px;
}

.msts-rating-feedback {
  padding: 14px 16px;
  border: 1px solid #e5ebf5;
  border-radius: 14px;
  background: #f8fbff;
  color: #17345f;
}

.msts-rating-stars-wrap {
  display: inline-flex;
  gap: 6px;
  font-size: 22px;
  line-height: 1;
}

.msts-star {
  color: #ccd8ee;
}

.msts-rating-stars-wrap.is-gold .msts-star.is-active,
.msts-star.is-active {
  color: #cc9f24;
}

.msts-badge.msts-sla-paused {
  background: rgba(98, 108, 128, .12);
  color: #50596e;
}

/* MediaSpring Support HUB v0.8.1 */
.msts-portal,
.msts-portal * {
  box-sizing: border-box;
}

.msts-portal a {
  text-decoration: none !important;
}

.msts-hub-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  width: 100%;
  max-width: 1600px;
  min-height: 760px;
  margin: 24px auto;
  border: 1px solid #dfe7f4;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 48%, #f7fbff 100%);
  box-shadow: 0 28px 70px rgba(1, 42, 122, .11);
  color: #12214a;
}

.msts-hub-sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px 20px;
  border-right: 1px solid #e2eaf6;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
}

.msts-hub-brand,
.msts-auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #092261;
}

.msts-hub-brand {
  margin-bottom: 36px;
  font-size: 18px;
}

.msts-hub-logo,
.msts-auth-logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b46c4 0%, #012a7a 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: -.03em;
  box-shadow: 0 12px 24px rgba(1, 42, 122, .20);
}

.msts-hub-nav {
  display: grid;
  gap: 8px;
}

.msts-hub-nav-item,
.msts-hub-logout {
  display: flex;
  align-items: center;
  min-height: 50px;
  gap: 13px;
  padding: 0 14px;
  border-radius: 14px;
  color: #42506f !important;
  font-weight: 650;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.msts-hub-nav-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #64748f;
  font-weight: 800;
}

.msts-hub-nav-item:hover,
.msts-hub-logout:hover {
  background: #f0f5ff;
  color: #012a7a !important;
  transform: translateX(2px);
}

.msts-hub-nav-item.is-active {
  background: linear-gradient(135deg, rgba(1,42,122,.11) 0%, rgba(11,70,196,.08) 100%);
  color: #012a7a !important;
  box-shadow: inset 0 0 0 1px rgba(1, 42, 122, .06);
}

.msts-hub-nav-item.is-active span {
  color: #012a7a;
}

.msts-hub-help-card {
  margin-top: auto;
  padding: 18px;
  border: 1px solid #d9e6fb;
  border-radius: 20px;
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
  box-shadow: 0 14px 28px rgba(1, 42, 122, .06);
}

.msts-hub-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #012a7a;
  color: #fff;
  font-weight: 800;
}

.msts-hub-help-card strong {
  display: block;
  color: #012a7a;
  margin-bottom: 6px;
}

.msts-hub-help-card p {
  margin: 0 0 14px;
  color: #65728a;
  line-height: 1.5;
}

.msts-hub-help-card a {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d4e0f5;
  border-radius: 12px;
  color: #012a7a !important;
  font-weight: 800;
  background: #fff;
}

.msts-hub-logout {
  margin-top: 12px;
}

.msts-hub-main {
  min-width: 0;
  padding: 32px 38px 26px;
}

.msts-hub-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.msts-hub-header h3 {
  margin: 0 0 7px;
  color: #071b52;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.msts-hub-header p {
  margin: 0;
  color: #64728c;
  font-size: 16px;
}

.msts-hub-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.msts-hub-bell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #dfe7f4;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 20px rgba(1, 42, 122, .06);
  font-size: 17px;
}

.msts-hub-profile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border: 1px solid #e0e8f5;
  border-radius: 999px;
  background: #fff;
}

.msts-hub-profile > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eaf1ff 0%, #dbe8ff 100%);
  color: #012a7a;
  font-weight: 900;
}

.msts-hub-profile strong,
.msts-hub-profile small {
  display: block;
  line-height: 1.15;
}

.msts-hub-profile strong {
  color: #0c1d4d;
  font-size: 13px;
}

.msts-hub-profile small {
  margin-top: 3px;
  color: #77839a;
  font-size: 11px;
}

.msts-hub-new-btn {
  min-height: 50px;
  padding: 0 18px !important;
  border-radius: 13px !important;
  gap: 10px;
  white-space: nowrap;
}

.msts-hub-new-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.20);
}

.msts-hub-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.msts-hub-stat-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-areas:
    "icon label"
    "icon value"
    "link link";
  align-items: center;
  gap: 3px 16px;
  min-height: 154px;
  padding: 22px 22px 20px;
  border: 1px solid #e1e9f5;
  border-radius: 20px;
  background: #fff;
  color: #14224d !important;
  box-shadow: 0 16px 34px rgba(1, 42, 122, .07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.msts-hub-stat-card:hover {
  transform: translateY(-2px);
  border-color: #cbdaf1;
  box-shadow: 0 20px 42px rgba(1, 42, 122, .10);
}

.msts-hub-stat-icon {
  grid-area: icon;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 900;
}

.msts-hub-stat-label {
  grid-area: label;
  color: #47546d;
  font-weight: 650;
}

.msts-hub-stat-card strong {
  grid-area: value;
  color: #071b52;
  font-size: 34px;
  line-height: 1;
}

.msts-hub-stat-card em {
  grid-area: link;
  margin-top: 14px;
  color: #012a7a;
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
}

.msts-hub-stat-card.is-blue .msts-hub-stat-icon,
.msts-hub-activity-icon.is-blue {
  background: #e8f0ff;
  color: #0b46c4;
}

.msts-hub-stat-card.is-orange .msts-hub-stat-icon,
.msts-hub-activity-icon.is-orange {
  background: #fff3d8;
  color: #c17400;
}

.msts-hub-stat-card.is-green .msts-hub-stat-icon,
.msts-hub-activity-icon.is-green {
  background: #e5f8ed;
  color: #0b8a4a;
}

.msts-hub-stat-card.is-red .msts-hub-stat-icon,
.msts-hub-activity-icon.is-red {
  background: #ffe8ea;
  color: #c52030;
}

.msts-hub-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  align-items: start;
}

.msts-hub-table-card,
.msts-hub-activity-panel,
.msts-hub-shell .msts-card {
  border-color: #e1e9f5;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(1, 42, 122, .07);
}

.msts-hub-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.msts-hub-card-head h4,
.msts-hub-activity-panel h4 {
  margin: 0 0 5px;
  color: #071b52;
  font-size: 20px;
  letter-spacing: -.02em;
}

.msts-hub-card-head p {
  margin: 0;
  color: #66748f;
  font-size: 14px;
}

.msts-hub-card-head a,
.msts-hub-activity-all {
  color: #012a7a !important;
  font-weight: 800;
  white-space: nowrap;
}

.msts-hub-toolbar {
  margin: 0 0 18px;
  background: #f8fbff;
}

.msts-hub-toolbar > * {
  flex: 1 1 160px;
}

.msts-hub-ticket-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid #e5ecf7;
  border-radius: 16px;
  background: #fff;
}

.msts-hub-ticket-head,
.msts-hub-ticket-row {
  display: grid;
  grid-template-columns: 130px minmax(170px, 1.4fr) 140px 130px 150px 28px;
  align-items: center;
  gap: 14px;
}

.msts-hub-ticket-head {
  min-height: 44px;
  padding: 0 16px;
  background: #f8fbff;
  border-bottom: 1px solid #e5ecf7;
  color: #53627d;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.msts-hub-ticket-row {
  min-height: 62px;
  padding: 12px 16px;
  border-bottom: 1px solid #edf2fa;
  color: #14224d !important;
  transition: background .18s ease;
}

.msts-hub-ticket-row:last-child {
  border-bottom: 0;
}

.msts-hub-ticket-row:hover {
  background: #f9fbff;
}

.msts-hub-ticket-row strong {
  color: #12214a;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msts-hub-ticket-number,
.msts-hub-ticket-date {
  color: #66748f;
  font-size: 13px;
}

.msts-hub-ticket-arrow {
  justify-self: end;
  color: #8a98b0;
  font-size: 24px;
}

.msts-hub-activity-panel {
  padding: 24px;
}

.msts-hub-activity-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.msts-hub-activity-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  color: #14224d !important;
}

.msts-hub-activity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-weight: 900;
}

.msts-hub-activity-item strong {
  display: block;
  color: #071b52;
  margin-bottom: 4px;
}

.msts-hub-activity-item p,
.msts-hub-activity-item small {
  display: block;
  margin: 0;
  color: #66748f;
  font-size: 13px;
  line-height: 1.45;
}

.msts-hub-activity-all {
  display: inline-flex;
  margin-top: 22px;
}

.msts-hub-footer {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  color: #7a879d;
  font-size: 12px;
}

.msts-hub-footer span + span::before {
  content: '•';
  margin-right: 12px;
}

/* New standalone login screen */
.msts-auth-portal {
  max-width: 1440px;
  margin: 24px auto;
}

.msts-auth-hub {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 0;
  min-height: 620px;
  border: 1px solid #dfe7f4;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 70px rgba(1, 42, 122, .11);
}

.msts-auth-brand {
  padding: 38px;
  background:
    radial-gradient(circle at 20% 20%, rgba(11,70,196,.18), transparent 34%),
    linear-gradient(145deg, #061c58 0%, #012a7a 62%, #0b46c4 100%);
  color: #fff;
}

.msts-auth-logo span {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.20);
}

.msts-auth-logo strong {
  color: #fff;
  font-size: 18px;
}

.msts-auth-brand h3 {
  margin: 72px 0 14px;
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.05em;
}

.msts-auth-brand p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.7;
}

.msts-auth-benefits {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.msts-auth-benefits span {
  position: relative;
  padding: 13px 14px 13px 40px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: #fff;
  line-height: 1.45;
}

.msts-auth-benefits span::before {
  content: '✓';
  position: absolute;
  left: 14px;
  top: 13px;
  font-weight: 900;
}

.msts-auth-panel {
  padding: 34px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.msts-auth-panel .msts-auth-columns {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 22px;
  margin-top: 0;
}

.msts-auth-panel .msts-auth-box {
  min-height: auto;
  padding: 24px;
  border: 1px solid #e1e9f5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(1, 42, 122, .06);
}

.msts-auth-box-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.msts-icon-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  background: #e8f0ff;
  color: #012a7a;
  font-weight: 900;
}

.msts-auth-box-head h4 {
  margin: 0 0 4px;
  color: #071b52;
  font-size: 22px;
}

.msts-auth-box-head p {
  margin: 0;
  color: #66748f;
  font-size: 14px;
  line-height: 1.45;
}

.msts-auth-panel .msts-form p,
.msts-auth-panel .msts-login-form-wrap #loginform p {
  margin-bottom: 15px;
}

.msts-auth-panel .msts-login-form-wrap #loginform {
  gap: 0;
}

.msts-auth-panel .msts-login-form-wrap #loginform label,
.msts-auth-panel .msts-form label {
  color: #071b52;
  font-size: 14px;
  font-weight: 750;
}

.msts-auth-panel .msts-login-form-wrap #loginform .input,
.msts-auth-panel .msts-form input,
.msts-auth-panel .msts-form select,
.msts-auth-panel .msts-form textarea,
.msts-hub-shell .msts-form input,
.msts-hub-shell .msts-form select,
.msts-hub-shell .msts-form textarea,
.msts-hub-shell .msts-toolbar input,
.msts-hub-shell .msts-toolbar select {
  border-radius: 13px;
  border-color: #d2def0;
  background: #fff;
  box-shadow: 0 1px 0 rgba(1,42,122,.03);
}

.msts-auth-panel .msts-login-form-wrap .login-remember {
  margin: 0 0 16px !important;
}

.msts-auth-panel .msts-login-form-wrap .wp-submit,
.msts-auth-panel .msts-form button,
.msts-hub-shell .msts-form button,
.msts-hub-shell .msts-toolbar button {
  border-radius: 13px;
}

.msts-auth-panel .msts-login-box .msts-small-link {
  margin-top: 12px;
}

/* Existing detail and forms inside the HUB */
.msts-hub-shell .msts-section-head h3,
.msts-hub-shell .msts-ticket-detail-head h3 {
  color: #071b52;
  font-size: 26px;
  letter-spacing: -.03em;
}

.msts-hub-shell .msts-section-head p,
.msts-hub-shell .msts-ticket-detail-head p {
  color: #66748f;
}

.msts-hub-shell .msts-grid,
.msts-hub-shell .msts-detail-grid {
  gap: 18px;
}

.msts-hub-shell .msts-detail-box {
  background: #f8fbff;
  border-color: #e1e9f5;
}

.msts-hub-shell .msts-thread-item {
  border-radius: 18px;
}

@media (max-width: 1200px) {
  .msts-hub-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .msts-hub-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .msts-hub-ticket-head,
  .msts-hub-ticket-row {
    grid-template-columns: 115px minmax(180px, 1fr) 130px 120px 135px 24px;
  }
}

@media (max-width: 920px) {
  .msts-hub-shell,
  .msts-auth-hub {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .msts-hub-sidebar {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #e2eaf6;
  }

  .msts-hub-brand {
    margin-bottom: 18px;
  }

  .msts-hub-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .msts-hub-help-card,
  .msts-hub-logout {
    display: none;
  }

  .msts-hub-main {
    padding: 24px 18px;
  }

  .msts-hub-header {
    flex-direction: column;
  }

  .msts-hub-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .msts-auth-brand {
    padding: 28px;
  }

  .msts-auth-brand h3 {
    margin-top: 36px;
  }

  .msts-auth-panel {
    padding: 22px;
  }

  .msts-auth-panel .msts-auth-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .msts-hub-stats {
    grid-template-columns: 1fr;
  }

  .msts-hub-card-head,
  .msts-hub-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .msts-hub-ticket-table {
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .msts-hub-ticket-head {
    display: none;
  }

  .msts-hub-ticket-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    margin-bottom: 12px;
    padding: 16px;
    border: 1px solid #e5ecf7;
    border-radius: 16px;
    background: #fff;
  }

  .msts-hub-ticket-row strong {
    grid-column: 1 / -1;
    white-space: normal;
  }

  .msts-hub-ticket-arrow {
    grid-row: 1;
    grid-column: 2;
  }

  .msts-hub-ticket-date {
    grid-column: 1 / -1;
  }

  .msts-hub-profile {
    order: 3;
  }

  .msts-hub-new-btn {
    width: 100%;
  }

  .msts-hub-nav {
    grid-template-columns: 1fr;
  }
}


/* v0.8.2 font + brand refinements */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400&display=swap");

.msts-portal,
.msts-login-notice,
.msts-auth-portal,
.msts-portal *,
.msts-login-notice *,
.msts-auth-portal * {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.msts-hub-brand img,
.msts-auth-logo img {
  display: block;
  width: 100%;
  max-width: 188px;
  height: auto;
}


/* v0.8.3 headers and Total icons */
.msts-hub-shell h1,
.msts-hub-shell h2,
.msts-hub-shell h3,
.msts-hub-shell h4,
.msts-hub-shell h5,
.msts-hub-shell h6,
.msts-hub-shell .msts-hub-stat-label,
.msts-hub-shell .msts-hub-ticket-head,
.msts-hub-shell .msts-hub-profile strong,
.msts-hub-shell .msts-hub-help-card strong,
.msts-hub-shell .msts-form label {
  font-weight: 600 !important;
}

.msts-total-icon.ticon::before {
  display: inline-block;
  line-height: 1;
}

.msts-total-icon.dashicons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  speak: never;
}

.msts-hub-nav-item .msts-total-icon {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  font-size: 18px !important;
  line-height: 22px !important;
}

.msts-hub-stat-icon.msts-total-icon {
  width: 58px !important;
  height: 58px !important;
  font-size: 23px !important;
  line-height: 58px !important;
}

/* v0.8.4 vaste premium SVG-iconen */
.msts-portal .msts-hub-svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: currentColor;
}

.msts-portal .msts-hub-svg-icon svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.msts-portal .msts-hub-nav-icon {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  font-size: 18px !important;
  color: #6d7a95;
}

.msts-portal .msts-hub-nav-item.is-active .msts-hub-nav-icon,
.msts-portal .msts-hub-nav-item:hover .msts-hub-nav-icon {
  color: #0b2f87;
}

.msts-portal .msts-hub-stat-icon.msts-hub-svg-icon {
  width: 58px !important;
  height: 58px !important;
  font-size: 25px !important;
}

.msts-portal .msts-hub-help-icon.msts-hub-svg-icon {
  width: 42px;
  height: 42px;
  font-size: 19px;
}

.msts-portal .msts-hub-bell.msts-hub-svg-icon {
  width: 42px;
  height: 42px;
  font-size: 18px;
}

.msts-portal .msts-hub-activity-icon.msts-hub-svg-icon {
  width: 44px;
  height: 44px;
  font-size: 18px;
}


/* v0.8.5 quick action icon fix */
.msts-hub-help-card .msts-hub-help-icon,
.msts-hub-help-card .msts-hub-help-icon svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}


/* v0.8.6 simpler customer portal */
.msts-customer-shell .msts-hub-stats,
.msts-customer-shell .msts-hub-dashboard-grid,
.msts-customer-shell .msts-hub-activity-panel {
  display: none;
}

.msts-customer-summary-card,
.msts-customer-actions-card,
.msts-customer-form-card {
  margin-bottom: 18px;
}

.msts-customer-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}

.msts-customer-summary-box {
  padding: 16px 18px;
  border: 1px solid #e3eaf6;
  border-radius: 14px;
  background: #fbfdff;
}

.msts-customer-summary-box span {
  display: block;
  color: #64728c;
  margin-bottom: 6px;
  font-size: 14px;
}

.msts-customer-summary-box strong {
  font-size: 28px;
  line-height: 1;
  color: #07205e;
}

.msts-customer-action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.msts-customer-action-links .msts-btn {
  box-shadow: none;
}

.msts-simple-ticket-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e5ebf5;
  border-radius: 14px;
  background: #fff;
}

.msts-simple-ticket-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.msts-simple-ticket-table th,
.msts-simple-ticket-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf2fa;
  text-align: left;
  vertical-align: middle;
}

.msts-simple-ticket-table th {
  font-size: 13px;
  color: #5f6f8c;
  background: #f8fbff;
  font-weight: 600;
}

.msts-simple-ticket-table tr:last-child td {
  border-bottom: 0;
}

.msts-simple-ticket-table td strong {
  color: #07205e;
  font-weight: 600;
}

.msts-simple-id {
  white-space: nowrap;
  color: #6a7891;
}

.msts-simple-actions a {
  color: #0c3e99;
  font-weight: 600;
}

.msts-simple-toolbar {
  background: #f8fbff;
  margin-bottom: 18px;
}

.msts-simple-toolbar > * {
  flex: 1 1 180px;
}

.msts-simple-ticket-form .msts-simple-form-block {
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid #e7eefb;
  border-radius: 16px;
  background: #fbfdff;
}

.msts-simple-ticket-form .msts-simple-form-block h4 {
  margin: 0 0 14px;
  color: #07205e;
  font-size: 18px;
  font-weight: 600;
}

.msts-simple-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px 18px;
}

.msts-simple-form-grid p {
  margin: 0;
}

.msts-simple-info-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.msts-simple-info-list > div {
  padding: 14px 16px;
  border: 1px solid #e5ebf5;
  border-radius: 14px;
  background: #fbfdff;
  color: #4d6282;
}

@media (max-width: 960px) {
  .msts-customer-summary-grid,
  .msts-simple-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .msts-customer-summary-grid,
  .msts-simple-form-grid {
    grid-template-columns: 1fr;
  }
}


/* v0.8.8 simpler customer frontend */
.msts-customer-shell .msts-hub-help-card,
.msts-customer-shell .msts-hub-bell,
.msts-customer-shell .msts-hub-profile,
.msts-customer-shell .msts-customer-actions-card {
  display: none !important;
}

.msts-customer-shell .msts-hub-header {
  align-items: flex-start;
  margin-bottom: 20px;
}

.msts-customer-shell .msts-hub-header-actions {
  margin-left: auto;
}

.msts-customer-shell .msts-hub-sidebar,
.msts-customer-shell .msts-card,
.msts-customer-shell .msts-hub-shell,
.msts-customer-shell .msts-hub-new-btn,
.msts-customer-shell .msts-btn,
.msts-customer-shell .msts-simple-ticket-table-wrap,
.msts-customer-shell .msts-customer-summary-box {
  box-shadow: none !important;
}

.msts-customer-shell .msts-card,
.msts-customer-shell .msts-hub-sidebar {
  background: #ffffff;
}

.msts-customer-shell .msts-hub-shell {
  background: #f7f9fc;
}

.msts-customer-shell .msts-hub-sidebar {
  padding-bottom: 28px;
}

.msts-customer-shell .msts-hub-logout {
  margin-top: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  color: #405171;
  min-height: 0;
}

.msts-customer-shell .msts-customer-summary-card,
.msts-customer-shell .msts-hub-table-card,
.msts-customer-shell .msts-customer-form-card {
  border-radius: 18px;
}

.msts-customer-shell .msts-customer-summary-grid {
  gap: 12px;
}

.msts-customer-shell .msts-hub-new-btn {
  min-height: 52px;
}

@media (max-width: 900px) {
  .msts-customer-shell .msts-hub-header {
    flex-direction: column;
    gap: 14px;
  }

  .msts-customer-shell .msts-hub-header-actions {
    margin-left: 0;
  }
}


/* v0.8.11 smaller customer headings + 75% desktop scale */
.msts-customer-shell .msts-hub-header h3 {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.msts-customer-shell .msts-hub-header p {
  font-size: 15px;
}

@media (min-width: 1100px) {
  .msts-customer-shell {
    zoom: .75;
  }
}

@supports not (zoom: 1) {
  @media (min-width: 1100px) {
    .msts-customer-shell {
      width: 133.333333%;
      transform: scale(.75);
      transform-origin: top left;
    }
  }
}


/* v0.8.12 clearer customer ticket detail */
.msts-customer-shell .msts-ticket-detail-card {
  padding: 22px;
  border-radius: 18px;
}

.msts-customer-shell .msts-ticket-detail-head {
  align-items: flex-start;
  padding: 18px 18px 16px;
  border: 1px solid #e3eaf6;
  border-radius: 16px;
  background: #f8fbff;
  margin-bottom: 18px;
}

.msts-customer-shell .msts-ticket-detail-head h3 {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 4px;
  color: #071f5d;
}

.msts-customer-shell .msts-ticket-detail-head p {
  font-size: 13px;
  color: #65728c;
}

.msts-customer-shell .msts-customer-detail-section-title {
  margin: 22px 0 10px;
  color: #071f5d;
  font-weight: 600;
  font-size: 16px;
}

.msts-customer-shell .msts-ticket-status-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.msts-customer-shell .msts-detail-box {
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #dfe8f6;
  padding: 14px 16px;
}

.msts-customer-shell .msts-detail-box span {
  color: #66748f;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.msts-customer-shell .msts-detail-box strong {
  color: #071f5d;
  font-size: 15px;
  font-weight: 600;
}

.msts-customer-shell .msts-detail-box small {
  display: block;
  margin-top: 5px;
  color: #66748f;
  font-size: 12px;
}

.msts-customer-shell .msts-thread-title {
  margin-top: 26px;
}

.msts-customer-shell .msts-customer-thread {
  gap: 12px;
  margin-top: 0;
}

.msts-customer-shell .msts-thread-item {
  position: relative;
  border-radius: 14px;
  border: 1px solid #e3eaf6;
  border-left-width: 6px;
  padding: 16px 18px;
  background: #ffffff;
}

.msts-customer-shell .msts-thread-item.is-original,
.msts-customer-shell .msts-thread-item.is-customer {
  border-left-color: #cc9f24;
  background: #fffaf0;
}

.msts-customer-shell .msts-thread-item.is-support {
  border-left-color: #073d91;
  background: #f5f8ff;
}

.msts-customer-shell .msts-thread-head {
  align-items: flex-start;
  border-bottom: 1px solid rgba(1,42,122,.08);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.msts-customer-shell .msts-thread-head strong {
  color: #071f5d;
  font-size: 15px;
  font-weight: 600;
}

.msts-customer-shell .msts-thread-head span {
  color: #71809a;
  font-size: 12px;
  white-space: nowrap;
}

.msts-customer-shell .msts-thread-label {
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
}

.msts-customer-shell .msts-thread-label.is-support {
  background: #e7efff;
  color: #073d91;
}

.msts-customer-shell .msts-thread-label.is-customer,
.msts-customer-shell .msts-thread-label.is-original {
  background: #fff0cf;
  color: #7d5b06;
}

.msts-customer-shell .msts-thread-body {
  margin-top: 0;
  color: #243653;
  font-size: 14px;
  line-height: 1.65;
}

.msts-customer-shell .msts-thread-body p:last-child {
  margin-bottom: 0;
}

.msts-customer-shell .msts-activity-card {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e3eaf6;
}

.msts-customer-shell .msts-activity-card h4,
.msts-customer-shell .msts-reply-head h4 {
  color: #071f5d;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
}

.msts-customer-shell .msts-activity-item {
  padding: 12px 14px;
  border: 1px solid #edf2fa;
  border-radius: 12px;
  background: #fbfdff;
}

.msts-customer-shell .msts-reply-wrap {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #dfe8f6;
  border-radius: 16px;
  background: #fbfdff;
}

.msts-customer-shell .msts-reply-wrap textarea {
  background: #ffffff;
}

.msts-simple-ticket-table tr.is-status-open td:first-child {
  border-left: 5px solid #cc9f24;
}

.msts-simple-ticket-table tr.is-status-in_progress td:first-child {
  border-left: 5px solid #073d91;
}

.msts-simple-ticket-table tr.is-status-waiting_customer td:first-child {
  border-left: 5px solid #d97706;
}

.msts-simple-ticket-table tr.is-status-closed td:first-child {
  border-left: 5px solid #0b8a4a;
}

.msts-simple-ticket-table tr.is-priority-hoog td,
.msts-simple-ticket-table tr.is-priority-spoed td {
  background: #fff8f8;
}

@media (max-width: 900px) {
  .msts-customer-shell .msts-ticket-status-grid {
    grid-template-columns: 1fr;
  }
}


/* v0.8.13 compact conversation timeline */
@media (hover: hover) and (pointer: fine) {
  .msts-customer-shell .msts-customer-thread {
    gap: 8px;
  }

  .msts-customer-shell .msts-customer-thread .msts-thread-item {
    max-height: 92px;
    overflow: hidden;
    cursor: pointer;
    transition: max-height .22s ease, background-color .18s ease, border-color .18s ease;
  }

  .msts-customer-shell .msts-customer-thread .msts-thread-item::after {
    content: 'Hover om uit te klappen';
    position: absolute;
    right: 18px;
    bottom: 10px;
    padding-left: 48px;
    color: #60708a;
    font-size: 11px;
    line-height: 18px;
    background: linear-gradient(90deg, rgba(245,248,255,0), rgba(245,248,255,.96) 32%, rgba(245,248,255,1));
    pointer-events: none;
  }

  .msts-customer-shell .msts-customer-thread .msts-thread-item.is-original::after,
  .msts-customer-shell .msts-customer-thread .msts-thread-item.is-customer::after {
    background: linear-gradient(90deg, rgba(255,250,240,0), rgba(255,250,240,.96) 32%, rgba(255,250,240,1));
  }

  .msts-customer-shell .msts-customer-thread .msts-thread-item:hover,
  .msts-customer-shell .msts-customer-thread .msts-thread-item:focus-within {
    max-height: 720px;
    overflow: visible;
    z-index: 3;
  }

  .msts-customer-shell .msts-customer-thread .msts-thread-item:hover::after,
  .msts-customer-shell .msts-customer-thread .msts-thread-item:focus-within::after {
    display: none;
  }

  .msts-customer-shell .msts-customer-thread .msts-thread-head {
    margin-bottom: 7px;
    padding-bottom: 7px;
  }

  .msts-customer-shell .msts-customer-thread .msts-thread-label {
    margin-bottom: 7px;
  }

  .msts-customer-shell .msts-customer-thread .msts-thread-body {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 130px;
  }

  .msts-customer-shell .msts-customer-thread .msts-thread-item:hover .msts-thread-body,
  .msts-customer-shell .msts-customer-thread .msts-thread-item:focus-within .msts-thread-body {
    display: block;
    overflow: visible;
    padding-right: 0;
  }

  .msts-customer-shell .msts-customer-thread .msts-thread-files {
    display: none;
  }

  .msts-customer-shell .msts-customer-thread .msts-thread-item:hover .msts-thread-files,
  .msts-customer-shell .msts-customer-thread .msts-thread-item:focus-within .msts-thread-files {
    display: flex;
  }
}

@media (hover: none) {
  .msts-customer-shell .msts-customer-thread .msts-thread-item {
    max-height: none;
    overflow: visible;
  }
}


/* v0.8.31 klantactie-knoppen */
.msts-customer-action-panel {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  margin: 18px 0;
  border: 1px solid #dfe7f3;
  border-radius: 16px;
  background: #f8fbff;
}

.msts-customer-action-panel strong,
.msts-customer-action-panel span {
  display: block;
}

.msts-customer-action-panel strong {
  color: #07205e;
  font-size: 16px;
  margin-bottom: 4px;
}

.msts-customer-action-panel span {
  color: #60708a;
  font-size: 13px;
}

.msts-customer-action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.msts-customer-action-buttons .msts-btn,
.msts-customer-action-buttons button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  box-shadow: none !important;
}

.msts-customer-action-buttons .msts-action-form {
  margin: 0;
}

.msts-teamviewer-fields {
  padding: 14px 16px;
  margin: 0 0 18px;
  border: 1px solid #dfe7f3;
  border-radius: 14px;
  background: #f8fbff;
}

.msts-teamviewer-fields strong {
  display: block;
  color: #07205e;
  margin-bottom: 4px;
}

.msts-teamviewer-fields p {
  margin: 0 0 12px;
  color: #60708a;
  font-size: 13px;
}

.msts-teamviewer-fields > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 760px) {
  .msts-customer-action-panel {
    flex-direction: column;
  }

  .msts-customer-action-buttons {
    justify-content: flex-start;
  }

  .msts-teamviewer-fields > div {
    grid-template-columns: 1fr;
  }
}


/* v0.8.32 duidelijkere klantactie-knoppen */
.msts-customer-action-panel {
  display: block;
  padding: 20px 22px;
  margin: 18px 0 22px;
  border: 1px solid #dfe7f3;
  border-radius: 18px;
  background: #f8fbff;
}

.msts-customer-action-panel > div:first-child {
  margin-bottom: 14px;
}

.msts-customer-action-panel strong {
  color: #07205e;
  font-size: 18px;
  margin-bottom: 4px;
}

.msts-customer-action-panel span {
  color: #60708a;
  font-size: 14px;
}

.msts-customer-action-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.msts-customer-action-buttons .msts-action-form {
  margin: 0;
}

.msts-customer-action-buttons .msts-btn,
.msts-customer-action-buttons button,
.msts-customer-action-buttons .msts-action-form button {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  box-shadow: none !important;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid #d8e2f2;
}

.msts-customer-action-btn {
  background: #ffffff !important;
  color: #07205e !important;
}

.msts-customer-action-btn:hover {
  background: #eef4ff !important;
  border-color: #c8d8f2;
  transform: none !important;
}

.msts-customer-action-btn.is-reply,
.msts-customer-action-btn.is-upload,
.msts-customer-action-btn.is-teamviewer,
.msts-customer-action-btn.is-approve {
  background: #ffffff !important;
}

.msts-customer-action-btn.is-close {
  border-color: #e7c665 !important;
  box-shadow: none !important;
}

@media (max-width: 760px) {
  .msts-customer-action-buttons {
    grid-template-columns: 1fr;
  }
}


/* v0.8.33 iconen + geen 2-regelige actieknoppen */
.msts-customer-action-buttons {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.msts-customer-action-buttons .msts-btn,
.msts-customer-action-buttons button,
.msts-customer-action-buttons .msts-action-form button {
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0;
  gap: 8px;
}

.msts-customer-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.msts-customer-action-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1380px) {
  .msts-customer-action-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .msts-customer-action-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .msts-customer-action-buttons {
    grid-template-columns: 1fr;
  }
}
