* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SUIT Variable', sans-serif;
}

/* Android WebView 및 모바일 브라우저에서 네이티브 스크롤바 사용 */
/* WebView에서 기본 스크롤바를 숨기고 필요시에만 표시 */
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

/* iOS 스타일 스크롤 (부드러운 스크롤, 관성 스크롤) */
html, body {
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
}

/* 스크롤 가능한 모든 요소에 터치 스크롤 적용 */
* {
    -webkit-overflow-scrolling: touch;
}

/* 스크롤바를 완전히 숨기되 스크롤은 가능하게 */
.scrollable,
.page-scroll,
.content-scroll,
main {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.scrollable::-webkit-scrollbar,
.page-scroll::-webkit-scrollbar,
.content-scroll::-webkit-scrollbar,
main::-webkit-scrollbar {
    display: none;
}

body {
    background-color: #ffffff;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    font-weight: bold;
}

.intro {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center
}

.login-container {
    max-width: 400px;
    margin: 0 auto;
}

.login-header {
    text-align: center;
    margin-bottom: 20px;
}

.login-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.login-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

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

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

.join-logo {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: #FCEAE0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;

}

.join-logo img {
    width: 85px;
}

.forgot-password {
    text-align: right;
    margin-bottom: 30px;
}

.forgot-password a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 15px;
    background-color: #888;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: #666;
}

/*-----join02---------------------*/

.main-content {
}

.page-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}


.page-subtitle {
    color: #9E9E9E;
    font-size: 15px;
    margin-bottom: 40px;
    line-height: 1.5;
}

.info-section {
    margin-bottom: 20px;
}

.info-text {
    color: #9E9E9E;
    font-size: 15px;
    line-height: 1.6;
}


.form-label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
}

.required-asterisk {
    color: #ff4444;
    margin-left: 3px;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    background-color: #fff;
}

.form-input:focus {
    border-color: #666;
}

.form-input::placeholder {
    color: #999;
}

.bottom-section {
    background-color: #fff;
    position: fixed;
    bottom: 10px;
    left: 0px;
    width: 100%;
}

.next-button {
    width: 100%;
    padding: 18px;
    background-color: #FCEAE0;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.next-button:hover {
    background-color: #fce0da;
}

.next-button:disabled {
    background-color: #FCEAE0;
    color: #999;
    cursor: not-allowed;
}

/*-----join02---------------------*/

/*-----join05---------------------*/
.progress-container {
    padding: 30px 10px 0;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #d4822a;
    border-radius: 3px;
    width: 25%;
    transition: width 0.3s ease;
}

.main-content {
    flex: 1;
    padding: 40px 10px;
}


.language-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.language-option {
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    padding: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    color: #9E9E9E;
}

.language-option:hover {
    border-color: #d4822a;
    background-color: #fafafa;
}

.language-option.selected {
    border-color: #d4822a;
    background-color: #fff;
    color: #3A3335;
}


.language-option.selected .radio-button {
    border-color: #d4822a;
    background-color: #fff;
}

.language-option.selected .radio-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #d4822a;
    border-radius: 50%;
}

.language-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.flag-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 12px;
    background-size: cover;
    background-position: center;
}


.language-text {
    font-size: 17px;
    font-weight: 500;
}


/*-----join05---------------------*/

/*-----출생년도 선택----------*/
.year-selector {
    width: 100%;
    max-width: 300px;
    position: relative;
}

.year-list {
    height: 300px;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-behavior: smooth;
}

.year-item {
    padding: 8px 20px;
    margin: 5px 0;
    font-size: 20px;
    font-weight: 400;
    color: #ccc;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
    background-color: transparent;
}

.year-item.selected {
    color: #333;
    background-color: #FEEDEA;
    font-weight: bold;
    transform: scale(1.1);
}

.year-item.nearby {
    color: #666;
}

.year-item:hover {
    color: #333;
    background-color: #f5f5f5;
}

.year-item.selected:hover {
    background-color: #FEEDEA;
}

.year-picker-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.year-picker-overlay::before,
.year-picker-overlay::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.year-picker-overlay::before {
    top: 0;
}

.year-picker-overlay::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.center-indicator {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 60px;
    transform: translateY(-50%);
    pointer-events: none;
}

.bottom-section {
    padding: 20px;
    background-color: #fff;
}

.next-button {
    width: 100%;
    padding: 18px;
    background-color: #FEEDEA;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.next-button:hover {
    background-color: #fce0da;
}

.next-button:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}


/* 스크롤바 스타일 */
.year-list::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/*-----출생년도 선택 끝---------*/

