/**
 * ============================================================================
 * Profile Enterprise Stylesheet — Pure CSS
 * ============================================================================
 *
 * Styles for the enterprise profile page (profile-clean.blade.php).
 * Uses the `prof__` BEM-like prefix for all class names.
 * Consumes CSS custom properties from the layout for theme support.
 *
 * NO Bootstrap. NO Tailwind. Pure CSS with Flexbox/Grid.
 *
 * @package    HolosuiteIndustries
 * @subpackage CSS/Profile
 * @version    1.0.0
 * @author     Platform Team
 * @license    Proprietary
 * ============================================================================
 */

/* ═══════════════════════════════════════════════════════════════════════════
   CSS CUSTOM PROPERTY DEFAULTS (fallbacks when layout vars unavailable)
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --prof-bg: var(--body-bg, #f5f5f5);
  --prof-text: var(--text-color, #1a1a2e);
  --prof-text-muted: var(--text-muted, #6b7280);
  --prof-card-bg: var(--card-bg, #ffffff);
  --prof-border: var(--border-color, #e5e7eb);
  --prof-primary: var(--primary, #D4A574);
  --prof-primary-hover: var(--primary-hover, #c4955f);
  --prof-accent: #667eea;
  --prof-accent-hover: #5a6fd6;
  --prof-danger: #ef4444;
  --prof-danger-hover: #dc2626;
  --prof-success: #22c55e;
  --prof-success-hover: #16a34a;
  --prof-input-bg: var(--input-bg, #ffffff);
  --prof-input-border: var(--input-border, #d1d5db);
  --prof-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --prof-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --prof-radius: 16px;
  --prof-radius-sm: 8px;
  --prof-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES
   ═══════════════════════════════════════════════════════════════════════════ */
[data-theme="dark"] {
  --prof-bg: var(--body-bg, #0d0d1a);
  --prof-text: var(--text-color, #f0f0f5);
  --prof-text-muted: var(--text-muted, #8a8a9a);
  --prof-card-bg: var(--card-bg, #1a1a2e);
  --prof-border: var(--border-color, #2a2a3e);
  --prof-input-bg: var(--input-bg, #1e1e32);
  --prof-input-border: var(--input-border, #2d2d44);
  --prof-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --prof-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PAGE WRAPPER
   ═══════════════════════════════════════════════════════════════════════════ */

.prof__wrapper {
  min-height: 100vh;
  background-color: var(--prof-bg);
  color: var(--prof-text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 4rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COVER IMAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/**
 * Full-width cover image with gradient overlay.
 * Aspect ratio maintained via padding-bottom technique.
 */
.prof__cover {
  position: relative;
  width: 100%;
  height: 320px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--prof-border);
  overflow: hidden;
}

.prof__cover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  pointer-events: none;
}

/**
 * Cover action buttons — positioned top-right over the cover image.
 */
.prof__cover-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}

.prof__cover-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--prof-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--prof-transition), border-color var(--prof-transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.prof__cover-button:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.4);
}

.prof__cover-button--danger:hover {
  background: rgba(239, 68, 68, 0.7);
  border-color: rgba(239, 68, 68, 0.5);
}

/* ═══════════════════════════════════════════════════════════════════════════
   AVATAR + USER INFO SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

/**
 * Profile info section — centered layout below cover image.
 * Avatar overlaps the cover by negative margin.
 */
.prof__info {
  position: relative;
  max-width: 800px;
  margin: -60px auto 0;
  padding: 0 1.5rem;
  text-align: center;
  z-index: 3;
}

/**
 * Avatar wrapper — circular with border and shadow.
 */
.prof__avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.prof__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--prof-card-bg);
  box-shadow: var(--prof-shadow);
  object-fit: cover;
  background-color: var(--prof-border);
}

/**
 * Avatar edit button — small camera icon overlay on the avatar.
 */
.prof__avatar-edit {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--prof-primary);
  color: #ffffff;
  border: 2px solid var(--prof-card-bg);
  border-radius: 50%;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background var(--prof-transition), transform var(--prof-transition);
}

.prof__avatar-edit:hover {
  background: var(--prof-primary-hover);
  transform: scale(1.1);
}

/**
 * User display name — large heading.
 */
.prof__name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--prof-text);
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

/**
 * Username handle — muted text below the name.
 */
.prof__username {
  font-size: 1rem;
  color: var(--prof-text-muted);
  margin: 0 0 0.75rem;
  font-weight: 400;
}

/**
 * User bio/story text.
 */
.prof__bio {
  font-size: 0.95rem;
  color: var(--prof-text-muted);
  margin: 0 auto 1.25rem;
  max-width: 600px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STATS ROW
   ═══════════════════════════════════════════════════════════════════════════ */

/**
 * Horizontal stats bar — posts, followers, following counts.
 * Uses flexbox for even distribution with dividers.
 */
.prof__stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.25rem;
  padding: 1rem 0;
}

.prof__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.prof__stat-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--prof-text);
  line-height: 1.2;
}

