@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,500&display=swap');
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f7fafc;
  --text: #0f172a;
  --accent: #149ddb;
  --accent-weak: #149ddb22;
  --muted: #64748b;
}
html, body { height: 100%; }
body { background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; background: white; border-bottom: 1px solid #e2e8f0;
}
.brand { font-weight: 700; letter-spacing: .2px; }

/* Nav list */
.nav-list {
  display: flex; gap: 6px; margin-left: auto; list-style: none;
}
.nav-list a {
  display: block; padding: 8px 10px; border-radius: 8px;
  text-decoration: none; color: var(--text);
}
.nav-list a:hover { background: var(--accent-weak); }
.nav-list a.active { background: var(--accent); color: #fff; }

.nav-list a.dashboard-link {
    font-weight: 700;
    color: var(--accent);
    border: 1px solid var(--accent);
}
.nav-list a.dashboard-link:hover {
    background: var(--accent-weak);
}
.nav-list a.dashboard-link.active {
    background: var(--accent);
    color: #fff;
}

/* Mobile collapse */
.menu-toggle {
  display: none;
  border: 0; background: transparent; font-size: 20px; line-height: 1; cursor: pointer;
}

.card {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 500px;
  margin: 80px auto;
  font-family: 'Playfair Display', serif;
  z-index: 1;

}

.card h2 {
  margin-bottom: 20px;
  color: #149ddb;
}

.quote {
  font-style: italic;
  color: #555;
    font-size: clamp(1.1rem, 1.6vw + .6rem, 1.8rem);
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-block; }
  .nav-list {
    position: absolute; right: 14px; top: 54px;
    flex-direction: column; width: min(260px, 90vw);
    background: white; border: 1px solid #e2e8f0; border-radius: 10px;
    padding: 8px; display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
  }
  .nav-list.show { display: flex; }
}

/* Layout */
.container { max-width: 1280px; margin: 32px auto; padding: 0 16px; }

.page-title {
  font-size: clamp(1.1rem, 1.6vw + .6rem, 1.8rem);
  line-height: 1.5; color: var(--muted);
  border-left: 4px solid var(--accent);
  padding: 10px 14px; background: white; border-radius: 8px;
  margin-bottom: 24px;
}


bubble-container {
  position: fixed;   /* was relative */
  left: 0;
  right: 0;
  bottom: 0;         /* pin to screen bottom */
  height: 250px;
  overflow: hidden;
  z-index: -1;        /* adjust if it hides behind content; try 10–100 if needed */
  pointer-events: none; /* so it doesn't block clicks */
}

.bubble {
  position: absolute;
  bottom: -28px;
  animation: floatUp ease-in forwards;
  opacity: 0.5;
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-250px);
  }
}

/* Bubbles animation (no images, just soft circles) */
/*.bubbles {
  position: relative; height: 280px; background: linear-gradient(180deg, #fff, #f1f5f9);
  overflow: hidden; border-radius: 14px; border: 1px solid #e2e8f0;
}
.bubble {
  position: absolute; bottom: -60px; width: 24px; height: 24px;
  background: radial-gradient(circle at 30% 30%, #ffffffcc, #ffffff00),
              var(--accent-weak);
  border-radius: 50%;
  animation: rise linear infinite;
  opacity: .8;
}*/
/* Create a variety of bubbles */
/*.bubble:nth-child(1) { left: 8%;  animation-duration: 9s;  width: 22px; height: 22px; }
.bubble:nth-child(2) { left: 18%; animation-duration: 11s; width: 18px; height: 18px; }
.bubble:nth-child(3) { left: 28%; animation-duration: 10s; width: 26px; height: 26px; }
.bubble:nth-child(4) { left: 40%; animation-duration: 12s; width: 16px; height: 16px; }
.bubble:nth-child(5) { left: 52%; animation-duration: 8s;  width: 28px; height: 28px; }
.bubble:nth-child(6) { left: 64%; animation-duration: 10s; width: 20px; height: 20px; }
.bubble:nth-child(7) { left: 74%; animation-duration: 9s;  width: 24px; height: 24px; }
.bubble:nth-child(8) { left: 86%; animation-duration: 13s; width: 18px; height: 18px; }
.bubble:nth-child(9) { left: 94%; animation-duration: 7s;  width: 30px; height: 30px; }*/

/*@keyframes rise {
  0%   { transform: translateY(0)     scale(1);   opacity: .85; }
  70%  { transform: translateY(-220%) scale(1.05); opacity: .9; }
  100% { transform: translateY(-260%) scale(1.1);  opacity: 0; }
}
*/
/* Page sections */
.page h1 { margin-bottom: 8px; font-size: 1.4rem; }
.page p  { color: var(--muted); }



