* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body {
  background: #f5f7fb;
}

.layout {
  display: flex;
  height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 260px;
  background: #fff;
  border-right: 1px solid #e5e7eb;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

a {
  text-decoration: none;
}

.logo {
  width: 42px;
  text-decoration: none;
}

.brand h2 {
  font-size: 18px;
}

.brand p {
  font-size: 12px;
  color: #6b7280;
}

.menu {
  list-style: none;
  margin-top: 40px;
}

.menu li {
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
}

.menu .active {
  background: #2563eb;
  color: white;
}

.sidebar-user {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sidebar-user img {
  width: 40px;
  border-radius: 50%;
}

/* MAIN */
.main {
  flex: 1;
  padding: 20px 30px;
  overflow-y: auto;
}

.topbar {
  display: flex;
  justify-content: flex-end;
}

.signout {
  background: #e0f2fe;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  color: #2563eb;
  font-weight: 600;
}

/* PROFILE */
.profile-card {
  background: white;
  border-radius: 16px;
  margin: 20px 0;
  overflow: hidden;
}

.profile-banner {
  height: 120px;
  background: linear-gradient(to right, #1d4ed8, #60a5fa);
}

.profile-info {
  display: flex;
  align-items: center;
  padding: 20px;
  gap: 20px;
}

.profile-img {
  width: 110px;
  border-radius: 16px;
  border: 4px solid white;
  margin-top: -60px;
}

.details h1 {
  font-size: 26px;
}

.details p {
  color: #64748b;
}

.meta {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-size: 13px;
}

.badge.green {
  background: #dcfce7;
  color: #166534;
  padding: 4px 10px;
  border-radius: 20px;
}

.edit-btn {
  margin-left: auto;
  background: #2563eb;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
}

/* CONTENT */
.content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 20px;
}

.card h3 {
  margin-bottom: 20px;
}

.info label {
  font-size: 12px;
  color: #64748b;
}

.info p {
  margin-bottom: 16px;
  font-weight: 500;
}

/* ACADEMIC */
.stats {
  display: flex;
  gap: 20px;
}

.stat {
  background: #f8fafc;
  padding: 16px;
  border-radius: 12px;
  flex: 1;
}

.stat h2 {
  color: #2563eb;
}

.progress {
  margin: 20px 0;
}

.progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.bar {
  background: #e5e7eb;
  height: 8px;
  border-radius: 10px;
  margin-top: 6px;
}

.fill {
  width: 76%;
  height: 100%;
  background: #2563eb;
  border-radius: 10px;
}

.scholarship {
  display: flex;
  justify-content: space-between;
  background: #f8fafc;
  padding: 12px;
  border-radius: 12px;
}

.transcript {
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: white;
}

/* FOOTER */
footer {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 30px;
}