.prof__stat-label {
  font-size: 0.8rem;
  color: var(--prof-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SOCIAL LINKS
   ═══════════════════════════════════════════════════════════════════════════ */

/**
 * Social media icon links — horizontal row of circular icon buttons.
 */
.prof__socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.prof__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--prof-card-bg);
  border: 1px solid var(--prof-border);
  color: var(--prof-text-muted);
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--prof-transition), color var(--prof-transition),
              border-color var(--prof-transition), transform var(--prof-transition);
}

.prof__social-link:hover {
  background: var(--prof-primary);
  color: #ffffff;
  border-color: var(--prof-primary);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ACTION BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */

/**
 * Profile action buttons — edit profile, settings, subscribe, message.
 * Flexbox row with wrapping for smaller viewports.
 */
.prof__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.prof__inline-form {
  display: inline;
  margin: 0;
  padding: 0;
}

/**
 * Base button style — shared across all profile action buttons.
 */
.prof__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--prof-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--prof-transition), color var(--prof-transition),
              border-color var(--prof-transition), transform var(--prof-transition),
              box-shadow var(--prof-transition);
  line-height: 1.4;
}

.prof__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.prof__button:active {
  transform: translateY(0);
  box-shadow: none;
}

/** Primary button — solid accent color. */
.prof__button--primary {
  background: var(--prof-primary);
  color: #ffffff;
  border-color: var(--prof-primary);
}

.prof__button--primary:hover {
  background: var(--prof-primary-hover);
  border-color: var(--prof-primary-hover);
}

/** Outline button — transparent with border. */
.prof__button--outline {
  background: transparent;
  color: var(--prof-text);
  border-color: var(--prof-border);
}

.prof__button--outline:hover {
  background: var(--prof-card-bg);
  border-color: var(--prof-primary);
  color: var(--prof-primary);
}

/** Accent button — gradient accent for subscribe CTA. */
.prof__button--accent {
  background: linear-gradient(135deg, var(--prof-accent), #764ba2);
  color: #ffffff;
  border-color: transparent;
}

.prof__button--accent:hover {
  background: linear-gradient(135deg, var(--prof-accent-hover), #6a4199);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

/** Success button — green for subscribed state. */
.prof__button--success {
  background: var(--prof-success);
  color: #ffffff;
  border-color: var(--prof-success);
}

.prof__button--success:hover {
  background: var(--prof-success-hover);
  border-color: var(--prof-success-hover);
}

/** Full-width button variant. */
.prof__button--full {
  width: 100%;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTENT SECTION + POSTS GRID
   ═══════════════════════════════════════════════════════════════════════════ */

/**
 * Content area — contains the posts header and grid.
 * Centered with max-width for readability.
 */
.prof__content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/**
 * Content header — section title with post count badge.
 */
.prof__content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--prof-border);
}

.prof__section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--prof-text);
  margin: 0;
}

