/* ==========================================================================
   OFPIC — Account / Dashboard Panel
   Extracted from micuenta/administrar.phtml + profile pages
   ========================================================================== */

/* ── Admin panel layout ─────────────────────────────────────────────────── */

.admin-panel {
  background: var(--color-surface-soft, #FAFAFA);
  min-height: 100vh;
  padding: 0;
}

.admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem;
}

/* ── Sidebar ────────────────────────────────────────────────────────────── */

.admin-sidebar {
  background: var(--color-surface, #fff);
  border-radius: var(--radius-xl, 16px);
  padding: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: sticky;
  top: 98px; /* below sticky header */
}

.sidebar-header {
  background: linear-gradient(135deg, var(--brand-500, #B89A5B) 0%, #D4B87A 100%);
  color: #fff;
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.sidebar-header .user-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.sidebar-header h4 {
  margin: 0 0 5px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}

.sidebar-header p {
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.85;
}

/* ── Sidebar navigation ── */

.sidebar-nav {
  padding: 0.9375rem 0;
}

.nav-section {
  padding: 0 0.9375rem;
  margin-bottom: 0.9375rem;
}

.nav-section-title {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #9a9a9a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.625rem 0.625rem 0.3125rem;
  margin: 0;
}

.nav-item {
  display: flex;
  padding: 0.75rem 0.9375rem;
  color: #6B6B6B;
  text-decoration: none;
  border-radius: var(--radius-md, 10px);
  margin: 3px 0;
  transition: all var(--duration-fast, 150ms) var(--ease-out, ease);
  font-size: 0.875rem;
  align-items: center;
  gap: 0.75rem;
}

.nav-item:hover {
  background: var(--color-surface-soft, #FAFAFA);
  color: var(--brand-500, #B89A5B);
  text-decoration: none;
}

.nav-item.active {
  background: linear-gradient(135deg, var(--brand-500, #B89A5B), #D4B87A);
  color: #fff;
  font-weight: 500;
}

.nav-item i {
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.nav-item .badge {
  margin-left: auto;
  background: var(--brand-500, #B89A5B);
  color: #fff;
  font-size: 0.625rem;
  padding: 3px 8px;
  border-radius: var(--radius-pill, 10px);
}

.nav-item.active .badge {
  background: rgba(255, 255, 255, 0.3);
}

/* ── Admin content area ── */

.admin-content {
  background: transparent;
}

/* ── Quick actions grid ── */

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.9375rem;
  margin-bottom: 1.5rem;
}

.quick-action-btn {
  background: var(--color-surface, #fff);
  border-radius: var(--radius-lg, 12px);
  padding: 1.25rem 0.9375rem;
  text-align: center;
  text-decoration: none;
  color: var(--color-text, #1a1a1a);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast, 150ms) var(--ease-out, ease);
  border: 2px solid transparent;
}

.quick-action-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-500, #B89A5B);
  text-decoration: none;
  color: var(--brand-500, #B89A5B);
}

.quick-action-btn .action-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg, 12px);
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.quick-action-btn .action-icon.red    { background: rgba(184, 154, 91, 0.1);  color: #B89A5B; }
.quick-action-btn .action-icon.green  { background: rgba(40, 167, 69, 0.1);  color: #28a745; }
.quick-action-btn .action-icon.blue   { background: rgba(14, 165, 233, 0.1); color: #0ea5e9; }
.quick-action-btn .action-icon.purple { background: rgba(111, 66, 193, 0.1); color: #6f42c1; }
.quick-action-btn .action-icon.orange { background: rgba(253, 126, 20, 0.1); color: #fd7e14; }

.quick-action-btn span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ── Upload button ── */

.upload-main-btn {
  display: block;
  background: linear-gradient(135deg, var(--brand-500, #B89A5B) 0%, #D4B87A 100%);
  color: #fff;
  padding: 0.9375rem 1.25rem;
  border-radius: var(--radius-lg, 12px);
  text-align: center;
  text-decoration: none;
  margin: 0.9375rem;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--duration-fast, 150ms) var(--ease-out, ease);
  box-shadow: 0 4px 15px rgba(184, 154, 91, 0.3);
}

.upload-main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 154, 91, 0.4);
  color: #fff;
  text-decoration: none;
}

.upload-main-btn i { margin-right: 8px; }

/* ── Profile page (micuenta.phtml) ──────────────────────────────────────── */

.profile-page .cover-image {
  border-radius: 0 0 var(--radius-xl, 16px) var(--radius-xl, 16px);
  overflow: hidden;
}

.profile-page .about-user {
  background: var(--color-surface-soft, #FAFAFA);
  border-radius: 0 0 var(--radius-xl, 16px) var(--radius-xl, 16px);
  padding-bottom: 1.5rem;
}

.profile-page .about-user h2 {
  font-family: var(--font-display, 'Sora', sans-serif);
}

.profile-page .about-description {
  max-width: 600px;
  margin: 0.75rem auto 1rem;
  background: var(--color-surface, #fff);
  padding: 1rem 1.5rem 0.6rem;
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-sm);
}

.profile-page .lower-buttons .btn {
  border-radius: var(--radius-pill, 999px);
  padding: 0.65rem 1.5rem;
  font-weight: 600;
}

/* ── Account forms (edit profile, billing, etc.) ────────────────────────── */

.account-form-card {
  background: var(--color-surface, #fff);
  border-radius: var(--radius-xl, 16px);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.account-form-card h3 {
  font-family: var(--font-display, 'Sora', sans-serif);
  margin-top: 0;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border, #E5E5E5);
}

.account-form-card .form-group label {
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: var(--color-text-muted, #6B6B6B);
  letter-spacing: 0.03em;
}

.account-form-card input[type="text"],
.account-form-card input[type="email"],
.account-form-card input[type="password"],
.account-form-card input[type="url"],
.account-form-card input[type="tel"],
.account-form-card input[type="number"],
.account-form-card select,
.account-form-card textarea {
  border-radius: var(--radius-md, 8px);
  border: 1px solid var(--color-border, #E5E5E5);
  transition: border-color var(--duration-fast, 150ms), box-shadow var(--duration-fast, 150ms);
}

.account-form-card input:focus,
.account-form-card select:focus,
.account-form-card textarea:focus {
  border-color: var(--brand-400, #C9AD6F);
  box-shadow: 0 0 0 3px rgba(184, 154, 91, 0.1);
  outline: none !important;
}

.account-form-card .btn-primary {
  border-radius: var(--radius-pill, 999px);
  padding: 0.65rem 2rem;
  font-weight: 600;
}

/* ── Stats cards (ingresos, dashboard) ──────────────────────────────────── */

.stat-card {
  background: var(--color-surface, #fff);
  border-radius: var(--radius-lg, 12px);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stat-card__value {
  font-size: var(--text-3xl, 2rem);
  font-weight: 700;
  font-family: var(--font-display, 'Sora', sans-serif);
  color: var(--color-text, #1a1a1a);
}

.stat-card__label {
  font-size: 0.8125rem;
  color: var(--color-text-muted, #6B6B6B);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.stat-card--accent .stat-card__value {
  color: var(--brand-500, #B89A5B);
}

/* ── Events grid in account ──────────────────────────────── */

.my-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.my-event-card {
  background: var(--color-surface, #fff);
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.my-event-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── Hide legacy sidebar in admin panel ── */
.admin-panel .left-menu-section {
  display: none !important;
}

/* ── Registration photographer wizard ──────────────────────────────────── */

.reg-wizard-container {
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.reg-wizard-steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem 0;
}

.reg-wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: .4;
  transition: opacity var(--duration-base);
}

.reg-wizard-step.active {
  opacity: 1;
}

.reg-wizard-step .step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface-soft);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  transition: all var(--duration-fast);
}

.reg-wizard-step.active .step-number {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
  box-shadow: 0 4px 12px rgba(184, 154, 91, .3);
}

.reg-wizard-step.completed .step-number {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.reg-wizard-step .step-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-text-muted);
}

.reg-wizard-step.active .step-label {
  color: var(--brand-500);
}

.reg-wizard-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

/* Plan cards in registration */
.plan-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.plan-card {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-fast);
  position: relative;
}

.plan-card:hover {
  border-color: var(--brand-500);
  box-shadow: 0 5px 15px rgba(184, 154, 91, .15);
  transform: translateY(-2px);
}

.plan-card.selected,
.plan-card.active {
  border-color: var(--brand-500);
  background: rgba(184, 154, 91, .02);
  box-shadow: 0 0 0 3px rgba(184, 154, 91, .12);
}

.plan-card .plan-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: .75rem;
}

.plan-card .plan-price {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--brand-500);
  font-family: var(--font-display);
}

.plan-card .plan-price small {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 400;
}

.plan-card .plan-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.plan-card .plan-features li {
  padding: .35rem 0;
  border-bottom: 1px solid var(--color-border);
}

.plan-card .plan-features li:last-child {
  border-bottom: none;
}

.plan-card .plan-popular {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--brand-500);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 0 var(--radius-xl) 0 var(--radius-lg);
  text-transform: uppercase;
}

/* Account type cards (comprador/fotografo) */
.tipo-card {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.tipo-card:hover {
  border-color: var(--brand-500);
  box-shadow: 0 5px 15px rgba(184, 154, 91, .15);
}

.tipo-card.selected {
  border-color: var(--brand-500);
  background: rgba(184, 154, 91, .03);
}

.tipo-card i {
  font-size: 2.5rem;
  color: var(--brand-500);
  display: block;
  margin-bottom: 1rem;
}

.tipo-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
}

/* Password strength indicator */
.password-strength {
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--color-border);
  overflow: hidden;
  margin-top: .5rem;
}

.password-strength-bar {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width .3s, background .3s;
}

/* ── Usage Guide (guiauso) ─────────────────────────────────────────────── */

.guide-page {
  padding: 2rem 0 3rem;
}

.guide-header {
  text-align: center;
  margin-bottom: 2rem;
}

.guide-header h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
}

.guide-header p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 500px;
  margin: .5rem auto 0;
}

.guide-tabs {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 2rem;
}

.guide-tab {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--duration-fast);
  color: var(--color-text-muted);
}

.guide-tab:hover {
  border-color: var(--brand-400);
  color: var(--brand-500);
}

.guide-tab.active {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(184, 154, 91, .25);
}

.guide-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.guide-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.guide-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.guide-section h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.guide-section h3 .guide-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: rgba(184, 154, 91, .1);
  color: var(--brand-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
}

.guide-section p,
.guide-section li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.guide-section ul {
  padding-left: 1.25rem;
}

.guide-section .guide-highlight {
  background: var(--color-surface-soft);
  border-left: 3px solid var(--brand-500);
  padding: .75rem 1rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1rem 0;
  font-size: var(--text-sm);
}

/* ── Earnings (ingresos) ───────────────────────────────────────────────── */

.earnings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.earnings-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.earnings-box h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--brand-500);
}

.earnings-box p {
  margin: .5rem 0;
  font-size: var(--text-sm);
  display: flex;
  justify-content: space-between;
}

.earnings-box .red {
  color: var(--brand-500);
  font-weight: 700;
}

.earnings-box .green {
  color: #16a34a;
  font-weight: 700;
}

.earnings-request-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--text-base);
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(184, 154, 91, .25);
  transition: all var(--duration-fast);
  margin-bottom: 1.5rem;
}

.earnings-request-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(184, 154, 91, .32);
}

.earnings-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  align-items: start;
}

.earnings-item .image-section {
  width: 120px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.earnings-item .image-section img {
  width: 100%;
  display: block;
}

.earnings-item .image-heading {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4px 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background: #16a34a;
}

.earnings-item .image-heading.red {
  background: var(--brand-500);
}

.earnings-item .text-section h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  margin: 0 0 .25rem;
}

.earnings-item .text-section p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: .2rem 0;
}

.earnings-item .details-list .list {
  font-size: var(--text-sm);
  padding: .35rem 0;
  border-bottom: 1px solid var(--color-border);
}

/* ── Portfolio ─────────────────────────────────────────────────────────── */

.portfolio-page {
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.portfolio-page h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: .5rem;
}

.portfolio-page .subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.portfolio-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.portfolio-section h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.portfolio-section h3 i {
  color: var(--brand-500);
}

.portfolio-cover {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-soft);
  min-height: 200px;
}

.portfolio-cover img {
  width: 100%;
  display: block;
}

.portfolio-cover .upload-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity var(--duration-fast);
  cursor: pointer;
}

.portfolio-cover:hover .upload-overlay {
  opacity: 1;
}

.portfolio-cover .upload-overlay i {
  font-size: 2rem;
  margin-bottom: .5rem;
}

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

.portfolio-slot {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-soft);
  border: 2px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast);
  position: relative;
}

.portfolio-slot:hover {
  border-color: var(--brand-500);
  background: rgba(184, 154, 91, .03);
}

.portfolio-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-slot .slot-empty {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.portfolio-slot .slot-empty i {
  font-size: 1.5rem;
  display: block;
  margin-bottom: .35rem;
  color: var(--brand-400);
}

.portfolio-upload-progress {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.portfolio-btn-finish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  min-height: 50px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--text-base);
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(184, 154, 91, .25);
  transition: all var(--duration-fast);
  margin-top: 1.5rem;
}

.portfolio-btn-finish:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(184, 154, 91, .32);
}

/* ================================================
   WIZARD (registrowizard.phtml)
   ================================================ */

.wizard-container {
  max-width: 800px;
  margin: 2.5rem auto;
  padding: 0 1.25rem;
}

.wizard-steps {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 15%;
  right: 15%;
  height: 3px;
  background: var(--color-border);
  z-index: 0;
}

.wizard-steps__track {
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--color-border);
  z-index: 0;
}

.wizard-steps__fill {
  height: 100%;
  background: var(--brand-500);
  width: 0%;
  transition: width .3s;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 150px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: 8px;
  transition: all var(--duration-fast);
}

.wizard-step.active .step-number {
  background: var(--brand-500);
  color: #fff;
}

.wizard-step.completed .step-number {
  background: #16a34a;
  color: #fff;
}

.step-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
  font-weight: 600;
}

.wizard-step.active .step-label {
  color: var(--brand-500);
  font-weight: 700;
}

.wizard-content {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  min-height: 400px;
}

.wizard-panel {
  display: none;
}

.wizard-panel.active {
  display: block;
  animation: fadeIn .3s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.plan-precio {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--brand-500);
  margin: 1rem 0;
  font-family: var(--font-display);
}

.plan-precio small {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 400;
}

.plan-card.destacado {
  border-color: #ffc107;
}

.plan-card.destacado::before {
  content: '\2605  Recomendado';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffc107;
  color: #1a1a1a;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
}

.btn-wizard {
  padding: .75rem 1.75rem;
  font-size: var(--text-base);
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.btn-wizard-primary {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
}

.btn-wizard-primary:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
}

.form-control-wizard {
  padding: .75rem 1rem;
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  width: 100%;
  transition: border-color var(--duration-fast);
}

.form-control-wizard:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(184, 154, 91, .1);
  outline: none;
}

