.ur-admin-page-topnav {
  position: sticky;
  top: var(--wp-admin--admin-bar--height);
  background-color: #ffffff;
  z-index: 9;
}

.ur-membership-tab-contents-wrapper {
  max-width: 100%;
  margin: 24px;
  display: block;
  padding: 0;
}

.ur-membership-subscription-create-form.ur-subscription__form {
  display: block;
}

.ur-subscription__form {
  display: flex;
  gap: 24px;
}
@media screen and (max-width: 1199px) {
  .ur-subscription__form {
    flex-direction: column;
  }
}

.ur-subscription__form--left {
  flex: 1;
}

.ur-subscription__form--right {
  max-width: 400px;
  width: 100%;
}
@media screen and (max-width: 1399px) {
  .ur-subscription__form--right {
    max-width: 280px;
  }
}
@media screen and (max-width: 1199px) {
  .ur-subscription__form--right {
    max-width: 100%;
  }
}
.ur-subscription__form--right > div:not(:last-of-type) {
  margin-bottom: 24px;
}

.ur-subscription__main-content > div:not(:last-of-type) {
  margin-bottom: 24px;
}

.ur-subscription__main-content-wrapper {
  background: #fff;
  padding: 20px 24px;
  border-radius: 7px;
  border: 1px solid #e1e1e1;
}

.ur-subscription__summary-subscription-wrapper {
  margin-bottom: 20px;
  grid-column: 2/3;
}

.ur-subscription__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.ur-subscription__table thead th {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid #e9e9e9;
  font-weight: 600;
  font-size: 13px;
  color: #1f1f1f;
  background: #f6f7f7;
}
.ur-subscription__table tbody td {
  padding: 14px 14px;
  text-align: left;
  border-bottom: 1px solid #f0f0f1;
  font-size: 13px;
  color: #50575e;
  vertical-align: top;
  font-weight: 400;
}
.ur-subscription__table tbody tr:last-child td {
  border-bottom: none;
}

.ur-subscription a {
  color: #475bb2;
  text-decoration: none;
}

.ur-subscription__table-discount {
  font-size: 12px;
  color: #646970;
  margin-top: 4px;
}

.ur-subscription__table-price {
  font-weight: 600;
}

.ur-subscription__badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 500;
  text-transform: capitalize;
  border: 0;
  font-size: 14px;
  line-height: 20px;
}
.ur-subscription__badge--status-active, .ur-subscription__badge--status-completed {
  color: #3aa530;
  background: #def8db;
}
.ur-subscription__badge--status-pending {
  color: #ee9936;
  background: #fff3e7;
}
.ur-subscription__badge--status-failed {
  color: #d63638;
  background: #fcefef;
}
.ur-subscription__badge--status-refunded {
  color: #8c8f94;
  background: #f5f5f5;
}

.ur-subscription__badge--trial {
  color: #475bb2;
  border-color: #475bb2;
  background-color: #f0f6fc;
}

.ur-subscription__badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ur-subscription__actions {
  padding: 15px 0 0 0;
  margin-top: 15px;
  border-top: 1px solid #ccd0d4;
}

.ur-subscription__actions-button {
  width: 100%;
  margin-bottom: 10px;
}
.ur-subscription__actions-button:last-child {
  margin-bottom: 0;
}

.ur-subscription__fields {
  background: #fff;
  padding: 24px;
  border-radius: 7px;
  border: 1px solid #e1e1e1;
}

.ur-subscription__fields-header {
  font-weight: 600;
  font-size: 18px;
  line-height: 26px;
  color: #383838;
  margin: 0;
  margin: 0 0 24px;
  padding: 0 0 16px;
  border-bottom: 1px solid #e1e1e1;
}

.ur-subscription__fields-content > div:not(:last-of-type) {
  margin-bottom: 24px;
}

.ur-subscription__field-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ur-subscription__field-label {
  font-weight: 600;
  font-size: 13px;
  color: #1d2327;
}

.ur-subscription__field-input {
  width: 100%;
}
.ur-subscription__field-input input[type=text] {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #8c8f94;
  border-radius: 3px;
  font-size: 13px;
}
.ur-subscription__field-input input[type^=date] {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #8c8f94;
  border-radius: 3px;
  font-size: 13px;
}
.ur-subscription__field-input select {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #8c8f94;
  border-radius: 3px;
  font-size: 13px;
}