.prof__post-count {
  font-size: 0.85rem;
  color: var(--prof-text-muted);
  font-weight: 500;
}

/**
 * Posts grid — responsive card layout using CSS Grid.
 * Auto-fills columns with a minimum width of 280px.
 */
.prof__posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

/**
 * Individual post card — clickable card with media and text.
 */
.prof__post-card {
  display: flex;
  flex-direction: column;
  background: var(--prof-card-bg);
  border: 1px solid var(--prof-border);
  border-radius: var(--prof-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--prof-text);
  transition: transform var(--prof-transition), box-shadow var(--prof-transition),
              border-color var(--prof-transition);
}

.prof__post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--prof-shadow-lg);
  border-color: var(--prof-primary);
}

/**
 * Post media container — image/video thumbnail area.
 */
.prof__post-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--prof-border);
}

.prof__post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--prof-transition);
}

.prof__post-card:hover .prof__post-media img {
  transform: scale(1.05);
}

/**
 * Video play icon overlay — centered on video post thumbnails.
 */
.prof__post-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.1rem;
  z-index: 2;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/**
 * Post body — text content and metadata below the media.
 */
.prof__post-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.prof__post-text {
  font-size: 0.9rem;
  color: var(--prof-text);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prof__post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.prof__post-date {
  font-size: 0.8rem;
  color: var(--prof-text-muted);
}

/**
 * Empty state — shown when user has no posts.
 */
.prof__empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--prof-text-muted);
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   AVATAR UPLOAD MODAL (in-page dialog, not a page-level overlay)
   ═══════════════════════════════════════════════════════════════════════════ */

/**
 * Modal overlay — full-screen backdrop with centered dialog card.
 * This is an in-page avatar upload dialog, NOT a page-level modal route.
 * Uses flexbox centering and backdrop blur.
 */
.prof__modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/**
 * Modal card — the actual dialog container for avatar upload.
 */
.prof__modal {
  background: var(--prof-card-bg);
  border-radius: var(--prof-radius);
  box-shadow: var(--prof-shadow-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--prof-border);
}

.prof__modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--prof-border);
}

.prof__modal-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--prof-text);
}

/**
 * Modal close button — minimal X icon.
 */
.prof__modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--prof-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--prof-transition), color var(--prof-transition);
  line-height: 1;
}

.prof__modal-close:hover {
  background: var(--prof-border);
  color: var(--prof-text);
}

.prof__modal-body {
  padding: 1.5rem;
}

.prof__modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--prof-border);
}

/* ═══════════════════════════════════════════════════════════════════════════
   AVATAR TABS + DROPZONE + WEBCAM
   ═══════════════════════════════════════════════════════════════════════════ */

/**
 * Avatar upload tab switcher — upload vs webcam capture.
 */
.prof__avatar-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.prof__avatar-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: transparent;
  border: 1px solid var(--prof-border);
  border-radius: var(--prof-radius-sm);
  color: var(--prof-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--prof-transition), color var(--prof-transition),
              border-color var(--prof-transition);
}

.prof__avatar-tab:hover {
  background: var(--prof-card-bg);
  border-color: var(--prof-primary);
  color: var(--prof-text);
}

.prof__avatar-tab--active {
  background: var(--prof-primary);
  color: #ffffff;
  border-color: var(--prof-primary);
}

.prof__avatar-tab--active:hover {
  background: var(--prof-primary-hover);
  color: #ffffff;
}

/**
 * Dropzone — drag-and-drop area for avatar file upload.
 */
.prof__dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border: 2px dashed var(--prof-border);
  border-radius: var(--prof-radius);
  background: var(--prof-input-bg);
  cursor: pointer;
  transition: border-color var(--prof-transition), background var(--prof-transition);
  overflow: hidden;
}

