/* new_class.css - 모바일 캘린더 메인페이지 전용 스타일 */

* {
    margin: 0;
    padding: 0;
}

.user-type-wrap { width: 100%; height: 100vh; }

.navi-container *,
.navi-container *::before,
.navi-container *::after,
.usermian-container *,
.usermian-container *::before,
.usermian-container *::after,
.main-container *,
.main-container *::before,
.main-container *::after
 {
  box-sizing: border-box;
  border: 0;
}

.main-container {
  overflow-x: hidden;
  overflow-y: auto;
  height: 100vh;
  box-sizing: border-box;
}
.main-container:has(.mobile-header) {
  padding-top: 54px; /* main-container에서 mobile-header를 가지고 있으면 padding-top를 header만큼 추가 */
}
.main-container:has(.register-btn) {
  padding-bottom: 92px;
}
.main-container:has(.bottom-banner) {
  padding-bottom: calc(100vw * 0.2 + 30px);
}

html:has(.main-container), 
body:has(.main-container) { overflow: hidden; }

label { margin: 0; }

.login-social-wrap {
  /*padding-top: 60px;  상단 뒤로가기 버튼 높이만큼 */
  height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
}

.login-social-header {
  text-align: center;
  font-weight: bold;
  margin: 20px;
}

.login-social-image {
  width: 100%;
  margin: auto;
  max-width: 360px;
}
.login-social-image img {
  display: block;
  border-radius: 12px;
  aspect-ratio: 0.7;
  height: 50vh;
  width: auto;
  margin: auto
}

.login-social-buttons .login-btn {
  width: 75px;
  height: 75px;
  margin: auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.login-social-buttons .login-btn.kakao { background-image: url('../img/카카오톡.svg'); }
.login-social-buttons .login-btn.naver { background-image: url('../img/네이버.svg'); }
.login-social-buttons .login-btn.apple { background-image: url('../img/애플.svg'); }

.login-social-buttons {
  width: calc(100% - 32px);
  max-width: 320px;
  margin: 0 auto;
  display: flex;
}

.user-type-wrap {
  display: flex;
  flex-direction: column;
  padding: 0 24px 20px;
  box-sizing: border-box;
  justify-content: space-between;
}

.user-type-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding-top: 40px;
  transform: translateY(-30px); /* 전체 영역 위로 이동 */
}

.user-type-header {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--bs-gray3);
  line-height: 1.5;
}

.user-type-desc {
  font-size: 16px;
  color: var(--bs-gray1);
  line-height: 1.7;
}

.user-type-desc b {
  font-weight: 700;
  color: var(--bs-gray2);
}

.user-type-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  --custom-button-bg: rgb(125, 70, 255); /* 새 보라색 */
}

.user-type-buttons .btn {
  background-color: var(--custom-button-bg);
  color: #fff;
  font-size: 23px;
  font-weight: 400;
  padding: 12px 0;
  border-radius: 10px;
  border: none;
}

.user-type-footer {
  text-align: center;
  font-size: 12px;
  color: #666; /* 조금 더 진하게 */
  margin-top: auto;
  line-height: 100px;
}


/* === 3-1 === */

.terms-wrap {
  padding: 0px 20px 120px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;  /* 좌측 정렬 */
}

.terms-logo img {
  width: 120px;
  height: auto;
  margin-left: -25px;
  margin-top: 25px;
}

.terms-header {
  font-size: 28px;
  font-weight: 700;
  color: var(--bs-gray3);
  line-height: 1.5;
  text-align: left;
}

.terms-desc {
  font-size: 18px;
  color: var(--bs-gray1);
  line-height: 1.8;
  margin-top: 16px;          /* 위 여백 추가 */
  margin-bottom: 20px;       /* 아래 여백 추가 */
  text-align: left;
}

.terms-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 16px;
  color: var(--bs-gray2);
  width: 100%;
}

.terms-list label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.term-tag { margin-left: 8px; }

input[type="checkbox"]:not(.hidden) {
  width: 18px;
  height: 18px;
  -webkit-appearance: none;
  appearance: none;
  border: 2px solid #ddd;
  border-radius: 25px;
  display: block;
}

input[type="checkbox"]:not(.hidden):checked {
  background-image: url('../img/라디오선택.png');
  background-size: 18px;
  background-repeat: no-repeat;
  border: 0;
}

.terms-list .label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 필수/선택 태그 스타일 */
.term-tag.required {
  color: rgb(115, 50, 245);
  font-weight: 600;
}

.term-tag.optional {
  color: var(--bs-gray2);
  font-weight: 600;
}

.terms-list a {
  font-size: 14px;
  color: #999;
  text-decoration: underline;
  margin-left: 10px;
}

/* 전체 동의 항목 */
.terms-list .all-agree {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.terms-list .all-agree .desc {
  font-size: 13px;
  color: #666;
  margin-top: 5px;
  padding-left: 38px;
  text-align: left;
  line-height: 1.6;
}

/********************************************/

/* === 3-2 === */

.join-wrap {
  padding: 100px 20px;
  margin-bottom: 120px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.join-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--bs-gray3);
  line-height: 1.6;
  margin: 30px 0;
}

.join-title .highlight {
  color: rgb(115, 90, 255);
  font-weight: 700;
}

.join-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  min-height: 32px;
  margin-left: 3px;
  margin-bottom: 0;
}
.form-label.astro::before {
  content: "*";
  color: #8b5cf6;
  margin-right: 5px;
  font-size: 18px;
  height: 20px;
}
.form-label > .question {
  background-image: url(../img/팁_물음표.svg);
  background-size: 25px;
  height: 25px;
  width: 25px;
  background-repeat: no-repeat;
  margin-left: 0px;
  /* position: relative; */
  /* right: 5px; */
}
.form-label > .sub-text {
  position: relative;
  margin-left: auto;
  right: 0px;
  color: cornflowerblue;
  text-decoration: underline;
  padding: 2px 5px;
}
.form-label > .sub-text.type1 {
  position: relative;
  margin-left: auto;
  right: 0px;
  color: cornflowerblue;
  text-decoration: unset;
  padding: 2px 5px;
  font-weight: 500;
  font-size: 13px;
}
.form-label > .sub-text2 {
  position: relative;
  margin-left: auto;
  right: 0px;
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 13px;
  min-width: 65px;
  white-space: nowrap;
  text-align: center;
}
.form-label > .sub-text2.bg-type1 {
  background-color: #f1a521c5;
}
.form-label > .sub-text2.bg-type2 {
  background-color: #53cc3580;
}
.form-label > .sub-text2.bg-type3 {
  background-color: rgb(180, 199, 231);
}
.form-label > .sub-script {
  margin-left: 5px;
  margin-top: 2px;
  font-size: 10px;
  color: #999;
  font-weight: 300;
}
.form-column {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.form-column > div { flex: 1; }
.form-item {
  background: rgb(245, 245, 255);
  border-radius: 5px;
  margin-bottom: 15px;
  margin-top: 3px;
  position: relative;
}
.form-item.disabled {
  background: rgb(240, 240, 240);
}
.withbtn {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
	align-items: center;
}
.withbtn > .form-item {
	margin-bottom: 0;
	flex: 1;
}
.withbtn .class-images {
    width: auto;
    gap: 5px;
}
.form-input {
  width: 100%;
  font-size: 14px;
  color: black;
  background: transparent;
  text-align: center;
  padding: 14px;
  border-radius: 5px;
}
.form-input.bold {
  font-weight: 600;
}
select.form-input {
  outline: none;
  appearance: none;
  padding: 15px 14px 13px;
  position: relative;
  z-index: 1;
}
.form-input::placeholder {
    text-align: center;
    color: #999;
}
.form-input:disabled {
  background: rgb(240, 240, 240);
}
.form-input.form-price{
    text-align: right;
    padding: 14px 40px;
}
/*
.form-input[readonly] {
  background: rgb(240, 240, 240);
}
*/
.filter-section .form-label {
  font-weight: bolder;
}
.filter-section .form-input {
  font-weight: bolder;
  font-size: 17px;
}

/* === input 3개 공통 (중앙정렬, 내부 아이콘/버튼) === */

.input-button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #6C4ED9;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 15px 7px;
  border-radius: 8px;
  border: none;
}

/* === 성별 선택 영역 === */

.gender-select {
  display: flex;
  gap: 12px;
}

.gender-option {
  position: relative;
  flex: 1;
  height: 100px;
  border: 1px solid #ccc;
  border-radius: 12px;
  background-color: #fff;
  box-sizing: border-box;
  padding: 12px;
}

.gender-label {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #666;
}

.gender-img {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 40px;
}

.gender-option.selected {
  border-color: #A88CFF;
  background-color: #F7F2FF;
}

.gender-check {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 20px;
  height: auto;
}

/*****************************************************/

/* class_04_1 */

.grant-form-div {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}
.grant-form-div > div {
    display: flex;
}
.grant-form-image {
    background-size: 65px 65px;
    background-repeat: no-repeat;
    background-position-y: center;
    width: 65px;
    height: 65px;
    position: relative;
    left: -10px;
    margin: auto 0;
}
.grant-form-image.grant-alram-image {
    background-image: url(../img/앱권한_알림.svg);
}
.grant-form-image.grant-gallery-image {
    background-image: url(../img/앱권한_갤러리.svg);
    background-size: 50px 50px;
    left: -2px;
}
.grant-form-image.grant-witch-image {
    background-image: url(../img/앱권한_위치.svg);
}
.grant-form-image.grant-camera-image {
    background-image: url(../img/앱권한_카메라.svg);
    background-size: 50px 50px;
    left: -2px;
}
.grant-sub-title {
    font-weight: bold;
    margin: auto 0;
    color: rgb(64,64,64);
}
.grant-content {
    margin: auto 0;
    margin-left: 15px;
    font-size: 14px;
    color: rgb(127,127,127);
}
.grant-bottom-div {
    border-top: 1px solid #ccc;
    padding: 25px 20px;
    font-size: 15px;
    color: #777;
    word-break: keep-all;
    text-align: center;
    line-height: 25px;
}

