@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #5f2cdd, #3f6ee8);
}

/* Top bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  color: white;
}

.back-btn {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* Layout */
.container {
  max-width: 800px;
  margin: 30px auto;
  padding: 0 20px;
}

/* Cards */
.card, .profile-card {
  background: white;
  border-radius: 18px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Profile */
.profile-card {
  text-align: center;
}

.profile-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.profile-card h3 {
  font-size: 1.3rem;
}

.profile-card p {
  color: #666;
  font-size: 0.9rem;
}

/* Exam chips */
.exam-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

.exam-chip {
  padding: 10px 16px;
  border-radius: 20px;
  background: #f2f3f7;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s;
}

.exam-chip.selected {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
}

/* Button */
button {
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
  font-weight: 600;
  cursor: pointer;
}

#targetMsg {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* Progress */
.progress-item {
  margin-bottom: 15px;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: #e6e6e6;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 6px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
}
.upload-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  background: #eee;
  border-radius: 10px;
  font-size: 0.85rem;
  cursor: pointer;
}

.upload-btn:hover {
  background: #ddd;
}