/* IUG Section */
.section-header { margin-bottom: 16px; }
.section-header h1 { font-size: clamp(1.3rem, 1.2vw + 1rem, 2rem); margin-bottom: 6px; }
.section-desc { color: var(--muted); margin-top:12px;}

.feature-row {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin: 14px 0 20px;
}

.btn.feature {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: var(--text);
  transition: transform .05s ease, background .2s ease;
}
.btn.feature:hover { background: #f8fafc; }
.btn.feature:active { transform: translateY(1px); }

/* Announcements list */
.announcements-block { margin-top: 10px; }
.announcements-block .ann-title { font-size: 1.2rem; margin-bottom: 10px; }

.ann-list { list-style: none; display: grid; gap: 10px; }
.ann-item {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
  padding: 12px;
}
.ann-head { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; }
.ann-date { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.ann-title-text { font-size: 1.05rem; }

.ann-body { color: var(--muted); margin-top: 6px; }
.ann-link {
  display: inline-block; margin-top: 8px; text-decoration: none;
  color: var(--accent);
}
.ann-link:hover { text-decoration: underline; }

.muted { color: var(--muted); }

.ann-desc-att { list-style: none; margin-top: 8px; display: grid; gap: 6px; padding-left: 0; }
.ann-desc-att li a { text-decoration: none; color: var(--accent); }
.ann-desc-att li a:hover { text-decoration: underline; }

.att-badge {
  display: inline-block;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  margin-right: 8px;
  text-transform: lowercase; /* matches your 'google-forms' style */
}

/*.ann-attach { margin-top: 10px; }*/

/* Separator between description attachments and the single attachment */
.ann-sep {
  margin: 12px 0;
  border-top: 1px dashed #e2e8f0;
}

/* Video row */
.ann-attach {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.video-icon {
  display: inline-flex;
  line-height: 0;
  color: #ef4444; /* subtle red; change if you like */
}

/* Existing links keep their style */
.ann-attach .ann-link { text-decoration: none; color: var(--accent); }
.ann-attach .ann-link:hover { text-decoration: underline; }

/* Current Graduation Projects */
.current-gp .section-header { margin-bottom: 14px; }
.current-gp h1 { font-size: clamp(1.2rem, 1.1vw + 1rem, 1.8rem); }

.proj-list {
  list-style: none;
  display: grid;
  gap: 12px;
  padding-left: 0;
}

.proj-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
}

.proj-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  justify-content: space-between;
}

.proj-main { min-width: 0; }
.proj-title { font-size: 1.05rem; margin-bottom: 6px; }

.proj-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
}

