:root {
  --blue: #1f466f;
  --blue2: #274f7d;
  --blue3: #0e4a8a;
  --orange: #e98f2f;
  --cream: #efeadf;
  --line: #d4cab6;
  --text: #34495e;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
}

.cc-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.cc-topbar {
  height: 76px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 32px;
}

.cc-brand {
  font-family: 'Arial Black', Arial, Helvetica, sans-serif;
  font-size: 20px;
  letter-spacing: .8px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.cc-brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 220px;
  text-decoration: none;
  color: #fff;
  position: absolute;
  left: 46px;
}

.cc-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.cc-brand-wrap:hover .cc-brand {
  color: var(--orange);
}

.cc-page {
  width: 100%;
  max-width: 100%;
  flex: 1;
}

.container-fluid {
  max-width: 100%;
}

.cc-main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.cc-main-nav a {
  color: #fff;
  padding: 21px 18px;
  font-size: 15px;
  border-bottom: 4px solid transparent;
}

.cc-main-nav a.active {
  background: rgba(255, 255, 255, .06);
  border-bottom-color: var(--orange);
}

.cc-rightbox {
  min-width: 140px;
  position: absolute;
  right: 32px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.cc-profile-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}

.cc-profile-img:hover {
  transform: scale(1.05);
  transition: 0.2s;
}