.prof__dropzone:hover,
.prof__dropzone--active {
  border-color: var(--prof-primary);
  background: rgba(212, 165, 116, 0.05);
}

.prof__dropzone-placeholder {
  text-align: center;
  padding: 2rem;
  color: var(--prof-text-muted);
}

.prof__dropzone-placeholder i {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
  color: var(--prof-primary);
}

.prof__dropzone-placeholder p {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--prof-text);
}

.prof__dropzone-placeholder span {
  font-size: 0.8rem;
  color: var(--prof-text-muted);
}

.prof__dropzone-preview {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 300px;
}

/**
 * Webcam capture container and controls.
 */
.prof__webcam-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 320px;
  border-radius: var(--prof-radius);
  overflow: hidden;
  background: #000000;
  margin-bottom: 1rem;
}

.prof__webcam-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prof__webcam-captured {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prof__webcam-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SUBSCRIPTION MODAL ELEMENTS
   ═══════════════════════════════════════════════════════════════════════════ */

/**
 * Subscription info block — avatar + pricing text.
 */
.prof__sub-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--prof-input-bg);
  border-radius: var(--prof-radius-sm);
  border: 1px solid var(--prof-border);
}

.prof__sub-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.prof__sub-info p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--prof-text);
  line-height: 1.5;
}

.prof__sub-info strong {
  color: var(--prof-primary);
  font-weight: 700;
}

/**
 * Subscription perks list — checkmark items.
 */
.prof__sub-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.prof__sub-perks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--prof-text);
}

.prof__sub-perks li i {
  color: var(--prof-success);
  font-size: 0.85rem;
}

/**
 * Radio group — payment gateway selection.
 */
.prof__radio-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: var(--prof-input-bg);
  border: 1px solid var(--prof-border);
  border-radius: var(--prof-radius-sm);
  cursor: pointer;
  transition: border-color var(--prof-transition), background var(--prof-transition);
}

.prof__radio-group:hover {
  border-color: var(--prof-primary);
}

.prof__radio {
  width: 18px;
  height: 18px;
  accent-color: var(--prof-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.prof__radio-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--prof-text);
  cursor: pointer;
}

/**
 * Checkbox — terms agreement.
 */
.prof__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.85rem;
  color: var(--prof-text-muted);
  cursor: pointer;
}

.prof__checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--prof-primary);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.prof__checkbox a {
  color: var(--prof-primary);
  text-decoration: none;
}

.prof__checkbox a:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PAGINATION (Laravel default pagination links)
   ═══════════════════════════════════════════════════════════════════════════ */

/**
 * Pagination wrapper — centers the Laravel pagination links.
 */
.prof__content nav {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════════════════════ */

/**
 * Tablet breakpoint — adjusts cover height, avatar size, and grid columns.
 */
@media (max-width: 768px) {
  .prof__cover {
    height: 220px;
  }

  .prof__avatar {
    width: 96px;
    height: 96px;
  }

  .prof__info {
    margin-top: -48px;
  }

  .prof__name {
    font-size: 1.4rem;
  }

  .prof__stats {
    gap: 1.25rem;
  }

  .prof__stat-num {
    font-size: 1.1rem;
  }

  .prof__posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
  }

  .prof__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .prof__button {
    justify-content: center;
  }
}

/**
 * Mobile breakpoint — single column layout, compact spacing.
 */
