#hero {
  background: linear-gradient(
    135deg,
    hsl(222 47% 11%),
    hsl(220 30% 20%),
    hsl(222 47% 11%)
  ) !important;
}
.heading-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    135deg,
    hsl(217 91% 45%) 0%,
    hsl(180 70% 45%) 100%
  );
  border-radius: 2px;
}
.heading-underline {
  position: relative;
  display: inline-block;
}
:root {
  --primary: #1a365d;
  --primary-light: #2d5a87;
  --accent: #00a86b;
  --accent-light: #00c77b;
  --accent-dark: #008f5b;
  --bg-dark: #0f172a;
  --bg-light: #f8fafc;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 15px 50px rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
  --gradient-accent: linear-gradient(135deg, #00a86b 0%, #00c77b 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
}

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #00a86b 0%, #00c77b 100%);
  bottom: -150px;
  left: -150px;
  animation-delay: -5s;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #1a365d 0%, #00a86b 100%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    transform: translate(30px, -30px) rotate(5deg) scale(1.05);
  }
  50% {
    transform: translate(-20px, 20px) rotate(-5deg) scale(0.95);
  }
  75% {
    transform: translate(-30px, -20px) rotate(3deg) scale(1.02);
  }
}

/* Main Content */
.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 30px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

/* Sidebar */
.sidebar {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px 0;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--glass-border);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar-menu {
  list-style: none;
}

.sidebar-menu li {
  margin-bottom: 5px;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 30px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  border-left: 4px solid transparent;
}

/* .sidebar-menu a:hover {
  background: rgba(0, 168, 107, 0.08);
  color: var(--accent);
  border-left-color: var(--accent);
} */

.sidebar-menu a.active {
  background: var(--gradient-accent);
  color: white;
  border-left-color: transparent;
  /* margin: 0 15px; */
  /* border-radius: 12px; */
  /* padding: 15px 20px; */
}

.sidebar-menu a .icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-menu a .badge {
  margin-left: auto;
  background: rgba(0, 168, 107, 0.15);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.sidebar-menu a.active .badge {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

/* Content Area */
.content-area {
  min-height: 500px;
}

.content-section {
  display: none;
  animation: fadeIn 0.4s ease;
}

.content-section.active {
  display: block;
}

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

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 0px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  padding-bottom: 0px !important;
  color: var(--text-dark);
}

/* Profile Card */
.profile-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 50px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--glass-border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
}

.profile-avatar-container {
  position: relative;
}

.profile-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(26, 54, 93, 0.3);
  position: relative;
  overflow: hidden;
}

.profile-avatar svg {
  width: 100px;
  height: 100px;
  fill: rgba(255, 255, 255, 0.9);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edit-avatar-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: 50%;
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 168, 107, 0.4);
}

.edit-avatar-btn:hover {
  transform: scale(1.1);
}

.edit-avatar-btn svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.profile-info {
  display: grid;
  width: 100%;
  max-width: 700px;
  position: relative;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.profile-info button#editBtn {
  position: absolute;
  right: 0;
  top: 0;
}
.info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-label {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 18px;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--text-dark);
}

.btn-edit-profile {
  grid-column: span 2;
  background: var(--gradient-accent);
  color: white;
  border: none;
  padding: 15px 35px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  box-shadow: 0 4px 20px rgba(0, 168, 107, 0.3);
}

.btn-edit-profile:hover {
  transform: translateY(-3px);
  color: #fff !important;
  opacity: 0.7;
  box-shadow: 0 8px 30px rgba(0, 168, 107, 0.4);
}

/* Booking/Event Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.event-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

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

.event-card:hover .event-card-image {
  transform: scale(1.05);
}

.event-card-image-container {
  overflow: hidden;
  position: relative;
}

.event-card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gradient-accent);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

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

.event-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.event-card:hover .event-card-title {
  color: var(--primary);
}

.event-card-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-light);
  font-size: 13px;
}

.event-card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Orders Table */
.orders-table-container {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow-x:auto ;
  overflow-y: hidden;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--glass-border);
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
}
.orders-table-container{
    overflow-x:auto;
}
main.main {
    margin-top: 90px !important;
}
.orders-table{
    /* min-width:900px; */
}

.orders-table thead {
  background: linear-gradient(
    135deg,
    rgba(26, 54, 93, 0.05) 0%,
    rgba(0, 168, 107, 0.05) 100%
  );
}