/*****************************************************/

/* 헤더 */
.mobile-header {
    background: #ffffff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0px;
    z-index: 100;
    width: 100%;
    min-height: 54px;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.mobile-logo-icon {
    width: 60px;
    height: 60px;
    background-image: url('../img/로고.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 5px;
}

.mobile-header-icons {
    display: flex;
    gap: 12px;
}
 
.mobile-icon-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    font-size: 18px;
} 

.mobile-icon-btn.notification {
    background-image: url('../img/알림벨.svg');
    background-size: 18px;
    position: relative;
}

.mobile-icon-btn.scanner {
    background-image: url('../img/스캐너.svg');
    background-size: 35px;
}

.mobile-icon-btn.menu {
    background-image: url('../img/햄버거.svg');
    background-size: 25px;
}

/* 알림벨 옆 숫자 표기 */
.mobile-icon-btn.notification .no {
    position: absolute;
    right: 0px;
    top: 0px;
    color: #fff;
    font-size: 12px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #ff0000;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 메인 콘텐츠 */
.mobile-main {
    padding: 0;
    background: #ffffff;
    max-width: 100%;
    width: 100%;
}

/* 캘린더 섹션 */
.mobile-calendar-section {
    padding: 10px 16px 20px;
    background: #ffffff;
    width: 100%;
    max-width: 100%;
}

.mobile-calendar-header {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
}

.mobile-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 12px;
}

.mobile-weekday {
    text-align: center;
    font-size: 12px;
    color: #6c757d;
    padding: 8px 4px;
    font-weight: 600;
}

.mobile-weekday:first-child {
    color: #dc3545;
}

.mobile-weekday:last-child {
    color: #007bff;
}

.mobile-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 4px;
    margin-bottom: 10px;
}

/* 달력 주차별 하단선 */
.mobile-calendar-day:nth-child(7n) {
    position: relative;
}

.mobile-calendar-day:nth-child(7n):after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: calc(-600% - 10px);
    width: 700%;
    height: 1px;
    background-color: #e9ecef;
}

.mobile-calendar-day:nth-child(n+36) {
    border-bottom: none;
}

.mobile-calendar-day:nth-child(n+36):after {
    display: none;
}

.mobile-calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 8px;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: transparent;
    min-height: 40px;
}

/* 일요일 컬럼 (첫 번째 열) */
.mobile-calendar-day:nth-child(7n+1) {
    color: #dc3545;
}

/* 토요일 컬럼 (마지막 열) */
.mobile-calendar-day:nth-child(7n) {
    color: #007bff;
}

.mobile-calendar-day:hover {
    background: #f8f9fa;
}

.mobile-calendar-day.mobile-other-month {
    color: #adb5bd;
    opacity: 0.6;
}

.mobile-event-count {
    font-size: 10px;
    color: #6c5ce7;
    margin-top: 2px;
    font-weight: 600;
}

/* TODAY STATE 섹션 */
.mobile-today-state-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 20px 16px 16px;
    position: relative;
    padding-left: 12px;
}

.mobile-today-state-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border-radius: 2px;
}

/* 오늘 일정 섹션 */
.mobile-today-section {
    background: #ffffff;
    margin: 0 16px 20px;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    width: calc(100% - 32px);
    position: relative;
}

.mobile-today-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
}

.mobile-today-title {
    font-size: 16px;
    font-weight: 600;
    color: #ccc;
    text-align: center;
    width: 50%;
    padding-bottom: 4px;
    border-bottom: 2px solid #ccc;
}
.mobile-today-title.active {
    color: #6c5ce7;
    border-bottom: 2px solid #6c5ce7;
}

.mobile-schedule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
}

.mobile-schedule-item:last-child {
    border-bottom: none;
}

.mobile-schedule-time {
    font-size: 13px;
    color: #6c757d;
    min-width: 100px;
    font-weight: 500;
    letter-spacing: -0.7px;
}

.mobile-schedule-content {
    flex: 1;
    font-size: 13px;
    color: #2c3e50;
}

.mobile-schedule-type {
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    min-width: 50px;
}

.mobile-schedule-type.mobile-meeting {
    color: #ee5a52;
}

.mobile-schedule-type.mobile-personal {
    color: #2563eb;
}

.mobile-schedule-type.mobile-request {
    color: white;
    background: #8b5cf6;
}

/*250828 메인-오늘의일정-일정 없을시 나오는 이미지*/
.mobile-schedule-empty img{
    width: 250px;
    height: auto;
    flex-shrink: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    display: block;
    padding-left: 50px; 
}

/*250828 조회 리스트에 값이 없을때 표시할 이미지*/
.no-result-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}
.no-result-container img {
	width: 150px;
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.swip-dot-wrap {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 20px;
}
.swip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e9ecef;
}
.swip-dot.active {
    background-color: #6c6ce7;
}

/* 퀵 액션 버튼 */
.mobile-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0 16px 20px;
}

.mobile-action-btn {
    background: rgb(245, 245, 255);
    border: none;
    border-radius: 10px;
    padding: 15px 5px 10px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.mobile-action-icon {
    width: 100%;
    max-width: 110px;
    aspect-ratio: 2;
    background-repeat: no-repeat;
    background-position: center;
}

.mobile-action-icon.icon1 {
    background-image: url('../img/메인_클래스.png');
    background-size: 80%;
}

.mobile-action-icon.icon2 {
    background-image: url('../img/메인_회원.png');
    background-size: 93%;
}

.mobile-action-icon.icon3 {
    background-image: url('../img/메인_상담.png');
    background-size: 70%;
}

.mobile-action-text {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 600;
}

/* 스토어 배너 */
.mobile-store-banner {
    background: #8b5cf6;
    border-radius: 10px;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 30px 16px;
    position: relative;
    overflow: hidden;
    width: auto;
    color: white;
}

.form-container > .mobile-store-banner {
	margin: 20px 0;
	width: 100%;
	padding: 8px 20px;
	border: 1px solid #8b5cf6;
	background-color: white;
	color: #8b5cf6;
}

/* 하단에 댓글 다는 부분이 있는 경우 */
.form-container:has(.input-section-bottom) {
  padding-bottom: 220px;
}

/*
.mobile-store-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}
*/

.mobile-store-text {
    font-size: 16px;
    font-weight: 500;
    margin: auto;
}

/* 서비스 섹션 */
.mobile-services-section {
    margin: 0 16px 80px;
    width: calc(100% - 32px);
}

.mobile-services-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
    position: relative;
    padding-left: 12px;
}

.mobile-services-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border-radius: 2px;
}

.mobile-service-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.mobile-service-card:last-child {
    margin-bottom: 0;
}