/* ── Photographer Registration Steps (registrofotografo.phtml) ── */

.step.active .step-circle {
  background: var(--brand-500) !important;
  color: #fff !important;
}

.step.completed .step-circle {
  background: #16a34a !important;
  color: #fff !important;
}

.step.active span,
.step.completed span {
  color: var(--color-text) !important;
  font-weight: 700 !important;
}

.plan-card .plan-check {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
}

.plan-card.selected .plan-check {
  display: block !important;
}

.plan-card .plan-check i {
  font-size: 30px;
  color: var(--brand-500);
}

.form-control.input-lg {
  height: 50px;
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.form-control.input-lg:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(184, 154, 91, .1);
}

/* ================================================
   USAGE GUIDE (guiauso.phtml)
   ================================================ */

.guia-container {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 1.875rem;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}

.guia-container h2 {
  font-family: var(--font-display);
  color: var(--color-text);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: .625rem;
}

.guia-container h2 i {
  color: var(--brand-500);
  margin-right: 8px;
}

.guia-container .guia-intro {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--color-border);
}

.guia-tabs {
  display: flex;
  gap: .625rem;
  margin-bottom: 1.875rem;
}

.guia-tab {
  flex: 1;
  padding: 1rem 1.25rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface-soft);
  cursor: pointer;
  text-align: center;
  transition: all var(--duration-fast);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}

