/* General Styles */
/* General Styles */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1D232A;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  line-height: 1.5;
}

.main-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  padding: 30px;
  background-color: #191E24;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #fff;
}

/* Title */
h1 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #fff;
  text-align: center;
}

/* Tab Buttons */
.tab-container {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  gap: 10px;
}

.tab-btn {
  flex: 1;
  padding: 12px;
  background-color: #444;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.tab-btn.active {
  background-color: #172642;
}

.tab-btn:hover {
  background-color: #2c4e8c;
}

/* Forms */
.form {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.form.active {
  display: flex;
}

input {
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.dashboard-container {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #333;
}

h2 {
  color: #333;
  margin-bottom: 15px;
}

.points-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.points-section .points{
  font-size: 1.8em;
  margin: 0px;
  line-height: 1.8rem; 
}
.points-section .points-board {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #2929296b;
  padding: 8px 12px;
  border-radius: 5px;
  box-shadow: 0px 8px 20px -2px rgba(0, 0, 0, 0.25);
  margin: 4px 0px;
}
.points-section .points-label {
  font-weight: bold;
}

.primary-btn {
  display: inline-block;
  margin: 10px 0;
  padding: 13px 20px;
  background-color: #172642;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-bottom: 10px;
  font-size: 16px;
}

.primary-btn:hover {
  background-color: #2c4e8c;
}

.secondary-link {
  color: #007bff;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}

.secondary-link:hover {
  color: #0056b3;
}

.referral-section {
  margin: 20px 0;
}

.twitter-section {
  margin-top: 20px;
  text-align: center;
}

.twitter-section .description {
  display: block;
  margin: 0 10px;
}

.twitter-section .tooltip {
  font-size: 13px;
  color: #5e5e5e;
  display: block;
  margin-top: 5px;
}

.primary-btn.twitter {
  background-color: #171717;
}

.twitter-follow-button {
  margin-bottom: 10px;
}

footer a:last-child {
  margin-right: 0;
}

/* Leaderboard Styles */
.leaderboard-container {
  width: 90%;
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

.leaderboard-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  font-size: 16px;
  color: #555;
}

.leaderboard-entry:nth-child(even) {
  background-color: #f9f9f9;
}

.leaderboard-entry p {
  margin: 0;
}

.rank {
  font-weight: bold;
  color: #007bff;
}

.user-info {
  flex-grow: 1;
  margin-left: 10px;
}

.points-referrals {
  text-align: right;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  text-align: center;
  background-color: #1D232A;
}

.twitter-section a {
  color: #007bff;
  text-decoration: none;
}

.twitter-section a:hover {
  color: #0056b3;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 300px;
  text-align: center;
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#message{
  text-align: center;
}

#success-message p, #success-message h4, #error-message p, #error-message h4 {
  margin: 10px auto;
}

#success-message{
  border: 1px solid #e7fe7f;
  border-radius: 8px;
  padding: 8px 16px;
}

#success-message h4{
  color: #e7fe7f;
}
#error-message{
  border: 1px solid #fe7f7f;
  border-radius: 8px;
  padding: 8px 16px;
}

#error-message h4{
  color: #fe7f7f;
}

.mt10 {
  margin-top: 10px;
}

h1,h2,h3 {
  color: #A6ADBB;
}


.logo {
  width: 50px;               /* Adjust as needed */
  height: 50px;              /* Same as width for a perfect circle */
  border-radius: 50%;         /* Makes the element circular */
  object-fit: cover;          /* Ensures the image fills the circle */
  background-color: #1a2238;  /* Match the background to the image’s background */
  border: 2px solid #E7FE7F;  /* Optional border */
  overflow: hidden;           /* Ensures no extra content spills out */
  display: block;
  margin: 0 auto;

}

.heading{
  margin: 30px 0px;
}

.dashboard-header{
  color: #171717 !important;
}