@charset "UTF-8";

@import url('layout.css');

/* =========================================================
   Reset / Base
========================================================= */

* {
  box-sizing: border-box;
}

:root {
  --mo-brand: #006b3c;
  --mo-bg: #f3f5f7;
  --mo-card: #ffffff;
  --mo-text: #26292d;
  --mo-muted: #858b92;
  --mo-line: #edf0f2;
  --mo-shadow: 0 18px 36px rgba(25, 38, 52, 0.08);

  --mo-common-bg: #fff;
  --mo-phone-bg: #e4f7ff;
  --mo-makeup-bg: #fff5d8;

  --mo-common-color: #9aa3ad;
  --mo-phone-color: #42bce9;
  --mo-makeup-color: #f0c24b;
  --mo-select-color: #006b3c;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo', Arial, sans-serif;
}

p,
dl,
dd,
ul {
  margin-bottom: 0;
}

ul {
  padding-left: 0;
}

li {
  list-style: none;
}

a,
a:hover,
a:not([href]):not([class]),
a:not([href]):not([class]):hover {
  color: var(--dark);
  text-decoration: none;
}

em,
i {
  font-style: normal;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-text-fill-color: #222 !important;

  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;

  box-shadow: 0 0 0 1000px #ffffff inset !important;

  transition: background-color 9999s ease-in-out 0s;

  border-color: #e5eaee !important;
}

/* =========================================================
   공통
========================================================= */

.container {
  background: linear-gradient(180deg, #f7faf8 0%, #eef4f1 100%);
  padding: 50px 0 0 0;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  height: 50px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 12px 16px;
}
.header .left {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
}

.header .center {
  flex: 1;
  text-align: center;
}

.header .btn-back {
  width: 50px;
  height: 50px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header .btn-back svg {
  width: 22px;
  height: 22px;
  fill: #222;
  display: block;
}

.header .title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  padding: 2px 0 0 0;
}

.scroll-hidden {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-hidden::-webkit-scrollbar {
  display: none;
}

.content-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
  margin: 10px 0 5px 0;
}

.content-calendar-nav__title {
  min-width: 180px;
  text-align: center;
  color: #222;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.content-calendar-nav__button {
  width: 36px;
  height: 36px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: transparent;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  transition:
    background-color 0.2s,
    transform 0.15s;
}

.content-calendar-nav__button:hover {
  background: #f4f6f8;
}

.content-calendar-nav__button:active {
  transform: scale(0.94);
}

.content-calendar-nav__button svg {
  width: 20px;
  height: 20px;
  fill: #666;
  display: block;
}

.content-filter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px;
}

.content-filter .form-select {
  height: 50px;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  color: #222;
  font-size: 15px;
  font-weight: 700;
}

.attendance-check-filter {
  grid-template-columns: 1fr;
}

/* =========================================================
   공통 카드
========================================================= */

.card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.work-card {
  position: relative;
  padding: 15px 18px 15px 22px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--mo-common-bg);
}

.work-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 5px;
  border-radius: 0 999px 999px 0;
  background: var(--mo-common-color);
}

.work-card.type-phone {
  background: var(--mo-phone-bg);
}

.work-card.type-phone::before {
  background: var(--mo-phone-color);
}

.work-card.type-makeup {
  background: var(--mo-makeup-bg);
}

.work-card.type-makeup::before {
  background: var(--mo-makeup-color);
}

.work-card .title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  margin: 4px 0 10px 0;
}

.work-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 6px;
  color: var(--mo-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.35px;
}

.work-card .meta span {
  display: inline-flex;
  align-items: center;
}

.work-card .meta span + span::before {
  content: '·';
  margin: 0 8px;
  color: #a2a8ae;
}

.work-card .card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.work-card .status {
  position: absolute;
  top: 14px;
  right: 15px;
  height: 28px;
  padding: 0 12px;
  border-radius: 7px;
  background: #eef0f2;
  color: #8a8f95;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.work-card .status.done {
  background: #3f7bd9;
  color: #fff;
}