.guia-tab:hover {
  border-color: var(--brand-500);
  background: rgba(184, 154, 91, .03);
}

.guia-tab.active {
  border-color: var(--brand-500);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: 0 4px 15px rgba(184, 154, 91, .3);
}

.guia-tab i {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.guia-tab.active i { color: #fff; }

.guia-content { display: none; }
.guia-content.active { display: block; }

.guia-seccion {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--color-surface-soft);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--brand-500);
}

.guia-seccion h3 {
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guia-seccion h3 i {
  color: var(--brand-500);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.guia-seccion p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: .625rem;
}

.guia-seccion ul {
  margin: .5rem 0 0;
  padding-left: 1.125rem;
}

.guia-seccion ul li {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: .3rem;
}

.guia-seccion ul li strong { color: var(--color-text); }

.guia-flujo {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin: .75rem 0;
}

.guia-paso {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: .5rem .875rem;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.guia-paso i { color: var(--brand-500); }
.guia-flecha { color: var(--color-border); font-size: 1rem; }

.guia-tip {
  background: #e8f5e9;
  border-radius: var(--radius-md);
  padding: .75rem 1rem;
  margin-top: .625rem;
  font-size: var(--text-xs);
  color: #2e7d32;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

.guia-tip i { color: #4caf50; margin-top: 2px; }

/* ================================================
   PORTFOLIO (portfolio.phtml)
   ================================================ */

.portfolio-container {
  padding: 1.875rem;
}

.portfolio-header {
  margin-bottom: 1.875rem;
}

.portfolio-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 .625rem 0;
}

.portfolio-header p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin: 0;
}

.cabecera-section {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1.875rem;
  box-shadow: var(--shadow-sm);
}

.cabecera-section h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 .5rem 0;
  display: flex;
  align-items: center;
  gap: .625rem;
}

.cabecera-section h3 i {
  color: var(--brand-500);
}

.cabecera-section .size-hint {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: 1.25rem;
}

.cabecera-preview {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-soft);
  border: 2px dashed var(--color-border);
}