.mobile-service-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.mobile-service-icon.mobile-service1 { 
    background-image: url('../img/강사이미지.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: linear-gradient(135deg, #ffeaa7, #fdcb6e);
}
.mobile-service-icon.mobile-service1-1 { 
    background-image: url('../img/회원이미지.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: linear-gradient(135deg, #ffeaa7, #fdcb6e);
}
.mobile-service-icon.mobile-service2 { 
    background-image: url('../img/클래스상담이미지.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: linear-gradient(135deg, #74b9ff, #0984e3);
}
.mobile-service-icon.mobile-service3 { 
    background-image: url('../img/수업관리.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: linear-gradient(135deg, #74b9ff, #0984e3);
}

.mobile-service-content {
    flex: 1;
    min-width: 0;
}

.mobile-service-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
    line-height: 1.4;
}

.mobile-service-desc {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
}

/* 하단 여백 */
.mobile-bottom-space {
    height: 40px;
}

/* ========== 프로필 등록 페이지 스타일 ========== */

/* 프로필 페이지 */
.profile-page {
    background: #e6e6ff;
}

/* 프로필 페이지 헤더 오버라이드 */
.profile-page .mobile-header {
    background: #e6e6ff;
    border-bottom: none;
}

.profile-page .mobile-logo-icon {
    display: none;
}

.profile-header-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.profile-menu-btn {
    background: none;
    border: none;
    color: #2c3e50;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
}

/* 프로필 헤더 */
.profile-header {
    padding: 40px 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.profile-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-image: url('../img/내정보_프로필.svg');
    background-size: 210% 210%;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: -43px;
}

/* 프로필 폼 */
.profile-form {
    background: white;
    border-radius: 20px 20px 0 0;
    margin: -40px 0 0;
    padding: 80px 20px 20px;
    position: relative;
    flex: 1;
    z-index: 1;
}

.profile-badge-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.profile-status-badge {
    width: 100%;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgb(245, 245, 255);
    font-size: 12px;
}

.profile-required-text {
    position: absolute;
    bottom: -30px;
    right: 5px;
    font-size: 10px;
    color: rgb(180, 180, 180);
    font-weight: 500;
}

.profile-status-icon {
    font-size: 12px;
    width: 24px;
    height: 24px;
    background-image: url('../img/카카오톡.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.profile-status-icon.kakao { background-image: url('../img/카카오톡.svg'); }
.profile-status-icon.naver { background-image: url('../img/네이버.svg'); }
.profile-status-icon.apple { background-image: url('../img/애플.svg'); }

.profile-status-text {
    font-size: 12px;
    color: #2c3e50;
    font-weight: 500;
}

/* 성별 선택 */
.profile-gender-group {
    display: flex;
    gap: 12px;
}

.profile-gender-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgb(245, 245, 255);
    position: relative;
    min-height: 120px;
    opacity: 0.7;
}

.profile-gender-option.selected {
    border-color: var(--bs-class);
    background: #f0f0ff;
    opacity: 1;
}

.profile-gender-text {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0;
    align-self: flex-start;
}

.profile-gender-option.selected .profile-gender-text {
    color: var(--bs-class);
    font-weight: 600;
}

.profile-gender-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    bottom: 10px;
    right: 7px;
}

.profile-gender-icon.female {
    background-image: url('../img/여성_활성.svg');
}

.profile-gender-icon.male {
    background-image: url('../img/남성_활성.svg');
}

.profile-gender-check {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 20px;
    height: 20px;
    background-image: url('../img/선택체크.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 서비스 링크 */
.profile-service-links {
    margin: 60px 0;
    text-align: center;
}

.profile-service-link {
    color: var(--bs-class);
    text-decoration: underline;
    font-size: 14px;
    margin: 0 8px;
}

/* === From proplan_mobile_ui.html === */

.content {
    padding: 0 20px;
    margin-bottom: 30px;
}

.proplan-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 30px 30px;
}

.proplan-text {
    flex: 1;
    line-height: 1.2;
}

.proplan-header > .proplan-text { margin-top: 10px; }

.proplan-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

@media (max-width: 420px) {
  .proplan-title {
      font-size: 20px;
  }
}

@media (max-width: 400px) {
  .proplan-header > .proplan-text > .proplan-title {
      font-size: 18px;
  }
}

.pro {
    color: rgb(115, 90, 255);
}

.proplan-title > .after-txt {
	font-weight: normal;
	font-size: 14px;
}

.classchain-logo {
    width: 90px;
    height: 120px;
    background-image: url('../img/로고.svg');
    background-size: 150px;
    background-repeat: no-repeat;
    background-position: center center;
    background-position-y: center;
    position: relative;
    top: -4px;
}

.tabs {
    display: flex;
    padding: 20px 20px 0 20px;
    margin-bottom: 0;
}

.tab-container {
    display: flex;
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    margin-top: 5px;
}

.tab {
    flex: 1;
    padding: 5px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    color: #aaa;
    border-bottom: 2px solid #ccc;
}

.tab.active {
    color: #8B5CF6;
    border-bottom-color: #8B5CF6;
    font-weight: 600;
}

.info-section {
    background: white;
    border-radius: 30px 30px 0 0;
    padding: 0;
    margin: 0;
    min-height: 60vh;
    margin-top: 30px;
}

.info-section > .form-container  { background-color: transparent; }

.notice-box {
    background: #f8f9ff;
    border: 1px solid #e8e9ff;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.notice-box:has(.important-text) {
    margin: 5px 0 15px;
}

.notice-text {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 8px;
}

.notice-text > .important-text {
    text-align: center;
    margin-top: 25px;
    font-weight: bold;
    font-size: 15px;
}

.purchase-button {
    text-align: center;
    font-size: 14px;
    color: #555;
    font-weight: 600;
    text-decoration: underline;
    margin: 0 0 30px 0;
    cursor: pointer;
}

.ticket-history-list {
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    word-break: keep-all;
}

.ticket-card {
    /*
    display: flex;
    justify-content: space-between;
    */
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 12px;
    background-image: url('../img/추가이미지1.png');
    background-repeat: no-repeat;
    background-size: 110px 110px;
    background-position-x: calc(100% - 10px);
    background-position-y: 10px;
}

.ticket-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ticket-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px
}
    
.ticket-price {
  font-weight: 600;
  color: #333;
}

.ticket-info {
  padding: 20px;
}

.history-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  margin-top: 10px;
  gap: 10px;
}

.divider {
  flex: 1;
  height: 1px;
  background: #e5e7eb;
  position: relative;
}

.sort-btn {
    font-size: 12px;
    color: rgb(195, 195, 195);
    background: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sort-btn .arrow {
    margin-left: 2px;
    transform: rotate(270deg);
    background-image: url(../img/pro-back.svg);
    background-size: 10px;
    width: 12px;
    height: 10px;
    background-repeat: no-repeat;
}
.sort-btn .arrow.active {
    transform: rotate(90deg);
    width: 8px;
    margin-left: 4px;
    margin-right: 2px;
}
.sort-btn .arrow.u-direction {
    transform: rotate(90deg);
    width: 8px;
    margin-left: 4px;
    margin-right: 2px;
}
.sort-btn .arrow.r-direction {
	transform: rotate(180deg);
	margin-top: 3px;
}

.ticket-card-sub {
    position: relative;
    padding-left: 12px;
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
    display: flex;
    gap: 4px;
}

.ticket-card-sub > .select-text {
    position: relative;
    margin-left: auto;
    margin-top: auto;
    right: 5px;
    padding: 0;
}

.ticket-card-sub::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6c757d;
    top: -1px;
}

.store-card-sub {
    position: relative;
    padding-left: 12px;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    display: flex;
    gap: 4px;
}


/* ===== Appended additional overrides without duplicates ===== */
/* Merged from class_10_1.css */
.usermian-container {
  background: white;
  min-height: 100vh;
  width: 100%;
  padding-top: 60px;
}
.usermian-container > .header {
  height: 60px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
  background: white;
  position: fixed;
  top: 0;
  z-index: 100;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  width: 80px;
  height: 80px;
  background-image: url('../img/로고.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.logo-text {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  display: none;
}
.profile-btn {
  width: 35px;
  height: 35px;
  display: flex;
  position: absolute;
  align-items: center;
  justify-content: center;
  top: 12px;
  right: 15px;
  background-image: url('../img/로그인.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.hero-section {
  padding: 20px;
  background: rgb(253, 245, 249);
  color: #333;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.hero-image {
  width: 160px;
  height: 160px;
  margin: auto;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('../img/사용자메인_클래스찾기활용.png');
  background-repeat: no-repeat;
}
.hero-text {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
  color: rgb(115, 90, 255);
  text-align: center;
}
.hero-subtitle {
  color: rgb(127, 127, 127);
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.9;
}
.search-container {
  padding: 20px;
}
.search-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}
.search-subtitle {
  color: rgb(118, 113, 113);
  font-size: 11px;
  font-weight: normal;
}
.search-box {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid rgb(200, 200, 200);
  border-radius: 25px;
  padding: 4px 10px;
  gap: 10px;
  position: relative;
  min-width: 0;
}
.search-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 5px;
}
.search-tag {
  background: none;
  color: rgb(155, 140, 250);
  padding: 4px 8px;
  border-radius: 15px;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.search-input {
  border: none;
  background: none;
  outline: none;
  flex: 1;
  font-size: 14px;
  color: #333;
  min-width: 0;
}
.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.usermian-container .categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 10px;
  padding: 0 10px;
  background: white;
}
.usermian-container .category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #666;
}
.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3px;
}
.category-icon img {
  width: 50px;
  height: 50px;
}
.category-text {
  font-size: 14px;
  text-align: center;
}
.section {
  margin: 20px 0;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 15px;
}
.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}
.more-btn {
  font-size: 12px;
  color: rgb(127, 127, 127);
  text-decoration: none;
}
.cards-horizontal {
  display: flex;
  gap: 15px;
  padding: 0 20px;
  overflow-x: auto;
}
.cards-vertical {
  display: flex;                  /* grid → flex */
  gap: 10px;
  padding: 0 20px;
  overflow-x: auto;               /* 가로 스크롤 추가 */
  -webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 */
  scrollbar-width: none;          /* Firefox 스크롤바 숨김 */
  scroll-behavior: smooth;
}
.cards-vertical::-webkit-scrollbar {
  display: none;                  /* 크롬/사파리 스크롤바 숨김 */
}
.card-vertical {
  flex: 0 0 auto;                 /* 줄바꿈 없이 가로로 배치 */
  width: 120px;                   /* 카드 고정 폭 */
  height: 100px;
}
.card-vertical > img {
  width: 100%;
  height: 100%;
  object-fit: cover;              /* 이미지 꽉 채우기 */
}
.card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: white;
}
.card-horizontal {
  min-width: 200px;
  height: 120px;
}
.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  color: white;
}
.card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: unset;
}
.card-1 {
  background: linear-gradient(135deg, #ff9a8b 0%, #fecfef 100%);
}
.card-2 {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}
.card-3 {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}
.card-4 {
  background: linear-gradient(135deg, #ff8a80 0%, #ea2a2a 100%);
}
.card-5 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.card-6 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 15px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ddd;
}
.dot.active {
  background: #667eea;
}

/* Merged from class_13_2.css */
.navi-container {
  margin: 0 auto;
  background: linear-gradient(135deg, #e8d5ff 0%, #f0e6ff 50%, #e8d5ff 100%);
  background: white;
  position: fixed;
  left: 100%;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  transition: 0.3s;
  overflow-y: auto;
  padding-top: 0px;
}
.navi-container > .mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 20px;
  background: rgb(225, 220, 255);
  position: sticky;
  width: 100%;
  height: 71px;
  top: 0;
  z-index: 100;
}
.back-btn {
  background: none;
  width: 30px;
  display: flex;
}
.back-btn > .ico.ico-pre {
  margin: auto;
}
.menu-btn {
  background: none;
  width: 30px;
  display: flex;
}
.menu-btn > img {
	width: 30px;
	height: 30px;
	margin: auto;
}
.profile-avatar.class-avatar {
  width: 80px;
  height: 80px;
  border-radius: 0;
  margin: auto;
  background-size: 200% 200%;
  background-position-y: -28px;
}
.profile-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: rgb(225, 220, 255);
}
.profile {
  flex : 1;
  flex-direction: column;
}
.profile-myProfile {
  color: rgb(115, 90, 255);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}