.members {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.members-count { font-weight: 600; color: var(--text); }

.proj-tags { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.tag {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 12px;
  background: #f8fafc;
  color: var(--text);
}

.proj-actions { margin-left: auto; }
.btn {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: var(--text);
}
.btn:hover { background: #f8fafc; }
.btn-primary {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { 
	  background: var(--accent);
	filter: brightness(0.95);
}

@media (max-width: 720px) {
  .proj-row { flex-direction: column; align-items: stretch; }
  .proj-actions { margin-left: 0; }
}

.btn.feature.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Layout stays same, just stack tags under members */
.proj-meta {
  display: grid;
  gap: 6px;
  align-content: start;
}
/* first row: members, second row: tags */
.members { display: inline-flex; align-items: center; gap: 6px; }
.members-count { font-weight: 600; color: var(--text); }

.proj-tags {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 12px;
  background: #f8fafc;
  color: var(--text);
}

/* Course grid */
.course-grid {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat( auto-fill, minmax(180px, 1fr) );
}

.course-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.course-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.course-poster {
  position: relative;
  width: 100%;
  /* keep posters consistent: 3:4 ratio (like a vertical poster) */
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
  display: grid;
  place-items: center;
}

.course-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poster-placeholder {
  width: 64%;
  height: 64%;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 2rem;
  color: #64748b;
  background: #f1f5f9;
}

.course-info {
  padding: 10px 12px 12px;
}

.course-name {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.course-id {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Hover affordance */
.course-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  transform: translateY(-1px);
  transition: box-shadow .2s ease, transform .1s ease;
}

.btn-followup {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  background: #14B8A6;
/*    background: #F59E0B;*/
  color: #fff;
}
.btn-followup:hover {
	    background:   #0D9488; 
/*  background: #D97706;*/


}

.proj-actions {
  margin-left: auto;
  display: flex;
  flex-direction: column; /* stack vertically */
  align-items: flex-start; /* align to left edge */
  gap: 6px; /* space between buttons */
}

.proj-actions .btn {
  width: 100%;
}


/* Project Details */
.project-details { display: grid; gap: 16px; }
.pd-title { font-size: clamp(1.2rem, 1.2vw + 1rem, 2rem); }

.pd-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.pd-meta-item {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 10px 12px; display: grid; gap: 4px;
}
.pd-label { font-size: .85rem; color: var(--muted); }
.pd-value { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }

.badge {
  display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .8rem; font-weight: 600;
}
.badge-done { background: #dcfce7; color: #166534; }     /* green */
.badge-pending { background: #fef3c7; color: #92400e; }  /* amber */

.pd-abstract {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px;
}
.pd-abstract h2 { font-size: 1.05rem; margin-bottom: 6px; }

.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 10px; text-decoration: none;
  border: 1px solid #e2e8f0; background: #fff; color: var(--text);
}
.btn-secondary:hover { background: #f8fafc; }

.btn-video {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 10px; text-decoration: none;
  border: 1px solid transparent; background: #ef4444; color: #fff; /* red */
}
.btn-video:hover { background: #dc2626; }

/* Reuse the Follow Up style (you picked Emerald earlier) */
.btn-followup {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 10px; text-decoration: none;
  border: 1px solid transparent; background: #10B981; color: #fff;
}
.btn-followup:hover { background: #059669; }



.popup {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
}
.popup.hidden { display: none; }

.popup-content {
  background: white;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  padding: 20px;
  position: relative;
  animation: fadeIn .2s ease;
}
.popup-close {
  position: absolute;
  top: 10px; right: 12px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748b;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* Home layout */
.home-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  margin-top: 40px;
}

/* Left column */
.home-left {
  display: grid;
  gap: 20px;
  align-content: start;
  grid-template-rows: auto auto;
}

/* Wisdom card (same style as original card but fixed width) */
.wisdom-card {
  background: white;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  font-family: 'Playfair Display', serif;
  max-width: 100%;
}

/* Quick Actions Grid */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 14px;
}

.qa-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 10px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 1 / 1;          /* makes it a perfect square */
  transition: .2s ease;
}
.qa-item:hover {
  background: var(--accent-weak);
  transform: translateY(-2px);
}


.qa-item svg {
  width: 28px;              /* icon size */
  height: 28px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Right column: News cards */
.home-right {
/*  display: grid;*/
/*  gap: 20px;*/
}

.news-card {
  background: white;
  border: 1px solid #e2e8f0;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
  margin-bottom: 12px;
  min-height: 100px;
}
.news-card h3 {
  margin-bottom: 6px;
  color: var(--text);
}

/* Mobile layout */
@media (max-width: 880px) {
  .home-layout {
    grid-template-columns: 1fr;
  }
}

/* --- IUG TITLE BANNER --- */
.iug-title-banner {
  width: 100%;
  background: white;
  padding: 18px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  border-left: 4px solid var(--accent);
}
.iug-title-banner h1 {
  margin: 0;
  font-size: clamp(1.3rem, 1.4vw + 1rem, 2rem);
  color: var(--text);
}

/* --- PAGE LAYOUT (2 columns) --- */
.iug-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

/* LEFT DESC CARD (wisdom style) */
.iug-desc-card {
  background: white;
  padding: 26px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--muted);
}

/* --- RIGHT-SIDE NAV GRID (like quick actions) --- */
.iug-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
}

.iug-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  aspect-ratio: 1/1;
  padding: 18px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: .2s ease;
  font-size: .95rem;
}

.iug-nav:hover {
  background: var(--accent-weak);
}

.iug-nav.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .iug-layout {
    grid-template-columns: 1fr;
  }
}

/* FULL-WIDTH SECTION TITLE */
.iug-title {
  background: white;
  padding: 18px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  border-left: 4px solid var(--accent);
}
.iug-title h1 {
  margin: 0;
  font-size: clamp(1.3rem, 1.4vw + 1rem, 2rem);
}

/* TWO COLUMN ROWS */
.iug-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  margin-bottom: 24px;
}

.iug-row:has(.iug-selection-title) {
  grid-template-columns: 1fr;
  margin-bottom: 8px;          /* reduce the gap */
}

.iug-col-left, .iug-col-right {
  display: block;
}

/* LEFT DESCRIPTION CARD */
.iug-desc-card {
  background: white;
  padding: 26px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  font-family: 'Playfair Display', serif;
  color: var(--muted);
  font-size: 1.05rem;
}

/* RIGHT SELECTION TITLE */
.iug-selection-title {
  background: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  font-size: 1.2rem;
  border: 1px solid #e2e8f0;
  margin-bottom: 6px;  
}

/* TABS GRID */
.iug-tabs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

/* TAB (Quick Action Style) */
.iug-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: .2s ease;
  text-align: center;
  padding: 8px;
  font-size: .95rem;
}
.iug-tab:hover {
  background: var(--accent-weak);
}
.iug-tab.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* RESPONSIVE */
@media (max-width: 850px) {
  .iug-row {
    grid-template-columns: 1fr;
  }
}


/* NEWS GRID */
.news-grid {
  display: grid;
  gap: 16px;
}

/* NEWS CARD */
.news-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  display: grid;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.news-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.news-summary {
  color: var(--muted);
}

.news-date {
  font-size: .85rem;
  color: var(--muted);
}

.news-card img.news-cover {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 160px;
}

/* Divider under tabs */
.iug-small-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 20px 0 14px;
}

/* External Links List */
.iug-links-list {
  display: grid;
  gap: 10px;
}

/* Individual Link Item */
.iug-link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  color: var(--text);
  transition: .15s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.iug-link-item:hover {
  background: var(--accent-weak);
  transform: translateY(-1px);
}

/* Icon */
.iug-link-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f1f5f9;
  color: var(--accent);
  font-size: 16px;
}