.cabecera-preview img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.cabecera-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  padding: 1.25rem;
  display: flex;
  justify-content: flex-end;
}

.btn-upload {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  border: none;
  padding: .625rem 1.25rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all var(--duration-fast);
}

.btn-upload:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 154, 91, .4);
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-soft);
  border: 2px solid var(--color-border);
  transition: all var(--duration-fast);
}

.portfolio-item:hover {
  border-color: var(--brand-500);
  box-shadow: 0 8px 25px rgba(184, 154, 91, .15);
  transform: translateY(-4px);
}

.portfolio-item-number {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,.6);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 600;
  z-index: 2;
}

.portfolio-item-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, var(--color-surface-soft), var(--color-border));
}

.portfolio-item-image-wrapper {
  width: 100%;
  height: 200px;
  position: relative;
}

.portfolio-item-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--color-text-muted);
  background: linear-gradient(135deg, var(--color-surface-soft), var(--color-border));
}

.portfolio-item-placeholder i {
  font-size: 2.5rem;
  margin-bottom: .625rem;
}

.portfolio-item-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  padding: 2.5rem 1rem 1rem;
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.portfolio-item:hover .portfolio-item-actions {
  opacity: 1;
}

.btn-upload-small {
  background: #fff;
  color: var(--color-text);
  border: none;
  padding: .5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-xs);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
  transition: all var(--duration-fast);
}