.greeting {
  flex : 3;
  font-size: 22px;
  font-weight: bold;
  color: black;
  margin-bottom: 8px;
}
.user-name {
  color: #7d46ff;
  opacity: 0.8;
}
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 33px;
  padding: 26px 52px 21px 52px;
  margin-bottom: 10px;
  background: rgb(225, 220, 255);
  border-radius: 0 0 24px 24px;
}
.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
  background: white;
  border-radius: 15px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.action-item:hover {
  transform: translateY(-2px);
}
.action-icon {
  width: 56px;
  height: 56px;
}
.action-icon.purple {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
}
.action-icon.blue {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
}
.action-icon.indigo {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}
.action-icon.green {
  background: linear-gradient(135deg, #10b981, #059669);
}
.action-label {
  font-size: 13px;
}
.navi-container .categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 20px 10px;
  gap: 15px;
}
.navi-container .category {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  padding: 15px 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.category h3 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: bold;
}
.category-header {
  background: #7d46ff;
  height: 14px;
  margin-bottom: 0;
}
.category-content {
  min-height: 190px;
  background: rgba(225, 220, 255, 0.6);
  padding: 20px;
  border-radius: 0 0 10px 10px;
  text-align: center;
}
.navi-container .category-item {
  font-size: 15px;
  margin-bottom: 8px;
  position: relative;
}
.navi-container .category-item:before {
  content: "•";
  position: relative;
  left: -4px;
  color: #8b5cf6;
}
.service-items {
  padding: 0 20px 30px;
}
.service-item {
  display: flex;
  align-items: center;
  padding: 12px 10px;
  background: rgba(225, 220, 255, 0.6);
  border-radius: 14px;
  margin-bottom: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.service-items > .service-item > span {
  position: absolute;
}
.service-items > .service-item > span:first-child {
  left: 1px;
  top: 1px;
}
.service-items > .service-item > span:last-child {
  right: 10px;
}
.service-icon {
  width: 50px;
  height: 50px;
}
.service-icon.purple {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
}
.service-icon.blue {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
}
.service-icon.green {
  background: linear-gradient(135deg, #10b981, #059669);
}
.service-icon.orange {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.service-text {
  font-size: 16px;
  font-weight: 500;
  flex: 1;
  text-align: center;
}
.service-arrow {
  transform: rotate(180deg);
  margin-top: -5px;
}
.member-out {
  text-align:center;
  font-size: 15px;
  margin-top: 35px;
}
.member-out a {
  text-decoration: none;
  color : black;
}
.footer {
  padding: 20px;
  text-align: center;
  color: #6b21a8;
  font-size: 12px;
  opacity: 0.7;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}
.footer-links a {
  color : black;
  text-decoration: none;
}
@media (max-width: 480px) {
  .quick-actions {
      padding: 20px 15px;
      gap: 5px;
  }
}

/* Merged from class_15_1.css */
.form-essential {
  font-size: 12px;
  text-align: right;
  color: darkgray;
  margin-right: 3px;
}
.dropdown-icon, .hash-icon, .search-icon, .won-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
}
.dropdown-icon {
  right: 17px;
}
.won-icon {
  right: 18px;
  font-size: 13px;
  color: #999;
}
.search-icon {
  right: 16px;
  top: calc(50% + 2px); 
}
.search-icon img {
  width:17px;
  height:17px;
}
.hash-icon {
  top: calc(50% + 3px);
}
.hash-icon img {
  width: 30px;
}
.additional-info {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.usage-time-section {
  text-align: center;
  margin-top: 5px;
}
.usage-time-btn {
  width: 85%;
  height: 40px;
  background: #8b5cf6;
  color: white;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  padding-bottom: 3px;
  margin-top: 15px;
}
.usage-time-btn.type2 {
  background: unset;
  color: #8b5cf6;
  border: 1px solid #8b5cf6
}
.usage-time-btn.type3 {
  background: linear-gradient(45deg, #fff, #ccc);
  color: #ccc;
  font-weight: 600;
  width: 300px;
  margin-bottom: 30px;
}
.ico.clock {
  background-image: url(../img/시계.svg);
  width: 20px;
  height: 20px;
  position: relative;
  left: -10px;
  top: 4px;
  filter: invert(100%);
}
.note-div {
  min-height: 90px;
  margin-top: 15px;
  border-top: 1px solid #ddd;
  display: flex;
}
.note-div > .note {
  text-align: center;
  font-size: 12px;
  color: #999;
  padding: 20px;
  margin: auto;
}
.gallery-upload-section {
  transition: all 0.3s ease;
  overflow: hidden;
  display: none;
}
.gallery-upload-section.show {
  display: block;
}
.upload-box {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 8px;
  position: relative;
}
.gallery-section-wrapper {
  margin-bottom: 16px;
  margin-top: 3px;
}
.gallery-section-wrapper2 {
  margin-bottom: 16px;
  margin-top: 8px;
  background: rgb(245, 245, 255);
  border-radius: 14px;
}
.gallery-option-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.gallery-option {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.gallery-option-box {
  background: rgb(245, 245, 255);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 150px;
  width: 100%;
}
.gallery-upload-option {
  display: flex;
  justify-content: center;
  padding: 10px;
  gap: 0px;
}
.gallery-image-icon img {
  width: 100px;
  height: 100%;
}
.gallery-text {
  color: rgb(190, 190, 190);
  font-size: 20px;
  font-weight: 500;
}
.radio-button {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 2px solid #ddd;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}
.radio-button.active {
  border-color: #8b5cf6;
  background-image: url('../img/라디오선택.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: 0;
}
.class-intro {
  background: rgb(245, 245, 255);
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 11px;
  margin-top: 3px;
}
.class-intro-box {
  background: #ffffff;
  padding: 15px;
  border-radius: 5px;
  min-height: 80px;
  word-break: keep-all;
}
.class-intro-box:has(textarea) {
  max-height: 160px;
  overflow-y: auto;
}
.class-intro-box > textarea {
  width: 100%;
  height: 100%;
  border: 0;
  resize: none;
  outline: none;
  color: #333;
  font-size: 13px;
  background: transparent;
  field-sizing: content;
}
.class-intro:has(textarea[disabled]) {
  background: rgb(240, 240, 240);
}

.class-intro-box.no-limit{
	max-height: none;
	overflow-y: auto;
}

.class-intro-box > ul > li {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #666;
}
.class-intro-box > div {
  margin: 30px 0 10px;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
}
.register-btn {
  width: 100%;
  background: #8b5cf6;
  color: white;
  padding: 18px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 100;
}
.register-btn:hover {
  background: #7c3aed;
  transform: translateY(-2px);
}
.gallery-upload-radio {
  margin: 10px 0 0 30px;
}

.upload-icon > img {
	width: 90px;
	height: 90px;
    opacity: 1;
}

.upload-icon .no-image {
	opacity: 0.5;
}

/* 하단 버튼 부분이 2개가 필요한 경우 */
.main-container:has(.double-btn) {
  padding-bottom: 92px;
}

.double-btn {
    display: flex;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 20px;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 100;
}

.double-btn button{
    flex:1;
    padding: 18px;
    font-size: 18px;
    font-weight: 600;
}
.double-btn .btn-delete{
    color: white;
    background: rgb(193 193 255);
}
.double-btn .btn-update{
    color: white;
    background: #8b5cf6;
}

/* ==== Merged from class_17_2.css ==== */

.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 12px;
    color: #333;
    background-color: white;
    resize: none;
    outline: none;
}

.input-field:focus {
    border-color: #8b5cf6;
}

.input-field::placeholder {
    color: #999;
    font-size: 12px;
}

/* 선택하기 버튼 */

/* 레이어 팝업 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    align-items: flex-end;
}

.popup-content {
    width: 100%;
    background-color: white;
    border-radius: 10px 10px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.popup-overlay.show {
	display: flex;
}

.popup-overlay.show .popup-content {
    transform: translateY(0);
}

.popup-header {
    text-align: center;
    position: relative;
    padding: 2px 10px;
    border-bottom: 1px solid #d1d5db;
}

.popup-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.popup-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 15px;
}

.popup-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: black;
    cursor: pointer;
}

/* 카테고리 컨테이너 */
.category-container {
    display: flex;
    margin-bottom: 70px;
    flex-direction: column;
}

/* 카테고리 위 (왼+우)*/
.category-top {
    display: flex;
    height: 400px;
    border-bottom: 1px solid #d1d5db;
}

/* 왼쪽 카테고리 */
.category-left {
    width: 40%;
    background-color: #f8f9fa;
    border-radius: 8px 0 0 8px;
    padding: 8px 0;
    border-right: 1px solid #d1d5db;
}

.popup-content .category-item {
    padding: 10px;
    margin: 8px 0;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.popup-content .category-item.active {
    background-color: rgba(125, 70, 255, 0.3);
    font-weight: 500;
}

/* 오른쪽 세부 카테고리 */
.category-right {
    width: 60%;
    background-color: white;
    border-radius: 0 8px 8px 0;
    padding: 16px 16px 0px 16px;
    overflow-y: auto;
    position: relative;
}

.subcategory-group {
    display: block;
}

.subcategory-group.hidden {
    display: none;
}

.subcategory-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.subcategory-item:hover {
    background-color: #f9f9f9;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
}

.subcategory-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: all 0.2s ease;
}

.subcategory-item[data-selected="true"] .subcategory-radio {
    border-color: #8b5cf6;
    background-image: url('../img/라디오선택.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 0;
}

.subcategory-name {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    border-bottom: solid 1px #d1d5db;
    padding-bottom: 3px;
}

/* 카테고리 아래*/
.category-bottom {
    display: flex;
    justify-content: center;    /* 가로 중앙 정렬 */
    align-items: center;    /* 세로 중앙 정렬*/
    padding: 25px 0;
}

.category-selected {
    width: 90%;
    height: 40px;
    line-height: 40px;
    color: black;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 10px;
}

/* 팝업 선택하기 버튼 */
.popup-select-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background-color: #8b5cf6;
    color: white;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.popup-select-btn:hover {
    background-color: #7c3aed;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.option-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.option-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 12px;
}

.dot-purple {
    background-color: #8b5cf6;
}

.dot-blue {
    background-color: #3b82f6;
}

.dot-gray {
    background-color: #9ca3af;
}

.hashtag-text {
    font-size: 12px;
    color: #8b5cf6;
    text-align: center;
    margin-bottom: 20px;
}

/* === From class_17_3.css === */

/* 운영시간 팝업 스타일 */

.time-container {
    margin-bottom: 70px;
    border-top: 1px solid #d1d5db;
    padding: 10px 0 20px;
    overflow-y: auto;
    max-height: calc(100vh - 130px);
}

.time-schedule {
    display: flex;
    flex-direction: column;
}

.time-row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    cursor: pointer;
}

.day-label {
    width: 45px;
    min-width: 45px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 20px;
    font-weight: 400;
    margin: 0px 20px;
    border: 1px solid #9fa1a3;
    border-radius: 10px;
}

.day-label.active {
    background-color: #8b5cf6;
    border: 1px solid #9fa1a3;
    color: white;
}

.time-slot {
    flex: 1;
    padding: 8.5px;
    border-radius: 8px;
    text-align: center;
    margin-right: 20px;
    border: 1px solid #9fa1a3;
    font-size: 14px;
    color: #999;
    min-height: 40px;
    min-width: 0;
}
.time-slot.active {
    color: #333;
    border: 1px solid #9fa1a3;
    /*font-size: 15px;*/
}

/** 18_1 **************************/
.content-area {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	word-break: keep-all;
}

.header-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.class-section {
    margin: 0 20px;
    position: relative;
}

.question-image {
    position: absolute;
    top: -28px;
    right: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    cursor: pointer;
}

.class-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid #eee;
    display: flex;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
    position:relative;
}

.class-card.border-line-thin {
    border: 1px solid #ddd;
}

.class-card .form-label {
	margin-left: 0;
}

.class-bottom-text {
    margin: 15px auto 10px;
    color: #777;
    font-size: 15px;
    font-weight: 500;
}

.class-section > .class-card {
    padding: 10px;
}

.class-main-image {
    width: 40%;
    max-width: 130px;
    border-radius: 8px;
    display: flex;
}

.class-main-image img {
    width: 90%;
    max-height: 90%;
    margin: auto 0;
    aspect-ratio: 1;
}

.class-main-image:has(.proplan-title) {
    flex-direction: column;
    gap: 10px;
}
.class-main-image > .proplan-title {
	font-size: 14px;
}

.class-right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*height: -webkit-fill-available;*//* IOS에서 해당 크기가 너무 지나치게 늘어나는 문제 있음.. 사용중인 화면에서 딱히 없어도 되는 듯 보이므로 일단 삭제 */
}

.class-info-row {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
}

.class-info-header {
    width:100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.class-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.delete-btn {
	position: absolute;
	right: 10px;
}

.delete-btn img {
    width: 25px;
}

.class-subtitle {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.class-location {
    font-size: 14px;
    color: #666;
}

.class-images {
    display: flex;
    max-width: 250px;
    /*width: -webkit-fill-available;*//*IOS에서 크기가 너무 커져서 이미지부분?을 없애버리는 에러있음.. card-subtitle에서 word-break: break-word로 대체*/
    gap: 5px;
    margin-left: auto;
    margin-top: auto;
    align-items: center;
    justify-content: end;
}

.image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 57px;
    height: 67px;
}

.image-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    box-sizing: border-box;
}

.image-box img {
    width: 90%;
    height: auto;
}

.image-label {
    position: relative;
    top: -15px;
    font-size: 15px;
    color: #000000;
}

.empty-state {
    background: white;
    margin: 30px 20px 0;
    border-radius: 12px;
    padding: 30px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    color: #999;
    border: 1px solid #ddd;
}

.empty-icon {
    margin-bottom: 16px;
    color: #ddd;
}

.empty-icon img {
    width: 50px;
    height: 50px;
}

.empty-text {
    font-size: 20px;
}

.bottom-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(100vw * 0.2);
    background-image: url(../img/banner-sam.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position-y: bottom;
}


/* === From 19-1.html === */

.form-container {
  padding: 20px;
  background-color: #fff;
}

.form-group {
  margin-bottom: 20px;
}

.button-group {
  display: flex;
  gap: 8px;
  margin-top: 3px;
  margin-bottom: 10px;
}

.button-group > .btn-type {
  flex: 1;
  padding: 10px 0;
  font-size: 14px;
  background: white;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-weight: 500;
  color: #bbb;
  text-align: center;
}

.button-group > .btn-type.active {
  background: #8B5CF6;
  color: #fff;
}

.button-group > input[type=radio]:checked + .btn-type {
  background: #8B5CF6;
  color: #fff;
}

/* === class_20_2.css 통합 === */

.class-name {
    font-size: 28px;
    font-weight: bold;
    color: rgb(115, 50, 245);
}

.subtitle {
    font-size: 28px;
    font-weight: bold;
    color: rgb(23, 23, 23);
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.class-title-small > .class-name {
	font-size: 23px;
}

.class-title-small > .subtitle {
	font-size: 21px;
}

.review-item {
    margin-bottom: 30px;
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: -10px;
    min-height: 43.5px;
}

.reviewer-info {
    display: flex;
    align-items: center;
}

.reviewer-name {
    font-size: 16px;
    font-weight: 600;
    color: rgb(64, 64, 64);
    margin-right: 10px;
}

.stars {
    color: #ffd700;
    font-size: 12px;
    margin-right: 8px;
}

.review-date {
    font-size: 12px;
    color: #999;
}

.review-text {
    font-size: 15px;
    color: rgb(90, 90, 90);
    line-height: 1.5;
    margin-top: 8px;
}

.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.star {
    width: 120px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.star-filled1 {background-image: url('../img/별표1.svg');}
.star-filled2 {background-image: url('../img/별표2.svg');}
.star-filled3 {background-image: url('../img/별표3.svg');}
.star-filled4 {background-image: url('../img/별표4.svg');}
.star-filled5 {background-image: url('../img/별표5.svg');}

img.star {
	width: 21px;
	background-size: cover;
	content: url(../img/평점별.svg);
}
img.star.on {
	background-image: url('../img/별표5.svg');
}

.star-empty {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ffd700" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>');
}

.more-dot-btn {
    color: #999;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    position: relative;
}

.more-dot-btn img {
    width: 20px;
}

/* Dropdown Menu */
.dropdown-menubox {
    position: fixed;
    right: 20px;
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    min-width: 120px;
    display: none;
}

.dropdown-menubox.show {
    display: block;
}

.dropdown-item {
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.2s;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.dropdown-item.danger {
    color: #dc3545;
}

.dropdown-item.danger:hover {
    background-color: #fdf2f2;
}
/****************************/

/* === class_21_1.css 통합 === */

/* Filter Section */
.filter-section {
    padding: 20px 20px 15px;
    background-color: white;
}

.filter-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.filter-label {
    font-size: 15px;
    color: rgb(90, 90, 90);
    font-weight: bold;
    margin-bottom: 5px;
}

.filter-label::before {
    content: "*";
    color: #e53e3e;
    margin-right: 4px;
    height: 10px;
	line-height: 10px;
}

/* Content Sections */
.content-section {
    display: none;
    overflow-y: auto;
    max-height: calc(100% - 96px);
}

.content-section.active {
    display: block;
}

/* Dotted Divider */
.dotted-divider {
    border-bottom: 1px dotted #ccc;
    margin: 0 20px;
}

/* Select Header */
.select-header {
    background-color: white;
    display: flex;
    justify-content: flex-end;
}

.select-text {
    font-size: 14px;
    color: rgb(90, 90, 90);
    cursor: pointer;
    font-weight: 500;
    display: inline-block;
    padding: 15px 23px;
    text-decoration: underline;
}

.select-text.disabled {
    cursor: default;
    color: #aaa;
    pointer-events: none;
    text-decoration: none;
}

.select-cancle {
    color: rgb(238, 120, 51);
}

/* Member Card with checkbox */
.member-card {
    display: flex;
    /*align-items: center;*/
    padding: 8px 15px;
    background-color: white;
    border-radius: 8px;
    flex: 1;
    border: 2px solid #eee;
    position: relative;
}

.member-card:has(.member-avatar) {
    padding: 15px;
    flex-direction: column;
}

.member-card-top{
    display: flex;
}

.member-card.selection-mode {
    margin-left: 8px;
}

.member-avatar {
    width: 80px;
    height: 80px;
    margin: auto;
}
.member-avatar img {
    width: 100%;
    height: 100%;
}

.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-left: 20px;
}

.member-name {
    font-size: 17px;
    font-weight: bold;
    color: #333;
}

.member-content {
    font-size: 14px;
    color: #666;
    margin-left: 10px;
}

.member-phone {
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

.member-phone img {
    width: 20px;
}

.member-status {
    text-align: center;
}

.member-status a {
    font-size: 13px;
    color: rgb(90, 90, 90);
    text-decoration: none;
}

.end-tag {
    color: #c62828;
}

.member-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 40px;
    right: 15px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-image: url('../img/플러스_목록.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Member List */
.member-list {
    margin: 0 5px;
    padding: 0px 13px 50px;
    position: relative;
    word-break: keep-all;
}

.member-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.member-checkbox-wrapper {
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    /*justify-content: center;*/
}

.member-checkbox-wrapper.show {
	min-width: 25px;
    width: 35px;
    height: 35px;
}

/* === class_24_1.css 통합 === */

/* 초대코드 팝업 */
.invite-popup {
    margin: auto;
}

.invite-popup .popup-header {
    padding: 5px;
    padding-bottom: 15px;
    text-align: center;
}

.invite-popup .popup-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.invite-popup .popup-subtitle {
    font-size: 15px;
    color: #666;
    line-height: 1.4;
}

.invite-popup .popup-content {
    padding: 10px;
    text-align: center;
    width: auto;
    border-radius: 10px;
    width: 90%;
    max-width: 320px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
}
.popup-overlay.show .invite-popup .popup-content {
	opacity: 1;
}

.invite-popup .invite-code-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-align: left;
}

.invite-popup .phone-input-container {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    align-items: stretch;
}

.invite-popup .phone-prefix {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    min-width: 80px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invite-popup .phone-input {
    flex: 1;
    width: 100%;
    height: 40px;
    padding: 6px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background-color: white;
    box-sizing: border-box;
}

.invite-popup .phone-input:focus {
    outline: none;
    border-color: #007AFF;
}

.invite-popup .phone-input::placeholder {
    color: #999;
    font-size: 12px;
}

.invite-popup .popup-buttons {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    display: flex;
}

.invite-popup .popup-btn {
    flex: 1;
    border: 0px;
    background-color: white;
    padding: 5px;
    font-size: 15px;
    color: #333;
}

.invite-popup .btn-submit {
    border-left: 1px solid #ddd;
}

.form-group-box {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.form-group-box.border-line-thin {
    border: 1px solid #ddd;
}

.category-container .form-group-box {
	padding: 0;
	padding-top: 16px;
	position: absolute;
	top: 185px;
	bottom: 55px;
	width: calc(100% - 40px);
}

.category-container .form-group-box .note-div {
	height: calc(100% - 37px);
    overflow-y: auto;
}

.category-container .form-group-box .card-title-form > li {
    display: flex;
    padding-right: 0;
}

.category-container .form-group-box .card-title-form > li > input[type=checkbox] {
	margin: auto 0;
	margin-right: 15px;
}
.category-container .form-group-box .card-title-form > li > div {
	margin: auto 0;
	margin-right: 15px;
}

.form-group-box .form-group {
    margin-bottom: 16px;
}

.form-group-box .form-group:last-child {
    margin-bottom: 0;
}

/* class_25_4 */

.dot-line {
    border-bottom: 1px dotted #ccc;
    margin-bottom: 35px;
}

/* 전체 카드 */
.content > .class-card {
    position: relative;
    margin-bottom: 15px;
}

/* 왼쪽 정보 영역 */
.info-area {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-grow: 1;
}

.info-area > .class-title {
    font-size: 18px;
}

.class-amount {
	color: #666;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.class-amount > .class-price-cancel-div {
    display: flex;
    align-items: center;
}

.class-price {
    color: #8A2BE2;
    font-size: 18px;
    margin-right: 3px;
}

.class-price.class-price-cancel {
    color: #888;
    text-decoration: line-through;
    text-decoration-color: black;
}

.class-amount > span > .udt-arrow {
    background-image: url(../img/방향화살표.png);
    background-size: 27px 10px;
    width: 25px;
    height: 10px;
    background-repeat: no-repeat;
    position: relative;
    margin: 0 10px;
}

.class-details p {
    margin: 4px 0;
    font-size: 14px;
    color: #555;
}

.class-details > div {
    display: flex;
    margin: 4px 0;
    font-size: 14px;
    color: #555;
}

.status-ended {
    color: red;
}

.status-ing {
    color: green;
}

/* 오른쪽 로고 영역 */
.class-logo-image {
	z-index:auto;
	position: absolute;
    top: -45px;
    right: -30px;
}
.class-logo-image img {
    width: 200px;
    filter: contrast(0.3);
    opacity: 0.2;
}

.card-info {
    flex: 1;
    margin: auto;
    word-break: keep-all;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-info .form-label {
	margin-left: 0;
}

.card-subtitle {
    font-size: 11px;
    margin-bottom: 5px;
    word-break: break-word;
}

.card-title-form {
    font-size: 15px;
    font-weight: 400;
    color: #333;
    margin-bottom: 5px;
}

.card-title-form .member-name {
    font-weight: 700;
    font-size: unset;
}

.card-date {
    font-size: 13px;
    color: #666;
    font-weight: 400;
    margin-bottom: 10px;
}

.card-date .date-value {
    font-weight: 700;
}

.button-container {
    display: flex;
    gap: 10px;
    margin-top: auto;
    margin-left: auto;
    max-width: 350px;
}
.button-container:not(:has(.btn-plan)) {
    max-width: 150px;
    min-width: 100px;
    width: calc(100% - 50px);
    margin-right: auto;
}

.action-btn {
    border: none;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
    min-width: 70px;
}

.btn-plan {
    background-color: #f8f9fa;
    color: #666;
    border: 1px solid #e9ecef;
}

.btn-plan:hover {
    background-color: #e9ecef;
}

.btn-history {
    background:rgb(125, 70, 255);
    color: white;
}

.btn-history:hover {
    opacity: 0.9;
}

/* class_28_3 */

.chat-container {
    margin-top:10px;
    margin-bottom: 24px;
    overflow-y: auto;
    max-height: calc(100vh - 420px);
}

.message.reply {
    margin-left: 24px;
    position: relative;
}

.message-contain {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.message-contain > .state-btn {
	min-width: 60px;
    width: 60px;
    height: 27px;
    background: rgb(226,240,217);
    border-radius: 10px;
    font-size: 11px;
    text-align: center;
    padding: 4px;
    margin: 5px;
    color: #555;
}
.message-contain > .state-btn.state-btn-type1 { background: rgb(226,240,217); }
.message-contain > .state-btn.state-btn-type2 { background: rgb(251,229,214); }

.message-contain > .form-item { flex: 1; }
.message-contain > .message-contain-between { margin: -13px 5px 0; }

.sender-name {
    font-size: 15px;
    font-weight: 500;
}

.sender-instructor {
    color:rgb(115, 50, 245);
    font-weight: bold;
}

.sender-content {
	color: #666;
	font-size: 14px;
	margin-top: 10px;
}

.timestamp {
    font-size: 12px;
    color: #999;
    margin-top: -10px;
}

/* Edit Mode */
.edit-container {
    display: none;
}

.edit-container.active {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    margin-top: 8px;
}

.edit-textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #7c4dff;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
    resize: none;
    min-height: 60px;
}

.edit-textarea:focus {
    outline: none;
    border-color: #6c3ce6;
    box-shadow: 0 0 0 2px rgba(124, 77, 255, 0.2);
}

.edit-buttons {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
    margin-left: auto;
}

.save-btn, .cancel-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    height: fit-content;
    width: 100px;
}

.save-btn {
    background-color: #7c4dff;
    color: white;
}

.save-btn:hover {
    background-color: #6c3ce6;
}

.cancel-btn {
    background-color: #f8f9fa;
    color: #666;
    border: 1px solid #e9ecef;
}

.cancel-btn:hover {
    background-color: #e9ecef;
    color: #333;
}

.message-content {
    padding: 3px 0;
    font-size: 13px;
    margin-bottom: 4px;
    color: #555;
}

/* Input Section */
.input-section-bottom {
    position: fixed;
    bottom: 62px;
    left: 0;
    right: 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 10px 20px 20px;
    z-index: 1000;
}

/* class_29_2 */

.service-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    min-height: 250px;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.service-text-area {
    width:100%;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    padding: 5px 10px 10px;
}

.service-header {
    display: flex;
    align-items: center;
}

.service-category {
    font-size: 12px;
    font-weight: 400;
    color:rgb(118, 118, 118);
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    color: rgb(155, 50, 245);
    padding-left: 10px;
}

.service-description {
    display: flex;
    font-size: 13px;
    color: black;
    line-height: 1.4;
}

.service-description:not(:last-child) {
    margin-bottom: 8px;
}

.description-label {
    flex-shrink: 0;
    margin-right: 8px;
}

.section2 {
    background-color: white;
    margin-bottom: 40px;
    padding: 0px 20px 0px;
}

.toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0px 10px;
    border-bottom: 1px solid rgb(127, 127, 127);
}

/** mem_09_02 QRCODE **/
.qrcode-area{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}


/** mem_18_1 s */

.form-group-box:has(.toggle-item) {
	border: none;
	padding: 10px;
}
.form-label.toggle-label {
	font-weight: 400;
	color: rgb(125, 70, 255);
}
.form-group-box > .toggle-item {
    padding: 10px 0px;
    border-bottom: 1px solid rgb(127 127 127 / 15%);
}
.form-group-box > .toggle-item .toggle-title {
    font-size: 15px;
    font-weight: normal;
    color: black;
}
.form-group-box > .toggle-item .toggle-content {
	padding-right: 10px;
}
.form-group-box > .toggle-item .toggle-description {
    font-size: 11px;
    color: #666666b0;
}
.form-group-box > .toggle-item .toggle-switch {
    width: 50px;
    height: 27px;
    background-color: #8264ee;
    border-radius: 25px;
}
.form-group-box > .toggle-item .toggle-switch::after {
    left: 18px;
    width: 21px;
    height: 21px;
}
.form-group-box > .toggle-item .toggle-switch.off {
    background-color: #ddd;
}
.form-group-box > .toggle-item .toggle-switch:not(.off)::after {
    transform: translateX(8px);
}
.form-group-box > .toggle-item .toggle-switch.off::after {
    transform: translateX(-14px);
}

/** mem_18_1 e */

.toggle-content {
    flex: 1;
}

.toggle-title {
    font-size: 18px;
    font-weight: 600;
    color: black;
    margin-bottom: 5px;
}

.toggle-description {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.toggle-switch {
    position: relative;
    width: 70px;
    height: 40px;
    background-color: rgb(127, 70, 255);
    border-radius: 30px;
}

.toggle-switch.off {
    background-color: #ddd;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 20px;
    width: 37px;
    height: 34px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.toggle-switch.off::after {
    transform: translateX(-17px);
}

.toggle-switch:not(.off)::after {
    transform: translateX(10px);
}

/*  class_32_1 */

.image-container {
    margin: 40px 0;
}

.main-image {
    width: auto;
    height: 200px;
    margin: 0 auto;
    display: block;
    object-fit: cover;
}

.main-text {
    font-size: 22px;
    font-weight: bold;
    color: black;
    line-height: 1.4;
    margin-bottom: 40px;
}

.text-list {
    margin-bottom: 30px;
    width: 100%;
    max-width: 300px;
}

.text-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: bold;
    color: black;
    border-bottom: 1px solid #ddd;
    padding-left: 25px;
}

.text-item > span {
    margin-bottom: 5px;
}

.text-item:last-child {
    margin-bottom: 0;
}

.text-item > .form-label {
	font-size: 15px;
}

.question-section {
    margin-bottom: 40px;
    margin-top: 10px;
}

.question-text {
    font-size: 17px;
    color: black;
    margin-bottom: 8px;
}

.question-description > div {
	display: inline-block;
	margin: 0 2px;
}

/* class_32_2 구독 해지 20250924 */
.proplan-cancel-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 0px 20px;
}

.proplan-cancel-img{
    width: 100px;
}

.glay{
    color:#b3b3b3;
}

.resubscribe-button{
    width: 100%;
    padding: 10px;
    font-size: 1em;
    font-weight: 700;
    background-color: #fff;
    border: 2px solid rgb(115, 90, 255);
    border-radius: 8px;
}

/* class_33_1 */

/* 달력 컨트롤 */
.calendar-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: white;
}

.view-toggles {
    display: flex;
    gap: 5px;
    font-size: 13px;
}

.view-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    color: #666;
    cursor: pointer;
    min-width: 40px;
    gap: 2px;
}

.view-toggle:hover {
    color: #333;
}

.view-toggle-icon img {
    width: 30px;
    height: auto;
}

.month-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-btn {
    background: none;
    border: none;
    padding: 5px;
    display: flex;
}

.nav-btn img {
    width:25px;
    margin: auto;
}

.nav-btn:hover {
    color: #333;
}

.current-month {
    font-size: 21px;
    font-weight: 600;
    color: #333;
}

/* 탭 메뉴 */
.tab-menu {
    display: flex;
    padding: 0px 20px 15px;
    background-color: white;
    gap: 10px;
}

.tab-menu > .tab {
    flex: 1;
    text-align: center;
    padding: 5px 12px;
    color: blue;
    font-size: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.tab-menu > .tab:hover {
    background-color: #e9ecef;
}

.tab-menu > .tab.active {
    color: white;
    background-color: #7c4dff;
    border-color: #7c4dff;
}

/* 달력 */
.calendar {
    background-color: white;
    padding: 0 20px 0;
}

.calendar .weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-bottom: 10px;
    padding: 15px 0 10px;
}

.calendar .weekday {
    text-align: center;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.calendar .weekday.sunday {
    color: #ff6b6b;
}

.calendar .weekday.saturday {
    color: #4dabf7;
}

.calendar .dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    height: calc(100vh - 420px);
    min-height: 485px;
}

.calendar .date {
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 2px;
    font-size: 12px;
    position: relative;
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
}

.calendar .date.other-month {
    color: #ccc;
}

.calendar .date.sunday {
    color: #ff6b6b;
}

.calendar .date.saturday {
    color: #4dabf7;
}

.calendar .today {
    background-color: #7c4dff;
    color: white !important;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.calendar .event {
    background-color: #e3f2fd;
    color: black;
    font-size: 12px;
    padding: 1px 4px;
    border-radius: 8px;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.calendar .event.highlight {
    background-color: white;
    color: red;
}

/* class_36_2 */

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    
}

.product-price {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.product-period {
    font-size: 13px;
    color: #666;
    margin-left: 10px;
    /* text-align: right; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-period::before {
    content: "· ";
}

.floating-add-btn {
    z-index: 1000;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-image: url(../img/플러스_퍼플.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
}

/* === class_09_1 === */

.region-overlay {
    position: fixed;
    inset: 0;
    background: rgb(0,0,0,0.5);  /* 스샷의 회색 배경 */
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
    z-index: 100;
}

.region-overlay.show {
	display: flex;
}

.region-modal {
    width: 100%;
    height: calc(100vh - 70px);
    margin: 0 auto;
    background: #fff;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    overflow: hidden;
    position: fixed;
    bottom: 0;
    touch-action: none;
    transition: transform 0.3s ease;
    transform: translateY(100%);
}

.region-overlay.show > .region-modal {
    transform: translateY(0);
}

.drag-handle {
    width: 52px;
    height: 5px;
    border-radius: 999px;
    background: #d9d9de;
    margin: 10px auto 4px;
}

.region-title {
    text-align: center;
    font-size: 14px;
    color: #7d46ff;
    font-weight: 700;
    padding: 10px 20px;
    margin: 0 20px;
    border-bottom: 1px solid #ddd;
}

.detail-div {
	overflow-y: auto;
	padding: 10px 20px 50px;
	height: calc(100% - 60px);
}

/* 그룹 summary 행 */
.region-group {
    border-top: 1px solid #eee;
    overflow: hidden;
    height: 40px;
}
.region-group:first-of-type { border-top: 0; }

.region-summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    cursor: pointer;
}
.region-summary::-webkit-details-marker { display:none; }

.region-name { font-size: 14px; color:#222; }
.caret {
    width: 15px;
    height: 15px;
    background-image: url(../img/ico-chevron-down.svg);
    background-repeat: no-repeat;
    background-size: 15px;
    border: unset
}
.region-group.open {
    border: 0;
    height: auto;
}
.region-group.open .caret { transform: rotate(180deg); }
.region-group.open .region-summary {
    background: #e8d9ff;
    color: #5e3af8;
    border-radius: 12px;
    padding: 10px 13px;
    font-size: 13px;
}

/* 서브 리스트 */
.region-sublist {
    list-style: none;
    margin: 0;
    padding: 0 0 6px 0;
}
.region-sublist > li { border-bottom: 1px solid #efefef; }
.region-sublist > li:last-child { border-bottom: 0; }
.region-sublist > li.selected {
	display: flex;
}
.region-sublist > li.selected > .divider-label {
    color: #6f4bff;
    font-weight: 600;
    margin-right: auto;
}
.region-sublist > li.selected::after {
	content: "";
    position: relative;
    right: 16px;
    top: 12px;
    width: 18px;
    height: 18px;
    background: url('../img/선택체크.svg') center/contain no-repeat;
}

/* 들여쓰기 라인 느낌(상단 몇 항목) */
.indent { margin-left: 35px; }
.indent .divider-label {
    display: block;
    padding: 12px;
    color: #888;
    font-size: 14px;
}


/* class_33_2 */

.day-buttons {
    display: flex;
    gap: 5px;
    justify-content: space-between;
    border-radius: 8px;
    width: 100%;
    padding: 5px;
    margin-bottom: 16px;
    margin-top: 3px;
    background-color: rgb(245, 245, 255);
}

.day-button {
    flex: 1;
    border: 1px solid #cccccc;
    padding: 10px 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    min-width: 0;
    background-color: #f3f4f6;
    color: black;
}

/*--class 사용시*/
.day-button.active {
    background-color: #7c3aed;
    color: white;
}

/*--input과 연동시*/
.day-button > input[type=checkbox] {
	display: none;
}
.day-button:has(input[type=checkbox]:checked) {
    background-color: #7c3aed;
    color: white
}

.list-member {
    font-size: 12px;
    color: black;
    min-height: 100px;
    width: 100%;
    padding: 10px;
    padding-top: 0;
}
.list-member ul {
    list-style-type: none;
    padding-left: 0;
}

.list-member ul li {
    position: relative;
    padding: 15px 40px 15px 0;
    margin-bottom: 0;
    background-color: transparent;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #ddd;
}

.list-member ul li > div {
    margin-left: 15px;
}

.list-member .none-border{
    /*250827 일정등록화면 회원 아래 라인 지우기용*/
    border: none;
}

.member-detail {
    font-size: 13px;
}

.member-date {
    font-size: 12px;
    margin-top: 2px;
}

.delete-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: transparent;
    color: red;
    border: none;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
}

.delete-icon:hover {
    background-color: rgba(255, 71, 87, 0.1);
}

.list-time {
    text-align: center;
    font-size: 12px;
    color: #333;
    min-height: 100px;
    width: 100%;
    padding: 15px;
}

.list-time ul {
    list-style-type: none;
    padding-left: 0;
}

.list-time ul li {
    position: relative;
    padding: 5px 40px 5px 0;
    margin-bottom: 0;
    background-color: transparent;
    border: none;
}

.time-info {
    color: #333;
    text-align: center;
}

.time-num {
    font-size: 15px;
    font-weight: bold;
}

.time-delete-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: transparent;
    color: #969696;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.time-delete-icon:hover {
    background-color: rgba(255, 71, 87, 0.1);
}


/* class_34_3 */

.time-controls {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
    margin-bottom: 10px;
}

.time-box {
    position: relative;
    flex: 1;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.time-label {
    font-size: 16px;
    color: black;
    font-weight: 500;
}

.display-tt {
    color: rgb(115, 50 , 245);
    font-size: 18px;
    font-weight: 600;
}

.time-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.time-picker::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 170px;
    background: linear-gradient(to bottom,
        transparent 0%,
        #a8a8a8 20%,
        #b3b3b3 80%,
        transparent 100%);
    background-image: radial-gradient(circle, #a0a0a0 1px, transparent 1px);
    background-size: 2px 8px;
    background-repeat: repeat-y;
}

.time-group .time-picker:last-child::after {
    display: none;
}

.time-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.time-button {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    color: #666;
    border: none;
    background: none;
}

.time-button:hover {
    background: #e9ecef;
}

.time-value-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 120px;
    overflow: hidden;
    position: relative;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.time-value-container:active {
    cursor: grabbing;
}

.time-value {
    font-size: 16px;
    color: #999;
    min-width: 40px;
    text-align: center;
    padding: 8px 0;
}

.time-value.active {
    font-size: 16px;
    color: black;
}

/* 선택 영역 하이라이트 */
.highlight-overlay {
    position: absolute;
    /*top: 151.5px;*/
    left: 10px;
    width: 90%;
    height: 30px;
    border-radius: 15px;
    background-color: rgba(125, 70, 245, 0.3);
    z-index: -1;
}

.content-flex-div {
	display: flex;
}

.content-flex-div > .content-flex-div-sub {
	flex: 1;
	white-space: pre-wrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 0px;
}


/* mem_7_2 */

/* 클래스 운영 시간 */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 10px 15px;
    margin: 5px 0 15px;
}

/* 클래스 소개 */
.intro-text {
    font-size: 14px;
    color: #333;
    line-height: 2.0;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 10px 15px;
    margin: 5px 0 15px;
}

/*** class_26_2 ****/

.filter-btn {
    width: 30px;
    min-width: 30px;
    height: 30px;
    border-radius: 30px;
    background-color: white;
    border: 1px solid rgb(200, 200, 200);
    background-image: url(../img/필터선택.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 18px;
    box-shadow: 1px 1px 2px 0px;
}

/* 상담 버튼 */
.search-tabs {
    display: flex;
    padding: 0 20px;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.search-tabs > .tab {
    font-size: 13px;
    padding: 8px;
    border-radius: 15px;
    background: rgba(125, 70, 255, 0.1);
    color: rgb(115, 50, 245);
    border: none;
    text-align: center;
    flex: 1;
}

.class-card.recommended {
    position: relative;
}

.class-card.recommended::after {
    content: '';
    position: absolute;
    top: -17px;
    left: -15px;
    width: 40px;
    height: 45px;
    background-image: url('../img/탑클래스.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.fitness-distance {
    font-size: 12px;
    color: #999;
}

.fitness-distance::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
    background-image: url('../img/거리표시.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

/* 클래스 버튼 부분 */
.img-action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    border: none;
    background: none;
    background-position: center;
    background-repeat: no-repeat;
    flex: 1;
}

.img-action-btn:disabled {
	filter: grayscale(1);
	opacity: 0.5;
}

/* 클래스 버튼 이미지를 그대로 넣으면 크기가 전부 다름 */
.img-action-btn.call{
    background-image: url(../img/전화걸기.svg);
    background-size: 45px;
}
.img-action-btn.message{
    background-image: url(../img/문자하기.svg);
    background-size: 40px;
}
.img-action-btn.showinfo{
    background-image: url(../img/정보보기.svg);
    background-size: 49px;
}
.img-action-btn.more{
    background-image: url(../img/상담신청.svg);
    background-size: 44px;
}

/* 250923 리뷰 이미지 추가*/
.img-action-btn.review{
    background-image: url(../img/리뷰등록.png);
    background-repeat: no-repeat;
    background-size: 38px;
}

.member-message-form {
	padding: 15px 25px;
	background: rgb(235,230,255);
	margin-top: 10px;
	font-size: 14px;
	font-weight: 500;
}

/** mem_14_2 */
.attendance-table-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px 20px;
}
.attendance-table-section > div {
    margin: auto;
    max-width: 420px;
    width: 100%;
}
.attendance-table-header {
    display: grid;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 5px;
    text-align: center;
}
.attendance-grid-column-size {
    grid-template-columns: 120px auto;
}
.attendance-grid-column-size-type1 {
    grid-template-columns: 120px auto;
}
.attendance-grid-column-size-type2 {
    grid-template-columns: auto 125px 90px;
}
.attendance-row {
    display: grid;
    padding: 8px 0;
    align-items: center;
    text-align: center;
}    
.attendance-table-section .form-label {
    font-size: 13px;
    margin-left: 8px;
}
.attendance-row .form-label {
    min-height: 0;
    font-weight: 400;
}
.attendance-row .form-label > .sub-text2 {
    font-size: 11px;
    background-color: #735AFF;
    color: white;
    min-width: 60px;
    border-radius: 5px;
}

/* 가이드 통합 CSS */
.guide-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 16px;
}

.guide-hero {
    background-color: #f3edff; /* 연보라색 배경 */
    display: flex;
    align-items: center;
    padding: 12px 16px; /*높이*/
    border-radius: 10px;
    gap: 16px;
    margin-top: 20px;
    text-align: center;
}

.guide-hero img {
    width: 80px;
    height: auto;
    flex-shrink: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    display: block; /* 인라인 요소 간 여백 제거 */
}

.guide-hero-text {
    flex: 1;
}

.guide-hero-title {
    font-size: 16px;
    font-weight: bold;
    color: #7d4bdd;
    margin-bottom: 6px;
}

.guide-hero-sub {
    font-size: 14px;
    color: #444;
    line-height: 1.4;
}
.guide-section {
    margin-top: 24px;
    margin-bottom: 24px;
    margin-left: 10px;
    margin-right: 20px;
}
.guide-section-title {
    font-weight: bold;
    font-size: 15px;
    color: #7d4bdd;
    margin-bottom: 6px;
}
.guide-section-desc {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    padding-left: 1em; /* 전체 줄 들여쓰기 */
}

.guide-proplan-icon {
    width: 30px;
    height: auto;
}

.guide-checklist {
    font-size: 14px;
    color: #333;
    margin-top: 8px;
    margin: 0;
    padding-left: 1em;
}
.guide-checklist li {
    margin-bottom: 4px;
    list-style: none;
    font-weight: bold;
}

.guide-checklist2 {
    font-size: 12px;
    color: #333;
    margin-top: 8px;
    padding-left: 1.5em;
}

.guide-checklist2 li {
    margin-bottom: 4px;
    list-style: none;
    font-weight: 400;
}

.guide-check-icon {
    color: #7d4bdd;
    margin-right: 6px;
}
.guide-screenshot {
    width: 100%;
    max-width: 250px;
    display: block;
    margin: 10px auto;
    border: none;
}

/**/
.select-sub{
	text-align: right;
    font-size: 18px;
    color: rgb(90, 90, 90);
    font-weight: 900;
    text-decoration: underline;
    padding: 3px;
    z-index: 50;
}

/* 원래 가격의 취소선 스타일 */
.original-price s {
  text-decoration-thickness: 2px; /* 취소선 굵기 */
}

/* 화살표 */
.arrow {
  color: #555;
}

/* 할인된 가격 */
.discounted-price {
  font-weight: 900; /* 매우 굵게 */
}

.ajax-loading {
	width: 100%;
	height: 100%;
	position: fixed;
	display: flex;
	top: 0;
	left: 0;
	z-index: 1000;
	background: #EEEEEE30;
}
.ajax-loading > div {
	margin: auto;
	display: flex;
	width: 150px;
	aspect-ratio: 1;
	background: radial-gradient(white, white, transparent, transparent);
	border-radius: 50%;
	transform: translateY(-50%)
}
.ajax-loading > div > div {
	background-image: url(/classchain/img/loading.gif);
	background-size: 100px 100px;
	width: 100px;
	aspect-ratio: 1;
	margin: auto;
	background-repeat: no-repeat;
}

/* jQuery UI 툴팁CSS > app.min.css에 있음 >> .tooltip-inner (만약 Bootstrap 4를 사용했다면) */
.tooltip-inner {
    background-color: #e9ecef;
    color: #333;
    text-align: left;
}
/* 툴팁 화살표 색상 변경 (bs-tooltip-top == border-top-color 처럼 화살표 위치 맞춰줘야함) */
.bs-tooltip-top .arrow::before {
    border-top-color: #e9ecef;
}
.bs-tooltip-bottom .arrow::before {
    border-bottom-color: #e9ecef;
}


/* 250901 추가 CSS (main.jsp, clsSearchGuide.jsp에 적용) */
.home-img-wrap {
	/* 표시 박스 크기 원하는대로 */
	width: 160px;
	height: 150px;
	overflow: visible;          /* 이미 hidden이면 제거/변경 */
	display: grid;              /* 가운데 정렬용(선택) */
	place-items: center;
}
.home-img-wrap > img {
	max-width: 100%;
	max-height: 100%;
	width: auto;                /* 비율 유지 */
	height: auto;               /* 비율 유지 */
	object-fit: contain;        /* 전체 보이기(중요) */
}

.usermian-container .hero-section {
	margin-bottom: 0px;
}
.usermian-container .hero-subtitle {
	color:#353333
}

.pop-wrap.commonAlert { z-index: 1200; }

.app-header { z-index: 999; }

pre { white-space: pre-wrap; }

/* 첨부파일 mem_15_4 */
.attachment {
    background: rgb(240, 240, 240);
    color: #7d4bdd;
    text-decoration: underline;
}

/* buyBdReq 신고팝업창 */

.container-title{
	padding: 20px 10px 0px;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
}

.radio-item {
    padding: 15px 10px;
    border-bottom: 1px solid #ddd;
}

/* 1. 기본 라디오 버튼 숨기기 */
.form-radio-input {
    display: none;
}

/* 2. 라벨 스타일링 */
.form-radio-input + label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

/* 3. 라벨 앞에 커스텀 라디오 버튼(원) 만들기 */
.form-radio-input + label::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 15px;
    border: 1px solid #ccc;
    border-radius: 50%; /* 원으로 만들기 */
    background-color: white;
}

/* 4. 선택됐을 때의 스타일 변경 */
.form-radio-input:checked + label::before {
    border-color: #8b5cf6;
    background-image: url(../img/라디오선택.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 0;
}

.form-radio-textarea{
	margin-top: 10px;
	padding: 5px;
	width: 100%;
	resize: none;
	border: 1px solid;
}

/* 공동구매 화면 리스트가 비어있을때 */
.member-list-empty {
	display: flex;
	flex-direction: column;
	justify-content: center; /* 세로 중앙 */
	align-items: center; /* 가로 중앙 */
	min-height: 300px; /* 세로 중앙을 위한 최소 높이 */
	text-align: center;
	opacity: 0.5;
}