.orders-table th {
  padding: 20px 25px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.orders-table td {
  padding: 20px 25px;
  font-size: 15px;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.orders-table tbody tr {
  transition: background 0.3s ease;
}

.orders-table tbody tr:hover {
  background: rgba(0, 168, 107, 0.03);
}

.orders-table tbody tr:last-child td {
  border-bottom: none;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.status-paid {
  background: rgba(0, 168, 107, 0.1);
  color: var(--accent);
}

.status-pending {
  background: rgba(255, 193, 7, 0.1);
  color: #f59e0b;
}

.status-cancelled {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.btn-view {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-view:hover {
  color: var(--primary);
}

/* Video Cards */
.video-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 168, 107, 0.4);
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
  width: 24px;
  height: 24px;
  fill: white;
  margin-left: 4px;
}

.video-info {
  padding: 20px;
}

.video-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.video-duration {
  font-size: 13px;
  color: var(--text-light);
}

/* Subscription Cards */
.subscription-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.subscription-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.subscription-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.subscription-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.subscription-status {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-active {
  background: rgba(0, 168, 107, 0.1);
  color: var(--accent);
}

.status-expired {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.subscription-details {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.subscription-detail {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.subscription-detail-label {
  color: var(--text-light);
}

.subscription-detail-value {
  font-weight: 600;
  color: var(--text-dark);
}

.subscription-progress {
  margin-top: 15px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
}

.progress-bar {
  height: 8px;
  background: rgba(0, 168, 107, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 10px;
  transition: width 0.5s ease;
}
/* Video Cards Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.video-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.08);
}

.video-duration-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 168, 107, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 12px 40px rgba(0, 168, 107, 0.6);
}

.play-button svg {
  width: 28px;
  height: 28px;
  fill: white;
  margin-left: 5px;
}

.video-info {
  padding: 20px;
}

.video-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-light);
}

.video-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.video-meta-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
}

.video-category {
  background: linear-gradient(
    135deg,
    rgba(26, 54, 93, 0.1) 0%,
    rgba(0, 168, 107, 0.1) 100%
  );
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-modal.active {
  display: flex;
  opacity: 1;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.video-modal-close:hover {
  background: var(--accent);
  transform: rotate(90deg);
}

.video-modal-close svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.video-player-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-player-wrapper iframe,
.video-player-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-modal-info {
  padding: 25px;
  background: linear-gradient(
    135deg,
    rgba(26, 54, 93, 0.95) 0%,
    rgba(0, 168, 107, 0.9) 100%
  );
}

.video-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.video-modal-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 40px;
  background: var(--glass-bg);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.empty-state-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  background: linear-gradient(
    135deg,
    rgba(26, 54, 93, 0.1) 0%,
    rgba(0, 168, 107, 0.1) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state-icon svg {
  width: 50px;
  height: 50px;
  stroke: var(--accent);
}

.empty-state h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.empty-state p {
  color: var(--text-light);
  margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 1024px) {
  .main-container {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
    padding: 15px;
  }

  .sidebar-menu {
    display: flex;
    gap: 10px;
    width: 100%;
  }

  .sidebar-menu li {
    margin-bottom: 0;
  }

  .sidebar-menu a {
    padding: 12px 20px;
    white-space: nowrap;
    border-left: none;
    border-radius: 10px;
  }

  .sidebar-menu a.active {
    margin: 0;
  }

  .profile-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .profile-avatar-container {
    margin: 0 auto;
  }

  .profile-info {
    grid-template-columns: 1fr;
  }

  .btn-edit-profile {
    grid-column: 1;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .orders-table-container {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .orders-table {
    width: 100% !important;
    /* min-width: 750px !important; */
  }
  .orders-table th,
  .orders-table td {
    white-space: nowrap;
    font-size: 13px;
    padding: 12px 14px;
  }
}

section {
  padding-top: 0px !important;
  background-color: transparent !important;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(
    135deg,
    hsl(217 91% 45%) 0%,
    hsl(180 70% 45%) 100%
  ) !important;
  border-radius: 9999px;
  box-shadow: 0 4px 20px hsla(217, 91%, 45%, 0.35);
  transition: all 0.3s ease;
}

/* ---------- MOBILE FIX ---------- */
@media (max-width: 576px) {
  .main-container {
    padding: 20px 12px;
    gap: 20px;
  }

  /* Sidebar scroll */
  .sidebar {
    padding: 10px;
  }

  .sidebar-menu {
    gap: 8px;
  }

  .sidebar-menu a {
    padding: 10px 14px;
    font-size: 14px;
  }

  /* Profile card mobile */
  .profile-card {
    padding: 25px 18px;
    gap: 20px;
  }

  .profile-avatar {
    width: 120px;
    height: 120px;
  }

  .profile-info {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left !important;
  }

  .section-title {
    font-size: 22px;
  }

  /* Cards */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Video grid */
  .video-grid {
    grid-template-columns: 1fr;
  }

  /* Table scroll */
  .orders-table-container {
    overflow-x: auto;
  }

  .orders-table {
    /* min-width: 700px; */
  }
  .sidebar-menu {
    margin-bottom: 0px !important;
  }
  .profile-info{
   width:100%;
   max-width:700px;
}

}