* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", sans-serif;
  background: #f5f6fa;
  color: #1a1a2e;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 28px 24px;
  width: 100%;
  max-width: 420px;
  margin-top: 24px;
}

h1 {
  font-size: 22px;
  margin-bottom: 4px;
}

.subtitle {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 14px;
  color: #374151;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 15px;
}

input:focus {
  outline: none;
  border-color: #6366f1;
}

button {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: #6366f1;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-top: 20px;
  cursor: pointer;
}

button:hover {
  background: #4f46e5;
}

button.secondary {
  background: transparent;
  color: #6366f1;
  border: 1px solid #6366f1;
}

button.secondary:hover {
  background: #eef2ff;
}

.error {
  color: #dc2626;
  font-size: 13px;
  margin-top: 12px;
}

.success {
  color: #16a34a;
  font-size: 13px;
  margin-top: 12px;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.tabs button {
  margin-top: 0;
  background: #f3f4f6;
  color: #6b7280;
}

.tabs button.active {
  background: #6366f1;
  color: #fff;
}

.task-list {
  width: 100%;
  max-width: 480px;
}

.task-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.task-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.task-card p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 12px;
}

.upload-btn {
  display: inline-block;
  background: #6366f1;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-approved { background: #d1fae5; color: #065f46; }
.status-rejected { background: #fee2e2; color: #991b1b; }

.top-bar {
  width: 100%;
  max-width: 480px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.top-bar button {
  width: auto;
  margin-top: 0;
  padding: 8px 14px;
  font-size: 13px;
  background: #f3f4f6;
  color: #6b7280;
}