.cc-subnav {
  height: 46px;
  background: var(--blue2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 46px;
  gap: 16px;
}

.cc-subnav a {
  color: #fff;
  font-size: 15px;
  padding: 9px 18px;
  border-radius: 6px;
}

.cc-subnav a.active {
  background: var(--orange);
}

.page-title {
  font-size: 28px;
  color: var(--orange);
  font-weight: 700;
  text-align: center;
  margin: 6px 0 14px;
}

.stat-box {
  background: var(--blue3);
  color: #fff;
  border-radius: 2px;
  padding: 12px 10px;
  text-align: center;
}

.stat-box .num {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.stat-box .label {
  font-size: 10px;
  margin-top: 6px;
}

.form-grid-2 {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.table.cc-table {
  font-size: 14px;
  background: transparent;
  margin-bottom: 0;
}

.table.cc-table thead th {
  border-top: 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  color: #555;
  padding: 3px 6px;
}

.table.cc-table td {
  padding: 2px 6px;
  border-color: var(--line);
  vertical-align: middle;
}

.btn-cc-primary,
.btn-cc-orange,
.btn-cc-light,
.btn-cc-danger {
  display: inline-block;
  border: 0;
  border-radius: 3px;
  padding: 9px 18px;
  font-size: 14px;
  line-height: 1.2;
}

.btn-cc-primary {
  background: var(--blue3);
  color: #fff;
}

.btn-cc-orange {
  background: var(--orange);
  color: #fff;
}

.btn-cc-light {
  background: #d9dde3;
  color: #2b4663;
}

.btn-cc-danger {
  background: #111;
  color: #fff;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.toolbar .left,
.toolbar .right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-cc,
.select-cc,
.textarea-cc {
  width: 100%;
  height: 38px;
  border: 1px solid #eee;
  background: #fff;
  border-radius: 2px;
  padding: 3px 8px;
  font-size: 14px;
}

.textarea-cc {
  height: auto;
  min-height: 50px;
  resize: vertical;
}

.field {
  margin-bottom: 8px;
}

.field label {
  display: block;
  font-size: 10px;
  color: #444;
  margin-bottom: 3px;
}

.inline-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.login-shell {
  min-height: 100vh;
  background: #173a63;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  width: 560px;
  color: #fff;
  text-align: center;
}

.login-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 38px;
}

.login-form {
  max-width: 420px;
  margin: 0 auto;
}

.login-form .field {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.login-form .field label {
  color: #fff;
  text-align: left;
  font-size: 18px;
  margin: 0;
  margin-bottom: 6px;
}

.login-form .input-cc {
  height: 34px;
  font-size: 16px;
  padding: 6px 10px;
}

.login-form .field.text-start {
  display: block;
  margin-left: 100px;
  text-align: left;
}

.login-form .field.text-start label {
  font-size: 15px;
}

.login-form .btn-cc-primary {
  width: 150px;
  height: 45px;
  font-size: 17px;
  border-radius: 8px;
  margin-top: 18px;
}

.login-links {
  font-size: 13px;
  color: #f7a555;
  margin-top: 6px;
}

.login-links a {
  color: var(--orange);
  font-size: 16px;
  font-weight: 700;
}

.calendar-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.month-grid .day-head {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 4px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

.month-grid .day-cell {
  min-height: 105px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 4px;
  background: #fffdf8;
}

.day-number {
  font-size: 13px;
  color: #666;
}

.event-block {
  display: block;
  background: #0b4f8a;
  color: #fff;
  padding: 2px 4px;
  font-size: 12px;
  border-radius: 1px;
  margin-top: 4px;
}

.week-table td,
.week-table th {
  font-size: 9px;
  padding: 2px 4px;
  border-color: var(--line);
}

.subtabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.subtabs a {
  font-size: 12px;
  color: #666;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.subtabs a.active {
  color: #000;
  border-color: #3b6da1;
  font-weight: 600;
}

.small-note {
  font-size: 9px;
  color: #888;
}

.user-form-page {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  margin-top: -100px;
}

.user-photo-section {
  text-align: center;
  margin-bottom: -70px;
}

.profile-avatar-img,
.user-photo-img {
  width: 500px;
  height: 500px;
  object-fit: contain;
  display: block;
  margin: 10px auto 0;
}

.user-form-wide .field {
  margin-bottom: 18px;
}

.user-form-wide .field label {
  font-size: 15px;
  color: #000;
  margin-bottom: 7px;
}

.user-form-wide .form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.user-form-wide .input-cc,
.user-form-wide .select-cc {
  height: 36px;
  font-size: 15px;
  border: 1px solid #cfcfcf;
  background: #fff;
}

.submit-center {
  text-align: center;
  margin-top: 55px;
}

.submit-btn {
  width: 170px;
  height: 44px;
  font-size: 15px;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .stats-grid,
  .form-grid-2,
  .kpi-row {
    grid-template-columns: 1fr;
  }

  .cc-main-nav,
  .cc-subnav {
    overflow: auto;
  }
}

.dashboard-title {
  margin-top: 20px;
  margin-bottom: 28px;
  font-size: 34px;
}

.dashboard-stats {
  display: flex;
  justify-content: center;
  gap: 90px;
  margin-bottom: 34px;
}

.dashboard-stats .stat-box {
  width: 170px;
  height: 100px;
  border-radius: 5px;
}

.dashboard-stats .stat-box .num {
  font-size: 40px;
}

.dashboard-stats .stat-box .label {
  font-size: 15px;
}

.dashboard-bottom {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 38px;
}

.dashboard-section-title {
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}

.dashboard-bottom .cc-table thead th {
  background: #d8d8d8;
  color: #000;
  font-size: 15px;
  padding: 7px 10px;
}

.dashboard-bottom .cc-table td {
  font-size: 15px;
  color: #000;
  padding: 7px 10px;
}

.users-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.users-search-form {
  width: 100%;
}

.users-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modern-search {
  flex:1;
  position: relative;
  width: 100%;
}

.modern-search input {
  width: 100%;
  height: 42px;
  border-radius: 25px;
  border: 1px solid #ddd;
  padding: 0 14px 0 42px;
  font-size: 14px;
}

.search-icon-btn {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
}

.feedback-toolbar {
  display: grid;
  grid-template-columns: 1fr 210px 210px;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}

.feedback-event-field label {
  font-size: 18px;
  color: #000;
  margin-bottom: 8px;
}

.feedback-event-field {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  margin-bottom: 0;
}

.feedback-event-field label {
  margin: 0;
}

.feedback-toolbar .select-cc {
  height: 38px;
  font-size: 16px;
}

.feedback-download {
  height: 38px;
  text-align: center;
  font-size: 18px;
  padding: 7px 18px;
  border: 1px solid #999;
  background: #fff;
  color: var(--blue3);
}

.feedback-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.feedback-card {
  background: #263f5f;
  color: #fff;
  min-height: 120px;
  border-radius: 3px;
  padding: 24px 26px;
}

.feedback-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feedback-card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feedback-big {
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  display: block;
  text-align: right;
}

.stars,
.rating-stars {
  color: #ffd400;
  font-size: 28px;
  letter-spacing: 3px;
  white-space: nowrap;
}

.rating-stars {
  font-size: 24px;
}

.feedback-section-heading {
  font-size: 22px;
  color: #000;
  font-weight: 700;
  margin-bottom: 16px;
}

.feedback-page + .table.cc-table,
.feedback-page ~ .table.cc-table {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
}

.feedback-page ~ .table.cc-table thead th {
  background: #d8d8d8;
  color: #000;
  font-size: 18px;
  padding: 8px 10px;
}

.feedback-page ~ .table.cc-table td {
  font-size: 17px;
  color: #000;
  padding: 8px 10px;
}

@media (max-width: 900px) {
  .feedback-toolbar,
  .feedback-cards {
    grid-template-columns: 1fr;
  }

  .feedback-event-field {
    grid-template-columns: 1fr;
  }
}

.attendance-toolbar {
  max-width: 1100px;
  margin: 0 auto 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.attendance-toolbar .select-cc {
  width: 180px;
  height: 38px;
  font-size: 15px;
}

.attendance-download {
  width: 150px;
  text-align: center;
  background: #fff;
  border: 1px solid #999;
  color: var(--blue3);
}

form:has(.attendance-toolbar) {
  max-width: 1100px;
}

.attendance-toolbar + form,
.attendance-toolbar ~ form {
  max-width: 1100px;
  margin: 0 auto;
}

.attendance-toolbar ~ form .cc-table {
  width: 100%;
  background: #fff;
}

.attendance-toolbar ~ form .cc-table thead th {
  background: #d8d8d8;
  color: #000;
  font-size: 16px;
  padding: 7px 9px;
}

.attendance-toolbar ~ form .cc-table td {
  color: #000;
  font-size: 15px;
  padding: 7px 9px;
}

.proposal-search-form {
  width: 100%;
  margin: 0 0 18px;
}

.proposal-search-form .modern-search {
  width: 100%;
}

.proposal-search-form .modern-search input {
  height: 42px;
  border-radius: 25px;
  border: 1px solid #ccc;
  background: #fff;
  padding-left: 42px;
}

.announcement-form-page {
  max-width: 760px;
  margin: 0 auto;
}

.announcement-form-page .field {
  margin-bottom: 18px;
}

.announcement-form-page label {
  color: #000;
  font-size: 14px;
  font-weight: 700;
}

.announcement-message {
  min-height: 48px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  font-weight: 400;
}

.specific-user-input {
  width: 420px;
  height: 22px;
}

.announcement-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 55px;
}

.announcement-actions.center {
  justify-content: center;
}

.announcement-actions .btn-cc-primary,
.announcement-actions .btn-cc-orange {
  min-width: 130px;
  text-align: center;
}

.read-only-text {
  color: #000;
  font-size: 13px;
  font-weight: 400;
}

.analytics-title {
  font-size: 36px;
  margin-top: 18px;
  margin-bottom: 30px;
  text-shadow: 2px 2px 2px rgba(0,0,0,.2);
}

.analytics-filter-row {
  max-width: 1100px;
  margin: 0 auto 30px;
  display: flex;
  justify-content: flex-start;
  padding: 0 10px;
  gap: 20px; 
}

.analytics-filter {
  width: 220px;
  height: 40px;
  background: var(--blue3);
  color: #fff;
  border: 0;
  border-radius: 4px;
  font-size: 16px;
  padding: 0 14px;
  padding-left: 14px;
}

.analytics-page-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 34px 50px;
}

.admin-analytics {
  grid-template-columns: 1fr 1fr;
}

.organizer-analytics {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px 55px;
}

.organizer-analytics .analytics-card:nth-child(3) {
  grid-column: 1 / 3;
  max-width: 420px;
  margin: 0 auto;
}

.analytics-card {
  background: #fff;
  border: 1px solid #bbb;
  padding: 18px;
  min-height: 230px;
}

.analytics-card h3 {
  margin: 0 0 18px;
  color: #000;
  font-size: 18px;
  font-weight: 700;
}

.analytics-card canvas {
  width: 100%;
  max-height: 170px;
}

@media (max-width: 900px) {
  .analytics-filter-row,
  .analytics-page-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .organizer-analytics .analytics-card:nth-child(3) {
    grid-column: auto;
    max-width: 100%;
  }
}

.organizer-analytics .analytics-card {
  background: #fff;
  border: 1px solid #bbb;
  padding: 18px;
  min-height: 255px;
}

.organizer-analytics .analytics-card h3 {
  margin: 0 0 18px;
  color: #000;
  font-size: 18px;
  font-weight: 700;
}

.organizer-analytics .analytics-card canvas {
  width: 100%;
  max-height: 180px;
}

.organizer-analytics .analytics-card:nth-child(3) {
  grid-column: 1 / 3;
  width: 420px;
  justify-self: center;
  min-height: 210px;
}

.proposal-view-page {
  max-width: 520px;
  margin: 35px auto 0;
}

.proposal-view-page .field {
  margin-bottom: 14px;
}

.proposal-view-page .field label {
  font-size: 13px;
  color: #333;
}

.proposal-view-page .input-cc,
.proposal-view-page .select-cc {
  height: 44px;
}

.proposal-view-page .textarea-cc {
  min-height: 65px;
}

.club-form-page {
  max-width: 700px;
  margin: 0 auto;
}

.club-form-page .committee-role-title {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  margin: 18px 0 10px;
}

.club-form-page .committee-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}

.club-form-page .committee-row label {
  font-size: 10px;
  font-weight: 400;
  color: #444;
  margin: 0;
}

.club-form-page .committee-row .input-cc {
  height: 38px;
  font-size: 14px;
  border: 1px solid #eee;
  background: #fff;
}

.profile-page-only {
  max-width: 960px;
  margin: -100px auto 0;
}

.profile-page-only .user-photo-section {
  text-align: center;
  margin-bottom: -70px;
}

.profile-page-only .profile-avatar-img {
  width: 500px;
  height: 500px;
  object-fit: contain;
  display: block;
  margin: 10px auto 0;
}

.profile-page-only .user-form-wide .field {
  margin-bottom: 18px;
}

.profile-page-only .user-form-wide .field label {
  font-size: 15px;
  color: #000;
  margin-bottom: 7px;
}

.profile-page-only .user-form-wide .input-cc {
  height: 36px;
  font-size: 15px;
  border: 1px solid #cfcfcf;
  background: #fff;
}

.profile-page-only .profile-ui-page {
  margin: 10px auto 0;
}

.cc-footer {
  background: var(--blue);
  color: #fff;
  margin-top: auto;
  padding: 12px 0;
  font-size: 13px;
}

.cc-footer-content {
  width: calc(100% - 48px);
  max-width: none;
  margin: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

.cc-footer-content > div:first-child {
  text-align: left;
}

.cc-footer-center {
  text-align: center;
}

.cc-footer-content > div:last-child {
  text-align: right;
}

.feedback-page {
    max-width: 1180px;
    margin: 0 auto;
}

.feedback-content-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
    align-items: start;
}

.feedback-table-section {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.ai-summary-card {
    margin-top: 0;
    padding: 26px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #173b63, #244f7e);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.ai-summary-card h3,
.ai-summary-card p,
.ai-summary-badge {
    color: #fff;
}

.ai-summary-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}

.ai-summary-card p {
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

.ai-summary-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.user-subnav {
    display: flex;
    gap: 12px;
    margin: 20px 26px 10px;
}

.user-subnav a {
    padding: 12px 34px;
    background: #214f7a;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
}

.user-subnav a.active {
    background: #f28c28;
}

.btn-see-all-clubs {
    margin-left: 8px;
    padding: 4px 10px;
    border: none;
    border-radius: 6px;
    background: #f28c28;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.joined-clubs-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.joined-clubs-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.joined-clubs-box {
    position: relative;
    width: 420px;
    max-width: calc(100% - 30px);
    margin: 120px auto 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
    overflow: hidden;
}

.joined-clubs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #1f4e79;
    color: #fff;
}

.joined-clubs-header h3 {
    margin: 0;
    font-size: 18px;
}

.joined-clubs-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

.joined-clubs-list {
    margin: 0;
    padding: 18px 30px;
}

.joined-clubs-list li {
    margin-bottom: 10px;
}

.joined-clubs-footer {
    padding: 14px 20px;
    text-align: right;
    border-top: 1px solid #eee;
}

.status-form {
    margin: 0;
}

.status-select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-weight: 600;
    cursor: pointer;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-accept {
    background: #d4edda;
    color: #155724;
}

.status-reject {
    background: #f8d7da;
    color: #721c24;
}

:root {
  --cc-bg: #f5f0e6;
  --cc-card: #fffdf8;
  --cc-navy: #173a63;
  --cc-blue: #1f466f;
  --cc-blue-soft: #eef4fb;
  --cc-orange: #f28c28;
  --cc-border: #d9cfbd;
  --cc-muted: #607083;
  --cc-shadow: 0 10px 28px rgba(23, 58, 99, 0.10);
}

html, body {
  font-family: "Segoe UI", Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  background: radial-gradient(circle at top, #fff8ed 0, var(--cc-bg) 42%, #efe7d7 100%);
  color: #24364a;
}

.cc-page .container-fluid {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 28px;
}

.cc-topbar {
  height: 72px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
}

.cc-brand {
  font-family: "Segoe UI", Inter, Arial, Helvetica, sans-serif;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: 1px;
}

.cc-logo-img {
  width: 58px;
  height: 58px;
}

.cc-main-nav a,
.cc-subnav a {
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: .1px;
  transition: .18s ease;
}

.cc-main-nav a:hover,
.cc-subnav a:hover {
  background: rgba(255,255,255,.10);
  color: #fff;
}

.cc-rightbox .btn {
  font-size: 14px;
  font-weight: 650;
  border-radius: 999px;
  padding: 7px 14px;
}

.page-title,
.dashboard-title,
.analytics-title {
  min-height: 0;
  margin: 10px 0 18px;
  color: var(--cc-orange);
  font-family: "Segoe UI", Inter, Arial, Helvetica, sans-serif;
  font-weight: 850;
  letter-spacing: .2px;
  text-shadow: none;
}

/* Consistent card/table container look */
.table.cc-table {
  width: 100%;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--cc-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--cc-shadow);
  font-size: 15px;
}

.table.cc-table thead th {
  background: linear-gradient(180deg, #f7a042, var(--cc-orange));
  color: #fff;
  border: 0;
  padding: 11px 12px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}

.table.cc-table td {
  padding: 10px 12px;
  font-size: 15px;
  color: #24364a;
  border-color: #eee5d7;
  vertical-align: middle;
  text-align: center;
}

.table.cc-table tbody tr:nth-child(even) td {
  background: #fffaf1;
}

.table.cc-table tbody tr:hover td {
  background: var(--cc-blue-soft);
}

.table.cc-table td:first-child,
.table.cc-table th:first-child {
  text-align: left;
}

.table.cc-table td:last-child,
.table.cc-table th:last-child {
  text-align: center;
  white-space: nowrap;
}

.btn-cc-primary,
.btn-cc-orange,
.btn-cc-light,
.btn-cc-danger {
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 14.5px;
  font-weight: 750;
  line-height: 1.15;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: .18s ease;
}

.btn-cc-primary:hover,
.btn-cc-orange:hover,
.btn-cc-light:hover,
.btn-cc-danger:hover {
  transform: translateY(-1px);
  filter: brightness(.97);
}

.btn-cc-primary { background: var(--cc-blue); }
.btn-cc-orange { background: var(--cc-orange); }
.btn-cc-danger { background: #263241; }

.input-cc,
.select-cc,
.textarea-cc,
.modern-search input {
  border: 1px solid #d7dce2;
  border-radius: 12px;
  min-height: 42px;
  font-size: 15.5px;
  padding: 8px 13px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.03);
}

.field label,
.announcement-form-page label,
.proposal-view-page .field label,
.club-form-page .committee-row label {
  font-size: 14.5px;
  font-weight: 750;
  color: #263241;
  margin-bottom: 6px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 22px;
  max-width: 760px;
  margin: 8px auto 26px;
}

.dashboard-stats .stat-box {
  width: auto;
  height: auto;
  min-height: 112px;
  border-radius: 18px;
  padding: 18px 16px;
  background: linear-gradient(135deg, #173a63, #286094);
  box-shadow: var(--cc-shadow);
}

.dashboard-stats .stat-box .num {
  font-size: 42px;
  font-weight: 850;
}

.dashboard-stats .stat-box .label {
  font-size: 15.5px;
  font-weight: 700;
  opacity: .95;
}

.dashboard-bottom {
  max-width: 1000px;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 24px;
  align-items: start;
}

.dashboard-section-title {
  font-size: 18px;
  color: #1f2f43;
  margin-bottom: 12px;
}

.dashboard-bottom a.btn-cc-primary[style] {
  width: 100%;
  height: auto;
  min-height: 44px;
  border-radius: 13px;
  font-size: 15px;
  padding: 12px 16px;
  text-align: center;
  margin-bottom: 10px;
}

.user-subnav {
  justify-content: center;
  gap: 10px;
  margin: 8px 0 18px;
}

.user-subnav a {
  padding: 10px 28px;
  border-radius: 999px;
  font-size: 15px;
  box-shadow: 0 5px 15px rgba(23,58,99,.12);
}

.users-toolbar {
  max-width: 1000px;
  margin: 0 auto 16px;
  grid-template-columns: minmax(320px, 1fr) auto;
}

.users-actions {
  justify-content: flex-end;
}

.users-toolbar + .table.cc-table {
  max-width: 1000px;
  margin: 0 auto;
}

.users-toolbar + .table.cc-table td,
.users-toolbar + .table.cc-table th {
  text-align: center;
}

.users-toolbar + .table.cc-table td:first-child,
.users-toolbar + .table.cc-table th:first-child {
  text-align: left;
  width: 24%;
}

.users-toolbar + .table.cc-table td:nth-child(2),
.users-toolbar + .table.cc-table th:nth-child(2) {
  width: 14%;
}

.users-toolbar + .table.cc-table td:last-child {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-see-all-clubs,
.status-select {
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  padding: 7px 12px;
}

.status-select {
  min-width: 118px;
  border: 0;
}

.user-form-page,
.profile-page-only {
  max-width: 900px;
  margin-top: -55px;
}

.profile-avatar-img,
.user-photo-img,
.profile-page-only .profile-avatar-img {
  width: min(360px, 82vw);
  height: min(360px, 82vw);
}

.user-photo-section,
.profile-page-only .user-photo-section {
  margin-bottom: -38px;
}

.user-form-wide .form-grid-2 {
  gap: 34px;
}

.submit-center {
  margin-top: 32px;
}

.analytics-card,
.feedback-table-section,
.ai-summary-card,
.feedback-card {
  border-radius: 18px;
  box-shadow: var(--cc-shadow);
}

.analytics-card h3,
.feedback-card-title,
.feedback-section-heading {
  font-family: "Segoe UI", Inter, Arial, Helvetica, sans-serif;
}

.cc-footer {
  font-size: 14px;
  padding: 13px 0;
  box-shadow: 0 -4px 14px rgba(0,0,0,.08);
}

@media (max-width: 1100px) {
  .cc-brand-wrap {
    left: 18px;
    min-width: auto;
  }

  .cc-rightbox {
    right: 18px;
  }

  .cc-main-nav a {
    padding: 21px 11px;
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .cc-page .container-fluid {
    width: min(100% - 28px, 760px);
  }

  .dashboard-stats,
  .dashboard-bottom,
  .users-toolbar,
  .feedback-content-layout,
  .organizer-analytics,
  .admin-analytics {
    grid-template-columns: 1fr;
  }

  .users-actions {
    justify-content: stretch;
  }

  .users-actions .btn-cc-orange {
    width: 100%;
    text-align: center;
  }

  .table.cc-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .cc-footer-content {
    grid-template-columns: 1fr;
    gap: 6px;
    text-align: center;
  }

  .cc-footer-content > div:first-child,
  .cc-footer-content > div:last-child {
    text-align: center;
  }
}

.cc-form-wide {
  width: min(760px, 100%);
  margin: 18px auto 34px;
}

.cc-form-wide form {
  width: 100%;
}

.cc-form-wide .input-cc,
.cc-form-wide .select-cc,
.cc-form-wide .textarea-cc {
  width: 100%;
  min-height: 46px;
}

.cc-form-wide .textarea-cc {
  min-height: 92px;
}

.cc-form-wide .form-grid-2 {
  grid-template-columns: minmax(0, 1fr) minmax(180px, .75fr);
  align-items: end;
  gap: 18px;
}

.cc-form-wide input[type="file"].input-cc {
  padding: 8px 12px;
}

.cc-form-wide .inline-actions {
  margin-top: 20px;
}

/* Attendance: table aligned with search bar width */
.attendance-toolbar {
  width: min(1265px, 100%);
  max-width: 1265px;
  margin-left: auto;
  margin-right: auto;
  align-items: flex-start;
}

.attendance-left {
  flex: 1 1 auto;
  max-width: calc(100% - 190px);
}

.attendance-modern-search {
  width: 100%;
}

.attendance-table-form {
  width: min(1265px, 100%);
  max-width: 1265px;
  margin-left: auto;
  margin-right: auto;
}

.attendance-table-form .cc-table {
  width: calc(100% - 190px);
  margin-left: 0;
  margin-right: auto;
}

.attendance-table-form .inline-actions {
  width: calc(100% - 190px);
  margin-left: 0;
}

@media (max-width: 900px) {
  .cc-form-wide {
    width: 100%;
  }

  .cc-form-wide .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .attendance-left,
  .attendance-table-form .cc-table,
  .attendance-table-form .inline-actions {
    max-width: 100%;
    width: 100%;
  }
}

.login-logo{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}

.login-logo img{
    width: 350px;
    height: auto;
    object-fit: contain;
}

.admin-analytics .analytics-card:nth-child(3){
    grid-column: 1 / -1;
    width: 560px;
    max-width: 100%;
    margin: 0 auto;
}

body {
  display: block;
  min-height: 100vh;
}

.cc-header,
.cc-topbar,
.cc-main-nav,
.cc-subnav,
.cc-rightbox,
.cc-brand-wrap {
  display: none;
}

.cc-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: var(--blue);
  color: #fff;
  z-index: 1000;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 6px 0 20px rgba(0, 0, 0, 0.12);
}

.cc-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: .8px;
  margin-bottom: 26px;
}

.cc-sidebar-brand:hover {
  color: var(--orange);
}

.cc-sidebar-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.cc-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow-y: auto;
  padding-right: 4px;
}

.cc-sidebar-nav a,
.cc-sidebar-subnav a,
.cc-sidebar-profile,
.cc-sidebar-logout {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 650;
  transition: .18s ease;
}

.cc-sidebar-nav a:hover,
.cc-sidebar-subnav a:hover,
.cc-sidebar-profile:hover,
.cc-sidebar-logout:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.cc-sidebar-nav a.active,
.cc-sidebar-subnav a.active {
  background: var(--orange);
  color: #fff;
}

.cc-sidebar-subnav {
  margin: -2px 0 5px 15px;
  padding-left: 12px;
  border-left: 2px solid rgba(255, 255, 255, .22);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cc-sidebar-subnav a {
  font-size: 14px;
  padding: 9px 11px;
  font-weight: 600;
}

.cc-sidebar-bottom {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.cc-sidebar-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.cc-sidebar-profile-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.cc-sidebar-logout {
  border: 1px solid rgba(255, 255, 255, .45);
  text-align: center;
}

.cc-page,
.cc-footer {
  margin-left: 260px;
  width: calc(100% - 260px);
}

.cc-page {
  min-height: calc(100vh - 55px);
}

@media (max-width: 900px) {
  .cc-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 16px;
  }

  .cc-sidebar-brand {
    justify-content: center;
    margin-bottom: 16px;
  }

  .cc-sidebar-nav {
    max-height: none;
  }

  .cc-sidebar-bottom {
    margin-top: 16px;
  }

  .cc-page,
  .cc-footer {
    margin-left: 0;
    width: 100%;
  }
}

.action-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
}

.symbol-btn,
.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  margin-right: 7px;
  border: 0;
  border-radius: 50%;
  background: #eef2f7;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
  text-decoration: none;
  vertical-align: middle;
}

.btn-icon .cc-ico{
    color:#000;
    font-size:16px;
}

.delete-icon .cc-ico{
    color:#ff2b2b;
}

.symbol-btn:hover,
.btn-icon:hover {
  background: rgba(0,0,0,.07);
  transform: translateY(-1px);
}

.cc-ico {
  display: inline-block;
  width: 19px;
  height: 19px;
  background-color: #111;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.cc-ico-eye {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C5 5 2 12 2 12s3 7 10 7 10-7 10-7-3-7-10-7Zm0 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm0-2.2a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C5 5 2 12 2 12s3 7 10 7 10-7 10-7-3-7-10-7Zm0 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm0-2.2a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6Z'/%3E%3C/svg%3E");
}

.cc-ico-pencil {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 17.5V21h3.5L18.06 10.44l-3.5-3.5L4 17.5ZM20.71 7.79a1 1 0 0 0 0-1.41l-3.09-3.09a1 1 0 0 0-1.41 0l-1.65 1.65 3.5 3.5 1.65-1.65Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 17.5V21h3.5L18.06 10.44l-3.5-3.5L4 17.5ZM20.71 7.79a1 1 0 0 0 0-1.41l-3.09-3.09a1 1 0 0 0-1.41 0l-1.65 1.65 3.5 3.5 1.65-1.65Z'/%3E%3C/svg%3E");
}

.cc-ico-trash {
  background-color: #dc2626;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12ZM8 9h8v10H8V9Zm7.5-5-1-1h-5l-1 1H5v2h14V4h-3.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12ZM8 9h8v10H8V9Zm7.5-5-1-1h-5l-1 1H5v2h14V4h-3.5Z'/%3E%3C/svg%3E");
}

.activity-filter-form {
  display: flex;
  gap: 15px;
  align-items: center;
  width: 100%;
}

.year-filter {
  width:220px;
  min-width:220px;
}

.activity-actions {
  white-space: nowrap;
}

.symbol-btn,
.btn-icon {
  border-radius: 50%;
  background: #eef2f7;
  color: #111;
}
.symbol-btn:hover,
.btn-icon:hover {
  background: #e2e8f0;
}
.cc-ico-eye,
.cc-ico-pencil {
  background-color: #000;
}
.cc-ico-trash {
  background-color: #e60000;
}
.cc-sidebar-group > a {
  display: block;
}
.cc-sidebar-subnav {
  margin: 4px 0 10px 20px;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.25);
}
.cc-sidebar-subnav a {
  font-size: 13px;
  padding: 8px 12px;
  margin-bottom: 4px;
  border-radius: 8px;
}
.cc-sidebar-subnav a.active {
  background: #f28c28;
  color: #fff;
}
.activity-toolbar {
  grid-template-columns: 1fr;
}
.activity-filter-form {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 160px;
  gap: 12px;
  align-items: center;
}
.activity-filter-form .modern-search,
.activity-filter-form .select-cc {
  margin: 0;
}
.activity-filter-form .year-filter {
  max-width: none;
  width: 160px;
  height: 42px;
}
@media (max-width: 768px) {
  .activity-filter-form {
    grid-template-columns: 1fr;
  }
  .activity-filter-form .year-filter {
    width: 100%;
  }
}

.activity-toolbar{
    display:block;
    width:min(1000px, 100%);
    max-width:1000px;
    margin:0 auto 16px;
}

.activity-filter-form{
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:12px;
    width:100%;
    margin:0;
}

.activity-filter-form .modern-search{
    flex:1 1 auto;
    width:auto;
    min-width:0;
    margin:0;
}

.activity-filter-form .modern-search input{
    width:100%;
}

.activity-filter-form .year-filter{
    flex:0 0 170px;
    width:170px;
    min-width:170px;
    max-width:170px;
    height:42px;
    margin:0;
}

.activity-table{
    width:min(1000px, 100%);
    max-width:1000px;
    margin:0 auto;
}

@media (max-width: 768px){
    .activity-filter-form{
        flex-direction:column;
        align-items:stretch;
    }

    .activity-filter-form .year-filter{
        width:100%;
        min-width:100%;
        max-width:100%;
        flex:0 0 auto;
    }
}

.quick-action-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:220px;
    height:48px;
    background:#214f7a;
    color:white;
    border-radius:12px;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    margin-bottom:12px;
    box-shadow:0 2px 8px rgba(0,0,0,0.08);
    transition:0.2s;
}

.quick-action-btn:hover{
    transform:translateY(-2px);
}