.btn-upload-small:hover {
  background: var(--brand-500);
  color: #fff;
}

.portfolio-item.empty .portfolio-item-actions {
  opacity: 1;
  background: transparent;
  position: relative;
  padding: 1rem;
}

.portfolio-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.875rem;
}

.btn-finish {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  border: none;
  padding: .875rem 2.5rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: var(--text-base);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  transition: all var(--duration-fast);
  text-decoration: none;
}

.btn-finish:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184, 154, 91, .4);
  color: #fff;
  text-decoration: none;
}

.file-input-hidden {
  display: none !important;
}

.upload-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: var(--radius-xl);
}

.upload-overlay.active {
  display: flex;
}

.upload-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255,255,255,.3);
  border-top-color: var(--brand-500);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.upload-progress-container {
  width: 80%;
  max-width: 200px;
}

.upload-progress-bar {
  height: 6px;
  background: rgba(255,255,255,.2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: .625rem;
}

.upload-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-600));
  width: 0%;
  transition: width .3s;
  border-radius: 3px;
}

.upload-progress-text {
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: center;
}

.upload-status {
  color: rgba(255,255,255,.8);
  font-size: var(--text-xs);
  margin-top: .3rem;
  text-align: center;
}

.upload-overlay.success {
  background: rgba(16,185,129,.9);
}

.upload-overlay.error {
  background: rgba(184, 154, 91, .9);
}

.upload-icon {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: .625rem;
}

.cabecera-upload-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: var(--radius-xl);
}

.cabecera-upload-overlay.active {
  display: flex;
}

/* ── Responsive account additions ── */

@media (max-width: 991px) {
  .admin-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 1.25rem;
  }

  .sidebar-nav {
    display: flex;
    flex-wrap: wrap;
    padding: 0.625rem;
  }

  .nav-section { width: 100%; }

  .nav-item {
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
  }

  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .account-form-card {
    padding: 1.25rem;
  }

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

  .earnings-item {
    flex-direction: column;
  }

  .earnings-item .image-section {
    width: 100%;
  }

  .reg-wizard-steps {
    gap: 1rem;
  }

  .reg-wizard-step .step-label {
    font-size: .625rem;
  }

  .plan-cards-grid {
    grid-template-columns: 1fr;
  }

  .guide-tabs {
    flex-direction: column;
    align-items: center;
  }

  .guia-container { padding: 1.125rem; }
  .guia-tabs { flex-direction: column; }
  .guia-tab { padding: .75rem; }
  .guia-flujo { flex-direction: column; }
  .guia-flecha { transform: rotate(90deg); }

  .portfolio-container { padding: 1.25rem; }
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: .9375rem;
  }
  .portfolio-item-actions {
    opacity: 1;
    background: rgba(0,0,0,.6);
  }

  .wizard-content { padding: 1.5rem; }
}