/* 상세 정보 */
.work-card .info {
  display: grid;
  gap: 5px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
}

.work-card .info.two-column {
  grid-template-columns: 1fr 1fr;
}

.work-card .row {
  display: flex;
  padding: 0 16px;
  gap: 10px;
}

.work-schedule-management .work-card .info.two-column .row.full {
  grid-column: 1 / -1;
}
.work-card .label {
  flex: 0 0 45px;
  color: #a0a5aa;
  font-weight: 500;
  padding: 0 0 0 0;
}
.work-card .value {
  flex: 1;
  color: #222;
  font-weight: 500;
  padding: 0 0 0 0;
}

.work-card .memo {
  margin-top: 10px;
  padding: 12px 16px 10px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  color: #555;
  font-size: 14px;
  line-height: 1.55;
}

.mobile-office-home .work-card.type-common {
  background: #f4f6f8;
}

.mobile-office-home .work-card .title {
  margin: 0 0 0 0;
}

.tabs {
  display: flex;
  align-items: flex-end;
  min-height: 46px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--mo-line);
  padding: 0 12px;
}

.tab {
  position: relative;
  width: 50%;
  height: 46px;
  border: 0;
  background: transparent;
  color: #b5b8bc;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 999px;
  background: #111;
  opacity: 0;
  transform: scaleX(0.7);
  transition: 0.2s ease;
}

.tab.is-active {
  color: var(--mo-text);
}

.tab.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.tab .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 7px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e2e5e8;
  color: #8b9096;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  vertical-align: 1px;
}

.tab.is-active .count {
  background: #111;
  color: #fff;
}

.tab-panel {
  display: none;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.tab-panel.is-active {
  display: flex;
  flex-direction: column;
}

.tab-panel[hidden] {
  display: none !important;
}
.card-list-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0 90px;
}

.detail-content-box {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.work-card.status-pending {
  cursor: pointer;
}

.work-card.is-selectable {
  cursor: pointer;
}

.work-card.card-select {
  border: 2px solid var(--mo-select-color);
  box-shadow: 0 8px 20px rgba(0, 107, 60, 0.14);
}
.work-card.card-select.work-card::before {
  background: var(--mo-select-color);
}

.card-control-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #444;
  font-size: 15px;
  font-weight: 700;
}

.card-control__check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.card-control__check .form-check-input {
  width: 22px;
  height: 22px;
  margin-top: 0;
  cursor: pointer;
}

.card-control__check .form-check-label {
  cursor: pointer;
}

.card-control__count b {
  color: var(--mo-brand);
}

.card-control__count {
  display: none;
}

.card-control__count.is-show {
  display: inline-flex;
}

.bottom-floating-area {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 30;
  width: 100%;
  padding: 0 10px;
}

.bottom-floating-area.is-show {
  display: block;
}

.bottom-floating-area .btn {
  display: block;
  width: 100%;
  max-width: 460px;
  height: 54px;
  margin: 0 auto;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #006b3c, #00884d);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.08),
    0 10px 20px rgba(0, 107, 60, 0.2);
  padding: 0;
}

.bottom-floating-area .btn.btn-outline {
  background: #fff;
  color: var(--mo-brand);
  border: 2px solid var(--mo-brand);
}

