/* =======================================================
   EduFi Learn-to-Earn — Style Sheet
======================================================= */

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #2c3e50, #3498db);
  color: #fff;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  width: 450px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  backdrop-filter: blur(10px);
  max-height: 90vh;
  overflow-y: auto;
}

h1 {
  font-weight: 600;
  margin-bottom: 10px;
  color: #f1f1f1;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

h3 {
  font-weight: 500;
  margin-top: 20px;
  color: #e3e3e3;
}

.section, .progress-section, .lessons, .log-section {
  margin-bottom: 20px;
}

input,
textarea,
button {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  box-sizing: border-box;
  font-family: inherit;
}

textarea {
  resize: none;
  height: 70px;
}

button {
  background: #27ae60;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

button:hover {
  background: #2ecc71;
  transform: scale(1.05);
}

.primary-btn {
  background: #e67e22;
}

.primary-btn:hover {
  background: #f39c12;
}

.success-btn {
  background: #2980b9;
}

.success-btn:hover {
  background: #3498db;
}

.wallet-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.progress-bar {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  width: 100%;
  height: 20px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #27ae60;
  width: 0%;
  border-radius: 10px;
  transition: width 0.4s ease;
}

#progressText {
  margin-top: 5px;
  font-size: 14px;
  color: #dfe6e9;
}

ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  text-align: left;
}

ul li {
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 5px;
  font-size: 14px;
  word-wrap: break-word;
}

#log {
  background: rgba(0, 0, 0, 0.4);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  min-height: 30px;
  word-wrap: break-word;
}