/**
 * ========================================================================
 * COMMUNITY SIGNUP PAGE STYLES
 * Prefix: cs-*
 * ========================================================================
 */

/* ═══ RESET ═══ */
.cs-body *,
.cs-body *::before,
.cs-body *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.cs-body {
  font-family:
    'Roobert Pro',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: #f5f5f5;
  color: #0a0a0a;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ═══ NAV (reuse gf-nav pattern) ═══ */
.cs-nav {
  padding: 1rem 2rem;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

.cs-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cs-nav__logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0a0a0a;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.cs-nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cs-nav__link {
  font-size: 0.875rem;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.cs-nav__link:hover {
  color: #0a0a0a;
}

/* ═══ HERO ═══ */
.cs-hero {
  text-align: center;
  padding: 3rem 2rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.cs-hero__title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cs-hero__subtitle {
  font-size: 1.0625rem;
  color: #666;
  line-height: 1.6;
}

/* ═══ COLLEGE SECTIONS ═══ */
.cs-colleges {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

.cs-college {
  margin-bottom: 2.5rem;
}

.cs-college__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cs-college__logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

.cs-college__logo-text {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.cs-college__name {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cs-college__institution {
  font-size: 0.8125rem;
  color: #999;
  margin-top: 0.125rem;
}

.cs-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cs-role-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cs-role-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.cs-role-card:active {
  transform: translateY(0);
}

.cs-role-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cs-role-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cs-role-card__desc {
  font-size: 0.8125rem;
  color: #888;
  line-height: 1.4;
}

/* ═══ DIVIDER ═══ */
.cs-divider {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #ccc;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cs-divider::before,
.cs-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e5e5;
}

/* ═══ OPEN GROUPS ═══ */
.cs-open-groups {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}

.cs-open-groups__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cs-open-groups__text {
  font-size: 0.9375rem;
  color: #666;
  margin-bottom: 1.25rem;
}

.cs-open-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.cs-open-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s;
}

.cs-open-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cs-open-card__info {
  flex: 1;
}

.cs-open-card__name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.125rem;
}

.cs-open-card__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  background: #a0a0a0;
  color: #fff;
  padding: 0.125rem 0.5rem;
  border-radius: 100px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.cs-open-card__desc {
  font-size: 0.8125rem;
  color: #888;
  margin-top: 0.25rem;
}

.cs-open-card__btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: #0a0a0a;
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.2s;
}

.cs-open-card__btn:hover {
  background: #333;
  transform: translateY(-1px);
}

/* ═══ FOOTER ═══ */
.cs-footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid #e5e5e5;
  background: #fff;
}

.cs-footer__text {
  font-size: 0.8125rem;
  color: #999;
}

/* ═══ RESPONSIVE ═══ */
@media screen and (max-width: 48rem) {
  .cs-hero__title {
    font-size: 1.75rem;
  }

  .cs-roles {
    grid-template-columns: 1fr;
  }

  .cs-open-list {
    grid-template-columns: 1fr;
  }

  .cs-nav__links {
    gap: 1rem;
  }
}