@media (max-width: 576px) {
  .quick-actions {
    grid-template-columns: 1fr;
  }

  .sidebar-header {
    padding: 1.25rem 0.9375rem;
  }

  .account-form-card {
    padding: 1rem;
    border-radius: var(--radius-lg, 12px);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reg-wizard-panel {
    padding: 1.25rem;
  }
}

/* -- My Plan (miplan.phtml) -- */
/* ========== DASHBOARD MI PLAN - OFPIC ========== */
/* Colores: Rojo #B89A5B, Gris oscuro #333, Gris claro #FAFAFA */

.dashboard-miplan {
    padding: 0;
}

/* Header del Dashboard */
.dashboard-welcome {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.dashboard-welcome-content h2 {
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.dashboard-welcome-content h2 i {
    color: #B89A5B;
    margin-right: 10px;
}

.dashboard-welcome-content p {
    color: #6B6B6B;
    margin: 0;
    font-size: 0.95rem;
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(184, 154, 91, 0.3);
}

/* Tarjetas de estadísticas */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.stat-card.orange::before { background: #B89A5B; }
.stat-card.green::before { background: #28a745; }
.stat-card.blue::before { background: #17a2b8; }
.stat-card.purple::before { background: #6f42c1; }

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 15px;
}

.stat-card.orange .stat-icon { background: rgba(184, 154, 91, 0.1); color: #B89A5B; }
.stat-card.green .stat-icon { background: rgba(40, 167, 69, 0.1); color: #28a745; }
.stat-card.blue .stat-icon { background: rgba(23, 162, 184, 0.1); color: #17a2b8; }
.stat-card.purple .stat-icon { background: rgba(111, 66, 193, 0.1); color: #6f42c1; }

.stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 13px;
    color: #6B6B6B;
    margin-top: 5px;
}

.stat-card .stat-change {
    font-size: 12px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-card .stat-change.up { color: #28a745; }
.stat-card .stat-change.down { color: #dc3545; }

/* Layout principal */
.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

/* Contenedor de cards */
.content-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
}

.content-card-header {
    padding: 20px 25px;
    border-bottom: 1px solid #E5E5E5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-card-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.content-card-header h5 i {
    color: #B89A5B;
    margin-right: 8px;
}

.content-card-body {
    padding: 25px;
}

/* Gráfico de barras */
.chart-bars {
    display: flex;
    align-items: flex-end;
    height: 150px;
    gap: 15px;
    border-bottom: 2px solid #E5E5E5;
    padding-bottom: 10px;
}

.chart-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chart-bar .bar {
    width: 100%;
    max-width: 45px;
    background: linear-gradient(180deg, #B89A5B 0%, #D4B87A 100%);
    border-radius: 6px 6px 0 0;
    min-height: 5px;
    transition: height 0.3s ease;
}

.chart-bar .bar-label {
    font-size: 11px;
    color: #6B6B6B;
    margin-top: 10px;
    text-align: center;
    font-weight: 500;
}

.chart-bar .bar-value {
    font-size: 11px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

/* Lista de ventas */
.venta-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #FAFAFA;
    transition: background 0.2s;
}

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

.venta-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(184, 154, 91, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B89A5B;
    margin-right: 15px;
    font-size: 18px;
}

.venta-info {
    flex: 1;
}

.venta-info .venta-titulo {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
}

.venta-info .venta-evento {
    font-size: 12px;
    color: #6B6B6B;
}

.venta-monto {
    text-align: right;
}

.venta-monto .monto {
    font-weight: 700;
    color: #28a745;
    font-size: 16px;
}

.venta-monto .fecha {
    font-size: 11px;
    color: #9a9a9a;
}

/* Plan actual card */
.plan-actual-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #1a1a1a 100%);
    color: white;
    padding: 20px 25px;
    position: relative;
}

.plan-actual-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #B89A5B;
}

.plan-actual-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-nombre {
    font-size: 1.3rem;
    font-weight: 700;
    color: #B89A5B;
    margin: 0 0 15px;
}

.plan-precio-box {
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.plan-precio-box .precio {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.plan-precio-box .periodo {
    opacity: 0.9;
    font-size: 13px;
    margin-top: 5px;
}

.plan-detalle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: #4a4a4a;
    border-bottom: 1px solid #FAFAFA;
}

.plan-detalle:last-child {
    border-bottom: none;
}

.plan-detalle i {
    width: 20px;
    color: #B89A5B;
}

/* Uso del plan - barras de progreso */
.uso-plan-item {
    margin-bottom: 20px;
}

.uso-plan-item:last-child {
    margin-bottom: 0;
}

.uso-plan-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    color: #4a4a4a;
}

.uso-bar {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.uso-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.uso-bar-fill.green { background: linear-gradient(90deg, #28a745, #34ce57); }
.uso-bar-fill.yellow { background: linear-gradient(90deg, #ffc107, #D4B87A); }
.uso-bar-fill.red { background: linear-gradient(90deg, #dc3545, #B89A5B); }

/* Botones */
.btn-cambiar-plan {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: #fff;
    border: 2px solid #E5E5E5;
    border-radius: 10px;
    color: #4a4a4a;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-cambiar-plan:hover {
    border-color: #B89A5B;
    color: #B89A5B;
    text-decoration: none;
}

/* Planes grid */
.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.plan-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    border: 2px solid #E5E5E5;
    transition: all 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.plan-card.actual {
    border-color: #28a745;
}

.plan-card.destacado {
    border-color: #B89A5B;
}

.plan-card .plan-destacado-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #B89A5B;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.plan-card h4 {
    margin: 15px 0 10px;
    font-size: 18px;
    color: #1a1a1a;
}

.plan-card .plan-precio {
    font-size: 2rem;
    font-weight: 700;
    color: #B89A5B;
    margin: 15px 0;
}

.plan-card .plan-precio small {
    font-size: 14px;
    font-weight: 400;
    color: #6B6B6B;
}

.plan-card .plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.plan-card .plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid #FAFAFA;
    font-size: 13px;
    color: #4a4a4a;
}

.plan-card .plan-features li:last-child {
    border-bottom: none;
}

.plan-card .plan-features li i {
    width: 20px;
    color: #28a745;
    margin-right: 8px;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6B6B6B;
}

.empty-state i {
    font-size: 50px;
    color: #ddd;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-welcome {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card .stat-value {
        font-size: 24px;
    }
    
    .chart-bars {
        height: 120px;
    }
}

/* -- My Events (miseventos.phtml) -- */
/* ========== MIS EVENTOS - DISEÑO MODERNO ========== */
.mis-eventos-page {
    padding: 0;
}

.mis-eventos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.mis-eventos-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mis-eventos-header h2 i {
    color: #B89A5B;
    font-size: 24px;
}

.btn-nuevo-evento {
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(184, 154, 91, 0.35);
}

.btn-nuevo-evento:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(184, 154, 91, 0.45);
    color: white;
    text-decoration: none;
}

/* Estado vacío */
.empty-eventos {
    background: linear-gradient(135deg, #FAFAFA 0%, #FAFAFA 100%);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
}

.empty-eventos-icon {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.empty-eventos-icon i {
    font-size: 50px;
    color: #ddd;
}

.empty-eventos h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.empty-eventos p {
    font-size: 16px;
    color: #6B6B6B;
    margin: 0 0 30px 0;
}

/* Grid de eventos */
.eventos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 1200px) {
    .eventos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .eventos-grid {
        grid-template-columns: 1fr;
    }
    
    .mis-eventos-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Tarjeta de evento */
.evento-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.evento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Imagen del evento */
.evento-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.evento-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.evento-card:hover .evento-card-image img {
    transform: scale(1.08);
}

.evento-card-image .badge-fotos {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.75);
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
}

.evento-card-image .badge-privado {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.75);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.evento-card-image .badge-aprobado {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-aprobado.si {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.badge-aprobado.no {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: white;
}

/* Contenido de la tarjeta */
.evento-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 3;
}

.evento-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.evento-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    flex: 1;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6B6B6B;
}

.meta-item i {
    width: 16px;
    color: #9a9a9a;
    text-align: center;
}

.meta-item .ref {
    color: #B89A5B;
    font-weight: 600;
}

/* Botón editar */
.btn-editar-evento {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    color: white;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-editar-evento:hover {
    background: linear-gradient(135deg, #A07D3F 0%, #C9AD6F 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 154, 91, 0.3);
}

/* Paginación */
.eventos-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #FAFAFA;
}

.eventos-pagination a,
.eventos-pagination span {
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.eventos-pagination a {
    background: #FAFAFA;
    color: #1a1a1a;
}

.eventos-pagination a:hover {
    background: #B89A5B;
    color: white;
}

.eventos-pagination span.current {
    background: #B89A5B;
    color: white;
}

.eventos-pagination span.disabled {
    background: #FAFAFA;
    color: #ccc;
}

/* -- Login (acceso.phtml) -- */
.wizard-container {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 20px;
}
.wizard-header {
    text-align: center;
    margin-bottom: 30px;
}
.wizard-header h2 {
    color: #1a1a1a;
    margin-bottom: 10px;
}
.wizard-header p {
    color: #6B6B6B;
}
.wizard-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
}
.wizard-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: #ddd;
    z-index: 0;
}
.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 120px;
}
.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    color: #6B6B6B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    transition: all 0.3s;
}
.wizard-step.active .step-number {
    background: #B89A5B;
    color: white;
}
.wizard-step.completed .step-number {
    background: #28a745;
    color: white;
}
.step-label {
    font-size: 11px;
    color: #6B6B6B;
    text-align: center;
}
.wizard-step.active .step-label {
    color: #B89A5B;
    font-weight: bold;
}
.wizard-content {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 30px;
    min-height: 350px;
}
.wizard-panel {
    display: none;
}
.wizard-panel.active {
    display: block;
    animation: fadeIn 0.3s;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.tipo-card {
    border: 3px solid #D5D5D5;
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    height: 100%;
    background: #fff;
}
.tipo-card:hover {
    border-color: #B89A5B;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(184, 154, 91, 0.15);
}
.tipo-card.selected {
    border-color: #B89A5B;
    background: rgba(184, 154, 91, 0.03);
}
.tipo-card i {
    font-size: 50px;
    color: #B89A5B;
    margin-bottom: 15px;
}
.tipo-card h4 {
    margin-bottom: 10px;
    color: #1a1a1a;
}
.tipo-card p {
    font-size: 13px;
    color: #6B6B6B;
    margin-bottom: 15px;
}
.tipo-card ul {
    text-align: left;
    padding-left: 0;
    list-style: none;
    font-size: 12px;
}
.tipo-card ul li {
    margin-bottom: 5px;
}
.tipo-card ul li i {
    font-size: 12px;
    margin-right: 5px;
}
.plan-card {
    border: 2px solid #D5D5D5;
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
    height: 100%;
    position: relative;
}
.plan-card:hover {
    border-color: #B89A5B;
}
.plan-card.selected {
    border-color: #B89A5B;
    background: rgba(184, 154, 91, 0.03);
}
.plan-card.destacado {
    border-color: #B89A5B;
    transform: scale(1.02);
}
.plan-card .badge-recomendado {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #B89A5B;
    color: white;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
}
.plan-card h4 {
    color: #1a1a1a;
    margin-bottom: 5px;
}
.plan-card .precio {
    font-size: 28px;
    font-weight: bold;
    color: #B89A5B;
}
.plan-card .precio small {
    font-size: 14px;
    color: #6B6B6B;
}
.plan-card .comision {
    font-size: 12px;
    color: #6B6B6B;
    margin: 10px 0;
}
.plan-card ul {
    text-align: left;
    padding-left: 15px;
    font-size: 12px;
    margin-top: 10px;
}
.plan-card ul li {
    margin-bottom: 3px;
}
.wizard-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
}
.btn-wizard {
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}
.btn-wizard-prev {
    background: #eee;
    color: #6B6B6B;
    border: none;
}
.btn-wizard-prev:hover {
    background: #ddd;
}
.btn-wizard-next {
    background: #B89A5B;
    color: white;
    border: none;
}
.btn-wizard-next:hover {
    background: #A07D3F;
}
.btn-wizard-next:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.form-group label {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}
.password-strength {
    height: 4px;
    margin-top: 5px;
    border-radius: 2px;
    background: #eee;
    overflow: hidden;
}
.password-strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s;
}
.confirmation-box {
    text-align: center;
    padding: 30px;
}
.confirmation-box i {
    font-size: 60px;
    color: #28a745;
    margin-bottom: 20px;
}
.confirmation-box h3 {
    color: #1a1a1a;
    margin-bottom: 15px;
}
/* Estilos para checkboxes visibles */
.wizard-checkbox {
    display: flex;
    align-items: flex-start;
    margin: 15px 0;
    cursor: pointer;
}
.wizard-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #B89A5B;
    flex-shrink: 0;
}
.wizard-checkbox label {
    cursor: pointer;
    font-weight: normal;
    margin: 0;
    line-height: 1.4;
}
.wizard-checkbox a {
    color: #B89A5B;
    text-decoration: underline;
}
@media (max-width: 768px) {
    .wizard-steps::before {
        left: 10%;
        right: 10%;
    }
    .wizard-step {
        max-width: 80px;
    }
    .step-label {
        font-size: 9px;
    }
    .tipo-card, .plan-card {
        margin-bottom: 15px;
    }
}