/* PAGE TITLE */
.pr-title {
  background: white;
  padding: 20px;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  margin-bottom: 24px;
}
.pr-title h1 {
  margin: 0;
}

/* FORM CARD */
.pr-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  max-width: 700px;
  margin: 0 auto;
}

/* LABELS */
.pr-label {
  display: block;
  margin-top: 16px;
  font-weight: 600;
  color: var(--text);
}

/* INPUT + SELECT */
.pr-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  margin-top: 6px;
  font-size: 1rem;
  background: #fff;
  transition: .15s ease;
}
.pr-input:focus {
  border-color: var(--accent);
  outline: none;
}

/* STUDENT ROWS */
.pr-row, .pr-student {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.pr-subtitle {
  margin-top: 28px;
  font-size: 1.1rem;
  color: var(--accent);
  border-left: 3px solid var(--accent);
  padding-left: 8px;
}

/* SUBMIT BUTTON */
.pr-submit {
  margin-top: 28px;
  width: 100%;
  background: var(--accent);
  border: none;
  color: white;
  padding: 14px;
  font-size: 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: .15s;
}
.pr-submit:hover {
  background: #0d89bd;
}

/* Description box under title */
.pr-desc {
  background: white;
  padding: 20px 24px;
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.06);
  font-family: 'Playfair Display', serif;
  color: var(--muted);
  font-size: 1.05rem;
}

.pr-desc ul {
  margin: 10px 0 0 18px;
  padding: 0;
}

.pr-desc li {
  margin: 4px 0;
}

/* LAYOUT: Two columns */
.pr-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 20px;
}

/* LEFT SIDE */
.pr-left {
  display: grid;
  gap: 20px;
}

/* RIGHT SIDE */
.pr-right {
  display: block;
}

/* Registered Groups */
.pr-groups {
  background: white;
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.06);
}

.pr-groups-title {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 1.1rem;
  border-left: 3px solid var(--accent);
  padding-left: 8px;
}

.pr-group-item {
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--text);
  transition: .15s ease;
}

.pr-group-item:hover {
  background: var(--accent-weak);
}

/* Mobile responsive */
@media (max-width: 900px) {
  .pr-layout {
    grid-template-columns: 1fr;
  }
}

/* PAGE TITLE */
.sl-title {
  background: white;
  padding: 20px;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  margin-bottom: 24px;
}
.sl-title h1 {
  margin: 0;
}

/* TWO COLUMN LAYOUT */
.sl-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* LEFT SIDE: PROJECT LIST */
.sl-left {
  display: grid;
  gap: 20px;
}

.sl-groups {
  background: white;
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.06);
}

.sl-groups-title {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 1.1rem;
  border-left: 3px solid var(--accent);
  padding-left: 8px;
}

.sl-group-item {
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  transition: .15s ease;
}

.sl-group-item:hover {
  background: var(--accent-weak);
}

.sl-group-item.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* RIGHT SIDE: LOGIN FORM */
.sl-card {
  background: white;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}