.ur-subscription__readonly-field {
  background-color: #f6f7f7;
  color: #50575e;
  cursor: not-allowed;
}

.ur-subscription__field-description {
  margin-top: 5px;
  font-size: 12px;
  color: #646970;
}

.ur-subscription__data {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ur-subscription__subscription-label {
  color: #50575e;
  text-align: left;
}

.ur-subscription__subscription-label-highlight {
  font-weight: 600;
}

.ur-subscription__subscription-total {
  text-align: right;
  font-weight: 600;
  color: #1d2327;
}

.ur-subscription__subscription-description {
  font-size: 12px;
  color: #646970;
  font-style: italic;
}

.ur-subscription__section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
  padding: 0 0 16px;
  border-bottom: 1px solid #e1e1e1;
}

.ur-subscription__section-title {
  font-weight: 600;
  font-size: 18px;
  line-height: 26px;
  color: #383838;
  margin: 0;
}

.ur-subscription__item-info > .ur-subscription__section-content {
  display: block;
}

.ur-subscription__section-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.ur-subscription__section-column > div:not(:last-of-type) {
  margin-bottom: 16px;
}

.ur-subscription__section-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ur-subscription__section-item > div:not(:last-of-type) {
  margin-bottom: 8px;
}

.ur-subscription__section-label {
  font-size: 14px;
  color: #383838;
  font-weight: 500;
}

.ur-subscription__section-value {
  font-size: 13px;
  color: #1d2327;
  font-weight: 400;
}

.ur-subscription__section-link {
  color: #475bb2;
  text-decoration: underline;
  font-size: 13px;
  margin-top: 4px;
}
.ur-subscription__section-link:hover {
  color: #135e96;
}

.ur-subscription__section-id {
  background-color: #f6f7f7;
  border: 1px solid #dcdcde;
  border-radius: 3px;
  padding: 8px 12px;
  font-size: 13px;
  color: #1d2327;
  font-family: monospace;
  word-break: break-all;
}

.ur-subscription__subscription-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media screen and (min-width: 1200px) and (max-width: 1399px) {
  .ur-subscription__subscription-actions {
    flex-direction: column;
  }
}
.ur-subscription__subscription-actions .action.button {
  text-align: center;
  background: #ffffff;
  border-color: #475bb2;
  color: #475bb2;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-family: inherit;
}
.ur-subscription__subscription-actions .action.button:hover {
  background: #475bb2;
  border-color: #475bb2;
  color: #ffffff;
}
.ur-subscription__subscription-actions .action.delete {
  border-color: #f25656;
  color: #f25656;
}
.ur-subscription__subscription-actions .action.delete:hover {
  background: #f25656;
  border-color: #f25656;
  color: #ffffff;
}

