:root {
  --primary-color: #4361ee;
  --secondary-color: #3f37c9;
  --accent-color: #4895ef;
  --success-color: #4cc9f0;
  --warning-color: #3a0ca3;
  --light-bg: #f8f9fa;
  --dark-bg: #212529;
  --card-shadow: 0 2px 15px rgba(67, 97, 238, 0.12);
  --text-color: #333;
  --background-color: #f4f4f4;
  --card-background: #ffffff;
  --border-radius: 12px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --primary-gradient: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  --text-gradient: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: 1px solid rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  max-width: 100%;
}

body {
  background-color: var(--light-bg);
  min-height: 100vh;
  padding-bottom: 70px !important;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Modern Header Styling */
.header-section,
.app-header {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  width: 100%;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

.user-greeting,
.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.greeting-icon,
.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: white;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(110, 142, 251, 0.3);
  position: relative;
  overflow: hidden;
}

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

.status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  border: 2px solid white;
}

.greeting-text,
.user-details {
  display: flex;
  flex-direction: column;
}

.greeting-text h5,
.user-details h6 {
  margin: 0;
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.greeting-text .current-time,
.user-details p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-actions {
  display: flex;
  gap: 12px;
}

.notification-btn,
.settings-btn,
.theme-toggle {
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.notification-btn:hover,
.settings-btn:hover,
.theme-toggle:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.notification-badge,
.badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4d4d;
  color: white;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Back Button Style */
.back-button {
  color: #666;
  font-size: 18px;
  transition: all 0.3s ease;
}

.back-button:hover {
  color: #333;
  transform: translateX(-2px);
}

/* Date Filter Style */
.date-filter .form-select {
  border: none;
  background: white;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .header-section,
  .app-header {
    padding: 12px 0;
  }

  .greeting-icon,
  .user-avatar {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .greeting-text h5,
  .user-details h6 {
    font-size: 13px;
  }

  .greeting-text .current-time,
  .user-details p {
    font-size: 15px;
  }

  .notification-btn,
  .settings-btn,
  .theme-toggle {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .header-section,
  .app-header {
    padding: 10px 0;
  }

  .greeting-icon,
  .user-avatar {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .greeting-text h5,
  .user-details h6 {
    font-size: 12px;
  }

  .greeting-text .current-time,
  .user-details p {
    font-size: 14px;
  }

  .notification-btn,
  .settings-btn,
  .theme-toggle {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .date-filter .form-select {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* Enhanced Banner Section */
.banner-section {
  height: 220px;
  background: var(--primary-gradient);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 10px 30px rgba(67, 97, 238, 0.15);
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/pattern.svg");
  opacity: 0.1;
  animation: moveBackground 20s linear infinite;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 60px;
}

.banner-text {
  color: white;
  font-weight: 800;
  margin-bottom: 15px;
  font-size: 32px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 17px;
  margin: 0;
  font-weight: 500;
}

/* Modern Card Styles */
.balance-card,
.premium-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 25px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 10px 5px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.balance-card:hover,
.premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(31, 38, 135, 0.25);
}

.card-icon {
  width: 55px;
  height: 55px;
  border-radius: 18px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.2);
  flex-shrink: 0;
}

.card-icon i {
  font-size: 26px;
  color: white;
}

.card-content {
  flex: 1;
  min-width: 0;
}

.card-content h6 {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-content h2 {
  font-size: 26px;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.card-content small {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Modern Menu Grid */
.menu-grid {
  margin: 30px 0;
  padding: 0;
  width: 100%;
}

.menu-grid .row {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.menu-grid .col-3 {
  width: 25%;
  padding: 8px;
  flex: 0 0 25%;
}

.menu-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 18px;
  padding: 20px 10px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  height: 100%;
  box-shadow: 0 8px 20px rgba(31, 38, 135, 0.1);
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(31, 38, 135, 0.2);
}

.menu-item i {
  font-size: 26px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease;
}

.menu-item:hover i {
  transform: scale(1.1) translateY(-2px);
}

.menu-item span {
  font-size: 12px;
  color: #555;
  font-weight: 600;
  line-height: 1.2;
}

/* Task Section Enhancement */
.task-section {
  margin-top: 35px;
}

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

.section-header h5 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.task-card .card {
  border-radius: 25px;
  background: var(--primary-gradient);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(67, 97, 238, 0.15);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.task-card .card:hover {
  transform: translateY(-5px);
}

.task-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.task-info h6 {
  font-size: 16px;
  color: white;
  font-weight: 600;
  margin-bottom: 5px;
}

.task-info small {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
}

/* Modern Button Styles */
.btn-primary,
.btn-warning {
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 15px 25px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.15);
}

.btn-primary {
  background: var(--primary-gradient);
}

.btn-warning {
  background: linear-gradient(45deg, #ffd700, #ff9900);
  color: #000;
}

.btn-primary:hover,
.btn-warning:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(67, 97, 238, 0.25);
}

/* Modern Animations */
@keyframes moveBackground {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 100%;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  .banner-section {
    height: 180px;
    border-radius: 0 0 30px 30px;
  }

  .banner-text {
    font-size: 26px;
  }

  .banner-subtitle {
    font-size: 15px;
  }

  .card-icon {
    width: 50px;
    height: 50px;
  }

  .card-content h2 {
    font-size: 24px;
  }

  .menu-item {
    padding: 15px 8px;
  }

  .menu-item i {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .header-section {
    padding: 8px 0;
  }

  .header-section .container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .user-avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 10px;
  }

  .user-welcome h6 {
    font-size: 11px;
  }

  .user-welcome p {
    font-size: 13px;
  }

  .form-select {
    padding: 2px 20px 2px 6px !important;
    font-size: 11px !important;
    min-width: 90px;
  }

  .notification-badge {
    margin-left: 6px;
  }

  .notification-badge i {
    font-size: 16px;
  }

  .d-flex.align-items-center.gap-3 {
    gap: 0.5rem !important;
  }

  .profit-stats {
    padding: 6px 12px;
    border-radius: 10px;
  }

  .profit-label {
    font-size: 11px;
  }

  .profit-amount {
    font-size: 14px;
  }

  .banner-section {
    height: 140px;
    border-radius: 0 0 20px 20px;
    margin-bottom: 1rem;
  }

  .banner-content {
    padding-top: 35px;
  }

  .banner-text {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .banner-subtitle {
    font-size: 14px;
  }

  .container.px-4 {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .alert-custom {
    padding: 12px;
  }

  .alert-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
  }

  .alert-content p {
    font-size: 12px;
  }

  .balance-card,
  .premium-card {
    padding: 15px;
    gap: 12px;
    margin: 5px 2px;
    border-radius: 15px;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .card-icon i {
    font-size: 20px;
  }

  .card-content h6 {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .card-content h2 {
    font-size: 20px;
    margin-bottom: 2px;
  }

  .card-content small {
    font-size: 10px;
  }

  .action-buttons {
    margin: 15px 0;
    padding: 0 2px;
  }

  .action-buttons .btn {
    padding: 10px 15px;
    height: 45px;
    font-size: 13px;
    border-radius: 12px;
  }

  .action-buttons .btn i {
    font-size: 16px;
  }

  .menu-grid {
    padding: 0;
  }

  .menu-grid .row {
    margin: 0;
  }

  .menu-grid .col-3 {
    width: 33.333333%;
    padding: 6px;
    flex: 0 0 33.333333%;
  }

  .menu-item {
    padding: 12px 8px;
    border-radius: 12px;
  }

  .menu-item i {
    font-size: 20px;
  }

  .menu-item span {
    font-size: 10px;
  }

  .task-section {
    margin-top: 20px;
  }

  .section-header h5 {
    font-size: 16px;
  }

  .task-card .card {
    border-radius: 15px;
  }

  .task-icon {
    width: 35px;
    height: 35px;
    border-radius: 10px;
  }

  .task-info {
    margin-left: 10px;
  }

  .task-info h6 {
    font-size: 13px;
    margin-bottom: 2px;
  }

  .task-info small {
    font-size: 11px;
  }

  .btn-light {
    padding: 8px 15px !important;
    font-size: 12px !important;
  }

  .bottom-navigation {
    padding: 8px 0 5px;
    border-radius: 15px 15px 0 0;
  }

  .nav-item {
    padding: 5px 0;
    gap: 4px;
  }

  .nav-item i {
    font-size: 18px;
  }

  .nav-item span {
    font-size: 10px;
  }

  .nav-item::after {
    height: 2px;
  }

  .nav-item:hover::after,
  .nav-item.active::after {
    width: 15px;
  }

  main {
    padding-bottom: 70px;
  }

  .col-3 {
    flex: 0 0 auto;
    width: calc(25% - 6px) !important;
    padding: 0 3px !important;
  }

  .row.g-4 {
    margin: 0 -3px;
  }
}

@media (max-width: 360px) {
  .menu-grid .col-3 {
    width: 50%;
    padding: 5px;
    flex: 0 0 50%;
  }
}

/* Tablet Optimization */
@media (min-width: 577px) and (max-width: 768px) {
  .banner-section {
    height: 160px;
  }

  .banner-text {
    font-size: 28px;
  }

  .card-icon {
    width: 45px;
    height: 45px;
  }

  .card-content h2 {
    font-size: 22px;
  }

  .menu-item {
    padding: 15px 10px;
  }

  .menu-item i {
    font-size: 22px;
  }

  .bottom-navigation {
    padding: 10px 0 6px;
  }
}

/* General responsive improvements */
.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100%;
}

.col-6 {
  padding-left: 8px;
  padding-right: 8px;
}

/* Enhanced touch targets for mobile */
.menu-item,
.nav-item,
.btn {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Smooth scrolling for iOS */
body {
  -webkit-overflow-scrolling: touch;
}

/* Prevent text size adjustment on orientation change */
html {
  -webkit-text-size-adjust: 100%;
}

/* Task Notification Card */
.task-notification {
  background: linear-gradient(
    to right,
    var(--accent-color),
    var(--primary-color)
  );
  border-radius: 12px;
  padding: 15px;
  margin: 20px 0;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.task-notification i {
  font-size: 20px;
}

/* Modern Auth Styling */
.auth-container {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  padding: 20px;
}

/* Hide bottom navigation on auth pages */
.auth-container ~ .bottom-navigation {
  display: none;
}

.auth-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.auth-brand {
  text-align: center;
  margin-bottom: 40px;
}

.brand-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: #fff;
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.welcome-text {
  font-size: 28px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 8px;
}

.floating-input {
  margin-bottom: 24px;
}

.input-group {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.input-group-text {
  background: transparent;
  border: none;
  color: #666;
}

.form-control {
  border: none;
  padding: 12px 15px;
  font-size: 15px;
  border-color: var(--accent-color);
}

.form-control:focus {
  box-shadow: none;
  background: white;
}

.password-toggle {
  cursor: pointer;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #718096;
}

.forgot-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.btn-auth-submit {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  color: white;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-auth-secondary {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 25px;
  background: var(--light-bg);
  color: #666;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-auth-submit:hover,
.btn-auth-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
}

.auth-separator {
  text-align: center;
  position: relative;
  margin: 30px 0;
}

.auth-separator::before,
.auth-separator::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background: #e2e8f0;
}

.auth-separator::before {
  left: 0;
}

.auth-separator::after {
  right: 0;
}

.auth-separator span {
  background: #fff;
  padding: 0 15px;
  color: #718096;
  font-size: 14px;
}

.social-login {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.btn-social {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #f7fafc;
  color: #2d3748;
  transition: all 0.3s ease;
}

.btn-social:hover {
  background: var(--light-bg);
  color: var(--primary-color);
}

.register-link {
  text-align: center;
  margin: 0;
  color: #718096;
}

.register-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

/* Animations */
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.floating-input {
  animation: slideUp 0.5s ease forwards;
  opacity: 0;
}

.floating-input:nth-child(1) {
  animation-delay: 0.2s;
}
.floating-input:nth-child(2) {
  animation-delay: 0.3s;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .auth-container {
    padding: 15px;
  }

  .welcome-text {
    font-size: 24px;
  }

  .social-login {
    flex-wrap: wrap;
  }

  .btn-social {
    flex: 0 0 calc(33.333% - 11px);
  }
}

/* Modern Registration Page Styling */
.modern-auth-container {
  min-height: 100vh;
  background: #ff6b6b;
  padding: 20px;
  position: relative;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  color: white;
}

.back-button {
  color: white;
  font-size: 20px;
  text-decoration: none;
}

.language-selector {
  font-size: 16px;
}

.auth-content {
  padding: 20px 0;
}

.welcome-image {
  text-align: center;
  margin: 20px 0;
}

.welcome-image img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.welcome-title {
  color: white;
  font-size: 28px;
  text-align: center;
  margin-bottom: 25px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modern-form {
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.phone-input,
.verification-input,
.password-input,
.invitation-input {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.country-code {
  padding: 8px 12px;
  color: #333;
  font-weight: 500;
}

.phone-input input,
.verification-input input,
.password-input input,
.invitation-input input {
  border: none;
  background: transparent;
  width: 100%;
  padding: 5px;
  font-size: 16px;
}

.phone-input input:focus,
.verification-input input:focus,
.password-input input:focus,
.invitation-input input:focus {
  outline: none;
}

.captcha-image {
  height: 42px;
  border-radius: 0 8px 8px 0;
}

.toggle-password {
  color: #666;
  cursor: pointer;
}

.action-buttons {
  margin: 15px 0;
  width: 100%;
}

.action-buttons .row {
  margin: 0;
  width: 100%;
}

.action-buttons .col-6 {
  padding: 6px;
  width: 50%;
  flex: 0 0 50%;
}

.action-buttons .btn {
  border-radius: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 25px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
}

.action-buttons .btn i {
  font-size: 20px;
}

.action-buttons .btn-primary {
  background: var(--primary-gradient);
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
}

.action-buttons .btn-warning {
  background: linear-gradient(45deg, #ffd700, #ff9900);
  color: #000;
  box-shadow: 0 8px 20px rgba(255, 153, 0, 0.3);
}

.action-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(67, 97, 238, 0.4);
}

.action-buttons .btn-warning:hover {
  box-shadow: 0 12px 25px rgba(255, 153, 0, 0.4);
}

.register-btn,
.login-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s;
}

.register-btn {
  background: var(--primary-color);
  color: white;
}

.login-btn {
  background: #f8f9fa;
  color: #666;
}

.register-btn:hover,
.login-btn:hover {
  transform: translateY(-2px);
}

.download-prompt {
  text-align: center;
  margin-top: 30px;
  padding: 15px;
  background: white;
  border-radius: 25px;
  color: #666;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Input icons and validation styling */
.input-icon {
  color: #666;
  margin-right: 10px;
}

.validation-error {
  color: #ff4444;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

/* Animation for form inputs */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modern-form > div {
  animation: slideIn 0.3s ease forwards;
}

.modern-form > div:nth-child(1) {
  animation-delay: 0.1s;
}
.modern-form > div:nth-child(2) {
  animation-delay: 0.2s;
}
.modern-form > div:nth-child(3) {
  animation-delay: 0.3s;
}
.modern-form > div:nth-child(4) {
  animation-delay: 0.4s;
}
.modern-form > div:nth-child(5) {
  animation-delay: 0.5s;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .modern-auth-container {
    padding: 15px;
  }

  .welcome-title {
    font-size: 24px;
  }

  .modern-form {
    padding: 15px;
  }
}

/* Animation updates */
.floating-animation {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .auth-container {
    padding: 15px;
  }

  .welcome-title {
    font-size: 24px;
  }

  .auth-card {
    padding: 20px;
  }

  .form-control {
    font-size: 14px;
  }
}

/* Task Page Styles */
.task-container {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  padding: 20px;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  margin-bottom: 20px;
}

.top-nav h1 {
  font-size: 20px;
  margin: 0;
}

.task-progress {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
}

.task-list {
  display: grid;
  gap: 15px;
  padding: 10px 0;
}

.task-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.task-card:hover {
  transform: translateY(-2px);
}

.task-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.task-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.task-details h3 {
  font-size: 16px;
  margin: 0;
  color: var(--text-color);
}

.task-details p {
  font-size: 14px;
  color: #666;
  margin: 5px 0 0;
}

.task-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.task-reward {
  background: var(--light-bg);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
}

.task-complete {
  background: #e8f5e9;
  color: #2e7d32;
}

.timer-display {
  background: var(--light-bg);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
}

#blogContent {
  min-height: 300px;
  line-height: 1.6;
}

.modal-content {
  border-radius: 15px;
}

.modal-header {
  border-bottom: none;
  padding: 20px;
}

.modal-footer {
  border-top: none;
  padding: 20px;
}

/* VIP Page Styles */
.vip-container {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  padding: 20px;
  color: white;
}

.user-level {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
}

.user-level i {
  color: #ffd700;
}

.vip-benefits {
  margin: 30px 0;
}

.vip-benefits h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.benefit-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px 10px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.benefit-item i {
  font-size: 24px;
  margin-bottom: 10px;
  color: #ffd700;
}

.benefit-item span {
  display: block;
  font-size: 12px;
}

.package-list {
  display: grid;
  gap: 20px;
}

.package-card {
  background: white;
  border-radius: 25px;
  padding: 30px;
  color: var(--text-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(67, 97, 238, 0.2);
}

.package-card.premium {
  background: linear-gradient(135deg, #1a237e, #1976d2);
  color: white;
}

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

.package-name h3 {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
}

.package-name .badge {
  background: linear-gradient(45deg, #ffd700, #ffa000);
  color: #000;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-top: 8px;
  display: inline-block;
  font-weight: 600;
}

.package-icon {
  width: 50px;
  height: 50px;
  background: rgba(67, 97, 238, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.package-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.premium .package-icon {
  background: rgba(255, 255, 255, 0.1);
}

.premium .package-icon i {
  color: #ffd700;
}

.package-details {
  background: rgba(67, 97, 238, 0.03);
  border-radius: 20px;
  padding: 25px;
  margin: 20px 0 30px;
}

.premium .package-details {
  background: rgba(255, 255, 255, 0.1);
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.premium .detail-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.detail-item.highlight {
  background: rgba(67, 97, 238, 0.05);
  margin: -25px -25px 15px;
  padding: 25px;
  border-radius: 20px 20px 0 0;
}

.premium .detail-item.highlight {
  background: rgba(255, 255, 255, 0.15);
}

.detail-item.total {
  margin: 15px -25px -25px;
  padding: 25px;
  background: rgba(67, 97, 238, 0.05);
  border-radius: 0 0 20px 20px;
}

.premium .detail-item.total {
  background: rgba(255, 255, 255, 0.15);
}

.detail-item label {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  font-weight: 500;
}

.premium .detail-item label {
  color: rgba(255, 255, 255, 0.7);
}

.detail-item .amount {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  font-family: "Inter", sans-serif;
}

.premium .detail-item .amount {
  color: #ffd700;
}

.detail-item .tasks {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent-color);
}

.premium .detail-item .tasks {
  color: #4cc9f0;
}

.detail-item .duration {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
}

.premium .detail-item .duration {
  color: white;
}

.detail-item .price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.premium .detail-item .price {
  color: white;
}

.btn-subscribe {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  color: white;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.premium .btn-subscribe {
  background: linear-gradient(45deg, #ffd700, #ffa000);
  color: #000;
}

.btn-subscribe i {
  transition: transform 0.3s ease;
}

.btn-subscribe:hover i {
  transform: translateX(5px);
}

.btn-subscribe:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

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

@media (max-width: 576px) {
  .package-header {
    flex-direction: column;
    gap: 15px;
  }

  .package-price {
    align-self: flex-start;
  }
}

/* Current Package Card Styles */
.current-package {
  margin-bottom: 30px;
}

.current-package-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.package-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.package-status i {
  color: #ffd700;
  font-size: 24px;
}

.package-status span {
  font-size: 18px;
  font-weight: 600;
}

.package-info {
  display: grid;
  gap: 20px;
}

.info-item {
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.info-item label {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.info-item h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 600;
}

/* Add to the existing media queries */
@media (max-width: 576px) {
  .current-package-card {
    padding: 20px;
  }

  .info-item h3 {
    font-size: 16px;
  }
}

.package-details {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  margin: 20px 0;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.detail-item label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.detail-item .amount {
  font-size: 20px;
  font-weight: 600;
  color: #ffd700;
}

.detail-item .tasks {
  font-size: 18px;
  font-weight: 600;
  color: #4cc9f0;
}

.detail-item .price {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.package-card:not(.premium) .detail-item label {
  color: rgba(0, 0, 0, 0.6);
}

.package-card:not(.premium) .detail-item .amount {
  color: var(--primary-color);
}

.package-card:not(.premium) .detail-item .tasks {
  color: var(--accent-color);
}

.package-card:not(.premium) .detail-item .price {
  color: var(--text-color);
}

.package-card:not(.premium) .package-details {
  background: rgba(0, 0, 0, 0.03);
}

/* Update existing package card styles */
.package-card {
  background: white;
  border-radius: 20px;
  padding: 25px;
  color: var(--text-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.package-card.premium {
  background: linear-gradient(45deg, #2c3e50, #3498db);
  color: white;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .package-details {
    padding: 15px;
  }

  .detail-item .amount {
    font-size: 18px;
  }

  .detail-item .tasks {
    font-size: 16px;
  }

  .detail-item .price {
    font-size: 14px;
  }
}

/* Enhanced Dashboard Styles */
.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary-color);
}

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

.user-welcome h6 {
  font-size: 12px;
  color: #666;
}

.user-welcome p {
  font-size: 14px;
  font-weight: 600;
}

/* Alert Styles */
.alert-custom {
  background: linear-gradient(135deg, #fff, #f8f9fa);
  border-radius: 15px;
  padding: 15px;
}

.alert-icon {
  width: 40px;
  height: 40px;
  background: rgba(var(--primary-color-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.alert-icon i {
  color: var(--primary-color);
  font-size: 18px;
}

.alert-content {
  flex: 1;
}

/* Task Section */
.task-section {
  margin-top: 30px;
}

.section-header {
  margin-bottom: 20px;
}

.section-header h5 {
  font-weight: 600;
  color: #333;
}

.task-card .card {
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  overflow: hidden;
}

.task-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.task-info h6 {
  color: white;
  font-weight: 500;
}

.task-info small {
  color: rgba(255, 255, 255, 0.8);
}

/* Enhanced Bottom Navigation */
.bottom-navigation {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 10px 0 8px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.bottom-navigation .container {
  padding: 0 !important;
}

.bottom-navigation .row {
  margin: 0;
  width: 100%;
}

.bottom-navigation .col {
  padding: 0;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #6c757d;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 5px 0;
  position: relative;
}

.nav-item i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.nav-item span {
  font-size: 11px;
  font-weight: 500;
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
  color: var(--primary-color);
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 20px;
}

.nav-item:hover i,
.nav-item.active i {
  transform: translateY(-2px);
}

/* Main content padding adjustment */
main {
  padding-bottom: 85px;
}

/* Fix container spacing */
.container-fluid,
.container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden;
}

.container {
  padding-left: 12px !important;
  padding-right: 12px !important;
  max-width: 100% !important;
  overflow-x: hidden;
}

/* Account container fix */
.account-container {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding: 20px 0;
  min-height: calc(100vh - 60px);
  background: var(--light-bg);
}

@media (max-width: 576px) {
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .row {
    margin-left: -5px !important;
    margin-right: -5px !important;
  }

  .col-3,
  .col-4,
  .col-6 {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .account-container {
    padding: 15px 0;
  }

  .profile-card {
    margin-left: 2px;
    margin-right: 2px;
  }
}

/* Grid System Adjustments */
.menu-grid .row {
  margin: 0 -8px;
}

.menu-grid .col-3 {
  padding: 8px;
}

/* Option Items Responsive Grid */
@media (max-width: 576px) {
  .menu-grid .col-3 {
    width: 33.333% !important;
    padding: 6px !important;
  }

  .menu-grid .row {
    margin: 0 -6px;
  }

  .option-item {
    padding: 12px 8px;
    border-radius: 12px;
  }

  .option-icon {
    width: 32px;
    height: 32px;
    font-size: 15px;
    border-radius: 10px;
  }

  .option-item span {
    font-size: 10px;
    line-height: 1.2;
  }
}

/* For very small devices */
@media (max-width: 360px) {
  .menu-grid .col-3 {
    width: 50% !important;
    padding: 5px !important;
  }

  .menu-grid .row {
    margin: 0 -5px;
  }

  .option-item {
    padding: 10px 6px;
  }

  .option-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}

/* Quick Actions Adjustments */
.quick-actions .row {
  margin: 0 -8px;
}

.quick-actions .col-4 {
  padding: 8px;
}

@media (max-width: 576px) {
  .quick-actions .row {
    margin: 0 -6px;
  }

  .quick-actions .col-4 {
    padding: 6px;
  }

  .action-item {
    padding: 12px 8px;
  }

  .action-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .action-item span {
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .quick-actions .col-4 {
    width: 50% !important;
    padding: 5px;
  }

  .quick-actions .row {
    margin: 0 -5px;
  }
}

/* Profile Card Adjustments */
.profile-card {
  margin: 10px 8px 20px;
  border-radius: 20px;
}

@media (max-width: 576px) {
  .profile-card {
    margin: 8px 6px 15px;
  }

  .balance-info {
    gap: 10px;
  }

  .balance-item h3 {
    font-size: 18px;
  }
}

/* Container Adjustments */
.container {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

@media (max-width: 576px) {
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* Recharge & Withdrawal Page Styles */
.recharge-container,
.withdrawal-container {
  padding: 20px 0;
  min-height: calc(100vh - 60px);
}

.balance-display {
  text-align: center;
  margin-bottom: 30px;
  padding: 30px 20px;
  background: var(--primary-gradient);
  border-radius: 20px;
  color: white;
}

.balance-label {
  font-size: 14px;
  opacity: 0.9;
  display: block;
  margin-bottom: 10px;
}

.balance-amount {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
}

.min-withdrawal {
  font-size: 12px;
  opacity: 0.8;
  margin: 10px 0 0;
}

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

/* Amount Selection Styles */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1rem 0;
  width: 100%;
}

.amount-option {
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.8rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
}

.amount-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}

.amount-option.active {
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.amount-option span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

@media (max-width: 576px) {
  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    padding: 0;
  }

  .amount-option {
    padding: 0.7rem;
    min-height: 40px;
  }

  .amount-option span {
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .amount-grid {
    gap: 0.5rem;
  }

  .amount-option {
    padding: 0.6rem;
    min-height: 38px;
  }

  .amount-option span {
    font-size: 0.9rem;
  }
}

.custom-amount-input {
  margin: 20px 0;
}

.custom-amount-input .input-group {
  background: var(--glass-bg);
  border-radius: 15px;
  overflow: hidden;
  border: var(--glass-border);
}

.custom-amount-input .input-group-text {
  background: transparent;
  border: none;
  font-weight: 600;
  color: var(--text-color);
}

.custom-amount-input .form-control {
  border: none;
  padding: 15px;
  font-size: 16px;
  font-weight: 500;
  background: transparent;
}

/* Payment Methods Styles */
.payment-methods {
  margin: 25px 0;
}

.payment-option {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 15px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-option:hover,
.payment-option.active {
  background: var(--primary-gradient);
  color: white;
  transform: translateX(5px);
}

.payment-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.payment-info {
  flex: 1;
}

.payment-info h6 {
  font-size: 15px;
  margin: 0 0 4px;
}

.payment-info p {
  font-size: 12px;
  margin: 0;
  opacity: 0.8;
}

.payment-check {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.payment-option.active .payment-check {
  opacity: 1;
}

/* Bank Account Styles */
.bank-accounts {
  margin: 25px 0;
}

.account-option {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 15px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.account-option:hover,
.account-option.active {
  background: var(--primary-gradient);
  color: white;
  transform: translateX(5px);
}

.account-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.account-info {
  flex: 1;
}

.account-info h6 {
  font-size: 15px;
  margin: 0 0 4px;
}

.account-info p {
  font-size: 12px;
  margin: 0;
  opacity: 0.8;
}

.btn-add-account {
  width: 100%;
  padding: 15px;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-add-account:hover {
  background: var(--primary-gradient);
  color: white;
  transform: translateY(-2px);
}

/* Quick Amount Buttons */
.quick-amounts {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.quick-amount {
  flex: 1;
  padding: 8px;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.quick-amount:hover,
.quick-amount.active {
  background: var(--primary-gradient);
  color: white;
  transform: translateY(-2px);
}

/* Withdrawal Info */
.withdrawal-info {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 15px;
  padding: 20px;
  margin: 25px 0;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.info-item span {
  font-size: 14px;
  color: var(--text-color);
}

.info-item .fee-amount,
.info-item .receive-amount {
  font-weight: 600;
  color: var(--primary-color);
}

.info-note {
  margin-top: 15px;
  font-size: 12px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Proceed Button */
.proceed-button {
  margin: 30px 0;
}

.proceed-button .btn {
  padding: 15px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 15px;
  background: var(--primary-gradient);
  border: none;
  transition: all 0.3s ease;
}

.proceed-button .btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
}

.proceed-button .btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Modal Styles */
.modal-content {
  border-radius: 20px;
  border: none;
}

.modal-header {
  background: var(--primary-gradient);
  color: white;
  border-radius: 20px 20px 0 0;
  border: none;
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
}

.btn-close {
  filter: brightness(0) invert(1);
}

.modal-body {
  padding: 20px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 8px;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .balance-display {
    padding: 20px 15px;
    margin-bottom: 20px;
  }

  .balance-amount {
    font-size: 30px;
  }

  .amount-option {
    padding: 12px 8px;
  }

  .amount-option span {
    font-size: 14px;
  }

  .payment-option,
  .account-option {
    padding: 12px;
  }

  .payment-icon,
  .account-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .payment-info h6,
  .account-info h6 {
    font-size: 14px;
  }

  .quick-amount {
    font-size: 12px;
    padding: 6px;
  }

  .proceed-button .btn {
    padding: 12px;
    font-size: 15px;
  }
}

/* Invite Page Styles */
.invite-container {
  padding: 20px 0;
  min-height: calc(100vh - 60px);
}

/* Referral Stats */
.referral-stats {
  margin-bottom: 25px;
}

.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

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

.stat-icon {
  width: 45px;
  height: 45px;
  border-radius: 15px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.stat-icon.purple {
  background: linear-gradient(135deg, #9c27b0, #673ab7);
}

.stat-content {
  flex: 1;
}

.stat-label {
  font-size: 12px;
  color: #666;
  display: block;
  margin-bottom: 5px;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Referral Code Section */
.referral-code-section {
  margin: 25px 0;
}

.referral-code {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
}

.code-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
}

#referralCode {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-color);
}

.btn-copy {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 20px;
  padding: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

/* QR Code Section */
.qr-code-section {
  margin: 25px 0;
}

.qr-code-container {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.qr-code {
  width: 200px;
  height: 200px;
  padding: 10px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-download {
  background: var(--primary-gradient);
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

/* Referral Link Section */
.referral-link-section {
  margin: 25px 0;
}

.referral-link {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 15px;
  padding: 20px;
}

.link-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
  word-break: break-all;
}

#referralLink {
  font-size: 14px;
  color: var(--primary-color);
  flex: 1;
  min-width: 0;
}

/* Responsive adjustments for QR and Link sections */
@media (max-width: 576px) {
  .qr-code {
    width: 160px;
    height: 160px;
  }

  .link-display {
    padding: 12px;
  }

  #referralLink {
    font-size: 12px;
  }

  .btn-download {
    padding: 8px 16px;
    font-size: 12px;
  }
}

/* Share Options */
.share-section {
  margin: 25px 0;
}

.share-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.share-btn {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 15px;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.share-btn i {
  font-size: 24px;
}

.share-btn span {
  font-size: 12px;
  font-weight: 500;
}

.share-btn.whatsapp {
  color: #25d366;
}

.share-btn.telegram {
  color: #0088cc;
}

.share-btn.facebook {
  color: #1877f2;
}

.share-btn.more {
  color: var(--primary-color);
}

.share-btn:hover {
  transform: translateY(-5px);
  box-shadow: var(--glass-shadow);
}

/* Rewards Info */
.rewards-info {
  margin: 25px 0;
}

.rewards-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 25px;
}

.reward-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.reward-header i {
  font-size: 24px;
  color: var(--primary-color);
}

.reward-header h5 {
  margin: 0;
  font-weight: 600;
}

.reward-details p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.reward-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.reward-steps li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.reward-steps li:last-child {
  border-bottom: none;
}

.step-number {
  width: 25px;
  height: 25px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.step-text {
  font-size: 14px;
  color: #333;
}

/* Recent Referrals */
.recent-referrals {
  margin: 25px 0;
}

.referral-list {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 5px;
}

.referral-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.referral-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: rgba(67, 97, 238, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.user-info h6 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.user-info .date {
  font-size: 12px;
  color: #666;
}

.referral-status {
  text-align: right;
}

.referral-status .amount {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #4caf50;
}

.referral-status .status {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 20px;
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
}

.referral-status.pending .status {
  background: rgba(255, 152, 0, 0.1);
  color: #ff9800;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .invite-container {
    padding: 15px 0;
  }

  .stat-card {
    padding: 15px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .stat-value {
    font-size: 20px;
  }

  .code-display {
    padding: 12px;
  }

  #referralCode {
    font-size: 20px;
  }

  .share-options {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .share-btn {
    padding: 12px 8px;
  }

  .share-btn i {
    font-size: 20px;
  }

  .share-btn span {
    font-size: 11px;
  }

  .rewards-card {
    padding: 20px;
  }

  .reward-steps li {
    padding: 10px 0;
  }

  .referral-item {
    padding: 12px;
  }

  .user-avatar {
    width: 35px;
    height: 35px;
  }
}

/* Enhanced Invite Page Styles */
.invite-container {
  padding: 20px 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-radius: 20px;
  backdrop-filter: blur(10px);
  margin-bottom: 80px;
}

/* Enhanced Stats Cards */
.referral-stats {
  margin-bottom: 30px;
}

.stat-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

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

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 15px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
}

.stat-icon.purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  margin: 5px 0;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Enhanced Referral Code Section */
.referral-code {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  margin: 15px 0;
  backdrop-filter: blur(10px);
}

.code-display {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Enhanced QR Code Section */
.qr-code-container {
  text-align: center;
  padding: 30px;
}

.qr-code {
  background: white;
  padding: 20px;
  border-radius: 20px;
  display: inline-block;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.qr-code:hover {
  transform: scale(1.02);
}

.qr-code img {
  max-width: 200px;
  height: auto;
}

/* Enhanced Share Options */
.share-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.share-btn {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 14px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.share-btn.whatsapp:hover {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
}

.share-btn.telegram:hover {
  background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
  color: white;
}

.share-btn.facebook:hover {
  background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
  color: white;
}

.share-btn.more:hover {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
}

/* Enhanced Rewards Card */
.rewards-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 25px;
  margin: 20px 0;
  backdrop-filter: blur(10px);
}

.reward-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.reward-header i {
  font-size: 30px;
  color: var(--primary-color);
}

.reward-steps {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.reward-steps li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.reward-steps li:hover {
  transform: translateX(5px);
}

.step-number {
  width: 30px;
  height: 30px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

/* Enhanced Recent Referrals */
.referral-item {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease;
  backdrop-filter: blur(10px);
}

.referral-item:hover {
  transform: translateX(5px);
}

.user-avatar {
  width: 45px;
  height: 45px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.referral-status.success {
  color: #10b981;
}

.referral-status.pending {
  color: #f59e0b;
}

/* Toast Styling */
.toast {
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

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

.invite-container > div {
  animation: fadeIn 0.5s ease forwards;
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
  .invite-container {
    padding: 15px 0;
    margin-bottom: 60px;
  }

  .stat-card {
    padding: 15px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .stat-value {
    font-size: 20px;
  }

  .code-display {
    font-size: 16px;
    padding: 12px;
  }

  .qr-code img {
    max-width: 160px;
  }

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

  .reward-steps li {
    padding: 12px;
  }
}

/* Team Members Page Styles */
.team-stats {
  margin: 20px 0;
}

.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 10px;
  background: var(--primary-gradient);
  color: white;
}

.stat-icon.purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.stat-icon.green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-content {
  min-width: 0;
}

.stat-label {
  font-size: 12px;
  color: #666;
  display: block;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Team Level Tabs */
.level-tabs {
  display: flex;
  gap: 10px;
  padding: 5px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 15px;
}

.level-tabs .nav-link {
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  color: var(--text-color);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.level-tabs .nav-link .badge {
  background: rgba(0, 0, 0, 0.1);
  color: inherit;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
}

.level-tabs .nav-link.active {
  background: var(--primary-gradient);
  color: white;
}

.level-tabs .nav-link.active .badge {
  background: rgba(255, 255, 255, 0.2);
}

/* Team List */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.member-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.member-card:hover {
  transform: translateX(5px);
  box-shadow: var(--glass-shadow);
}

.member-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.member-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.member-details {
  min-width: 0;
}

.member-details h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
}

.member-details span {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 3px;
}

.member-stats {
  display: flex;
  gap: 20px;
}

.member-stats .stat {
  text-align: right;
}

.member-stats .label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 3px;
}

.member-stats .value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
}

.member-stats .value.success {
  color: #10b981;
}

.member-stats .value.warning {
  color: #f59e0b;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .member-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .member-stats {
    width: 100%;
    justify-content: space-between;
  }

  .member-stats .stat {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .stat-card {
    padding: 15px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .stat-value {
    font-size: 18px;
  }

  .level-tabs {
    padding: 4px;
  }

  .level-tabs .nav-link {
    padding: 8px 12px;
    font-size: 12px;
  }

  .member-card {
    padding: 15px;
  }

  .member-avatar {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .member-details h6 {
    font-size: 14px;
  }

  .member-details span {
    font-size: 11px;
  }

  .member-stats {
    gap: 15px;
  }

  .member-stats .label {
    font-size: 11px;
  }

  .member-stats .value {
    font-size: 13px;
  }
}

/* Profit Page Styles */
.profit-container {
  padding: 20px 0;
  min-height: calc(100vh - 60px);
}

.profit-stats {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 15px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.profit-label {
  font-size: 13px;
  color: #666;
}

.profit-amount {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
}

/* Business Plan Slider */
.business-plans {
  margin: 25px 0;
}

.plan-slide {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 25px;
  margin: 10px 5px;
  transition: all 0.3s ease;
}

.plan-slide:hover {
  transform: translateY(-5px);
  box-shadow: var(--glass-shadow);
}

.plan-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.plan-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.plan-title {
  flex: 1;
}

.plan-title h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.plan-title span {
  font-size: 13px;
  color: #666;
}

.plan-details {
  margin: 20px 0;
}

.plan-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.detail-label {
  font-size: 14px;
  color: #666;
}

.detail-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-color);
}

.plan-action {
  margin-top: 20px;
}

.btn-invest {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: var(--primary-gradient);
  color: white;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

.btn-invest:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

/* Profit History */
.profit-history {
  margin: 25px 0;
}

.history-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.history-card:hover {
  transform: translateX(5px);
  box-shadow: var(--glass-shadow);
}

.history-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.history-icon {
  width: 45px;
  height: 45px;
  background: rgba(67, 97, 238, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
}

.history-details h6 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.history-details span {
  font-size: 12px;
  color: #666;
}

.history-amount {
  text-align: right;
}

.history-amount .amount {
  font-size: 16px;
  font-weight: 600;
  color: #10b981;
  display: block;
}

.history-amount .date {
  font-size: 12px;
  color: #666;
}

/* Account Page Styles */
.account-container {
  padding: 20px 0;
  min-height: calc(100vh - 60px);
}

.profile-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 25px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
}

.profile-info h4 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.profile-info p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #666;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.stat-item {
  text-align: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
}

.stat-item .value {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-item .label {
  font-size: 12px;
  color: #666;
}

.account-options {
  display: grid;
  gap: 15px;
}

.option-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.option-card:hover {
  transform: translateX(5px);
  box-shadow: var(--glass-shadow);
}

.option-icon {
  width: 45px;
  height: 45px;
  background: rgba(67, 97, 238, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
}

.option-info {
  flex: 1;
}

.option-info h6 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.option-info p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #666;
}

.option-action {
  color: #666;
  font-size: 18px;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .profile-card {
    padding: 20px;
  }

  .profile-header {
    gap: 15px;
  }

  .profile-avatar {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .profile-info h4 {
    font-size: 18px;
  }

  .profile-stats {
    gap: 10px;
  }

  .stat-item {
    padding: 10px;
  }

  .stat-item .value {
    font-size: 18px;
  }

  .option-card {
    padding: 15px;
  }

  .option-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .plan-slide {
    padding: 20px;
  }

  .plan-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .plan-title h4 {
    font-size: 16px;
  }

  .history-card {
    padding: 12px;
  }

  .history-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .history-amount .amount {
    font-size: 14px;
  }
}

/* Enhanced Account Page Styles */
.account-container {
  padding: 20px 0;
  min-height: calc(100vh - 60px);
  background: var(--light-bg);
}

/* User Profile Section */
.user-profile-section {
  margin-bottom: 25px;
}

.profile-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 25px;
  padding: 25px;
  box-shadow: var(--glass-shadow);
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 5px;
  box-shadow: 0 4px 15px rgba(67, 97, 238, 0.15);
}

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

.member-id {
  font-size: 13px;
  color: #666;
  display: block;
  margin-top: 8px;
}

.balance-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 10px;
}

.balance-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  padding: 20px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--glass-shadow);
}

.balance-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  z-index: 0;
}

.balance-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(67, 97, 238, 0.2);
}

.balance-item .label {
  position: relative;
  font-size: 14px;
  color: #666;
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  z-index: 1;
}

.balance-item h3 {
  position: relative;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.balance-item h3::before {
  content: "₹";
  font-size: 18px;
  font-weight: 600;
  opacity: 0.8;
}

.balance-item.membership {
  background: var(--primary-gradient);
}

.balance-item.membership .label {
  color: rgba(255, 255, 255, 0.8);
}

.balance-item.membership h3 {
  color: white;
  background: none;
  -webkit-text-fill-color: white;
}

.balance-item.membership::after {
  content: "\f521";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 15px;
  bottom: 10px;
  font-size: 40px;
  opacity: 0.1;
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .balance-info {
    gap: 12px;
    margin-top: 12px;
  }

  .balance-item {
    padding: 15px;
    border-radius: 15px;
  }

  .balance-item .label {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .balance-item h3 {
    font-size: 22px;
  }

  .balance-item h3::before {
    font-size: 16px;
  }

  .balance-item.membership::after {
    font-size: 30px;
  }
}

/* Quick Actions */
.quick-actions {
  margin: 25px 0;
}

.action-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.action-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--glass-shadow);
}

.action-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  transition: transform 0.3s ease;
}

.action-item:hover .action-icon {
  transform: scale(1.1);
}

.action-item span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-color);
}

/* Account Options Grid */
.account-options {
  margin: 25px 0;
}

.option-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 18px;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
}

.option-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--glass-shadow);
}

.option-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.option-item:hover .option-icon {
  transform: scale(1.1);
}

.option-icon.yellow {
  background: linear-gradient(135deg, #ffd700, #ffa000);
}
.option-icon.blue {
  background: linear-gradient(135deg, #2196f3, #1976d2);
}
.option-icon.green {
  background: linear-gradient(135deg, #4caf50, #2e7d32);
}
.option-icon.purple {
  background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}
.option-icon.orange {
  background: linear-gradient(135deg, #ff9800, #f57c00);
}
.option-icon.red {
  background: linear-gradient(135deg, #f44336, #d32f2f);
}
.option-icon.teal {
  background: linear-gradient(135deg, #009688, #00796b);
}
.option-icon.pink {
  background: linear-gradient(135deg, #e91e63, #c2185b);
}

.option-icon i {
  color: white;
  font-size: 20px;
}

.option-item span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-color);
  text-align: center;
}

/* Online Services */
.floating-action-button {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: var(--primary-gradient);
  border-radius: 25px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}

.floating-action-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
}

.floating-action-button i {
  font-size: 20px;
}

.floating-action-button span {
  font-size: 14px;
  font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .account-container {
    padding: 15px 0;
  }

  .profile-card {
    padding: 20px;
    border-radius: 20px;
  }

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

  .balance-info {
    gap: 15px;
  }

  .balance-item {
    padding: 12px;
  }

  .balance-item h3 {
    font-size: 20px;
  }

  .action-item {
    padding: 15px 10px;
  }

  .action-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .option-item {
    padding: 15px 10px;
  }

  .option-icon {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .option-item span {
    font-size: 11px;
  }

  .floating-action-button {
    bottom: 70px;
    right: 15px;
    padding: 10px 16px;
  }

  .floating-action-button i {
    font-size: 18px;
  }

  .floating-action-button span {
    font-size: 12px;
  }
}

/* Accounting Records Page Styles */
.accounting-container {
  padding: 20px 0;
  min-height: calc(100vh - 60px);
}

/* Summary Cards */
.summary-cards {
  margin-bottom: 25px;
}

.summary-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 20px;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

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

.summary-card .card-icon {
  width: 45px;
  height: 45px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
}

.summary-card.income .card-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.summary-card.expense .card-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.summary-card .card-info {
  flex: 1;
  min-width: 0;
}

.summary-card .label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 5px;
}

.summary-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 5px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.summary-card .trend {
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.trend.positive {
  color: #10b981;
}

.trend.negative {
  color: #ef4444;
}

/* Filter Section */
.filter-section {
  margin: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.filter-tabs {
  display: flex;
  gap: 10px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 12px;
  padding: 5px;
}

.filter-tab {
  border: none;
  background: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  transition: all 0.3s ease;
}

.filter-tab.active {
  background: var(--primary-gradient);
  color: white;
}

.date-filter .form-select {
  border: var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  font-size: 14px;
  padding: 8px 30px 8px 12px;
  color: var(--text-color);
}

/* Transactions List */
.transactions-list {
  margin-top: 25px;
}

.date-header {
  padding: 10px 0;
  margin-bottom: 10px;
}

.date-header span {
  font-size: 14px;
  font-weight: 600;
  color: #666;
}

.transaction-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 15px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.transaction-item:hover {
  transform: translateX(5px);
  box-shadow: var(--glass-shadow);
}

.transaction-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
}

.transaction-item.income .transaction-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.transaction-item.expense .transaction-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.transaction-info {
  flex: 1;
  min-width: 0;
}

.transaction-info h6 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-color);
}

.transaction-info .time {
  font-size: 12px;
  color: #666;
  display: block;
  margin-top: 3px;
}

.transaction-amount {
  font-size: 16px;
  font-weight: 600;
  text-align: right;
}

.transaction-amount.positive {
  color: #10b981;
}

.transaction-amount.negative {
  color: #ef4444;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .summary-card {
    padding: 15px;
  }

  .summary-card .card-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .summary-card h3 {
    font-size: 20px;
  }

  .filter-section {
    flex-direction: column;
    gap: 10px;
  }

  .filter-tabs {
    width: 100%;
  }

  .filter-tab {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    font-size: 13px;
  }

  .date-filter {
    width: 100%;
  }

  .transaction-item {
    padding: 12px;
  }

  .transaction-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .transaction-info h6 {
    font-size: 14px;
  }

  .transaction-amount {
    font-size: 14px;
  }
}

/* Video Tutorials Page Styles */
.tutorials-container {
  padding: 20px 0;
  min-height: calc(100vh - 60px);
}

/* Featured Tutorial */
.featured-tutorial {
  margin-bottom: 25px;
}

.featured-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.featured-card .thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.featured-card .thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card .duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.featured-card .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-gradient);
  border: none;
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.featured-card .content {
  padding: 20px;
}

.featured-card h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
}

.featured-card p {
  margin: 0 0 15px;
  font-size: 14px;
  color: #666;
}

.featured-card .meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: #666;
}

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

/* Categories */
.tutorial-categories {
  margin-bottom: 25px;
  overflow: hidden;
}

.scroll-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 5px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.scroll-container.active {
  cursor: grabbing;
}

.category-pill {
  border: var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: #666;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-pill.active {
  background: var(--primary-gradient);
  border: none;
  color: white;
}

/* Tutorial List */
.tutorial-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.tutorial-item {
  display: flex;
  gap: 15px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 15px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tutorial-item:hover {
  transform: translateX(5px);
  box-shadow: var(--glass-shadow);
}

.tutorial-item .thumbnail {
  position: relative;
  width: 120px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.tutorial-item .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tutorial-item .duration {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}

.tutorial-item .content {
  flex: 1;
  min-width: 0;
  padding: 5px 0;
}

.tutorial-item h6 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tutorial-item .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #666;
}

.tutorial-item .category {
  color: var(--primary-color);
  font-weight: 500;
}

.tutorial-item .dot {
  color: #666;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .featured-card .play-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .featured-card .content {
    padding: 15px;
  }

  .featured-card h4 {
    font-size: 16px;
  }

  .tutorial-item .thumbnail {
    width: 100px;
    height: 56px;
  }

  .tutorial-item h6 {
    font-size: 14px;
  }

  .tutorial-item .meta {
    font-size: 11px;
  }
}

/* Video Modal Styles */
.modal-content {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
}

.modal-header {
  border-bottom: var(--glass-border);
  padding: 15px 20px;
}

.modal-header .modal-title {
  color: var(--text-color);
  font-weight: 600;
  font-size: 18px;
}

.modal-header .btn-close {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  padding: 8px;
  margin: -8px -8px -8px auto;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
}

.video-container #youtubePlayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 576px) {
  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-content {
    border-radius: 15px;
  }

  .modal-header {
    padding: 12px 15px;
  }

  .modal-header .modal-title {
    font-size: 16px;
  }
}

/* Task Records Page Styles */
.task-records-container {
  padding: 20px 0;
  min-height: calc(100vh - 140px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(10px);
}

.stats-cards {
  margin-bottom: 24px;
}

.stats-cards .stat-card {
  position: relative;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.stats-cards .stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.stats-cards .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  position: relative;
  color: #fff;
}

.stats-cards .stat-icon.green {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.stats-cards .stat-icon.purple {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.stats-cards .stat-content {
  position: relative;
  z-index: 1;
}

.stats-cards .stat-label {
  display: block;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 8px;
  font-weight: 500;
}

.stats-cards .stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #1e293b, #334155);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-cards .trend {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.trend.positive {
  color: #22c55e;
}

.trend.negative {
  color: #ef4444;
}

.filter-section {
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.9);
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.filter-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.filter-tab {
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(203, 213, 225, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.filter-tab:hover {
  background: rgba(255, 255, 255, 1);
  border-color: #cbd5e1;
  color: #1e293b;
}

.filter-tab.active {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.date-filter {
  width: 100%;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(203, 213, 225, 0.5);
  background: rgba(255, 255, 255, 0.8);
  color: #1e293b;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.records-list {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.date-header {
  padding: 16px 0 12px;
}

.date-header span {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  position: relative;
  padding-left: 16px;
}

.record-item {
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(203, 213, 225, 0.3);
  transition: all 0.3s ease;
}

.record-item:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateX(5px);
}

.record-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-right: 16px;
  color: #fff;
}

.record-item.completed .record-icon {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.record-item.failed .record-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.record-item.pending .record-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.record-info {
  flex: 1;
}

.record-info h6 {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.record-info .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
}

.record-amount {
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

.record-amount.positive {
  color: #22c55e;
}

.record-amount.negative {
  color: #ef4444;
}

.record-amount.pending {
  color: #f59e0b;
}

@media (max-width: 576px) {
  .task-records-container {
    padding: 16px 0;
  }

  .stats-cards .stat-card {
    padding: 16px;
  }

  .stats-cards .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .stats-cards .stat-value {
    font-size: 20px;
  }

  .filter-section {
    padding: 12px;
  }

  .filter-tab {
    padding: 6px 16px;
    font-size: 13px;
  }

  .record-item {
    padding: 12px;
  }

  .record-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .record-info h6 {
    font-size: 14px;
  }

  .record-amount {
    font-size: 14px;
  }
}

/* Daily Statement Page Styles */
.statement-container {
  padding: 20px 0;
  min-height: calc(100vh - 140px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(10px);
}

.summary-cards {
  margin-bottom: 24px;
}

.summary-card {
  position: relative;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.summary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.summary-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
}

.summary-card.income .card-icon {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.summary-card.expense .card-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.summary-card .card-info {
  flex: 1;
}

.summary-card .label {
  display: block;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 8px;
  font-weight: 500;
}

.summary-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #1e293b, #334155);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.summary-card .trend {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.trend.positive {
  color: #22c55e;
}

.trend.negative {
  color: #ef4444;
}

.filter-section {
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.9);
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.filter-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.filter-tab {
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(203, 213, 225, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.filter-tab:hover {
  background: rgba(255, 255, 255, 1);
  border-color: #cbd5e1;
  color: #1e293b;
}

.filter-tab.active {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.transactions-list {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.date-header {
  padding: 16px 0 12px;
}

.date-header span {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  position: relative;
  padding-left: 16px;
}

.transaction-item {
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(203, 213, 225, 0.3);
  transition: all 0.3s ease;
}

.transaction-item:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateX(5px);
}

.transaction-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-right: 16px;
  color: #fff;
}

.transaction-item.income .transaction-icon {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.transaction-item.expense .transaction-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.transaction-info {
  flex: 1;
}

.transaction-info h6 {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.transaction-info .time {
  font-size: 13px;
  color: #64748b;
}

.transaction-amount {
  font-weight: 600;
  font-size: 15px;
}

.transaction-amount.positive {
  color: #22c55e;
}

.transaction-amount.negative {
  color: #ef4444;
}

@media (max-width: 576px) {
  .statement-container {
    padding: 16px 0;
  }

  .summary-card {
    padding: 16px;
  }

  .summary-card .card-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .summary-card h3 {
    font-size: 20px;
  }

  .filter-section {
    padding: 12px;
  }

  .filter-tab {
    padding: 6px 16px;
    font-size: 13px;
  }

  .transaction-item {
    padding: 12px;
  }

  .transaction-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .transaction-info h6 {
    font-size: 14px;
  }

  .transaction-amount {
    font-size: 14px;
  }
}

/* Edit Profile Page Styles */
.edit-profile-container {
  padding: 20px 0;
  min-height: calc(100vh - 140px);
  background: linear-gradient(135deg, #f0f9ff 0%, #e6f6ff 100%);
}

.btn-save {
  padding: 10px 24px;
  border-radius: 30px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.profile-picture-section {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.profile-picture {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.picture-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.profile-picture:hover .picture-overlay {
  transform: translateY(0);
}

.picture-overlay i {
  color: #fff;
  font-size: 20px;
  margin-bottom: 4px;
}

.picture-overlay span {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.profile-form {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 8px;
}

.input-group {
  border: 1px solid rgba(203, 213, 225, 0.5);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.input-group:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.input-group-text {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  color: #64748b;
  padding: 12px 16px;
}

.form-control {
  border: none;
  padding: 12px 16px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.8);
  color: #1e293b;
}

.form-control:focus {
  box-shadow: none;
  background: #fff;
}

.gender-options {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.gender-option {
  flex: 1;
  min-width: 100px;
  margin: 0;
  cursor: pointer;
}

.gender-option input {
  display: none;
}

.gender-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(203, 213, 225, 0.5);
  color: #64748b;
  font-size: 14px;
  transition: all 0.3s ease;
}

.gender-option input:checked + .gender-box {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border-color: transparent;
}

.toast {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.toast.bg-success {
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
}

.toast.bg-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}

.toast-body {
  padding: 16px !important;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 576px) {
  .edit-profile-container {
    padding: 16px 0;
  }

  .profile-picture {
    width: 100px;
    height: 100px;
  }

  .profile-form {
    padding: 20px;
  }

  .gender-options {
    gap: 12px;
  }

  .gender-box {
    padding: 10px;
    font-size: 13px;
  }

  .toast {
    margin: 0 16px 16px;
  }
}

/* Auth Pages Loader and Toast Styles */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.loader-overlay.show {
  opacity: 1;
  visibility: visible;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  border-top-color: #3b82f6;
  animation: spin 1s linear infinite;
  position: relative;
}

.loader::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 3px solid transparent;
  border-radius: 50%;
  border-top-color: rgba(59, 130, 246, 0.5);
  animation: spin 0.5s linear infinite reverse;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.auth-toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 90%;
  max-width: 400px;
}

.auth-toast {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 10px;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.auth-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.auth-toast.success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.auth-toast.error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.auth-toast .toast-content {
  display: flex;
  align-items: center;
  padding: 16px;
  color: #fff;
}

.auth-toast .toast-icon {
  margin-right: 12px;
  font-size: 20px;
}

.auth-toast .toast-message {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
}

.auth-toast .toast-close {
  background: none;
  border: none;
  color: #fff;
  opacity: 0.8;
  cursor: pointer;
  padding: 0 8px;
  font-size: 20px;
  transition: opacity 0.3s ease;
}

.auth-toast .toast-close:hover {
  opacity: 1;
}

/* Auth Form Validation Styles */
.auth-form .input-group {
  position: relative;
  margin-bottom: 0.75rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.auth-form .validation-message {
  font-size: 0.85rem;
  padding: 0;
  margin: 0;
  height: 0;
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.auth-form .validation-message.error,
.auth-form .validation-message.success {
  padding: 0.25rem 0.5rem;
  height: 24px;
  opacity: 1;
  margin-bottom: 0.75rem;
}

.auth-form .validation-message i {
  font-size: 1rem;
  width: 16px;
  text-align: center;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

.auth-form .validation-message.error i,
.auth-form .validation-message.success i {
  opacity: 1;
  transform: translateY(0);
}

.auth-form .validation-message.error {
  color: var(--bs-danger);
}

.auth-form .validation-message.success {
  color: var(--bs-success);
}

.auth-form .input-group.error .form-control {
  border-color: var(--bs-danger);
}

.auth-form .input-group.success .form-control {
  border-color: var(--bs-success);
}

@media (max-width: 576px) {
  .auth-form .validation-message {
    font-size: 0.8rem;
  }

  .auth-form .validation-message.error,
  .auth-form .validation-message.success {
    padding: 0.2rem 0.4rem;
    height: 20px;
    margin-bottom: 0.5rem;
  }

  .auth-form .validation-message i {
    font-size: 0.9rem;
  }
}

.captcha-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  background: var(--bs-light);
  border-radius: 0 0.375rem 0.375rem 0;
  overflow: hidden;
}

.captcha-canvas {
  height: 50px;
  background: var(--bs-light);
  border-radius: 0 0.375rem 0.375rem 0;
}

.btn-refresh-captcha {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.1);
  color: var(--bs-dark);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-refresh-captcha:hover {
  background: rgba(0, 0, 0, 0.2);
  color: var(--bs-primary);
}

.btn-refresh-captcha i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.btn-refresh-captcha:hover i {
  transform: rotate(180deg);
}

@media (max-width: 576px) {
  .captcha-canvas {
    height: 40px;
  }

  .btn-refresh-captcha {
    width: 24px;
    height: 24px;
  }

  .btn-refresh-captcha i {
    font-size: 12px;
  }
}

.kyc-container {
  max-width: 768px;
  margin: 0 auto;
  padding: 1rem;
  min-height: 100vh;
  background: var(--bs-light);
}

.verification-status {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.verification-status .status-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

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

.verification-status.success .status-icon {
  background: rgba(25, 135, 84, 0.1);
  color: #198754;
}

.verification-status.rejected .status-icon {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.verification-status .status-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--bs-dark);
}

.verification-status .status-content p {
  margin: 0;
  color: var(--bs-gray-600);
  font-size: 0.9rem;
}

.kyc-form {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-section {
  margin-bottom: 2rem;
}

.form-section h4 {
  font-size: 1.1rem;
  color: var(--bs-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--bs-gray-200);
}

.document-upload {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.upload-section {
  width: 100%;
}

.upload-label {
  width: 100%;
  cursor: pointer;
  margin: 0;
}

.upload-label input[type="file"] {
  display: none;
}

.upload-area {
  border: 2px dashed var(--bs-gray-300);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.upload-area:hover {
  border-color: var(--bs-primary);
  background: rgba(13, 110, 253, 0.02);
}

.upload-area i {
  font-size: 2rem;
  color: var(--bs-gray-500);
  margin-bottom: 0.5rem;
}

.upload-area span {
  display: block;
  color: var(--bs-gray-700);
  margin-bottom: 0.25rem;
}

.upload-area small {
  color: var(--bs-gray-500);
  font-size: 0.8rem;
}

.preview-area {
  position: relative;
  margin-top: 1rem;
}

.preview-area img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.btn-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--bs-danger);
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.btn-remove:hover {
  background: var(--bs-danger);
  color: #fff;
}

.btn-submit {
  width: 100%;
  padding: 0.875rem;
  border: none;
  border-radius: 0.5rem;
  background: var(--bs-primary);
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: #0b5ed7;
  transform: translateY(-1px);
}

.btn-submit i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.btn-submit:hover i {
  transform: translateX(3px);
}

@media (max-width: 576px) {
  .verification-status {
    padding: 1rem;
    gap: 1rem;
  }

  .verification-status .status-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .verification-status .status-content h3 {
    font-size: 1.1rem;
  }

  .verification-status .status-content p {
    font-size: 0.85rem;
  }

  .kyc-form {
    padding: 1rem;
  }

  .document-upload {
    grid-template-columns: 1fr;
  }

  .upload-area {
    padding: 1rem;
  }

  .upload-area i {
    font-size: 1.5rem;
  }

  .upload-area span {
    font-size: 0.9rem;
  }

  .preview-area img {
    height: 120px;
  }
}

.kyc-container .top-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
}

.kyc-container .back-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.kyc-container .back-button:hover {
  background: var(--bs-primary);
  color: #fff;
  transform: translateX(-3px);
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

.kyc-container .back-button i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.kyc-container .top-nav h1 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--bs-dark);
  font-weight: 600;
}

@media (max-width: 576px) {
  .kyc-container .back-button {
    width: 36px;
    height: 36px;
  }

  .kyc-container .back-button i {
    font-size: 1rem;
  }

  .kyc-container .top-nav h1 {
    font-size: 1.25rem;
  }
}

/* Records Page Styles */
.records-container {
  padding: 20px;
  min-height: 100vh;
  background: var(--bg-gradient);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.top-nav h1 {
  font-size: 1.5rem;
  margin: 0;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.back-button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--text-color);
  transition: all 0.3s ease;
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-3px);
}

/* Summary Cards */
.summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.summary-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  color: white;
  font-size: 1.2rem;
}

.card-info {
  flex: 1;
}

.card-info .label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.card-info h3 {
  margin: 5px 0;
  font-size: 1.5rem;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trend {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.trend.positive {
  color: var(--success-color);
}

.trend.negative {
  color: var(--danger-color);
}

/* Filter Section */
.filter-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.filter-tab {
  padding: 8px 20px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-color);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.filter-tab:hover {
  background: rgba(255, 255, 255, 0.2);
}

.filter-tab.active {
  background: var(--primary-gradient);
  color: white;
}

.date-filter select {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-color);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

/* Records List */
.records-list {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
}

.date-header {
  margin: 15px 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.8;
}

.record-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.record-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.record-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.record-item.completed .record-icon {
  background: var(--success-gradient);
  color: white;
}

.record-item.pending .record-icon {
  background: var(--warning-gradient);
  color: white;
}

.record-item.failed .record-icon {
  background: var(--danger-gradient);
  color: white;
}

.record-info {
  flex: 1;
}

.record-info h6 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-color);
}

.meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 5px;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.record-amount {
  font-size: 1.1rem;
  font-weight: 600;
}

.record-amount.positive {
  color: var(--success-color);
}

.record-amount.negative {
  color: var(--danger-color);
}

.record-amount.pending {
  color: var(--warning-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .records-container {
    padding: 15px;
  }

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

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

  .filter-tabs {
    width: 100%;
  }

  .date-filter {
    width: 100%;
  }

  .date-filter select {
    width: 100%;
  }

  .record-item {
    padding: 12px;
  }

  .record-info h6 {
    font-size: 0.9rem;
  }

  .meta {
    flex-wrap: wrap;
  }

  .record-amount {
    font-size: 1rem;
  }
}

/* Animation for Record Items */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.record-item {
  animation: slideIn 0.3s ease forwards;
}

/* Shimmer Effect for Loading State */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.loading {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Services Dashboard Styles */
.services-container {
  padding: 20px;
  min-height: 100vh;
  background: var(--bg-gradient);
}

/* Quick Balance Card */
.balance-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.balance-info .label {
  font-size: 0.9rem;
  opacity: 0.8;
  display: block;
  margin-bottom: 5px;
}

.balance-info h3 {
  font-size: 1.8rem;
  margin: 0;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-add-money {
  background: var(--primary-gradient);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.btn-add-money:hover {
  transform: translateY(-2px);
}

/* Section Title */
.section-title {
  margin: 25px 0 15px;
}

.section-title h2 {
  font-size: 1.3rem;
  color: var(--text-color);
  margin: 0;
}

/* Services Grid */
.services-grid,
.all-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.service-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  transition: transform 0.3s ease;
}

.service-item:hover .service-icon {
  transform: scale(1.1);
}

.service-icon.blue {
  background: linear-gradient(135deg, #1e90ff, #4169e1);
}
.service-icon.purple {
  background: linear-gradient(135deg, #9c27b0, #673ab7);
}
.service-icon.green {
  background: linear-gradient(135deg, #4caf50, #2e7d32);
}
.service-icon.orange {
  background: linear-gradient(135deg, #ff9800, #f57c00);
}
.service-icon.red {
  background: linear-gradient(135deg, #f44336, #d32f2f);
}
.service-icon.teal {
  background: linear-gradient(135deg, #009688, #00796b);
}
.service-icon.pink {
  background: linear-gradient(135deg, #e91e63, #c2185b);
}
.service-icon.yellow {
  background: linear-gradient(135deg, #ffc107, #ffa000);
}

.service-item span {
  font-size: 0.85rem;
  color: var(--text-color);
  text-align: center;
}

/* Payment Apps Grid */
.payment-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.payment-app-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.payment-app-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.app-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 10px;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary-gradient);
  color: white;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .services-container {
    padding: 15px;
  }

  .balance-card {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .btn-add-money {
    width: 100%;
    justify-content: center;
  }

  .services-grid,
  .all-services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (max-width: 576px) {
  .services-grid,
  .all-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .service-item span {
    font-size: 0.8rem;
  }

  .app-icon {
    width: 50px;
    height: 50px;
  }
}

/* Animation for Service Items */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-item,
.payment-app-item {
  animation: fadeInUp 0.5s ease forwards;
  position: relative;
  overflow: hidden;
}

/* Hover Effects */
.service-item::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  transition: all 0.5s ease;
}

.service-item:hover::before {
  top: -50%;
  left: -50%;
}

.service-item:nth-child(2) {
  animation-delay: 0.1s;
}
.service-item:nth-child(3) {
  animation-delay: 0.2s;
}
.service-item:nth-child(4) {
  animation-delay: 0.3s;
}
.payment-app-item:nth-child(2) {
  animation-delay: 0.1s;
}
.payment-app-item:nth-child(3) {
  animation-delay: 0.2s;
}
.payment-app-item:nth-child(4) {
  animation-delay: 0.3s;
}

/* App Header */
.app-header {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

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

.status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  border: 2px solid white;
}

.user-details h6 {
  font-size: 0.8rem;
  margin: 0;
  opacity: 0.8;
}

.user-details p {
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
}

.header-actions {
  display: flex;
  gap: 15px;
}

.notification-btn,
.settings-btn,
.theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.notification-btn:hover,
.settings-btn:hover,
.theme-toggle:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.notification-badge,
.badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4d4d;
  color: white;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Enhanced Services Styles */
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 25px 0 15px;
}

.view-all {
  color: var(--text-color);
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.view-all:hover {
  opacity: 1;
  transform: translateX(5px);
}

.section-actions {
  display: flex;
  gap: 10px;
}

.btn-scroll {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-scroll:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.service-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary-gradient);
  color: white;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.service-item:hover .service-badge {
  opacity: 1;
  transform: translateY(0);
}

/* Bottom Navigation */
.bottom-navigation {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--text-color);
  opacity: 0.7;
  transition: all 0.3s ease;
  position: relative;
}

.nav-item.active {
  opacity: 1;
}

.nav-item span {
  font-size: 0.8rem;
}

.nav-item-circle {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.nav-item:hover .nav-item-circle {
  transform: translateY(-5px);
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  transition: all 0.3s ease;
  border-radius: 3px;
}

.nav-item.active::after {
  width: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .app-header {
    padding: 10px 15px;
  }

  .user-details h6 {
    font-size: 0.7rem;
  }

  .user-details p {
    font-size: 0.9rem;
  }
}

.services-container {
  padding-bottom: 80px;
}

.bottom-navigation {
  padding: 10px;
}

.nav-item span {
  font-size: 0.7rem;
}

.nav-item-circle {
  width: 45px;
  height: 45px;
  margin-top: -25px;
}

/* Earnings Grid */
.earnings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.earning-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease forwards;
}

.earning-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transition: all 0.3s ease;
}

.earning-card:hover {
  transform: translateY(-5px);
}

.earning-card:hover::before {
  opacity: 1;
}

.earning-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  transition: transform 0.3s ease;
}

.earning-card:hover .earning-icon {
  transform: scale(1.1);
}

.earning-card.referral .earning-icon {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.earning-card.cashback .earning-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.earning-card.reward .earning-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.earning-card.royalty .earning-icon {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.earning-info {
  flex: 1;
}

.earning-info .label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 5px;
}

.earning-info h4 {
  font-size: 1.5rem;
  margin: 0;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.earning-info .trend {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  margin-top: 5px;
}

.earning-chart {
  font-size: 1.2rem;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.earning-card:hover .earning-chart {
  opacity: 0.8;
  transform: translateY(-3px);
}

/* Staggered Animation for Earning Cards */
.earning-card:nth-child(1) {
  animation-delay: 0.1s;
}
.earning-card:nth-child(2) {
  animation-delay: 0.2s;
}
.earning-card:nth-child(3) {
  animation-delay: 0.3s;
}
.earning-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .earnings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .earning-card {
    padding: 15px;
  }

  .earning-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .earning-info h4 {
    font-size: 1.3rem;
  }
}

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

  .earning-card {
    padding: 15px;
  }

  .earning-info .label {
    font-size: 0.85rem;
  }

  .earning-info h4 {
    font-size: 1.2rem;
  }

  .earning-chart {
    font-size: 1rem;
  }
}

/* Container and Responsive Styles */
.container {
  width: 100%;
  max-width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

.services-container {
  width: 100%;
  max-width: 100%;
  padding: 0 15px;
  margin: 0 auto;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .services-container {
    padding: 0 10px;
  }

  .app-header {
    padding: 0 10px;
  }

  .bottom-navigation {
    padding: 0 10px;
  }

  .section-title {
    padding: 0 10px;
  }

  .earnings-grid {
    padding: 0 10px;
  }

  .services-grid {
    padding: 0 10px;
  }

  .all-services-grid {
    padding: 0 10px;
  }
}

@media (max-width: 576px) {
  .services-container {
    padding: 0 8px;
  }

  .app-header {
    padding: 0 8px;
  }

  .bottom-navigation {
    padding: 0 8px;
  }

  .section-title {
    padding: 0 8px;
  }

  .earnings-grid {
    padding: 0 8px;
  }

  .services-grid {
    padding: 0 8px;
  }

  .all-services-grid {
    padding: 0 8px;
  }

  .balance-card {
    margin: 0 8px;
  }

  .service-item {
    margin: 0 4px;
  }

  .earning-card {
    margin: 0 4px;
  }
}

/* Fix for horizontal scrolling */
html,
body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* Ensure all content stays within viewport */
* {
  box-sizing: border-box;
  max-width: 100%;
}

/* Mobile Recharge Page Styles */
.recharge-container {
  padding: 1rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
  min-height: 100vh;
}

.balance-display {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.balance-display::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.balance-content {
  position: relative;
  z-index: 1;
}

.balance-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.balance-amount {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.min-withdrawal {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
}

.balance-icon {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.balance-icon i {
  color: #fff;
  font-size: 1.5rem;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-title h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.operator-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.operator-item {
  background: #fff;
  border-radius: 0.8rem;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.operator-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #4a90e2;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.operator-item.active::before {
  transform: scaleX(1);
}

.operator-item.active {
  background: #f8f9fa;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.operator-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  transition: all 0.3s ease;
}

.operator-item.active .operator-icon {
  background: #4a90e2;
  color: #fff;
}

.operator-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #2c3e50;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.amount-option {
  background: #fff;
  border-radius: 0.8rem;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.amount-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(74, 144, 226, 0.1) 0%,
    rgba(74, 144, 226, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.amount-option.active::before {
  opacity: 1;
}

.amount-option.active {
  background: #f8f9fa;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.amount-option span {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  position: relative;
  z-index: 1;
}

.amount-option.active span {
  color: #4a90e2;
}

.amount-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #ff6b6b;
  color: #fff;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 1rem;
  font-weight: 500;
}

.custom-amount-input {
  margin-bottom: 2rem;
}

.custom-amount-input .input-group {
  background: #fff;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.custom-amount-input .input-group:focus-within {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.custom-amount-input .input-group-text {
  background: #f8f9fa;
  border: none;
  color: #4a90e2;
}

.custom-amount-input .form-control {
  border: none;
  padding: 1rem;
  font-size: 1rem;
}

.custom-amount-input .form-control:focus {
  box-shadow: none;
}

.custom-amount-input .btn {
  background: #f8f9fa;
  border: none;
  color: #4a90e2;
  padding: 0 1.5rem;
}

.payment-methods {
  margin-bottom: 2rem;
}

.payment-option {
  background: #fff;
  border-radius: 0.8rem;
  padding: 1rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.payment-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(74, 144, 226, 0.1) 0%,
    rgba(74, 144, 226, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.payment-option.active::before {
  opacity: 1;
}

.payment-option.active {
  background: #f8f9fa;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.payment-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.payment-option.active .payment-icon {
  background: #4a90e2;
  color: #fff;
}

.payment-info {
  flex: 1;
}

.payment-info h6 {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.2rem;
}

.payment-info p {
  font-size: 0.8rem;
  color: #7f8c8d;
  margin: 0;
}

.payment-check {
  width: 1.5rem;
  height: 1.5rem;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a90e2;
  opacity: 0;
  transition: all 0.3s ease;
}

.payment-option.active .payment-check {
  opacity: 1;
}

.proceed-button {
  margin-top: 2rem;
}

.proceed-button .btn {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  border: none;
  border-radius: 0.8rem;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.proceed-button .btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.proceed-button .btn:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
}

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

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

  .balance-amount {
    font-size: 2rem;
  }

  .operator-item,
  .amount-option,
  .payment-option {
    padding: 0.8rem;
  }

  .payment-icon {
    width: 2rem;
    height: 2rem;
  }

  .proceed-button .btn {
    padding: 0.8rem;
    font-size: 1rem;
  }
}