/* LABELS */
.sl-label {
  display: block;
  margin-top: 18px;
  font-weight: 600;
  color: var(--text);
}

/* INPUTS */
.sl-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  margin-top: 6px;
  font-size: 1rem;
  background: #fff;
  transition: .15s ease;
}

.sl-input:focus {
  border-color: var(--accent);
  outline: none;
}

/* SUBMIT BUTTON */
.sl-submit {
  margin-top: 26px;
  width: 100%;
  background: var(--accent);
  border: none;
  color: white;
  padding: 14px;
  font-size: 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: .15s;
}

.sl-submit:hover {
  background: #0d89bd;
}

/* MOBILE */
@media (max-width: 900px) {
  .sl-layout {
    grid-template-columns: 1fr;
  }
}

/* HEADER */
.sp-header {
  background: white;
  padding: 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  margin-bottom: 26px;
}

.sp-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
}

.sp-header-info {
  display: flex;
  flex-direction: column;
}

.sp-title {
  margin: 0;
  font-size: 1.6rem;
  color: var(--text);
}

.sp-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
}

/* LAYOUT */
.sp-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
}

/* LEFT MENU */
.sp-menu {
  background: white;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.05);
}

.sp-menu-item {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 6px;
  cursor: pointer;
  color: var(--text);
  border: 1px solid #e2e8f0;
  transition: .15s ease;
}

.sp-menu-item:hover {
  background: var(--accent-weak);
}

.sp-menu-item.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* RIGHT CONTENT */
.sp-content {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  min-height: 300px;
}

.sp-placeholder {
  color: var(--muted);
  text-align: center;
  margin-top: 40px;
}

.sp-content-box h2 {
  margin-top: 0;
}

/* MOBILE */
@media (max-width: 900px) {
  .sp-layout {
    grid-template-columns: 1fr;
  }
}

#prMessage {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  display: none;
}

.pr-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #34d399;
}

.pr-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #f87171;
}

/* VALID FIELD */
.valid {
  border-color: #10b981 !important; /* green */
  background: #ecfdf5;
}

/* INVALID FIELD */
.invalid {
  border-color: #ef4444 !important; /* red */
  background: #fef2f2;
}

.change-password-page {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.cp-container {
    width: 100%;
    max-width: 480px;
    text-align: center;
}

.cp-title {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
}

.cp-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: left;
}

.cp-subtitle {
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 16px;
    text-align: left;
}

.highlight {
    font-weight: bold;
    color: var(--accent);
}

.cp-label {
    display: block;
    text-align: left;
    margin-top: 15px;
    font-weight: 600;
    font-size: 14px;
}

.cp-input-group {
    position: relative;
    margin-top: 5px;
}

.cp-input {
    width: 100%;
    padding: 12px;
    padding-right: 42px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    border: 1px solid #d1d5db;
}

.cp-show-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.cp-submit-btn {
    width: 100%;
    margin-top: 25px;
    padding: 12px;
    background: var(--accent);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.cp-submit-btn:hover {
    background: #0d89bd;
}

.cp-logout-btn {
    margin-top: 15px;
    background: transparent;
    border: none;
    color: #d9534f;
    font-size: 15px;
    cursor: pointer;
    text-decoration: underline;
}

.delivery-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.files-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.files-table th {
    text-align: left;
    padding: 6px 4px;
    font-size: 13px;
    color: #64748b;
    border-bottom: 1px solid #e5e7eb;
}

.files-table td {
    padding: 8px 4px;
    font-size: 14px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

.files-table tr:hover {
    background: #f8fafc;
}


.sp-separator {
    position: relative;
    height: 1px;
    margin: 12px 0;
    background: linear-gradient(to right, #e2e8f0, #94a3b8, #e2e8f0);
    border-radius: 3px;
}

.ps-section {
    margin-bottom: 22px;
}

.ps-label {
    font-weight: 600;
    color: #334155;
    display: block;
    margin-bottom: 6px;
}

.ps-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 14px;
}

.ps-textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    resize: vertical;
    min-height: 120px;
    font-size: 14px;
}

.ps-image-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ps-image-preview {
    width: 120px;
    height: 120px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.ps-upload-btn {
    cursor: pointer;
}

.ps-members-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ps-member-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
}

.ps-member-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.ps-member-info {
    flex: 1;
}

.ps-member-name {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.ps-leader-tag {
    display: inline-block;
    margin-left: 8px;
    background: #0ea5e9;
    color: white;
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 700;
}

.ps-member-meta {
    color: #475569;
    font-size: 14px;
    margin-top: 2px;
}


.project-alert-dot {
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}
