html, body {
  min-height: 100%;
}

body {
  background: -webkit-gradient(linear, left bottom, right top, from(#fc2c77), to(#6c4079));
  background: -webkit-linear-gradient(bottom left, #fc2c77 0%, #6c4079 100%);
  background: -moz-linear-gradient(bottom left, #fc2c77 0%, #6c4079 100%);
  background: -o-linear-gradient(bottom left, #fc2c77 0%, #6c4079 100%);
  background: linear-gradient(to top right, #fc2c77 0%, #6c4079 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;

  font-family: "Poppins", "Arial", "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 14px;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

h1 {
  font-size: 30px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 15px;
}

h5 {
  font-size: 13px;
}

h6 {
  font-size: 11px;
}

.card {
  background: rgba(255,255,255,0.88);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-body {
  color: #111;
}

.cardx { max-width: 680px; margin: 22px auto; padding:25px}
.big-label { font-size: 1.25rem; font-weight: 700; }
.big-input { font-size: 1.25rem; padding: 14px 16px; }
.big-btn { font-size: 1.15rem; padding: 12px 18px; font-weight: 700; }

.login-logo {
  display:block;
  margin: 0 auto 14px auto;
  max-height: 64px;
  width:auto;
}
@media (max-width: 576px) {
  .login-logo { max-height: 52px; }
}



/* ===============================
   Students list - Mobile friendly
   =============================== */

/* 모바일: 테이블 숨기고 카드 표시 */
@media (max-width: 576px) {
  .students-table-wrap {
    display: none !important;
  }
  .students-cards-wrap {
    display: block !important;
  }
}

/* 데스크탑/태블릿: 테이블 표시, 카드 숨김 */
@media (min-width: 577px) {
  .students-table-wrap {
    display: block !important;
  }
  .students-cards-wrap {
    display: none !important;
  }
}

/* 카드 내부 key-value 레이아웃 */
.student-card .kv {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
}

.student-card .kv .k {
  font-weight: 600;
  color: #6c757d;
}

.student-card .kv .v {
  text-align: right;
  word-break: break-word;
}

@media (min-width: 768px) and (max-width: 1024px) {
  #sigCanvas { height: 120px !important; }
}



/* ===============================
   Admin layout fix (width control)
   =============================== */

/* 전체 페이지 정렬 */
.page-wrapper {
  min-height: 100vh;
  padding: 40px 12px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* 관리자 wrapper 폭 고정 */
.wrapper.wrapper--w780 {
  width: 1024px;
  max-width: 100%;
  margin: 0 auto;
}

/* 모바일에서는 전체 폭 */
@media (max-width: 820px) {
  .wrapper.wrapper--w780 {
    width: 100%;
    max-width: 100%;
  }
}

/* 카드가 wrapper 폭을 넘지 않도록 */
.card.card-4 {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* 상단 언어/로그아웃 바 폭 정렬 */
.ut-topbar {
  width: 100%;
  margin: 0 auto 12px auto;
  display: flex;
  align-items: center;
}

/* 카드 내부 padding 안정화 */
.card-body {
  box-sizing: border-box;
}