/* =========================================================
   로그인
========================================================= */
.auth-page {
  min-height: 100vh;
  padding: 24px;
  background: linear-gradient(180deg, #f7faf8 0%, #eef4f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-container {
  width: 100%;
  max-width: 420px;
}

.auth-hero {
  margin-bottom: 40px;
  text-align: center;
}

.auth-hero img {
  width: 190px;
}

.auth-hero h1 {
  margin: 12px 0 8px;
  color: #111;
  font-size: 32px;
  font-weight: 700;
}

.auth-hero p {
  margin: 0;
  color: #7d8691;
  font-size: 16px;
  line-height: 1.6;
}

.auth-card {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
/*
.auth-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(rgba(0, 107, 60, 0.08), transparent 70%);
  pointer-events: none;
}
*/
.auth-form {
  position: relative;
  z-index: 1;
}

.auth-input {
  margin-bottom: 14px;
}

.auth-input input {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border: 1px solid #e5eaee;
  border-radius: 16px;
  background: #fff;
  color: #222;
  font-size: 16px;
  font-weight: 600;
  transition: 0.2s;
}

.auth-input input::placeholder {
  color: #b8bec4;
}

.auth-input input:focus {
  outline: none;
  border-color: #006b3c;
  box-shadow: 0 0 0 4px rgba(0, 107, 60, 0.08);
}

.auth-input input:-webkit-autofill,
.auth-input input:-webkit-autofill:hover,
.auth-input input:-webkit-autofill:focus {
  -webkit-text-fill-color: #222;
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
}

.auth-button {
  width: 100%;
  height: 58px;
  margin-top: 8px;
  border: 0;
  border-radius: 16px;
  background: #006b3c;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s;
}

.auth-button:hover {
  background: #00542f;
}

.auth-footer {
  margin-top: 24px;
  text-align: center;
  color: #9ca3af;
  font-size: 13px;
}

.auth-resend {
  margin-top: 18px;
  text-align: center;
}

.auth-resend button {
  border: 0;
  background: none;
  color: #7f8790;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* =========================================================
   홈 (메인)
========================================================= */

.mobile-office-home {
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--mo-bg);
  overflow: hidden;
}

.mobile-office-home .header {
  background: #fff;
  position: relative;
  height: 70px;
}

.mobile-office-home .logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.mobile-office-home .logo img {
  display: block;
  max-width: 110px;
  height: auto;
}
.mobile-office-home .campus-select {
  position: relative;
  width: 100%;
  height: 46px;
  padding: 0 52px 0 20px;
  border: 1px solid #e6eaee;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition: 0.2s ease;
  cursor: pointer;
}

.mobile-office-home .campus-select:hover {
  border-color: #cfd8df;
}

.mobile-office-home .campus-select::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #9ca3af;
  border-bottom: 2px solid #9ca3af;
  transform: translateY(-50%) rotate(-45deg);
}

.campus-sheet[hidden] {
  display: none;
}

.campus-sheet {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.campus-sheet .sheet-dim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
}

.campus-sheet .sheet-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px 28px;
  border-radius: 24px 24px 0 0;
  background: #fff;
}

.campus-sheet .sheet-panel button {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #222;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
}

.campus-sheet .sheet-panel button:hover {
  background: #f4f6f8;
}

.campus-sheet .sheet-panel button.is-selected {
  background: #eef5ff;
  color: #1456b8;
}

.mobile-office-home .content {
  padding: 30px 20px 36px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-office-home .date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px 4px 16px;
}

.mobile-office-home .date {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.mobile-office-home .view-all {
  border: 0;
  background: transparent;
  color: #98a0a8;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.mobile-office-home .view-all::after {
  content: '';
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
}

.mobile-office-home .logout-link::after {
  content: none;
}

.mobile-office-home .schedule-box {
  margin-bottom: 24px;
  padding: 6px 18px 18px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--mo-shadow);
}

.mobile-office-home .more-button {
  width: 100%;
  height: 50px;
  margin-top: 16px;
  border: 1px solid #e5e8eb;
  border-radius: 12px;
  background: #fff;
  color: #222;
  box-shadow: 0 7px 18px rgba(20, 30, 40, 0.06);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.mobile-office-home .more-button::after {
  content: '';
  width: 8px;
  height: 8px;
  border: solid #a2a8ae;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(-45deg);
  line-height: 1;
}

.mobile-office-home-menu {
  display: grid;
  gap: 16px;
}

.mobile-office-home-box {
  display: flex;
  align-items: center;
  min-height: 77.89px;
  gap: 10px;
  padding: 16px 24px 16px 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 45, 61, 0.055);
  text-decoration: none;
  color: inherit;
  transition: 0.2s ease;
}