.ur-subscription__user {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.ur-subscription__user-avatar {
  margin-bottom: 20px;
  border-radius: 50%;
  width: 100px;
  height: 100px;
}

.ur-subscription__user-name {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.ur-subscription__user-email {
  font-size: 14px;
}

.ur-subscription__table {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #E1E1E1;
  border-radius: 5px;
  margin-bottom: 0;
}
.ur-subscription__table-head {
  font-weight: 500;
  background: #475bb2;
  color: #ffffff;
}
.ur-subscription__table-body {
  color: #383838;
  font-weight: 400;
}
.ur-subscription__table-head, .ur-subscription__table-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  margin-bottom: 0;
  font-family: inherit;
}
@media screen and (max-width: 1199px) {
  .ur-subscription__table-head, .ur-subscription__table-body {
    min-width: 650px;
  }
}
.ur-subscription__table-head:has(:nth-child(2):last-child), .ur-subscription__table-body:has(:nth-child(2):last-child) {
  grid-template-columns: repeat(2, 1fr);
}
.ur-subscription__table-head:has(:nth-child(3):last-child), .ur-subscription__table-body:has(:nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
}
.ur-subscription__table-head:has(:nth-child(4):last-child), .ur-subscription__table-body:has(:nth-child(4):last-child) {
  grid-template-columns: repeat(4, 1fr);
}
.ur-subscription__table-head:has(:nth-child(5):last-child), .ur-subscription__table-body:has(:nth-child(5):last-child) {
  grid-template-columns: repeat(5, 1fr);
}
.ur-subscription__table-head:has(:nth-child(6):last-child), .ur-subscription__table-body:has(:nth-child(6):last-child) {
  grid-template-columns: repeat(6, 1fr);
}
.ur-subscription__table-head:has(:nth-child(7):last-child), .ur-subscription__table-body:has(:nth-child(7):last-child) {
  grid-template-columns: repeat(7, 1fr);
}
.ur-subscription__table-head:has(:nth-child(8):last-child), .ur-subscription__table-body:has(:nth-child(8):last-child) {
  grid-template-columns: repeat(8, 1fr);
}
.ur-subscription__table-item-link:focus {
  outline: none;
  box-shadow: none;
}

.ur-subscription__trial-notice {
  background-color: rgb(240, 242, 250);
  border-color: #475bb2;
  border-radius: 0px;
  border-width: 0px;
  border-style: solid;
  border-left-width: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: none;
}
.ur-subscription__trial-notice svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}
.ur-subscription__trial-notice > div {
  flex: 1;
}
.ur-subscription__trial-notice__title {
  font-weight: 600;
  color: #475bb2;
}
.ur-subscription__trial-notice__content {
  color: rgb(90, 107, 168);
}

.ur-membership-tab-contents-wrapper .ur-membership-subscription-create-form .user-registration-card {
  padding: 24px 28px;
  border: 1px solid #e1e1e1;
  background: #ffffff;
  border-radius: 13px;
}

.ur-subscription__events {
  padding: 0;
  margin: 0;
}
.ur-subscription__events-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.ur-subscription__event {
  position: relative;
  padding-left: 32px;
  padding-bottom: 18px;
}
.ur-subscription__event-main {
  display: flex;
  gap: 10px;
}
.ur-subscription__event:last-child {
  padding-bottom: 0;
}
.ur-subscription__event:last-child::before {
  display: none;
}
.ur-subscription__event::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 16px;
  bottom: -4px;
  width: 2px;
  background-color: #edeff7;
}
.ur-subscription__event-marker {
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #2271b1;
  z-index: 1;
}
.ur-subscription__event--success .ur-subscription__event-marker {
  border-color: #10b981;
}
.ur-subscription__event--info .ur-subscription__event-marker, .ur-subscription__event--reminder .ur-subscription__event-marker {
  border-color: #3b82f6;
}
.ur-subscription__event--warning .ur-subscription__event-marker {
  border-color: #f59e0b;
}
.ur-subscription__event--error .ur-subscription__event-marker, .ur-subscription__event--failed .ur-subscription__event-marker, .ur-subscription__event--danger .ur-subscription__event-marker {
  border-color: #ef4444;
}
.ur-subscription__event-body {
  padding: 0;
}
.ur-subscription__event-title {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: #1f1f1f;
  line-height: 1.4;
}
.ur-subscription__event-date {
  margin: 0 0 4px 0;
  font-size: 12px;
  color: #737373;
  line-height: 1.4;
}
.ur-subscription__event-message {
  margin-top: 4px;
  font-size: 12px;
  color: #6B6B6B;
  line-height: 1.5;
}
.ur-subscription__event-meta {
  margin: 0;
  font-size: 12px;
  color: #374151;
  line-height: 1.5;
}
.ur-subscription__event-meta-line {
  margin: 0 0 2px 0;
}
.ur-subscription__event-meta-line:last-child {
  margin-bottom: 0;
}
.ur-subscription__event-meta-line strong {
  font-weight: 600;
  color: #4b5563;
}

.ur-subscription__section-footer {
  padding-top: 15px;
}
.ur-subscription__section-footer .action.button {
  text-align: center;
  background-color: white;
  border-color: #475bb2;
  color: #475bb2;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
}
.ur-subscription__section-footer .action.button:hover {
  border-color: #475bb2;
  color: #475bb2;
  background-color: white;
}
.ur-subscription__section-footer .action.button + .button.delete {
  margin-left: 0;
  margin-top: 8px;
}