/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body - Dark background */
body {
  font-family: Arial, sans-serif;
  background-color: #1a1a1a; /* Dark gray-black */
  color: #e0e0e0; /* Light gray text */
  line-height: 1.6;
}

/* Header */
header {
  background-color: #2c2c2c; /* Darker gray */
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #444; /* Subtle border */
}

header h1 {
  font-size: 2rem;
  color: #ffffff; /* White text */
}

hr.blue {
  border: 1px solid skyblue;
}

/* Search Bar */
.search-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* Space between token input and converter section */
  margin-bottom: 20px;
}

.divider {
  width: 80%; /* Adjust width as needed */
  height: 2px; /* Thickness of the line */
  background-color: skyblue; /* Sky blue color */
  border: none; /* Remove default HR border */
  margin: 0; /* Ensure no extra margin */
}

.token-input {
  display: flex;
  gap: 10px;
  align-items: center;
}

.token-input input {
  padding: 5px;
  width: 250px; /* Adjust width as needed */
}

.token-input button {
  padding: 5px 10px;
}

.converter-section {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Space between the two converters */
}

.converter {
  display: flex;
  gap: 5px;
  align-items: center;
}

.converter input {
  width: 100px;
  padding: 5px;
}

.converter button {
  padding: 5px 10px;
}

.converter span {
  font-size: 14px;
}

.search-bar input {
  padding: 10px;
  font-size: 1rem;
  width: 300px;
  border: 1px solid #555; /* Dark border */
  border-radius: 5px;
  background-color: #333; /* Dark input background */
  color: #e0e0e0; /* Light text */
}

.search-bar input::placeholder {
  color: #888; /* Muted placeholder */
}

.search-bar button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #4a90e2; /* Blue button */
  color: #ffffff; /* White text */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-bar button:hover {
  background-color: #357abd; /* Darker blue on hover */
}

/* Main Section */
main {
  padding: 20px;
}

main h2 {
  font-size: 1.5rem;
  color: #ffffff; /* White text */
  margin-bottom: 20px;
  text-align: center;
}

/* Analytics Grid */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Cards */
.card {
  background-color: #2c2c2c; /* Dark card background */
  border: 1px solid #444; /* Subtle border */
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Darker shadow */
}

.card h3 {
  font-size: 1.2rem;
  color: #4a90e2; /* Blue accent for headers */
  margin-bottom: 10px;
}

.card p {
  font-size: 1rem;
  color: #e0e0e0; /* Light gray text */
}

/* Links in Social Card */
.card a {
  color: #4a90e2; /* Blue links */
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

/* Hidden Class */
.hidden {
  display: none;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .search-bar {
    flex-direction: column;
    align-items: center;
  }

  .search-bar input {
    width: 100%;
    max-width: 300px;
  }

  .search-bar button {
    width: 100%;
    max-width: 300px;
  }
}