/* ============================================================
   PREMIUM SECTION STYLING - Advanced Enhancements
   Modern Professional Design with Premium Feel
   ============================================================ */

/* PAGE HERO SECTIONS - Premium Look */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #4ADE80 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
  color: white;
  z-index: 10;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,.1) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0,0,0,.05) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-badge2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: white;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0,0,0,.2);
}

.breadcrumb {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  padding: 8px 16px;
  font-size: .85rem;
  backdrop-filter: blur(10px);
}

.breadcrumb-item { color: rgba(255,255,255,.8); }
.breadcrumb-item a { color: rgba(255,255,255,.95); font-weight: 500; transition: var(--transition); }
.breadcrumb-item a:hover { color: var(--accent-light); }
.breadcrumb-item.active { color: rgba(255,255,255,.6); }

/* PAGE CONTENT SECTIONS - Premium */
.page-section {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.page-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(22,163,74,.02) 100%);
  pointer-events: none;
  z-index: -1;
}

/* CARD SECTIONS - Premium */
.premium-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(22,163,74,.08);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition-slow);
  position: relative;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.premium-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(22,163,74,.2);
  transform: translateY(-6px);
}

.premium-card:hover::before {
  opacity: 1;
}

.premium-card-header {
  padding: 24px;
  border-bottom: 1px solid rgba(22,163,74,.06);
  background: linear-gradient(135deg, rgba(22,163,74,.02) 0%, rgba(34,197,94,.01) 100%);
}

.premium-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.premium-card-title i {
  color: var(--primary);
  font-size: 1.2rem;
}

.premium-card-body {
  padding: 24px;
}

.premium-card-footer {
  padding: 16px 24px;
  background: rgba(22,163,74,.02);
  border-top: 1px solid rgba(22,163,74,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* SECTION TRANSITIONS */
.fade-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* BUTTON STYLES - Premium */
.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition-slow);
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,.1) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: shimmer 2s infinite;
}

.btn-premium-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 8px 25px rgba(22,163,74,.25);
}

.btn-premium-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(22,163,74,.35);
}

.btn-premium-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-premium-secondary:hover {
  background: var(--primary-50);
  transform: translateY(-3px);
}

.btn-premium-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,.6);
}

.btn-premium-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: white;
}

/* RESPONSIVE TABLES */
.table-premium {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.table-premium thead {
  background: linear-gradient(135deg, rgba(22,163,74,.05) 0%, rgba(34,197,94,.05) 100%);
  border-bottom: 2px solid rgba(22,163,74,.1);
}

.table-premium thead th {
  padding: 16px;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
  letter-spacing: .3px;
  text-transform: uppercase;
  font-size: .8rem;
}

.table-premium tbody tr {
  border-bottom: 1px solid rgba(22,163,74,.06);
  transition: var(--transition);
}

.table-premium tbody tr:hover {
  background: rgba(22,163,74,.02);
}

.table-premium tbody td {
  padding: 14px 16px;
  color: var(--dark-2);
}

/* MOBILE RESPONSIVE  IMPROVEMENTS */
@media (max-width: 768px) {
  .page-hero {
    padding: 60px 0 40px;
  }

  .page-hero-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }

  .premium-card-header {
    padding: 18px;
  }

  .premium-card-body {
    padding: 18px;
  }

  .premium-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-premium {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  .table-premium {
    font-size: .85rem;
  }

  .table-premium thead th {
    padding: 12px;
    font-size: .75rem;
  }

  .table-premium tbody td {
    padding: 12px;
  }
}

@media (max-width: 576px) {
  .page-hero {
    padding: 50px 0 30px;
  }

  .page-hero-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }

  .premium-card {
    border-radius: var(--radius-md);
  }

  .premium-card-header {
    padding: 16px;
  }

  .premium-card-body {
    padding: 16px;
  }

  .page-section {
    padding: 50px 0;
  }

  .table-premium {
    font-size: .8rem;
  }
}

/* SHIMMER ANIMATION */
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* FORM SECTIONS - Premium */
.form-section-premium {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border: 1px solid rgba(22,163,74,.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.form-section-premium-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(22,163,74,.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-premium-title i {
  color: var(--primary);
  font-size: 1.15rem;
}

/* FOOTER IMPROVEMENTS */
.footer-premium {
  background: linear-gradient(135deg, #0F172A 0%, #1a2540 100%);
  position: relative;
}

.footer-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(22,163,74,.05) 0%, transparent 60%);
  pointer-events: none;
}

.footer-premium::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 80%, rgba(245,158,11,.03) 0%, transparent 60%);
  pointer-events: none;
}

/* STATUS BADGES - Premium */
.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .3px;
  background: rgba(22,163,74,.1);
  color: var(--primary-dark);
  border: 1px solid rgba(22,163,74,.2);
  transition: var(--transition);
}

.badge-premium:hover {
  background: var(--primary-50);
  border-color: var(--primary-200);
}

.badge-premium-success { background: rgba(5,150,105,.1); color: #065f46; border-color: rgba(5,150,105,.2); }
.badge-premium-warning { background: rgba(217,119,6,.1); color: #b45309; border-color: rgba(217,119,6,.2); }
.badge-premium-danger { background: rgba(220,38,38,.1); color: #991b1b; border-color: rgba(220,38,38,.2); }
.badge-premium-info { background: rgba(59,130,246,.1); color: #1e3a8a; border-color: rgba(59,130,246,.2); }