/*-----성별 선택---------*/
.gender-options {
    display: flex;
    gap: 25px;
    width: 90%;
    max-width: 500px;
    justify-content: center;
    margin: 10px auto;
}

.gender-option {
    flex: 1;
    width: 140px;
    height: 140px;
    aspect-ratio: 1;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
}

.gender-option:hover {
    border-color: #d4822a;
    background-color: #fafafa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gender-option.selected {
    border-color: #d4822a;
    background-color: #fff8f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 130, 42, 0.2);
}

.gender-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}


.gender-option.selected .gender-icon {
    transform: scale(1.1);
}

.gender-text {
    font-size: 19px;
    font-weight: 600;
    color: #333;
}

.gender-option.selected .gender-text {
    color: #d4822a;
}

.bottom-section {
    padding: 20px;
    background-color: #fff;
}

.next-button {
    width: 100%;
    padding: 18px;
    background-color: #FEEDEA;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.next-button:hover {
    background-color: #fce0da;
}

.next-button:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* 아이콘 스타일 */
.icon-male {
    font-size: 40px;
}

.icon-female {
    font-size: 40px;
}

/*-----성별 선택 끝---------*/


/*-----이용약관 시작---------*/
.terms-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.terms-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    cursor: pointer;
}

.terms-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.checkbox {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.checkbox::after {
    content: "";
    background: url("../images/check_off.svg") 100% 100% no-repeat;
    border-radius: 50%;
    width: 26px;
    height: 26px;

}

.checkbox.checked {
}

.checkbox.checked::after {
    content: "";
    background: url("../images/check_on.svg") 100% 100% no-repeat;
    border-radius: 50%;
    width: 26px;
    height: 26px;
}

.checkbox.all-agree {
    border-color: #d4822a;
}


.terms-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.terms-item.all-agree .terms-text {
    font-weight: bold;
}

.terms-detail {
    color: #999;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
}

.required-mark {
    color: #d4822a;
    font-weight: bold;
    margin-left: 5px;
}

.bottom-section {
    padding: 20px;
    background-color: #fff;
}

.next-button {
    width: 100%;
    padding: 18px;
    background-color: #FEEDEA;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.next-button:hover {
    background-color: #fce0da;
}

.next-button:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}


/*-----이용약관 끝---------*/


/*-----가입완료 시작---------*/
.completion {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%
}

.completion-container {
    min-width: 330px;
    width: 80%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
    padding: 40px 20px;
    margin: 50px auto;
}

.success-message {
    margin-bottom: 20px;
}

.success-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.success-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.5;
}

.info-box {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    margin-bottom: 20px;
    background-color: #FFFDFB;
}

.info-text {
    font-size: 16px;
    color: #666;
}

.button-container {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 400px;
}

.btn {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary {
    background-color: #fff;
    color: #333;
}

.btn-primary {
    background-color: #FEEDEA;
    border-color: #FEEDEA;
    color: #333;
}

.btn:hover {
    opacity: 0.9;
}


/*-----가입완료 끝---------*/

/*-----가입완료 끝---------*/
.calendar-container {
    max-width: 400px;
    margin: 0 auto;
}

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

.nav-button {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.nav-button:hover {
    background-color: #f5f5f5;
}

.month-year {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.calendar {
    width: 100%;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    border-radius: 8px;
    overflow: hidden;
}

.day-header {
    background-color: #fff;
    padding: 10px 5px;
    text-align: center;
    font-size: 17px;
    font-weight: 500;
    color: #666;
}

.day-cell {
    background-color: #fff;
    padding: 15px 5px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    transition: background-color 0.2s;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.day-cell:hover {
    background-color: #f8f9fa;
}

.day-cell.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.day-cell.disabled:hover {
    background-color: #fff;
}

.day-cell.selected {
    background-color: #333;
    color: #fff;
    border-radius: 50%;
}

.day-cell.selected:hover {
    background-color: #333;
}

.day-cell.today {
    color: #fff;
    font-weight: bold;
}

.day-cell.other-month {
    color: #ccc;
}

.bottom-section {
    padding: 20px;
    background-color: #fff;
}

.next-button {
    width: 100%;
    padding: 18px;
    background-color: #FEEDEA;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.next-button:hover {
    background-color: #fce0da;
}

.next-button:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}


/* 캘린더 끝 */


.divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
}

.divider-text {
    background-color: #fff;
    padding: 0 20px;
    color: #666;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.social-login {
    display: flex;
    flex-direction: column;
    bottom: 0 !important;
    gap: 15px;
}

.social-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    position: relative;
}

.social-button:hover {
    opacity: 0.9;
}

.naver-login {
    background-color: #03C75A;
    color: white;
}

.kakao-login {
    background-color: #FEE500;
    color: #000;
}

.wechat-login {
    background-color: #03DB6C;
    color: white;

}

.social-icon {
    width: 30px;
    position: absolute;
    left: 10px;
}

.social-icon img {
}

.naver-icon {
    background-color: white;
    color: #03C75A;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-size: 14px;
}

.kakao-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #000;
    color: #FEE500;
    font-size: 12px;
}

