// Checkout Subscription Summary
.arraysubs-checkout-summary {
  margin: 20px 0;
  padding: 20px;
  background: #f9f9f9;
  border: 2px solid #96588a;
  border-radius: 5px;

  h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
  }

  .subscription-item {
    margin-bottom: 20px;

    &:last-child {
      margin-bottom: 0;
    }

    h4 {
      margin: 0 0 10px 0;
      font-size: 16px;
      color: #96588a;
    }

    .subscription-terms {
      list-style: none;
      margin: 0;
      padding: 0;

      li {
        margin-bottom: 8px;
        font-size: 14px;

        &:last-child {
          margin-bottom: 0;
        }

        strong {
          display: inline-block;
          min-width: 100px;
          color: #555;
        }
      }
    }
  }

  .subscription-notice {
    margin: 15px 0 0 0;
    padding: 12px;
    background: #fff9e6;
    border-left: 3px solid #f0ad4e;
    font-size: 13px;
    color: #856404;
    line-height: 1.5;
  }
}

// Order Subscriptions Table
.arraysubs-order-subscriptions {
  margin: 30px 0;

  h2 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  table {
    width: 100%;
    border-collapse: collapse;

    th,
    td {
      padding: 12px;
      text-align: left;
      border-bottom: 1px solid #ddd;
    }

    th {
      background: #f5f5f5;
      font-weight: 600;
    }

    .subscription-status {
      display: inline-block;
      padding: 4px 10px;
      border-radius: 3px;
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;

      &.status-arraysubs-active {
        background: #d4edda;
        color: #155724;
      }

      &.status-arraysubs-pending {
        background: #fff3cd;
        color: #856404;
      }

      &.status-arraysubs-on-hold {
        background: #f8d7da;
        color: #721c24;
      }

      &.status-arraysubs-cancelled {
        background: #e2e3e5;
        color: #383d41;
      }

      &.status-arraysubs-trial {
        background: #d1ecf1;
        color: #0c5460;
      }
    }

    small {
      display: block;
      color: #666;
      font-size: 0.9em;
      margin-top: 2px;
    }
  }
}