@media (max-width: 480px) {
  .prof__cover {
    height: 180px;
  }

  .prof__avatar {
    width: 80px;
    height: 80px;
  }

  .prof__info {
    margin-top: -40px;
    padding: 0 1rem;
  }

  .prof__name {
    font-size: 1.2rem;
  }

  .prof__username {
    font-size: 0.9rem;
  }

  .prof__stats {
    gap: 1rem;
  }

  .prof__content {
    padding: 0 1rem;
  }

  .prof__posts-grid {
    grid-template-columns: 1fr;
  }

  .prof__cover-button span {
    display: none;
  }

  .prof__modal {
    max-width: 100%;
    border-radius: var(--prof-radius-sm);
  }

  .prof__avatar-tabs {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   UTILITY: DISPLAY NONE (used by Blade template for hidden inputs/forms)
   ═══════════════════════════════════════════════════════════════════════════ */

/**
 * Visually hidden utility — used for file inputs and hidden forms.
 */
.display-none {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CAMPAIGN SUBSCRIPTION CARD — Active Promotion Offer
   Displayed on the creator's profile when they have an active promotion campaign.
   Shows discount percentage, pricing, expiry, and subscription form.
   ═══════════════════════════════════════════════════════════════════════════ */

/**
 * Campaign card container — centered panel with accent border-top.
 * Positioned between the action buttons and the posts grid.
 */
.prof__campaign-card {
  max-width: 500px;
  margin: 0 auto 2.5rem;
  background: var(--prof-card-bg);
  border: 1px solid var(--prof-border);
  border-radius: var(--prof-radius);
  overflow: hidden;
  box-shadow: var(--prof-shadow);
  border-top: 3px solid var(--prof-accent);
}

/**
 * Campaign header — badge with discount % and expiry countdown.
 */
.prof__campaign-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.06));
  border-bottom: 1px solid var(--prof-border);
}

.prof__campaign-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: linear-gradient(135deg, var(--prof-accent), #764ba2);
  color: #ffffff;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.prof__campaign-badge i {
  font-size: 0.75rem;
}

.prof__campaign-expires {
  font-size: 0.78rem;
  color: var(--prof-text-muted);
  font-weight: 500;
}

/**
 * Campaign body — main content area with pricing and form.
 */
.prof__campaign-body {
  padding: 1.5rem;
}

/**
 * Avatar row — creator avatar + info.
 */
.prof__campaign-avatar-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.prof__campaign-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--prof-border);
  flex-shrink: 0;
}

.prof__campaign-creator-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.prof__campaign-creator-info strong {
  font-size: 0.95rem;
  color: var(--prof-text);
}

.prof__campaign-offer-text {
  font-size: 0.8rem;
  color: var(--prof-accent);
  font-weight: 500;
}

/**
 * Campaign message — custom message from the creator.
 */
.prof__campaign-message {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  background: var(--prof-input-bg);
  border-left: 3px solid var(--prof-accent);
  border-radius: 0 var(--prof-radius-sm) var(--prof-radius-sm) 0;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--prof-text-muted);
  line-height: 1.5;
}

/**
 * Pricing section — original price crossed out + discounted price.
 */
.prof__campaign-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.prof__campaign-original-price {
  font-size: 0.9rem;
  color: var(--prof-text-muted);
  text-decoration: line-through;
  font-weight: 400;
}

.prof__campaign-discounted-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--prof-accent);
  line-height: 1.2;
}

.prof__campaign-price-note {
  font-size: 0.78rem;
  color: var(--prof-text-muted);
  font-weight: 400;
}

/**
 * Campaign perks list — checkmark items showing subscriber benefits.
 */
.prof__campaign-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.prof__campaign-perks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--prof-text);
}

.prof__campaign-perks li i {
  color: var(--prof-success);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/**
 * Campaign form — payment gateway selection + subscribe button.
 */
.prof__campaign-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.prof__campaign-form .prof__radio-group {
  margin-bottom: 0;
}

.prof__campaign-form .prof__checkbox {
  margin: 0.75rem 0;
}

.prof__campaign-form .prof__btn--accent {
  margin-top: 0.5rem;
}

/* ── Campaign Card Responsive ─────────────────────────────────────────── */

@media (max-width: 768px) {
  .prof__campaign-card {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .prof__campaign-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .prof__campaign-body {
    padding: 1rem;
  }

  .prof__campaign-pricing {
    flex-direction: column;
    gap: 0.25rem;
  }

  .prof__campaign-discounted-price {
    font-size: 1.3rem;
  }
}