.wechat-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}


.header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    align-items: center;
}

.page-header {
    background: #fff;
    z-index: 9999;
}

.header h1 {
    font-size: 21px;
    font-weight: bold;
}

.language-selector {
    border: 1px solid #e0e0e0;
    padding: 8px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 120px;
}

.language-selector::after {
    content: "▼";
    font-size: 10px;
    color: #666;
}

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

.location-selector {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 110px;
    margin-right: 10px;
}

.location-selector::after {
    content: "▼";
    font-size: 10px;
    color: #666;
}

.search-box {
    flex: 1;
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-radius: 22px;
}

.search-box .search-icon {
    margin-right: 10px;
    color: #888;
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0 20px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #000;
}

.icon-img {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 5px;
}

.icon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icon-text {
    text-align: center;
    font-size: 14px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #e0e0e0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888;
    font-size: 12px;
}

.nav-item.active {
    color: #d68d64;
}

.nav-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.bottom-indicator {
    width: 40%;
    height: 5px;
    background-color: #000;
    border-radius: 3px;
    margin: 10px auto 0;
}


.back-button {
    font-size: 24px;
    margin-right: 15px;
    color: #333;
}

.clinic-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
}

.clinic-image2 {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    position: relative;
}

.clinic-thum {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 20px;
    background: #f0f0f0;
}

.info-card {
    background-color: #fff;
    border-radius: 2px;
    margin: 8px 0px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.like-section {
    padding: 10px;
    display: flex;
    align-items: center;
}

.like-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.like-count {
    font-size: 16px;
    font-weight: bold;
}

.clinic-info {
    padding: 0 10px 10px;
}

.clinic-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.clinic-details {
    margin-bottom: 15px;
}

.detail-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #666;
}

.detail-row i {
    margin: 5px 5px 0 0;
    width: 20px;
    text-align: center;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    padding-left: 25px;
}

.hours-row {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 5px;
    color: #666;
}

.day {
    width: 25px;
}

.rating {
    display: flex;
    align-items: center;
}

.stars {
    color: #ffc107;
    margin-right: 5px;
}

.rating-score {
    margin-right: 8px;
    font-weight: bold;
}

.rating-count {
    color: #666;
    font-size: 14px;
}

.tab-bar {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    font-size: 14px;
}

.tab {
    padding: 0;
    color: #BBBBBB;
    text-align: center;
    width: 25%;
    padding-bottom: 15px;
    border-bottom: 1px solid #E3E3E3;
}

.tab.w-50 {
    width: 50%;
}

.tab.active {
    color: #000;
    font-weight: bold;
    padding-bottom: 15px;
    border-bottom: 1px solid #B67C5B;
}

.m-line {
    width: 1px;
    background: #ACACAC;
    height: 14px;
}

.content-section {
    padding: 15px;
    background-color: #fff;
    margin-bottom: 15px;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.doctors-section {
    padding: 15px;
    background-color: #fff;
    margin-bottom: 15px;
}

.doctor {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.doctor:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.doctor-image-lg {
    min-width: 78px;
    min-height: 78px;
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    margin-right: 13px;
    background-color: #FCEAE0;
    overflow: hidden; /* 이미지가 border-radius 밖으로 나가지 않도록 */
}

.doctor-image-lg img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    object-fit: cover;
}

.doctor-image {
    width: 57px;
    height: 57px;
    border-radius: 30px;
    margin-right: 13px;
    background-color: #f0f0f0;
}

.doctor-image img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    object-fit: cover;
}

.doctor-image-sm {
    width: 32px;
    height: 32px;
    border-radius: 30px;
    margin-right: 13px;
    background-color: #f0f0f0;
}

.doctor-image-sm img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    object-fit: cover;
}

.doctor-image-ssm {
    width: 18px;
    height: 18px;
    border-radius: 30px;
    margin-right: 5px;
    background-color: #f0f0f0;
}

.doctor-image-ssm img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    object-fit: cover;
}


.doctor-info {
    display: flex;
    flex-direction: column;
}

.doctor-info2 {
    padding-right: 15px;
    display: flex;
    justify-content: space-between;
}

