@import url("https://fonts.googleapis.com/css2?familyPopins:wght@300;400;500;600;700;800;900&display=swap");
* {
    margin: 0; 
    padding: 0;
    box-sizing: border-box;
    font-family: "poppins", sans-serif;

}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: seagreen;
}

.wrapper {
    width: 420px;
    background: purple;
    color: #fff;
    border-radius: 10x;
    padding: 30px 40px;
}

.wrapper h1 {
    font-size: 36px;
    text-align: center;
}

.wrapper .input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 30px 0;
}
.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    border: 2px solid rgba(255,255,255,.2);
    border-radius: 40px;
    font-size: 16px;
    color: #fff;
    padding: 20px 45px 20px 20px;
}

.input-box input::placeholder{
    color:#fff;
}

.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;

}

.wrapper .remember-forgot {
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    margin: -15px 0 15px;
}

.remember-forgot label input {
    accent-color: #fff;
    margin-right: 3px;
}

.remember-forgot a:hover {
    text-decoration: none;

}

.remember-forgot a:hover {
    text-decoration: underline;
}

.wrapper .btn {
    width: 100%;
    height: 45px;
    background: #fff;
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
    cursor: pointer;
    font-size: 16px;
    color:#000;
    font-weight:600;
}

.wrapper .register-link {
    font-size: 14.5px;
    text-align: center;
    margin-top: 20px;
    margin: 20px 0 15px;
    color: #fff;
}

.register-link p a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.register-link p a:hover {
    text-decoration: underline;
}

.register-wrapper {
  max-width: 400px;
  background: purple;
  margin: 50px auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: Arial, sans-serif;
}

form {
  display: flex;
  flex-direction: column;
}

input,
button {
  margin-bottom: 15px;
  padding: 10px;
  font-size: 16px;
}

.login-link {
  text-align: center;
}

/* Shared wrapper for login, register, and forgot pages */
.wrapper {
  width: 420px;
  background: purple;
  color: #fff;
  border-radius: 10px;
  padding: 30px 40px;
  margin: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Page heading */
.wrapper h1 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 25px;
}

/* Input field box */
.input-box {
  position: relative;
  width: 100%;
  height: 50px;
  margin: 20px 0;
}

.input-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  font-size: 16px;
  color: #fff;
  padding: 20px 45px 20px 20px;
  outline: none;
}

.input-box input::placeholder {
  color: #fff;
}

.input-box i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #fff;
}

/* Register button */
.btn {
  width: 100%;
  height: 45px;
  background: #fff;
  border: none;
  border-radius: 40px;
  font-size: 16px;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
}

/* Link under the button */
.register-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14.5px;
}

.register-link a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.register-link a:hover {
  text-decoration: underline;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f6fa;
  margin: 0;
  padding: 0;
}

.dashboard-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
}

.dashboard-container h1 {
  font-size: 26px;
  margin-bottom: 30px;
  color: #333;
}

.dashboard-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  flex: 1 1 200px;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
  text-align: center;
}

.card:hover {
  transform: translateY(-6px);
}

.card h2 {
  font-size: 18px;
  margin: 10px 0;
  color: #222;
}

.card p {
  font-size: 16px;
  font-weight: bold;
  color: #444;
}

.card .icon {
  font-size: 35px;
  margin-bottom: 10px;
  color: inherit;
}

.card.blue {
  border-left: 5px solid #3b82f6;
}
.card.green {
  border-left: 5px solid #10b981;
}
.card.orange {
  border-left: 5px solid #f59e0b;
}
.card.purple {
  border-left: 5px solid #8b5cf6;
}

.logout-btn {
  margin-top: 40px;
  padding: 10px 25px;
  background-color: #ef4444;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.logout-btn:hover {
  background-color: #dc2626;
}

.referral-box {
  margin-top: 40px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: inline-block;
}

.referral-box h3 {
  margin-bottom: 10px;
  color: #222;
}

#refLink {
  width: 300px;
  padding: 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 10px;
}

.copy-btn {
  padding: 10px 15px;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.copy-btn:hover {
  background-color: #2563eb;
}

/* === Daily Tasks Section === */
.tasks-container {
  margin-top: 40px;
  padding: 10px;
}

.tasks-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.task-card {
  background: linear-gradient(to right, #e3f2fd, #ffffff);
  border-left: 6px solid #2196f3;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 20px;
  margin-bottom: 20px;
  transition: 0.3s ease;
}

.task-card h4 {
  font-size: 18px;
  color: #0d47a1;
  margin-bottom: 8px;
}

.task-card p {
  font-size: 14px;
  color: #444;
  margin-bottom: 12px;
}

.task-card a {
  color: #1565c0;
  text-decoration: none;
}

.task-card a:hover {
  text-decoration: underline;
}

.task-card button {
  background: #2196f3;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.task-card button:disabled {
  background: #bbdefb;
  cursor: not-allowed;
  color: #555;
}

.task-card button:hover:enabled {
  background: #1976d2;
}

.withdraw-container {
  max-width: 400px;
  margin: 40px auto;
  padding: 25px;
  background: #f0f9ff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-family: 'Arial', sans-serif;
  text-align: center;
}

.withdraw-container h2 {
  margin-bottom: 20px;
  color: #0284c7;
}

.withdraw-container p {
  font-size: 16px;
  margin-bottom: 15px;
}

.withdraw-container form input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.withdraw-container form button {
  background: #10b981;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.withdraw-container form button:hover {
  background: #059669;
}

.withdraw-container a {
  display: inline-block;
  margin-top: 15px;
  color: #2563eb;
  text-decoration: none;
  font-weight: bold;
}