/* ============================================
   NDIM - NDIStress Membership Plugin Styles
   ============================================ */

/* Content Restriction Blocks */
.ndim-restrict {
  background: var(--color-cream, #F5F3F0);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  margin: 30px 0;
}

.ndim-restrict__icon {
  margin-bottom: 16px;
}

.ndim-restrict__icon svg {
  color: var(--color-primary, #5B2D8E);
}

.ndim-restrict h4 {
  font-family: var(--font-heading, "Ovo", serif);
  font-size: 24px;
  margin-bottom: 10px;
}

.ndim-restrict p {
  color: rgba(7, 8, 7, 0.7);
  margin-bottom: 20px;
}

.ndim-restrict--join {
  border: 2px dashed var(--color-primary, #5B2D8E);
  background: var(--color-primary-light, #EDE7F6);
}

/* Dashboard Status Badge (plugin-enhanced) */
.ndim-status-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ndim-status-badge--active {
  background: #d4edda;
  color: #155724;
}

.ndim-status-badge--pending {
  background: #fff3cd;
  color: #856404;
}

.ndim-status-badge--cancelled {
  background: #f8d7da;
  color: #721c24;
}

.ndim-status-badge--expired {
  background: #e2e3e5;
  color: #383d41;
}

.ndim-status-badge--none {
  background: #e2e3e5;
  color: #383d41;
}

/* Commitment Progress Bar */
.ndim-progress {
  width: 100%;
  height: 8px;
  background: var(--color-cream, #F5F3F0);
  border-radius: 4px;
  overflow: hidden;
  margin: 12px 0;
}

.ndim-progress__bar {
  height: 100%;
  background: var(--gradient-brand, linear-gradient(135deg, #5B2D8E, #E8873D));
  border-radius: 4px;
  transition: width 0.6s ease;
}

/* Activity Log Items */
.ndim-activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border, rgba(0,0,0,0.08));
}

.ndim-activity-item:last-child {
  border-bottom: none;
}

.ndim-activity-item__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary-light, #EDE7F6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ndim-activity-item__icon svg {
  color: var(--color-primary, #5B2D8E);
}

.ndim-activity-item__content {
  flex: 1;
}

.ndim-activity-item__text {
  font-size: 14px;
  margin: 0;
}

.ndim-activity-item__date {
  font-size: 12px;
  color: rgba(7, 8, 7, 0.5);
  margin: 2px 0 0;
}

/* Manage Billing Button */
.ndim-manage-billing {
  margin-top: 16px;
}

/* Alert Messages */
.ndim-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.ndim-alert--success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.ndim-alert--error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.ndim-alert--warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}