.location-section {
    padding: 15px;
    background-color: #fff;
}

.address {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.address-text {
    display: flex;
    align-items: center;
    color: #666;
}

.address-text i {
    margin-right: 8px;
}

.directions-button {
    color: #666;
    border: none;
    background: none;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.map-container {
    width: 100%;
    /*height: 200px;*/
    background-color: #f0f0f0;
    margin-bottom: 20px;
    overflow: hidden;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coupon-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 15px 5px;
}

.coupon-card {
    display: flex;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.clinic-logo {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background-color: #ddd;*/
    border-radius: 8px;
}

.logo-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
}

.coupon-details {
    flex: 1;
    padding: 0px 20px;
    position: relative;
}

.discount-badge {
    background-color: #FFBA33;
    color: white;
    font-weight: bold;
    padding: 1px 8px;
    border-radius: 20px;
    font-size: 13px;
    width: 45px;
    height: 20px;
    margin: 0 5px;
}

.coupon-title {
    font-size: 16px;
    color: #333;
    padding-top: 5px;
}

.price-container {
    display: flex;
    padding: 5px 0;
}

.discounted-price {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-right: 8px;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.validity-period {
    font-size: 14px;
    color: #999;
}

.coupon-card:hover {
    transform: translateY(0px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0);
    transition: all 0.3s ease;
}


.rating-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.rating-overall {
    display: flex;
    flex-direction: column;
}

.rating-number {
    font-size: 45px;
    font-weight: 600;
    margin: 5px 2px;
}

.rating-count {
    color: #888;
    font-size: 14px;
    margin: 5px 2px;
}

.rating-bars {
    flex: 1;
    max-width: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 30px;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
}

.rating-level {
    text-align: center;
    margin-right: 10px;
    color: #888;
    font-size: 13px;
}

.bar-container {
    flex: 1;
    height: 6px;
    background-color: #E8E8E8;
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background-color: #365ABD;
    border-radius: 3px;
}

.filter-options {
    display: flex;
    gap: 7px;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.filter-button {
    background-color: #FEEAE6;
    border: none;
    padding: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #333;
}

.filter-button::after {
    content: "▼";
    font-size: 12px;
    margin-left: 6px;
}

.review-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.review-item {
    padding-bottom: 5px;
}

.review-header {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 5px;
}

.reviewer-name {
    font-size: 16px;
}

.review-date {
    color: #888;
    font-size: 14px;
}

.review-rating {
    color: #FFCE31;
    font-size: 14px;
    margin-bottom: 2px;
}

.review-meta {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    color: #888;
    align-items: center;
    margin-bottom: 5px
}

.review-content {
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.review-image {
    width: 120px;
    height: 120px;
    background-color: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-icon {
    color: #ccc;
    font-size: 40px;
}

.procedure-info {
    margin-top: 20px;
}

.procedure-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.doctor-details {
    display: flex;
    align-items: center;
}


.procedure-name {
    color: #333;
}

.doctor-comment {
    margin-top: 30px;
}

.comment-title {
    font-weight: 600;
    font-size: 18px;
}

.comment-content {
    line-height: 1.6;
    color: #555;
    padding: 15px 0;
}

.region-container {
    margin: 0;
    display: flex;
    height: calc(100vh - 240px);
}

.primary-region-list {
    width: 35%;
    border-right: 1px solid #ddd;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding-bottom: 30px !important;
}

.secondary-region-list {
    flex: 1;
    border-right: none;
    overflow-y: auto;
    padding: 0;
    /* iOS WebView 스크롤 개선 */
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px; /* 마지막 항목이 잘 보이도록 여백 추가 */
}

.region-item {
    padding: 12px 15px;
    display: block;
    text-align: left;
    min-height: 36px;
    font-size: 12.5px;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
}

.region-item:last-child {
    border-bottom: 0px;
}

.region-item.highlighted,
.region-item.selected {
    background-color: #FEEDEA;
}

.region-item:hover {
    background-color: #f5f5f5;
}

.region-item.selected:hover {
    background-color: #FEEDEA;
}

.secondary-region-container {
    display: none;
    height: 100%;
    overflow-y: auto;
}

.secondary-region-container.active {
    display: block;
}

.btn_area {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.bottom-button {
    max-width: 800px;
    margin: 10px auto;
    text-align: center;
    padding: 16px;
    background-color: #FEEDEA;
    border: 1px solid #FEEDEA;
    border-radius: 2px;
    font-size: 18px;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
}

.bottom-button:hover {
    background-color: #fce0da;
}

.receipt_img {
    width: 140px;
    height: 140px;
    background: #F9F9FC;
    border-radius: 8px;
    border: 1px dashed #E3E3E3;
    display: block;
    cursor: pointer;
}

/*--리뷰등록---*/


.form-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
}

.required-asterisk {
    color: #ff4444;
    margin-left: 3px;
}

.star-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 40px;
}

.star {
    width: 50px;
    height: 50px;
    cursor: pointer;
    fill: #e0e0e0;
    transition: fill 0.2s ease;
}

.star.filled {
    fill: #EDB900;
}

.star:hover {
    fill: #EDB900;
}

.review-textarea {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: border-color 0.3s;
}

.review-textarea:focus {
    border-color: #d4822a;
}

.review-textarea::placeholder {
    color: #999;
}

.photo-upload-section {
    margin-bottom: 40px;
}

.photo-upload-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.photo-upload-box {
    width: 140px;
    height: 140px;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fafafa;
    position: relative;
    overflow: hidden;
}

.photo-upload-box:hover {
    border-color: #d4822a;
    background-color: #fff8f5;
}

.photo-upload-icon {
    font-size: 30px;
    color: #ccc;
    transition: color 0.3s ease;
}

.photo-upload-box:hover .photo-upload-icon {
    color: #d4822a;
}

.photo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.photo-delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.photo-upload-box:hover .photo-delete-btn {
    display: flex;
}

.photo-input {
    display: none;
}

.bottom-section {
    padding: 20px;
    background-color: #fff;
}

.submit-button {
    width: 100%;
    padding: 18px;
    background-color: #FEEDEA;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #fce0da;
}

.submit-button:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* 모바일 최적화 */
@media (max-width: 480px) {
    .main-content {
        padding: 30px 15px;
    }

    .star {
        width: 18px;
        height: 18px;
    }

    .photo-upload-box {
        width: 140px;
        height: 140px;
    }

    .review-textarea {
        min-height: 150px;
        font-size: 15px;
    }

    .bottom-section {
        padding: 15px;
    }
}

@media (max-width: 360px) {
    .star {
        width: 40px;
        height: 40px;
    }

    .photo-upload-box {
        width: 140px;
        height: 140px;
    }
}


.heart-button {
    position: absolute;
    right: 5px;
    top: 0px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 10px 0;
    flex-shrink: 0;
}

.heart-button img {
    width: 25px;
}

.heart-button:hover {
    opacity: 0.7;
}


.menu-list {
    padding: 0 20px;
    background: #fff;
    border-top: 5px solid #F5F5F5;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

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

.menu-text {
    font-size: 16px;
    color: #333;
}

.menu-detail {
    font-size: 14px;
    color: #999;
}

.menu-arrow {
    font-size: 14px;
    color: #ccc;
}

.profile-section {
    text-align: center;
    margin-bottom: 20px;
}

.profile-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.avatar-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #F5E6E0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.avatar-circle img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.edit-button {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.edit-button svg {
    width: 16px;
    height: 16px;
    color: #333;
}

.profile-instruction {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.form-section {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
}

.required-asterisk {
    color: #ff4444;
    margin-left: 3px;
}

.bottom-section {
    padding: 20px;
    background-color: #fff;
}

.save-button {
    width: 100%;
    padding: 18px;
    background-color: #FEEDEA;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.save-button:hover {
    background-color: #fce0da;
}

.save-button:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.form-container {
    border: 1px solid #E4E9F2;
    border-radius: 3px;
    padding: 30px 15px;
    background-color: #FFFDFB;
}


.form-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
}

.required-asterisk {
    color: #ff4444;
    margin-left: 3px;
}

.form-select {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    background-color: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="none" stroke="%23666" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6l4 4 4-4"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    transition: border-color 0.3s;
}

.form-select:focus {
    border-color: #E3E3E3;
}

.form-textarea {
    width: 100%;
    min-height: 160px;
    padding: 15px;
    border: 1px solid #E3E3E3;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: border-color 0.3s;
}

.form-textarea:focus {
    border-color: #0056b3;
}

.form-textarea::placeholder {
    color: #999;
}

.placeholder-text {
    color: #999;
    border: 2px dotted #ddd;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 15px;
}

.file-upload-section {
    margin-bottom: 30px;
}

.file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-button {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f8f9fa;
    color: #666;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.file-upload-button:hover {
    background-color: #e9ecef;
}

.bottom-section {
    padding: 20px;
    background-color: #fff;
}

.submit-button {
    width: 100%;
    padding: 18px;
    background-color: #FEEDEA;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #fce0da;
}

.submit-button:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

#userProfileImage {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

#doctorProfileImage {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}
