/*--------------------------------------------------------------
# Trading Signals Page Styles
--------------------------------------------------------------*/

/* Page Title Section */
.page-title {
  background: linear-gradient(135deg, rgba(15, 17, 25, 0.8) 0%, rgba(26, 27, 38, 0.8) 100%), url("../images/space-nebula-bg.jpg") center center;
  background-size: cover;
  padding: 120px 0 60px 0;
  color: #fff;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

/* Add a subtle star field effect to page title */
.page-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../images/stars-bg.png");
  background-size: cover;
  opacity: 0.2;
  z-index: 0;
}

.page-title h1 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 20px rgba(138, 43, 226, 0.5); /* Purple glow using var(--primary-color) */
}

.page-title .breadcrumb {
  background: transparent;
  margin-bottom: 0;
  padding: 0;
}

.page-title .breadcrumb-item,
.page-title .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}

.page-title .breadcrumb-item a:hover {
  color: var(--accent-color);
  text-shadow: var(--glow-effect);
}

.page-title .breadcrumb-item.active {
  color: #fff;
}

.page-title .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

/* Live Signals Section */
.live-signals {
  padding: 80px 0;
}

.signals-dashboard {
  background: var(--gray-100); /* Dark background */
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  border: 1px solid rgba(126, 58, 242, 0.1); /* Subtle purple border */
}

.dashboard-header {
  padding: 20px;
  border-bottom: 1px solid var(--gray-200); /* Darker border */
}

.dashboard-header h3 {
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900); /* White text */
  text-shadow: 0 0 10px rgba(126, 58, 242, 0.3); /* Subtle purple glow */
}

.dashboard-filters .form-select {
  font-size: 14px;
  padding: 8px 15px;
  border-radius: 5px;
  border-color: var(--gray-300);
  background-color: var(--gray-200); /* Darker background */
  color: var(--gray-700); /* Light text */
}

.dashboard-footer {
  padding: 20px;
  border-top: 1px solid var(--gray-200); /* Darker border */
  font-size: 14px;
  color: var(--gray-600); /* Light gray text */
}

.pagination .page-link {
  color: var(--primary-color);
  border-color: var(--gray-300);
  padding: 8px 15px;
  font-size: 14px;
  background-color: var(--gray-200); /* Darker background */
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: var(--glow-effect); /* Purple glow using CSS variable */
}

.signals-table .status.pending {
  background-color: rgba(245, 158, 11, 0.2); /* Slightly more visible */
  color: #F59E0B;
}

/* Performance Section */
.performance {
  padding: 80px 0;
}

.performance-card {
  background: var(--gray-100); /* Dark background */
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  padding: 30px;
  margin-bottom: 30px;
  transition: var(--transition);
  border: 1px solid rgba(126, 58, 242, 0.1); /* Subtle purple border */
}

.performance-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
  border-color: rgba(126, 58, 242, 0.3); /* Enhanced purple border on hover */
}

.performance-icon {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(126, 58, 242, 0.5); /* Purple glow */
}

.performance-card h3 {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 600;
}

.performance-stats {
  margin-bottom: 20px;
}

.performance-stats .stat {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200); /* Darker border */
}

.performance-stats .stat:last-child {
  border-bottom: none;
}

.performance-stats .stat-label {
  font-weight: 500;
  color: var(--gray-600); /* Light gray text */
}

.performance-stats .stat-value {
  font-weight: 600;
  font-family: 'Roboto Mono', monospace;
  color: var(--primary-color); /* Purple text */
  text-shadow: 0 0 5px rgba(126, 58, 242, 0.3); /* Subtle glow */
}

.performance-chart {
  margin: 20px 0;
}

/* Subscription Section */
.subscription {
  padding: 80px 0;
}

.pricing-box {
  background: var(--gray-100); /* Dark background */
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(126, 58, 242, 0.1); /* Subtle purple border */
}

.pricing-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
  border-color: rgba(126, 58, 242, 0.3); /* Enhanced purple border on hover */
}

.pricing-box.featured {
  border: 2px solid var(--primary-color);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(126, 58, 242, 0.3); /* Purple glow for featured box */
}

.pricing-box.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--primary-color);
  color: #fff;
  padding: 5px 30px;
  font-size: 12px;
  transform: rotate(45deg);
  font-weight: 600;
  box-shadow: var(--glow-effect); /* Purple glow using CSS variable */
}