.mobile-office-home-box:hover {
  transform: translateY(-2px);
}

.mobile-office-home-box:active {
  transform: scale(0.98);
}

.view-all,
.more-button {
  text-decoration: none;
  color: inherit;
}

.mobile-office-home-box .content-box {
  flex: 1;
  min-width: 0;
}

.mobile-office-home-box .title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.mobile-office-home-box .desc {
  margin: 4px 0 0;
  color: #737b84;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.45px;
}

.mobile-office-home-box .icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f7f4;
  color: var(--mo-brand);
}

.mobile-office-home-box .icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   업무 일정 관리
========================================================= */

.work-schedule-management {
  height: calc(100dvh - 50px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #f4f6f8;
  color: #222;
  overflow: hidden;
}

/* Calendar */
.top-content-section {
  flex: 0 0 auto;
  padding: 10px 10px 8px;
  background: #fff;
}

.work-schedule-management__calendar-title {
  height: 30px;
  margin-bottom: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.work-schedule-management__calendar-title strong {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.8px;
}

.work-schedule-management__calendar-title button {
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  color: #b9bec4;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.work-schedule-management__calendar .fc {
  font-family: inherit;
}

.work-schedule-management__calendar *,
.work-schedule-management__calendar .fc-theme-standard td,
.work-schedule-management__calendar .fc-theme-standard th,
.work-schedule-management__calendar .fc-theme-standard .fc-scrollgrid,
.work-schedule-management__calendar .fc-scrollgrid,
.work-schedule-management__calendar .fc-scrollgrid table {
  border: 0 !important;
  box-shadow: none !important;
}

.work-schedule-management__calendar .fc-col-header-cell {
  padding-bottom: 4px;
}

.work-schedule-management__calendar .fc-col-header-cell-cushion {
  padding: 0;
  color: #333;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.work-schedule-management__calendar .fc-day-sun .fc-col-header-cell-cushion,
.work-schedule-management__calendar .fc-day-sun .fc-daygrid-day-number {
  color: #ff2d2d;
}

.work-schedule-management__calendar .fc-day-sat .fc-col-header-cell-cushion,
.work-schedule-management__calendar .fc-day-sat .fc-daygrid-day-number {
  color: #0077d9;
}

.work-schedule-management__calendar .fc-daygrid-day {
  height: 48px;
}

.work-schedule-management__calendar .fc-daygrid-day-frame {
  height: 48px;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.work-schedule-management__calendar .fc-daygrid-day-top {
  width: 100%;
  height: 22px;
  justify-content: center;
}

.work-schedule-management__calendar .fc-daygrid-day-number {
  width: 20px;
  height: 20px;
  margin: 0 auto;
  padding: 0;
  border-radius: 50%;
  color: #333;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-schedule-management__calendar .fc-day-other .fc-daygrid-day-number {
  color: #b9bec4;
}

.work-schedule-management__calendar .fc-day-today {
  background: transparent !important;
}

.work-schedule-management__calendar .fc-day-today .fc-daygrid-day-number {
  background: transparent;
  color: inherit;
  font-weight: 600;
}

.work-schedule-management__calendar .fc-daygrid-day.is-selected .fc-daygrid-day-number {
  background: #111;
  color: #fff;
  font-weight: 900;
}

.work-schedule-management__calendar .fc-daygrid-day-events {
  height: 16px;
  min-height: 16px !important;
  margin: 2px 0 0 4px !important;
  padding: 0;
  display: flex;
  justify-content: center;
  line-height: 1;
}

.work-schedule-management__calendar .fc-daygrid-event-harness {
  width: auto;
  height: 6px;
  margin: 0;
  display: inline-flex;
}

.work-schedule-management__calendar .fc-daygrid-event {
  width: 5px;
  height: 5px;
  min-height: 5px;
  margin: 0 1px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #2f8df6;
  overflow: hidden;
}

.work-schedule-management__calendar .fc-daygrid-day.work-holiday-day .fc-daygrid-day-number {
  color: #ff2d2d;
}

.work-schedule-management__calendar .fc-daygrid-event.work-holiday-event {
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.work-schedule-management__calendar .fc-daygrid-event.work-holiday-event .fc-event-main {
  display: block !important;
}

.work-schedule-management__calendar .work-holiday-event-label {
  color: #ff2d2d;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.work-schedule-management__calendar .fc-event-main,
.work-schedule-management__calendar .fc-event-title,
.work-schedule-management__calendar .fc-event-time,
.work-schedule-management__calendar .fc-daygrid-event-dot,
.work-schedule-management__calendar .fc-daygrid-more-link {
  display: none !important;
}

.work-empty-state {
  padding: 32px 16px;
  border-radius: 12px;
  background: #fff;
  color: #8a8f95;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
}

.detail-content-section {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 10px 20px 0;
  overflow: hidden;
}

/* =========================================================
   출석 체크
========================================================= */
.attendance-check-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.student-card {
  position: relative;
  min-height: 74px;
  padding: 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.student-card.card-select {
  cursor: pointer;
}

.student-card.card-select.is-selected {
  border-color: var(--mo-select-color);
  box-shadow: 0 4px 10px rgba(0, 107, 60, 0.14);
}

.student-card__name {
  color: #333;
  font-size: 16px;
  font-weight: 700;
}

.student-card__side {
  display: flex;
  align-items: center;
  gap: 10px;
}

.student-card__message {
  color: var(--mo-brand);
  font-size: 13px;
  font-weight: 700;
}

.student-card__message.is-disabled {
  color: #8a8f95;
}

.student-card__message::before {
  content: '✓';
  width: 20px;
  height: 20px;
  margin-right: 4px;
  border: 2px solid var(--mo-brand);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.student-card__message.is-disabled::before {
  border-color: #cfd5db;
  color: #cfd5db;
}

.student-card__badge {
  height: 28px;
  padding: 0 12px;
  border-radius: 7px;
  background: #eef0f2;
  color: #8a8f95;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.student-card__badge.status-attendance {
  background: #4b74d8;
  color: #fff;
}

.student-card__badge.status-absent {
  background: #ececec;
  color: #888;
}

.student-card__badge.status-late {
  background: #ffd9d9;
  color: #ff2d2d;
}

.student-card__info {
  width: 24px;
  height: 24px;
  border: 2px solid #c8c8c8;
  border-radius: 50%;
  background: #fff;
  color: #aaa;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  font-family: monospace;
}

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

.student-tooltip {
  --bs-tooltip-bg: #fff;
  --bs-tooltip-color: #333;
  --bs-tooltip-opacity: 1;
  --bs-tooltip-padding-x: 16px;
  --bs-tooltip-padding-y: 12px;
  --bs-tooltip-border-radius: 10px;

  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.14));
}

.student-tooltip .tooltip-inner {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.attendance-action {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 10px;
}

.homework-action {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.student-card.has-homework {
  display: block;
}

.student-card.has-homework .student-card__user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.student-card__user-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.homework-summary {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.homework-summary.status-before {
  color: #aaa;
}

.homework-summary.status-pending {
  color: #111;
}

.homework-summary.status-done {
  color: #3f73d8;
}

.homework-head {
  display: grid;
  grid-template-columns: 1fr 54px 54px;
  margin-bottom: 6px;
  color: #777;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.homework-list {
  display: grid;
  gap: 8px;
}

.homework-row {
  display: grid;
  grid-template-columns: 1fr 54px 54px;
  align-items: center;
  min-height: 42px;
  border-radius: 8px;
}

.homework-row.is-toggleable {
  cursor: pointer;
}

.homework-row.status-before {
  background: #f1f1f1;
  color: #aaa;
}

.homework-row.status-done {
  background: #eef8df;
  color: #222;
}

.homework-row.status-confirmed {
  background: #eaf5ff;
  color: #222;
}

.homework-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-left: 10px;
}

.homework-subject {
  flex: 0 0 42px;
  font-weight: 800;
}

.homework-title {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

.homework-check {
  width: 26px;
  height: 26px;
  margin: 0 auto;
  border-radius: 50%;
  background: #bfbfbf;
  position: relative;
}

.homework-check::after {
  content: '✓';
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.homework-check.is-done {
  background: #6caf45;
}

.homework-check.is-confirmed {
  background: #3f73d8;
}

.homework-media-btn {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-left: auto;

  padding: 0;

  border: 0;
  background: none;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  color: #333;
  font-size: 14px;
}
.homework-media-btn svg {
  fill: currentColor;
}
.homework-media-btn:hover {
  color: #0d6efd;
}

.homework-image-modal-body {
  padding: 16px;
  text-align: center;
}

.homework-image-viewer {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 12px;
}

.video-modal {
  background: #000;
  border: 0;
  overflow: hidden;
  position: relative;
}

.video-modal .modal-body {
  padding: 0;
}

.video-modal-player {
  width: 100%;
  display: block;
  background: #000;
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;

  width: 40px;
  height: 40px;

  border: 0;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.55);
  color: #fff;

  font-size: 18px;
  cursor: pointer;
}

.content-section-title {
  margin: 10px 0 10px 8px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.shuttle-accordion {
  display: grid;
  gap: 14px;
}

.shuttle-card {
  border: 0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  width: 100%;
}

.shuttle-card .accordion-button {
  min-height: 74px;
  padding: 0 28px;
  border: 0;
  background: #fff;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.shuttle-card .accordion-button::after {
  order: -1;
  margin-left: 0;
  margin-right: 4px;
  width: 14px;
  height: 14px;
  background-size: 14px;
  opacity: 0.45;
}

.shuttle-card .accordion-button:not(.collapsed) {
  background: #fff;
  color: #222;
  box-shadow: none;
}

.shuttle-route {
  flex: 1;
  min-width: 0;
  font-size: 17px;
  font-weight: 800;
  color: #333;
}

.shuttle-count {
  flex: 0 0 auto;
  color: #333;
  font-size: 20px;
  font-weight: 800;
}
.shuttle-count::after{
  content: '명';
  padding: 0 0 0 2px;
  font-size: 17px;
  font-weight: 700;
  position: relative;
  top: -1px;
}
.shuttle-card .accordion-body {
  padding: 0 20px 30px;
}

.shuttle-passenger-list {
  display: grid;
}

.shuttle-passenger {
  position: relative;
  width: 100%;
  border-top: 1px solid #edf0f2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.shuttle-passenger:first-child {
  border-top: 0;
}

.shuttle-passenger__info {
  flex: 1;
  min-width: 0;
}

.shuttle-passenger__name {
  display: block;
  margin-bottom: 14px;
  color: #333;
  font-size: 16px;
  font-weight: 900;
}

.shuttle-passenger__tel {
  width: 100%;

  display: flex;
  align-items: center;

  gap: 16px;

  color: #aaa;
  font-size: 14px;
  font-weight: 700;
}

.shuttle-passenger__tel span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.shuttle-passenger__tel a {
  color: #777;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shuttle-passenger__status-group {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.shuttle-status {
  min-width: 62px;
  height: 28px;
  padding: 0 12px;
  border-radius: 7px;
  background: #eef0f2;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shuttle-status.status-board {
  background: #4b74d8;
}

.shuttle-status.status-both {
  background: #273a5f;
}

.shuttle-status.status-late {
  background: #f3a63b;
}

.shuttle-status.status-getoff {
  background: #ff685f;
}

.shuttle-status.status-absent {
  background: #ececec;
  color: #888;
}
