/* Global Styles */
body {
  font-family: 'Arial', sans-serif;
  background-color: #121212;
  color: white;
  margin: 0;
  padding: 0;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #1c1c1c;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  font-size: 1rem;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #ff9800;
}

/* Theme Selector */
.navbar .theme-selector {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-selector label {
  font-size: 0.9rem;
  color: white;
}

.theme-selector select {
  padding: 0.3rem;
  border: none;
  border-radius: 4px;
  background-color: #2e2e2e;
  color: white;
}

/* Dashboard Container */
.dashboard-container {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

/* Section Titles */
h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #ff9800;
}

/* Crypto Table */
.crypto-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  background-color: #1e1e1e;
}

.crypto-table th,
.crypto-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #444;
  color: white;
}

.crypto-table th {
  background-color: #2e2e2e;
  color: #ff9800;
  font-size: 1.1rem;
}

.crypto-table tr:hover {
  background-color: #333;
}

.crypto-table td {
  font-size: 1rem;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.action-buttons button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.action-buttons .buy {
  background-color: #28a745;
  color: white;
}

.action-buttons .buy:hover {
  background-color: #218838;
}

.action-buttons .sell {
  background-color: #dc3545;
  color: white;
}

.action-buttons .sell:hover {
  background-color: #c82333;
}

/* Best Long and Short Signals */
.signals-container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.signal-table {
  flex: 1;
  border-collapse: collapse;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  background-color: #1e1e1e;
}

.signal-table th {
  padding: 1rem;
  background-color: #2e2e2e;
  text-align: center;
  font-size: 1.2rem;
  color: white;
}

.signal-table td {
  padding: 1rem;
  text-align: center;
  font-size: 1rem;
  color: white;
}

.signal-table tr:nth-child(even) {
  background-color: #2a2a2a;
}

.signal-table tr:nth-child(odd) {
  background-color: #1e1e1e;
}

.signal-title-long {
  color: #28a745;
  font-weight: bold;
  text-align: center;
}

.signal-title-short {
  color: #dc3545;
  font-weight: bold;
  text-align: center;
}

/* Advertisement Placeholder */
.ad-placeholder {
  margin-top: 2rem;
  text-align: center;
  display: none; /* Hidden by default */
}

/* Disclaimer */
.disclaimer {
  color: #dc3545;
  text-align: center;
  font-size: 1rem;
  margin: 2rem 0;
}

/* Footer */
.footer {
  text-align: center;
  padding: 1rem;
  background: #1c1c1c;
  color: white;
  position: relative;
  bottom: 0;
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .signals-container {
      flex-direction: column;
  }

  .crypto-table,
  .signal-table {
      font-size: 0.9rem;
  }

  .action-buttons button {
      padding: 0.3rem 0.8rem;
  }
}

.header {
    background: #2c3e50;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: 1rem;
    margin-left: 20px;
    flex-wrap: wrap;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

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

.logo-container {
    padding-right: 20px;
}

.logo-container img {
    height: 50px;
    width: auto;
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 0.8rem;
    }
    
    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .logo-container img {
        height: 40px;
    }
}