.pricing-box h3 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 600;
}

.pricing-box h4 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(126, 58, 242, 0.3); /* Subtle glow */
}

.pricing-box h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing-box h4 span {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-600); /* Light gray text */
}

.pricing-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  text-align: left;
}

.pricing-box ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--gray-200); /* Darker border */
  color: var(--gray-700); /* Light text */
}

.pricing-box ul li:last-child {
  border-bottom: none;
}

.pricing-box ul i {
  margin-right: 10px;
  font-size: 14px;
}

.pricing-box ul i.fa-check {
  color: #10B981;
}

.pricing-box ul i.fa-times {
  color: #EF4444;
}

/* How It Works Section */
.how-it-works {
  padding: 80px 0;
}

.how-it-works-box {
  background: var(--gray-100); /* Dark background */
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
  border: 1px solid rgba(126, 58, 242, 0.1); /* Subtle purple border */
}

.how-it-works-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
  border-color: rgba(126, 58, 242, 0.3); /* Enhanced purple border on hover */
}

.how-it-works-box .icon {
  margin-bottom: 20px;
  font-size: 36px;
  color: var(--primary-color);
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(126, 58, 242, 0.1); /* Subtle purple background */
  transition: var(--transition);
  margin: 0 auto 20px auto;
  box-shadow: 0 0 15px rgba(126, 58, 242, 0.2); /* Subtle glow */
}

.how-it-works-box:hover .icon {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 0 20px rgba(126, 58, 242, 0.5); /* Enhanced glow */
}

.how-it-works-box h4 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.how-it-works-box .step-number {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 0 15px rgba(126, 58, 242, 0.5); /* Purple glow */
}

.content h3 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
}

.content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.content ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.content ul i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 16px;
}

.signal-example h3 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
}

.signal-card {
  background: var(--gray-100); /* Dark background */
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  border: 1px solid rgba(126, 58, 242, 0.2); /* Subtle purple border */
}

.signal-header {
  background: var(--purple-gradient); /* Purple gradient */
  color: #fff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 0 15px rgba(126, 58, 242, 0.3); /* Purple glow */
}

.signal-pair {
  font-weight: 700;
  font-size: 18px;
  font-family: 'Roboto Mono', monospace;
}

.signal-body {
  padding: 20px;
}

.signal-detail {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200); /* Darker border */
  color: var(--gray-700); /* Light text */
}

.signal-detail:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 500;
  color: var(--gray-600); /* Light gray text */
}

.detail-value {
  font-weight: 600;
  font-family: 'Roboto Mono', monospace;
  color: var(--primary-color); /* Purple text */
}

.signal-footer {
  background: var(--gray-200); /* Slightly lighter background */
  padding: 10px 20px;
  font-size: 14px;
  color: var(--gray-600); /* Light gray text */
}

/* FAQ Section */
.faq {
  padding: 80px 0;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--gray-200); /* Darker border */
  background-color: var(--gray-100); /* Dark background */
}

.accordion-button {
  font-weight: 600;
  font-size: 16px;
  color: var(--gray-900); /* White text */
  background-color: var(--gray-100); /* Dark background */
  padding: 20px;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: rgba(126, 58, 242, 0.1); /* Subtle purple background */
  box-shadow: inset 0 0 10px rgba(126, 58, 242, 0.1); /* Subtle inner glow */
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--gray-200);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237E3AF2'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 20px;
  background-color: var(--gray-100); /* Dark background */
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-700); /* Light text */
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .performance-card,
  .pricing-box,
  .how-it-works-box {
    margin-bottom: 30px;
  }
  
  .signal-example {
    margin-top: 30px;
  }
}

@media (max-width: 767.98px) {
  .page-title h1 {
    font-size: 30px;
  }
  
  .dashboard-filters {
    margin-top: 15px;
  }
  
  .dashboard-footer {
    text-align: center;
  }
  
  .pagination {
    justify-content: center !important;
    margin-top: 15px;
  }
}

@media (max-width: 575.98px) {
  .page-title h1 {
    font-size: 26px;
  }
  
  .dashboard-filters .form-select {
    width: 100% !important;
    margin-bottom: 10px;
  }
  
  .signals-table {
    font-size: 12px;
  }
  
  .signals-table th,
  .signals-table td {
    padding: 10px 5px;
  }
  
  .accordion-button {
    font-size: 15px;
    padding: 15px;
  }
}
