@charset "utf-8";
/* 공통 스타일 */
/* ----------- 상단바 ------------ */
.fo-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background-color: #26AAE1;
    display: flex;
    align-items: center;
    padding: 0 16px;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fo-topbar__back-btn {
    background: transparent;
    border: none;
    padding: 8px;
    margin-right: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fo-topbar__back-btn img {
    width: 24px;
    height: 24px;
    display: block;
}

.fo-topbar__back-btn:active {
    opacity: 0.7;
}

.fo-topbar__title {
    flex: 1;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

/* 상단바가 있을 때 body 여백 추가 */
body.has-topbar {
    padding-top: 56px;
}

/* 메인 화면은 상단바 숨김 및 여백 제거 */
body.fo-main-page .fo-topbar {
    display: none !important;
}

body.fo-main-page.has-topbar {
    padding-top: 0 !important;
}

/* 메인 화면 이미지가 잘리지 않도록 보정 */
body.fo-main-page #wrap {
    margin-top: 0;
    padding-top: 0;
}

body.fo-main-page .main-img {
    margin-top: 0;
    padding-top: 0;
}
#wrap{
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
    overflow-x: hidden; /* 가로 스크롤 방지 */
    position: relative;
    background-color: #fff;
}

/* ----------- 로그인 페이지 ------------ */

.login-body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
    min-height: 100vh;
    background: #4A90E2 !important;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.phone-container {
    width: 100%;
    max-width: 375px;
    min-height: 100vh;
    background: transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding-bottom: 20px;
}

/* 로고 영역 */
.logo-section {
    text-align: center;
    padding: 21vh 20px 7vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.logo-container {
}

.logo-graphic {
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
}

.logo-text {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 2px;
    margin-bottom: 0;
}

.logo-text .letter-a {
    color: #FFFFFF;
}

.logo-tagline {
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: 1px;
    margin-top: 12px;
    margin-bottom: 0;
    line-height: 1.6;
    opacity: 0.9;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
}

/* 입력 영역 */
.login-input-section {
    padding: 0 30px 20px;
    padding-top: 0;
    flex-shrink: 0;
}

.login-input-group {
    position: relative;
    margin-bottom: 16px;
}

.login-input-field {
    width: 100%;
    height: 52px;
    padding: 0 16px 0 50px;
    border: none;
    border-radius: 12px;
    background: #F5F5F5;
    font-size: 16px;
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
}

.login-input-field:focus {
    outline: none;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2), 0 2px 8px rgba(0, 0, 0, 0.15);
}

.login-input-field::placeholder {
    color: #999999;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
}

.login-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #999999;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #4A90E2;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    font-weight: 500;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
}

/* 로그인 버튼 */
.login-button {
    width: 100%;
    height: 56px;
    background: #FFFFFF;
    border: none;
    border-radius: 12px;
    color: #4A90E2;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 16px;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.login-button:active {
    transform: translateY(0);
    background: #F0F0F0;
}

.login-button:disabled {
    background: #CCCCCC;
    color: #999999;
    cursor: not-allowed;
    transform: none;
}

/* 하단 링크 영역 */
.login-link-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px 20px;
    margin-top: -8px;
    flex-shrink: 0;
}

.auto-login-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #FFFFFF;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    background: transparent;
    flex-shrink: 0;
}

.login-checkbox.checked {
    background: #FFFFFF;
    border-color: #FFFFFF;
}

.login-checkbox.checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 10px;
    border: solid #4A90E2;
    border-width: 0 2px 2px 0;
}

.login-checkbox-label {
    font-size: 14px;
    color: #FFFFFF;
    cursor: pointer;
    user-select: none;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
}


/* Toast 메시지 */
.toast {
    position: fixed;
    top: 12px; /* 화면 상단에서 살짝 띄움 */
    top: calc(12px + env(safe-area-inset-top)); /* iOS safe area 고려 */
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
    background: #FF3B30;
    color: #FFFFFF;
    padding: 14px 20px;
    border-radius: 8px; /* 상하단 모두 둥글게 */
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
    text-align: center;
    white-space: pre-line; /* 줄바꿈(\n) 표시 지원 */
}

.toast.show {
    opacity: 1;
}

.forgot-password-link {
    font-size: 14px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
}

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

/* 로그인 페이지 반응형 - 작은 화면 대응 */
@media (max-height: 700px) {
    .logo-section {
        padding: 8vh 20px 3vh;
    }
    
    .logo-graphic {
        width: 100px;
        height: 100px;
        margin-bottom: 8px;
    }
    
    .logo-text {
        font-size: 40px;
    }
    
    .logo-tagline {
        font-size: 12px;
        margin-top: 8px;
    }
    
    .login-input-section {
        padding: 0 30px 15px;
    }
    
    .login-link-section {
        padding: 0 30px 15px;
    }
}

@media (max-height: 600px) {
    .logo-section {
        padding: 5vh 20px 2vh;
    }
    
    .logo-graphic {
        width: 80px;
        height: 80px;
        margin-bottom: 6px;
    }
    
    .logo-text {
        font-size: 36px;
    }
    
    .logo-tagline {
        font-size: 11px;
        margin-top: 6px;
    }
    
    .login-input-group {
        margin-bottom: 12px;
    }
    
    .login-button {
        height: 50px;
        font-size: 16px;
        margin-top: 12px;
    }
}

@media (max-width: 375px) {
    .phone-container {
        max-width: 100%;
    }
    
    .login-input-section,
    .login-link-section {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* 로딩 스피너 */
/* .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #4A90E2;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
} */

/* 반응형 디자인 */
/* ----------- //로그인 페이지 ------------ */
/* ----------- //비밀번호 정책 안내 ------------ */

/* 모달 CSS */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: auto;
    max-height: calc(100dvh - 40px); /* Safari vh 버그 해결 (vh → dvh), 상하 여백 20px씩 */
    max-height: calc(100vh - 40px); /* fallback */
    max-height: -webkit-fill-available; /* iOS Safari 대응 */
    display: flex;
    flex-direction: column;
    gap: 0; /* flex column 강제해서 body/footer gap 제거 */
    position: relative;
    overflow: hidden;
    font-size: 0; /* iOS Safari 인라인 공백 gap 제거 */
    line-height: 0; /* iOS Safari 인라인 공백 gap 제거 */
}

.modal-header {
    background-color: #f8f9fa;
    padding: 20px;
    padding-top: calc(20px + env(safe-area-inset-top)); /* safe-area-inset 처리 */
    border-bottom: 1px solid #dee2e6;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    margin: 0; /* iOS Safari gap 제거 */
    font-size: 16px; /* modal-content의 font-size: 0 복원 */
    line-height: 1.5; /* modal-content의 line-height: 0 복원 */
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.close {
    color: #aaa;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 20px;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    max-height: none; /* flex: 1로 높이 자동 조정 */
    -webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 */
    margin: 0; /* iOS Safari gap 제거 */
    margin-top: 0; /* iOS Safari gap 제거 */
    margin-bottom: 0; /* iOS Safari gap 제거 */
    font-size: 14px; /* modal-content의 font-size: 0 복원 */
    line-height: 1.5; /* modal-content의 line-height: 0 복원 */
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.required-mark {
    color: #dc3545;
    margin-right: 4px;
}

.form-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.modal-footer {
    padding: 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom)); /* safe-area-inset 처리해서 하단 여백 문제 해결 */
    border-top: 1px solid #dee2e6;
    text-align: right;
    background-color: #f8f9fa;
    border-radius: 0 0 8px 8px;
    flex-shrink: 0;
    margin: 0; /* iOS Safari gap 제거 */
    margin-top: 0; /* iOS Safari gap 제거 */
    margin-bottom: 0; /* iOS Safari gap 제거 */
    font-size: 14px; /* modal-content의 font-size: 0 복원 */
    line-height: 1.5; /* modal-content의 line-height: 0 복원 */
}

.btn-save, .btn-close {
    padding: 8px 16px;
    margin-left: 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-save {
    background-color: #26AAE1;
    color: white;
}

.btn-save:hover {
    background-color: #0056b3;
}

.btn-close {
    background-color: #6c757d;
    color: white;
}

/* 작은 화면 높이 대응 */
@media (max-height: 700px) {
    .modal-content {
        margin: 2% auto;
        max-height: 96dvh; /* Safari vh 버그 해결 (vh → dvh) */
        max-height: -webkit-fill-available; /* iOS Safari 대응 */
    }
    
    .modal-body {
        max-height: calc(96dvh - 120px); /* Safari vh 버그 해결 (vh → dvh) */
        max-height: calc(-webkit-fill-available - 120px); /* iOS Safari 대응 */
    }
}

/* 모든 모바일 기기 모달 최적화 (첫 번째 모달) */
@media (max-width: 768px) {
    .modal-content {
        margin: 2% auto;
        width: 95%;
        max-width: 95%;
        height: auto;
        max-height: calc(100dvh - 20px); /* Safari vh 버그 해결 (vh → dvh), 상하 여백 10px씩 */
        max-height: calc(100vh - 20px); /* fallback */
        max-height: -webkit-fill-available; /* iOS Safari 대응 */
        border-radius: 12px 12px 0 0;
        -webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 */
        gap: 0; /* flex column 강제해서 body/footer gap 제거 */
    }
    
    .modal-header {
        padding: 15px;
        padding-top: calc(15px + env(safe-area-inset-top)); /* safe-area-inset 처리 */
        min-height: 50px;
        margin: 0; /* iOS Safari gap 제거 */
        font-size: 16px; /* modal-content의 font-size: 0 복원 */
        line-height: 1.5; /* modal-content의 line-height: 0 복원 */
    }
    
    .modal-header h2 {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .modal-body {
        padding: 15px;
        flex: 1 1 auto;
        overflow-y: auto;
        overflow-x: hidden;
        min-height: 0;
        max-height: none; /* flex: 1로 높이 자동 조정 */
        -webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 */
        margin: 0; /* iOS Safari gap 제거 */
        margin-top: 0; /* iOS Safari gap 제거 */
        margin-bottom: 0; /* iOS Safari gap 제거 */
        font-size: 14px; /* modal-content의 font-size: 0 복원 */
        line-height: 1.5; /* modal-content의 line-height: 0 복원 */
    }
    
    .modal-footer {
        padding: 15px;
        padding-bottom: calc(15px + env(safe-area-inset-bottom)); /* safe-area-inset 처리해서 하단 여백 문제 해결 */
        min-height: 60px;
        flex-shrink: 0; /* footer가 항상 보이도록 */
        margin: 0; /* iOS Safari gap 제거 */
        margin-top: 0; /* iOS Safari gap 제거 */
        margin-bottom: 0; /* iOS Safari gap 제거 */
        font-size: 14px; /* modal-content의 font-size: 0 복원 */
        line-height: 1.5; /* modal-content의 line-height: 0 복원 */
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 4px;
        line-height: 1.4;
    }
    
    .form-group input {
        padding: 10px;
        font-size: 14px;
        box-sizing: border-box;
        -webkit-appearance: none; /* iOS 기본 스타일 제거 */
        appearance: none;
    }
    
    .btn-save, .btn-close {
        padding: 10px 16px;
        font-size: 14px;
        min-height: 44px; /* 터치 영역 확보 */
        -webkit-tap-highlight-color: transparent; /* iOS 탭 하이라이트 제거 */
    }
    
    .password-policy-info {
        margin: 12px 0 20px;
        padding: 10px 12px;
        font-size: 12px;
        line-height: 1.5;
    }
    
    .password-policy-info p {
        font-size: 13px;
        margin-bottom: 8px;
        line-height: 1.4;
    }
    
    .password-policy-info ul li {
        font-size: 12px;
        line-height: 1.5;
        margin: 4px 0;
    }
}

/* 매우 작은 화면 (iPhone SE 등) */
@media (max-width: 375px) {
    .modal-content {
        width: 98%;
        margin: 1% auto;
    }
    
    .modal-header {
        padding: 12px;
    }
    
    .modal-header h2 {
        font-size: 15px;
    }
    
    .modal-body {
        padding: 12px;
    }
    
    .modal-footer {
        padding: 12px;
    }
    
    .form-group input {
        padding: 8px;
        font-size: 13px;
    }
    
    .btn-save, .btn-close {
        padding: 8px 14px;
        font-size: 13px;
    }
}

.btn-close:hover {
    background-color: #545b62;
}

.password-policy-info {
    margin: 16px 0px 40px;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
}
.password-policy-info p {
    font-weight: 700;
}
.password-policy-info ul {
    margin: 0;
}
.password-policy-info ul li{
    line-height: 1.6;
    color: #333;
    margin: 6px 0;
}
/* ----------- 약관동의 페이지 ------------ */


/* 약관 동의 화면 스타일 */
.fo-terms-agree-wrap {
    min-height: 100vh;
    background-color: #fff;
}


.terms-header {
    background-color: #26AAE1;
    padding: 40px 20px;
    text-align: center;
}

.terms-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.terms-content {
    padding: 40px 25px;
    max-width: 640px;
    margin: 0 auto;
}

.terms-list {
    margin-bottom: 40px;
    margin-top: 20px;
}

.terms-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.terms-item .checkbox-item {
    flex: 1;
    margin-right: 15px;
}

.terms-view-btn {
    background: transparent;
    border: none;
    color: #26AAE1;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    flex-shrink: 0;
}

.terms-view-btn:hover {
    opacity: 0.8;
}

.terms-footer {
    margin-top: 0;
}

.no-terms {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 16px;
}

/* 약관 내용 모달 스타일 - 표준 모달 디자인 적용 */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: auto;
    max-height: calc(100dvh - 40px); /* Safari vh 버그 해결 (vh → dvh), 상하 여백 20px씩 */
    max-height: calc(100vh - 40px); /* fallback */
    max-height: -webkit-fill-available; /* iOS Safari 대응 */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    gap: 0; /* flex column 강제해서 body/footer gap 제거 */
    font-size: 0; /* iOS Safari 인라인 공백 gap 제거 */
    line-height: 0; /* iOS Safari 인라인 공백 gap 제거 */
}

/* 작은 화면 높이 대응 */
@media (max-height: 700px) {
    .modal-content {
        margin: 2% auto;
        max-height: 96dvh; /* Safari vh 버그 해결 (vh → dvh) */
        max-height: -webkit-fill-available; /* iOS Safari 대응 */
    }
    
    .modal-body {
        max-height: calc(96dvh - 120px); /* Safari vh 버그 해결 (vh → dvh) */
        max-height: calc(-webkit-fill-available - 120px); /* iOS Safari 대응 */
    }
}

/* 모든 모바일 기기 모달 최적화 */
@media (max-width: 768px) {
    .modal-content {
        margin: 2% auto;
        width: 95%;
        max-width: 95%;
        height: auto;
        max-height: calc(100dvh - 20px); /* Safari vh 버그 해결 (vh → dvh), 상하 여백 10px씩 */
        max-height: calc(100vh - 20px); /* fallback */
        max-height: -webkit-fill-available; /* iOS Safari 대응 */
        border-radius: 12px;
        -webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 */
        gap: 0; /* flex column 강제해서 body/footer gap 제거 */
    }
    
    .modal-header {
        padding: 15px;
        padding-top: calc(15px + env(safe-area-inset-top)); /* safe-area-inset 처리 */
        min-height: 50px;
        margin: 0; /* iOS Safari gap 제거 */
        font-size: 16px; /* modal-content의 font-size: 0 복원 */
        line-height: 1.5; /* modal-content의 line-height: 0 복원 */
    }
    
    .modal-header h2 {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .modal-body {
        padding: 15px;
        flex: 1 1 auto;
        overflow-y: auto;
        overflow-x: hidden;
        min-height: 0;
        max-height: none; /* flex: 1로 높이 자동 조정 */
        -webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 */
        margin: 0; /* iOS Safari gap 제거 */
        margin-top: 0; /* iOS Safari gap 제거 */
        margin-bottom: 0; /* iOS Safari gap 제거 */
        font-size: 14px; /* modal-content의 font-size: 0 복원 */
        line-height: 1.5; /* modal-content의 line-height: 0 복원 */
    }
    
    .modal-footer {
        padding: 15px;
        padding-bottom: calc(15px + env(safe-area-inset-bottom)); /* safe-area-inset 처리해서 하단 여백 문제 해결 */
        min-height: 60px;
        flex-shrink: 0; /* footer가 항상 보이도록 */
        margin: 0; /* iOS Safari gap 제거 */
        margin-top: 0; /* iOS Safari gap 제거 */
        margin-bottom: 0; /* iOS Safari gap 제거 */
        font-size: 14px; /* modal-content의 font-size: 0 복원 */
        line-height: 1.5; /* modal-content의 line-height: 0 복원 */
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 4px;
        line-height: 1.4;
    }
    
    .form-group input {
        padding: 10px;
        font-size: 14px;
        box-sizing: border-box;
        -webkit-appearance: none; /* iOS 기본 스타일 제거 */
        appearance: none;
    }
    
    .btn-save, .btn-close {
        padding: 10px 16px;
        font-size: 14px;
        min-height: 44px; /* 터치 영역 확보 */
        -webkit-tap-highlight-color: transparent; /* iOS 탭 하이라이트 제거 */
    }
    
    .password-policy-info {
        margin: 12px 0 20px;
        padding: 10px 12px;
        font-size: 12px;
        line-height: 1.5;
    }
    
    .password-policy-info p {
        font-size: 13px;
        margin-bottom: 8px;
        line-height: 1.4;
    }
    
    .password-policy-info ul li {
        font-size: 12px;
        line-height: 1.5;
        margin: 4px 0;
    }
}

/* 매우 작은 화면 (iPhone SE 등) */
@media (max-width: 375px) {
    .modal-content {
        width: 98%;
        margin: 1% auto;
    }
    
    .modal-header {
        padding: 12px;
    }
    
    .modal-header h2 {
        font-size: 15px;
    }
    
    .modal-body {
        padding: 12px;
    }
    
    .modal-footer {
        padding: 12px;
    }
    
    .form-group input {
        padding: 8px;
        font-size: 13px;
    }
    
    .btn-save, .btn-close {
        padding: 8px 14px;
        font-size: 13px;
    }
}

.modal-header {
    background-color: #f8f9fa;
    padding: 20px;
    padding-top: calc(20px + env(safe-area-inset-top)); /* safe-area-inset 처리 */
    border-bottom: 1px solid #dee2e6;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    margin: 0; /* iOS Safari gap 제거 */
    font-size: 16px; /* modal-content의 font-size: 0 복원 */
    line-height: 1.5; /* modal-content의 line-height: 0 복원 */
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.close {
    color: #aaa;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 20px;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    max-height: none; /* flex: 1로 높이 자동 조정 */
    -webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 */
    margin: 0; /* iOS Safari gap 제거 */
    margin-top: 0; /* iOS Safari gap 제거 */
    margin-bottom: 0; /* iOS Safari gap 제거 */
    font-size: 14px; /* modal-content의 font-size: 0 복원 */
    line-height: 1.5; /* modal-content의 line-height: 0 복원 */
}

.terms-content-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 60vh;
    overflow-y: auto;
}

body.modal-open {
    overflow: hidden;
}

/* 체크박스 스타일 - 이미지 버튼 */
.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.agreement-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.checkbox-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin-right: 10px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-btn:hover {
    opacity: 0.8;
}

.checkbox-img {
    width: 24px;
    height: 24px;
    display: block;
}

.checkbox-text {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

/* 완료 버튼 스타일 - 표준화 */
.terms-button-area {
    margin-top: 30px;
}

.terms-button {
    width: 100%;
    height: 50px;
    padding: 0;
    background-color: #26AAE1;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.terms-button:hover:not(:disabled) {
    background-color: #1a8fc7;
}

.terms-button:active:not(:disabled) {
    background-color: #157ba3;
}

.terms-button:disabled {
    cursor: not-allowed !important;
    background-color: #e0e0e0 !important;
    color: #999 !important;
    pointer-events: auto !important;
}

.terms-button:disabled:hover {
    background-color: #e0e0e0 !important;
    color: #999 !important;
}

.terms-button:disabled:active {
    background-color: #e0e0e0 !important;
    color: #999 !important;
}

/* 약관 리스트 화면 스타일 */
.privacy-terms-wrap {
    min-height: 100vh;
    background-color: #fff;
}

body {
    background-color: #fff;
}

.terms-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.terms-content {
    padding: 16px 20px;
    max-width: 640px;
    margin: 0 auto;
}

.terms-list {
    margin-bottom: 40px;
}

.terms-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.terms-item .checkbox-item {
    flex: 1;
    margin-right: 15px;
}

.terms-view-btn {
    background: transparent;
    border: none;
    color: #26AAE1;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    flex-shrink: 0;
}

.terms-view-btn:hover {
    opacity: 0.8;
}

.no-terms {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 16px;
}

/* 약관 내용 모달 스타일 */

.close {
    color: #aaa;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.close:hover {
    color: #000;
}

.terms-content-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    white-space: pre-wrap;
    word-wrap: break-word;
}

body.modal-open {
    overflow: hidden;
}


.privacy-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.checkbox-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin-right: 10px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-btn:hover {
    opacity: 0.8;
}

.checkbox-img {
    width: 24px;
    height: 24px;
    display: block;
}

.checkbox-text {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    background-color: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-center {
    font-weight: 700;
}

.status-right {
    font-weight: 600;
}

.header {
    position: sticky;
    top: 0;
    background-color: #26AAE1;
    color: #fff;
    padding: 20px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.header-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.close-btn {
    position: absolute;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    opacity: 0.8;
}

.nopd-content {
    padding: 0;
}
.content-inner {
    min-height: 100%;
    padding: 20px 16px;
}
.agreement-section {
    margin-bottom: 35px;
    padding: 0 16px;
}

.agreement-section:last-child {
    margin-bottom: 0;
}

.agreement-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 15px;
    position: relative;
}

.agreement-item.main-agreement {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.agreement-checkbox {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 6px;
    position: relative;
    background-color: #fff;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border-radius: 6px;
}

.agreement-checkbox:checked + .checkbox-custom {
    background-color: #26AAE1;
    border-color: #26AAE1;
}

.agreement-checkbox:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-image: url('../images/check-dark-svgrepo-com.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) invert(1) contrast(2);
}

.agreement-text {
    font-size: 13px;
    font-weight: 400;
    color: #333;
    line-height: 1.4;
}

.main-agreement .agreement-text {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.required {
    color: #26AAE1;
    font-size: 10px;
    font-weight: 300;
}
.choice {
    color: #555;
    font-size: 10px;
    font-weight: 300;
}
.terms-content {
    margin-top: 14px;
}

.terms-text {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    font-size: 12px;
    line-height: 1.6;
    color: #666;
    max-height: 200px;
    overflow-y: auto;
}

.button-area {
    position: sticky;
    bottom: 0;
    width: 100%;
    max-width: 640px;
    padding: 20px;
    background-color: #fff;
}

.next-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    height: 50px;
    background-color: #26AAE1;
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
}

.next-button:hover:not(:disabled) {
    background-color: #1e8bc4;
}

.next-button:active:not(:disabled) {
    background-color: #1a7bb0;
}

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

/* 반응형 디자인 */
/* ----------- //약관동의 페이지 ------------ */

/* ----------- 스플래시 페이지 ------------ */
.splash {
    margin: 0;
    padding: 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.splash-logo {
    width: 150px;
    height: 150px;
    background-image: url('../images/img_login_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
/* ----------- //스플래시 페이지 ------------ */

/* 공지사항 페이지 1027 s */
body {
    background-color: #f5f5f5;
}

.notice-container {
    background-color: #f5f5f5;
    padding: 36px 16px 15px;
}

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

.notice-title {
    font-size: 18px;
    font-weight: 600;
    color: #231F20;
    margin: 0;
}

.notice-more {
    font-size: 14px;
    color: #999;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.notice-more img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-left: 4px;
    transform: rotate(-90deg);
    display: inline-block;
    /* 이미지 색상을 텍스트 색상(#999)과 동일하게 변경 */
    filter: brightness(0) saturate(100%) invert(40%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
    opacity: 1;
}

.notice-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.notice-card-header {
    display: grid;
    grid-template-columns: auto max-content;
    justify-content: start;
    gap: 8px;
    margin-bottom: 10px;
}

.notice-card-title {
    font-size: 16px;
    font-weight: 500;
    color: #231F20;
    margin: 0;
    word-break: break-word;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-new-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #26AAE1;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
    margin: 3px;
}

.notice-card-date {
    font-size: 13px;
    white-space: nowrap;
    flex: 0 0 auto;               /* 고정폭 자동 */
    margin-left: auto;            /* 오른쪽으로 고정 밀기 */
    color: #999;
}
.notice-card-content-wrap {
    display: flex;
    align-items: flex-start;      /* 위쪽 정렬 (중앙 정렬 제거) */
    gap: 12px;                    /* 간격 조정 */
    color: #999;
    min-width: 0;
}
.notice-card-content {
    font-size: 14px;
    color: #999;
    line-height: 1.4;
    word-break: break-word;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* p 태그 등을 인라인화해서 line-clamp가 동작하도록 */
.notice-card-content p,
.notice-card-content div {
    display: inline;
    margin: 0;
    padding: 0;
}
.notice-card-content br {
    display: none;
}

.main-img img {
    display: block;
    width: 100%;
}


/* 공지사항 페이지 1027 e */


/* 회원정보 조회 페이지 */
#btnProjectPick {
    width: calc(100% - 92px);
    margin-left: auto;
    display: block;
    padding: 12px 4px;
    background: #26AAE1;
    margin-top: 6px;
    color: #fff;
}
.link-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0px 0px;
}
.info-title {
    padding: 16px 20px;
    font-size: 20px;
}

/* 입력 라벨과 값 간격 개선 */
.input-box.readonly {
    display: flex;
    align-items: center;
    gap: 12px; /* 라벨-값 간격 */
}

.prefix-label {
    flex: 0 0 80px; /* 라벨 고정 폭 */
    color: #000;
}

.input-box.readonly .input-field {
    flex: 1 1 auto;
    padding-left: 12px; /* 값 좌측 여백 */
}

/* ==========================================================================
   보안관리 모달
   ========================================================================== */
.security-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-modal-content {
    background-color: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
    border: 1px solid #ddd;
}

.security-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.security-modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #231F20;
    letter-spacing: -0.5px;
}

.security-modal-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.security-modal-close:hover {
    background-color: #f6f7f9;
    color: #666;
}

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

.security-section {
    padding: 0;
}

.security-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #231F20;
    padding: 20px 20px 16px 20px;
    margin: 0;
    letter-spacing: -0.5px;
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 20px;
    min-height: 56px;
}

.security-item-label {
    font-size: 14px;
    color: #000;
    font-weight: 400;
    letter-spacing: -0.3px;
    cursor: pointer;
}

.security-item-label:hover {
    opacity: 0.8;
}

.security-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 0 20px;
}

.security-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.security-item-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ff6b35;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.security-item-link {
    font-size: 18px;
    color: #26AAE1;
    text-decoration: none;
    font-weight: 400;
    padding: 0 8px;
}

.security-item-link:hover {
    opacity: 0.8;
}

/* 토글 스위치 */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #26AAE1;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

.toggle-switch input:disabled + .toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 모달 열림 시 body 스크롤 방지 */
body.modal-open {
    overflow: hidden;
}

/* 모달 외부 클릭 시 닫기 */
.security-modal {
    cursor: pointer;
}

.security-modal-content {
    cursor: default;
}

/* 내 휴가현황 모달 */
.vacation-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vacation-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: auto;
    max-height: calc(100dvh - 40px); /* Safari vh 버그 해결 (vh → dvh), 상하 여백 20px씩 */
    overflow-y: auto;    /* 세로 스크롤 */
    max-height: -webkit-fill-available; /* iOS Safari 대응 */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    gap: 0; /* flex column 강제해서 body/footer gap 제거 */
    font-size: 0; /* iOS Safari 인라인 공백 gap 제거 */
    line-height: 0; /* iOS Safari 인라인 공백 gap 제거 */
}

/* 휴가코드 모달 - 테이블 스크롤 처리 */
.vacation-modal .modal-content {
    max-height: 80dvh;
    max-height: 80vh; /* fallback */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.vacation-modal .modal-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* 달력 */
/* Calendar Container */
.calendar-container {
    width: 100%;
    max-width: 100%;
    font-family: Arial, sans-serif;
    overflow: hidden;
    margin: 0px auto;
    padding: 20px 5px;
}

/* Calendar Header */
.calendar-header {
    background-color: #26AAE1;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    font-size: 1.2em;
    font-weight: bold;
    position: relative;
}

.calendar-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0 10px;
    position: absolute;
}

.calendar-header #prevMonthBtn {
    left: 15px;
}

.calendar-header #nextMonthBtn {
    right: 15px;
}

.calendar-header #calendar-month {
    text-align: center;
    width: 100%;
    display: block;
}

.calendar-header button:hover {
    opacity: 0.8;
}

/* Weekday Row */
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: #f8f8f8;
    text-align: center;
    font-weight: bold;
    font-size: 0.9em;
}

.calendar-weekdays div {
    padding: 5px 0;
    border-right: 1px solid #dedede;
}

.calendar-weekdays .sunday {
    color: red;
    border-left: 1px solid #dedede;
}

.calendar-weekdays .saturday {
    color: blue;
}

.all-calendar-weekdays {
    display: -webkit-grid !important;
    display: grid !important;
    -webkit-grid-template-columns: repeat(7, 1fr) !important;
    grid-template-columns: repeat(7, 1fr) !important;
    -webkit-grid-auto-flow: row !important;
    grid-auto-flow: row !important;
    background-color: #f8f8f8;
    text-align: center;
    font-weight: bold;
    font-size: 0.9em;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-direction: row !important;
    -webkit-flex-direction: row !important;
}

.all-calendar-weekdays div {
    padding: 5px 0;
}

.all-calendar-weekdays .sunday {
    color: red;
    border-left: 1px solid #dedede;
}

.all-calendar-weekdays .saturday {
    color: blue;
    border-right: 1px solid #dedede;
}
/* Days Grid */
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: white;
    border-top: 1px solid #dedede;
}

.all-calendar-days {
    display: -webkit-grid !important;
    display: grid !important;
    -webkit-grid-template-columns: repeat(7, 1fr) !important;
    grid-template-columns: repeat(7, 1fr) !important;
    -webkit-grid-auto-flow: row !important;
    grid-auto-flow: row !important;
    background-color: white;
    border-top: 1px solid #dedede;
    border-right: 1px solid #dedede;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-direction: row !important;
    -webkit-flex-direction: row !important;
}

.calendar-day {
    min-height: 90px;
    min-width: 0;
    flex: 1;
    border: 1px solid #dedede;
    border-top: none;
    border-left: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
}
.calendar-day.prev-day {
    /* 테두리는 원래대로 유지, 텍스트만 흐리게 */
}

.calendar-day.prev-day .calendar-day-number {
    color: #999;
}

/* 저번달 일요일/토요일 색상도 흐리게 */
.calendar-day.prev-day.sunday .calendar-day-number {
    color: rgba(255, 0, 0, 0.4);
}

.calendar-day.prev-day.saturday .calendar-day-number {
    color: rgba(0, 0, 255, 0.4);
}

.calendar-day.after-day {
    /* 테두리는 원래대로 유지, 텍스트만 흐리게 */
}

.calendar-day.after-day .calendar-day-number {
    color: #999;
}

/* 다음달 일요일/토요일 색상도 흐리게 */
.calendar-day.after-day.sunday .calendar-day-number {
    color: rgba(255, 0, 0, 0.4);
}

.calendar-day.after-day.saturday .calendar-day-number {
    color: rgba(0, 0, 255, 0.4);
}
.calendar-day:nth-child(7n+1) {
    border-left: 1px solid #dedede;
}

.calendar-day-number {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 1px;
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: right;
    padding: 2px 10px;
    text-align: center;
    height: 30px;
}

.calendar-day.sunday .calendar-day-number {
    color: red;
}

.calendar-day.saturday .calendar-day-number {
    color: blue;
}

/* Event Styling */
.calendar-event {
    background-color: transparent;
    color: #26AAE1;
    font-size: 0.75em;
    padding: 2px 4px;
    border-radius: 3px;
    margin-top: 1px;
    text-align: center;
    box-sizing: border-box;
    align-self: center;
    z-index: 2;
    width: calc(100% - 6px);
    cursor: pointer;
    line-height: 1.2;
    overflow: hidden;
    min-width: 0;
    white-space: normal;
}

/* 일요일 시간 박스는 빨간색 테두리와 빨간색 텍스트 */
.calendar-day.sunday .calendar-event {
    border-color: red;
    color: red;
}

.calendar-day .event-plus-one {
    background-color: 808080;
    color: white;
    font-size: 0.75em;
    border-radius: 3px;
    margin-top: 2px;
    text-align: center;
    width: fit-content;
    align-self: center;
    width: 46%;
}

/* 오늘 날짜 스타일 */
.calendar-day.today {
    background-color: #e3f2fd !important; /* 연한 하늘색 */
}

/* 춡퇴근 조회 상세 */
.workday-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-weight: 600;
}

.workday-title {
    font-size: 16px;
    color: #333;
}
.work-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin: 10px 0px;
    padding: 12px 14px;
    cursor: pointer;
}

.work-card_none {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin: 10px 0px;
    padding: 12px 14px;
}

.work-card__row {
    display: flex;
    /* align-items: center; */
    gap: 10px;
    padding: 4px 0;
    font-size: 14px;
}
.work-card__row .label {
    min-width: 64px;
    color: #333;
    font-weight: 600;
}

.work-card__row .value {
    color: #111;
}
.work-card__row .warn {
    color: red !important;
}
.work-card__row .place {
    color: #666;
    font-size: 13px;
    display: inline-block;
    text-indent: -8px;
    padding-left: 12px;
}

.work-notice {
    margin: 16px 0px 40px;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
}
.work-notice p {
    font-weight: 700;
}
.work-notice ul {
    margin: 0;
}

.work-notice li {
    line-height: 1.6;
    color: #333;
    margin: 6px 0;
}
.work-notice li span{
    color: #26AAE1;
}
.wc-detail {
    max-width: 360px;
    margin: 20px auto;
    padding: 0 20px;
}

.wc-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.wc-date {
    display: inline-block;
    padding: 8px 14px;
    background: #f3f3f3;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    font-weight: 700;
    color: #333;
}

.wc-action {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #ffcc00;
    color: #000;
    border-radius: 50%;
    font-weight: 700;
    font-size: 12px;
}

.wc-btn-primary {
    min-width: 92px;
    height: 38px;
    padding: 0 16px;
    
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 700;
}
.wc-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}
.wc-action button.work {
    background: rgb(12 202 55);
}
.wc-action button.leave {
    background: #26AAE1;
}
.wc-panel {
    height: 220px;
    margin: 10px 0 16px;
    background: #fff;
    border: 1px solid #d93939; 
}

.wc-form {
    background: #fff;
}

.wc-form-row {
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: center;
    gap: 8px;
}

.wc-label {
    grid-column: 2 / 3;
    font-weight: 600;
    margin-bottom: 8px;
}

.wc-select-wrap {
    grid-column: 1 / -1;
    border: 1px solid #ddd;
}

.wc-select {
    width: 100%;
    padding: 12px;
    padding-right: 32px; /* 화살표 아이콘 공간 확보 */
    border: none;
    background: #fff;
    font-size: 14px;
    /* 아이폰 Safari 기본 스타일 제거 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* 커스텀 화살표 아이콘 추가 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    cursor: pointer;
    /* 텍스트 색상 검정색 */
    color: #000;
}

.wc-select option {
    color: #000;
    background-color: #fff;
}

.wc-select:focus {
    color: #000;
    outline: none;
}

/* 사유 박스 */
.wc-reason-wrap {
    margin: 14px 0px;
}

.wc-reason-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.wc-reason {
    width: 100%;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #d1d7dc;
    border-radius: 2px;
    color: #333;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
    height: 45px;
}

.wc-reason:focus {
    outline: none;
    border-color: #0066cc;
}
/* 셀렉트박스 - 아이폰 Safari 기본 스타일 제거 (전역) */
select {
    /* 아이폰 Safari 기본 스타일 제거 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* 텍스트 색상 검정색으로 설정 */
    color: #000;
}

/* select 옵션 색상 검정색으로 설정 */
select option {
    color: #000;
    background-color: #fff;
}

/* select 포커스 시에도 검정색 유지 */
select:focus {
    color: #000;
    outline: none;
}

/* 셀렉트박스 */
.search-filters {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label {
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

.search-btn {
    padding: 10px 16px;
    background: #808080;
    color: white;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
    height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
    min-width: fit-content;
}


.search-btn .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ffc107;
    color: #000;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}
.work-box {
    padding: 12px;
    background: #dedede;
}
.work-box p { 
    font-size: 14px; 
    font-weight: 700;
}

/* 전체 출퇴근 조회 - search-select 스타일 */

.search-conditions {
    padding: 0;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.search-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px;
    margin-bottom: 10px;
    align-items: right !important;
    width: 100%;
    box-sizing: border-box !important;
    justify-content: center !important;
}
.search-row.w-50 {
    width: 50% !important;
}
.search-row:last-child {
    margin-bottom: 0;
}

.search-item {
    min-width: 0 !important;
    box-sizing: border-box !important;
    width: auto !important;
    display: block !important;
}

/* 프로젝트/부서 박스는 더 크게 */
.search-item-project {
    flex: 1.3;
}

/* 직원명 박스는 기본 크기 */
.search-item-user {
    flex: 0.7;
}

/* 연도 박스는 작게 */
.search-item-year {
    flex: 0.8;
}

/* 월 박스는 작게 */
.search-item-month {
    flex: 0.8;
}

.search-select {
    width: 100%;
    height: 37px;
    padding: 6px 8px;
    padding-right: 28px; /* 화살표 아이콘 공간 확보 */
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 12px;
    /* 아이폰 Safari 기본 스타일 제거 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* 커스텀 화살표 아이콘 추가 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    cursor: pointer;
    /* 텍스트 색상 검정색 */
    color: #000;
    text-align: center !important;
    -webkit-text-align: center !important;
    text-align-last: center !important;
    -webkit-text-align-last: center !important;
    direction: ltr !important;
    -webkit-text-align: center !important;
    -moz-text-align: center !important;
    -ms-text-align: center !important;
}

.search-input {
    width: 100%;
    height: 37px;
    padding: 6px 8px;
    padding-right: 28px; /* 화살표 아이콘 공간 확보 */
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 12px;
    /* 아이폰 Safari 기본 스타일 제거 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    cursor: pointer;
    /* 텍스트 색상 검정색 */
    color: #000;
    -webkit-text-align: center !important;
    -webkit-text-align-last: center !important;
    direction: ltr !important;
    -webkit-text-align: center !important;
    -moz-text-align: center !important;
    -ms-text-align: center !important;
}

.search-select option {
    color: #000;
    background-color: #fff;
    text-align: center !important;
    -webkit-text-align: center !important;
    text-align-last: center !important;
    -webkit-text-align-last: center !important;
    direction: ltr !important;
}

.search-select:focus {
    color: #000;
    outline: none;
    text-align: center !important;
    -webkit-text-align: center !important;
    text-align-last: center !important;
    -webkit-text-align-last: center !important;
}

.search-select,
.search-select:hover,
.search-select:active,
.search-select:focus,
.search-select:visited {
    text-align: center !important;
    -webkit-text-align: center !important;
    text-align-last: center !important;
    -webkit-text-align-last: center !important;
    direction: ltr !important;
}


/* 달력 날짜 스타일 - min-height와 border 제거 */

/* 날짜 헤더 배경색 */
.work-date-header {
    background-color: #f5f5f5 !important;
    padding: 15px 10px !important;
}

.all-calendar-day {
    border-top: none;
    border-left: none;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative;
    border-bottom: 1px solid #e5e5e5;
    box-sizing: border-box;
    width: 100% !important;
}


.all-calendar-day.prev-day {
    /* 테두리는 원래대로 유지, 텍스트만 흐리게 */
}

.all-calendar-day.prev-day .calendar-day-number {
    color: #999;
}

/* 저번달 일요일/토요일 색상도 흐리게 */
.all-calendar-day.prev-day.sunday .calendar-day-number {
    color: rgba(255, 0, 0, 0.4);
}

.all-calendar-day.prev-day.saturday .calendar-day-number {
    color: rgba(0, 0, 255, 0.4);
}


.all-calendar-day.after-day .calendar-day-number {
    color: #999;
}

/* 다음달 일요일/토요일 색상도 흐리게 */
.all-calendar-day.after-day.sunday .calendar-day-number {
    color: rgba(255, 0, 0, 0.4);
}

.all-calendar-day.after-day.saturday .calendar-day-number {
    color: rgba(0, 0, 255, 0.4);
}
.all-calendar-day:nth-child(7n+1) {
    border-left: 1px solid #dedede;
}


.all-calendar-day-number {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 1px;
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center !important;
    padding: 2px 10px;
    height: 30px;
    margin-bottom: 0 !important;
    margin-top: 5px !important;
    box-sizing: border-box;
}

.all-calendar-day.sunday .calendar-day-number {
    color: red;
}

.all-calendar-day.saturday .calendar-day-number {
    color: blue;
}

/* 오늘 날짜 스타일 */
.all-calendar-day.today {
    background-color: #e3f2fd !important; /* 연한 하늘색 */
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.15);
}

/* 선택된 날짜 스타일 */
.all-calendar-day.selected {
    background-color: #e3f2fd !important; /* 연한 하늘색 */
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.15);
}

/* 공지사항 목록 */
.notice-search {
    background: #ececec;
    /* padding: 12px 20px; */
    /* border-bottom: 1px solid #e0e0e0; */
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    padding: 12px 16px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}

.search-icon {
    font-size: 16px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffc107;
    border-radius: 50%;
    font-size: 12px;
}

.search-text {
    flex: 1;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #333;
    font-size: 14px;
    resize: none;
    outline: none;
    padding: 10px 14px;
    min-height: 20px;
    line-height: 20px;
    height: 44px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    min-width: 0;
    box-sizing: border-box;
}

.search-text:focus {
    border-color: #26AAE1;
    box-shadow: 0 0 0 3px rgba(38, 170, 225, 0.1), 0 2px 8px rgba(0, 0, 0, 0.12);
    outline: none;
}

.search-text::placeholder {
    color: #999;
}

.btn-search {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 24px;
    vertical-align: middle;
}

.notice-list {
    display: flex;
    flex-direction: column;
    background: #ececec;
    gap: 12px;
    padding-bottom: 10px;
}

.notice-item {
    padding: 22px 10px 10px 10px;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s;
    background: #fff;
}
.notice-item-new {
    /* 새 공지사항 아이템 */
}
.notice-item-new .notice-title{
    color: #26AAE1;
}

.notice-item .notice-title {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    width: 100%;
    gap: 8px;
}

.notice-item .notice-title .notice-title-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-item:last-child {
    /* border-bottom: none; */
    /* margin-bottom: 10px; */
}


.notice-content {
    font-size: 14px;
    color: #000;
    margin: 23px 0px 15px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.notice-date {
    color: #999;
}

.notice-separator {
    color: #ccc;
}

.notice-author {
    color: #999;
}

.notice-pagination-bar {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ececec;
    border-top: none;
    padding: calc(0px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    z-index: 10;
}

.btn-notice-more {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: #ececec;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
    margin-top: -10px;
}

.btn-notice-more-notbg {
    width: 100%;
    height: 48px;
    border: none;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
    margin-top: -10px;
}

.btn-notice-more:disabled {
    display: none;
}

.notice-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.stat-icon {
    font-size: 14px;
    opacity: 0.7;
}

.stat-count {
    color: #999;
}

.notice-empty {
    padding: 40px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* 공지사항 상세 페이지 */

.notice-detail {
    padding: 20px;
    background-color: #fff;
}


/* 공지사항 상세 내용 내 링크 스타일 (이미지 태그 내부 제외) */
.notice-detail-content a.notice-content-link,
.notice-detail-content a,
.notice-detail a.notice-content-link,
.notice-detail a {
    color: #0066cc !important;
    text-decoration: underline !important;
    cursor: pointer;
    word-break: break-all;
}

/* 이미지 태그 내부의 링크는 스타일 적용 안 함 */
.notice-detail-content img a,
.notice-detail-content img a.notice-content-link,
.notice-detail img a,
.notice-detail img a.notice-content-link {
    color: inherit !important;
    text-decoration: none !important;
    cursor: default !important;
}

.notice-detail-content a.notice-content-link:hover,
.notice-detail-content a:hover,
.notice-detail a.notice-content-link:hover,
.notice-detail a:hover {
    color: #0052a3 !important;
    text-decoration: underline !important;
}

/* 이미지 태그 내부의 링크 hover 스타일 제거 */
.notice-detail-content img a:hover,
.notice-detail-content img a.notice-content-link:hover,
.notice-detail img a:hover,
.notice-detail img a.notice-content-link:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.notice-detail-content a.notice-content-link:visited,
.notice-detail-content a:visited,
.notice-detail a.notice-content-link:visited,
.notice-detail a:visited {
    color: #551a8b !important;
    text-decoration: underline !important;
}

.notice-detail-content a.notice-content-link:active,
.notice-detail-content a:active,
.notice-detail a.notice-content-link:active,
.notice-detail a:active {
    color: #003d7a !important;
    text-decoration: underline !important;
}

/* 이미지 스타일 (링크와 분리) */
.notice-detail-content img,
.notice-detail img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}

/* 모든 링크에 기본 스타일 적용 (이미지 내부 제외) */
.notice-detail-content a:not(img a),
.notice-detail a:not(img a) {
    color: #0066cc !important;
    text-decoration: underline !important;
}

/* 공지사항 상세 페이지 전체 화면 */
html.notice-detail-page body {
    background-color: #fff;
    height: 100%;
    height: -webkit-fill-available;
}

html.notice-detail-page #wrap.fo-member-wrap {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    background-color: #fff;
}

/* 공지사항 목록 페이지 전체 화면 */
html.notice-board-page body {
    background-color: #ececec;
}

html.notice-board-page #wrap.fo-member-wrap,
html.notice-board-page .content {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    background-color: #ececec;
}


/* 내 프로젝트 조회 페이지 전체 화면 */
html.project-inquiry-page body {
    background-color: #fff;
}

html.project-inquiry-page #wrap.fo-member-wrap {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    background-color: #fff;
}

/* 마이페이지 전체 화면 */

.fo-member-wrap .content-inner {
    width: 100%;
    padding: 20px;
    max-width: 640px;
    margin: 0 auto;
}

.fo-member-wrap .info-card {
    width: 100%;
    margin-bottom: 20px;
}

.fo-member-wrap .link-section {
    width: 100%;
    margin-top: 30px;
}

/* 반응형 디자인 */
@media (max-width: 640px) {
    .fo-member-wrap .content-inner {
        padding: 20px 15px;
    }
}

/* 공지사항 검색 영역 반응형 - 좁은 화면 (갤럭시 플립 등) */
@media (max-width: 360px) {
    .notice-search .search-box {
        padding: 12px 10px;
        gap: 6px;
    }
    
    .notice-search .search-text {
        padding: 10px 10px;
        font-size: 13px;
    }
    
    .notice-search .search-btn {
        padding: 10px 12px;
        font-size: 11px;
    }
}

@media (max-width: 320px) {
    .notice-search .search-box {
        padding: 12px 8px;
        gap: 4px;
    }
    
    .notice-search .search-text {
        padding: 10px 8px;
        font-size: 12px;
    }
    
    .notice-search .search-btn {
        padding: 10px 10px;
        font-size: 11px;
    }
}


.input-area {
    margin-bottom: 15px;
}

.input-group {
    margin-bottom: 10px;
}

.input-group:last-child {
    margin-bottom: 0;
}
.fo-member-wrap .input-box {
    background: transparent;
    padding: 0;
    /* 기본 input-box가 height:46px로 고정되어 있어 글자/화면 확대 시 잘리는 문제 방지 */
    height: auto;
    min-height: 46px;
    min-width: 50px;
}
.fo-member-wrap .input-box .input-field {
    border: 1px solid #f6f7f9;
}
.input-box {
    position: relative;
    background-color: #f6f7f9;
    border-radius: 5px;
    height: 46px;
    display: flex;
    align-items: center;
    padding: 0 15px;
}


.input-field {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 14px;
    color: #000;
    padding: 5px;
    height: 100%;
}

.input-field::placeholder {
    color: #666;
    font-size: 14px;
    font-weight: 400;
}

.input-field:focus {
    outline: none;
}


/* 토글 버튼 스타일 */
.toggle-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-btn:hover {
    opacity: 0.8;
}

.toggle-btn:active {
    opacity: 0.6;
}

.toggle-img {
    width: 50px;
    height: 28px;
    display: block;
}

/* 링크 화살표 이미지 스타일 */
.link-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: inherit;
    line-height: 1.5;
}

.link-arrow {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    transform: rotate(-90deg);
    flex-shrink: 0;
    vertical-align: middle;
    display: inline-block;
}

/* 공지사항 더보기 화살표 스타일 */
.notice-more {
    display: inline-flex;
    align-items: center;
}


/* 첨부파일 섹션 스타일 */
.notice-attachment-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.attachment-title {
    font-size: 16px;
    font-weight: 700;
    color: #231F20;
    margin: 0 0 16px 0;
    letter-spacing: -0.3px;
}

.attachment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attachment-item {
    margin-bottom: 12px;
}

.attachment-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background-color: #f6f7f9;
    border-radius: 8px;
    text-decoration: none;
    color: #231F20;
    transition: background-color 0.2s;
}

.attachment-link:hover {
    background-color: #e8e9eb;
}

.attachment-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.attachment-name {
    flex: 1;
    font-size: 14px;
    color: #231F20;
    word-break: break-all;
}

.attachment-size {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
}
#cnts {
    display: block;
}
#cnts h3 {
    flex-shrink: 0;           /* h3 크기 고정 */
}

.drapt-attach-file {
    display: flex;
	align-items: flex-start; /* h3와 리스트 상단 정렬 */
	gap: 10px; /* h3와 리스트 사이 간격 */
    margin-top: 15px;
	border:1px solid #e0e0e0;
	margin-bottom: 15px;
}
.draft-attachment-card {
    display: flex;
    flex-direction: flex-start;
	gap: 10px; /* h3와 리스트 사이 간격 */
	border:1px solid #e0e0e0;
}

.drapt-attach-file h3 {
    font-size: 14px;
    font-weight: 500;
    padding: 14px 20px;
    white-space: nowrap;
    background: #f5f5f5;
    border-right: 1px solid #e0e0e0;
	min-width: 120px; /* 필요시 */
}
.drapt-attach-div h3 {
    font-size: 14px;
    font-weight: 500;
    padding: 14px 20px;
    white-space: nowrap;
    background: #f5f5f5;
    border-right: 1px solid #e0e0e0;
	min-width: 120px; /* 필요시 */
}

.drapt-attachment-list {
     flex-grow: 1; /* 남은 공간 차지 */
    padding: 14px 20px;
}
.drapt-attachment-item {
    display: flex;
    align-items: center;
    /* gap: 20px; */
    /* padding: 10px 0; */
    border: 1px solid #e0e0e0;
}

.drapt-attachment-name{
    color: #0000ee;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    display: block;
    border-radius: 5px;
}
.draft-attachment-size {
    font-size: 12px;
    color:#999;
}

html.mypage-page body {
    background-color: #fff;
}

html.mypage-page #wrap.fo-member-wrap {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    background-color: #fff;
}

/* 알람 상세 페이지 전체 화면 */
html.alarm-detail-page body {
    background-color: #fff;
}

html.alarm-detail-page #wrap.fo-member-wrap {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    background-color: #fff;
}

/* 출퇴근 입력 페이지 전체 화면 */
.attendance-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.attendance-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.attendance-header h1 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.current-time {
    font-size: 18px;
    font-weight: 600;
}

.attendance-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.action-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.action-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.action-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.action-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.action-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.action-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.action-btn:hover:not(:disabled) {
    background: #5a6fd8;
}

.action-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.attendance-history {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

.history-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.history-date {
    font-weight: 600;
    color: #333;
}

.history-times {
    display: flex;
    gap: 20px;
}

.history-time {
    color: #666;
    font-size: 14px;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-normal {
    background: #e8f5e8;
    color: #2d5a2d;
}

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

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

/* 지도 스타일 */
.wc-panel {
    width: 100%;
    height: 300px;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.wc-panel #currentLocationMap {
    width: 100%;
    height: 100%;
    pointer-events: none; /* 모든 마우스 이벤트 차단 */
}

.wc-panel .map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    font-size: 14px;
    text-align: center;
}
/* 전체 출퇴근 조회 페이지 전체 화면 */
html.all-attendance-page body {
    background-color: #fff;
}

html.all-attendance-page #wrap.fo-member-wrap {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    background-color: #fff;
}

/* 전체 출퇴근 조회 페이지 - 모바일 앱 환경 대응 */
html.all-attendance-page .search-conditions {
    display: block !important;
    width: 100%;
}

html.all-attendance-page .search-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
}

html.all-attendance-page .search-item {
    display: block !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    width: auto !important;
}

html.all-attendance-page .calendar-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

html.all-attendance-page .all-calendar-weekdays {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    width: 100% !important;
    box-sizing: border-box;
}

html.all-attendance-page .all-calendar-weekdays > div {
    display: block !important;
    width: 100%;
    box-sizing: border-box;
}

html.all-attendance-page .all-calendar-days {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    width: 100% !important;
    box-sizing: border-box;
}

html.all-attendance-page .all-calendar-day {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

/* iOS/Android 앱 환경 강제 설정 - 웹과 동일하게 표시 */
@supports (-webkit-touch-callout: none) {
    html.all-attendance-page .search-conditions {
        display: block !important;
        width: 100% !important;
    }
    
    html.all-attendance-page .search-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }
    
    html.all-attendance-page .search-item {
        display: block !important;
        min-width: 0 !important;
        width: auto !important;
        box-sizing: border-box !important;
    }
    
    html.all-attendance-page .search-item-project {
        flex: 1.3 !important;
    }
    
    html.all-attendance-page .search-item-user {
        flex: 0.7 !important;
    }
    
    html.all-attendance-page .search-item-year {
        flex: 0.8 !important;
    }
    
    html.all-attendance-page .search-item-month {
        flex: 0.8 !important;
    }
    
    html.all-attendance-page .all-calendar-weekdays {
        display: -webkit-grid !important;
        display: grid !important;
        -webkit-grid-template-columns: repeat(7, 1fr) !important;
        grid-template-columns: repeat(7, 1fr) !important;
        -webkit-grid-auto-flow: row !important;
        grid-auto-flow: row !important;
        width: 100% !important;
        box-sizing: border-box !important;
        flex-direction: row !important;
    }
    
    html.all-attendance-page .all-calendar-days {
        display: -webkit-grid !important;
        display: grid !important;
        -webkit-grid-template-columns: repeat(7, 1fr) !important;
        grid-template-columns: repeat(7, 1fr) !important;
        -webkit-grid-auto-flow: row !important;
        grid-auto-flow: row !important;
        width: 100% !important;
        box-sizing: border-box !important;
        flex-direction: row !important;
    }
    
    html.all-attendance-page .all-calendar-weekdays > div {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        -webkit-flex: none !important;
        flex: none !important;
    }
    
    html.all-attendance-page .all-calendar-day {
        display: -webkit-flex !important;
        display: flex !important;
        -webkit-flex-direction: column !important;
        flex-direction: column !important;
        width: 100% !important;
        box-sizing: border-box !important;
        -webkit-flex: none !important;
        flex: none !important;
    }
    
    html.all-attendance-page .search-select {
        text-align: center !important;
        -webkit-text-align: center !important;
    }
}

/* 모바일 앱 환경 추가 보정 - 모든 화면 크기에서 적용 */
@media screen and (max-width: 768px) {
    html.all-attendance-page .search-conditions {
        display: block !important;
        width: 100% !important;
    }
    
    html.all-attendance-page .search-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }
    
    html.all-attendance-page .search-item {
        display: block !important;
        min-width: 0 !important;
        width: auto !important;
        box-sizing: border-box !important;
    }
    
    html.all-attendance-page .search-item-project {
        flex: 1.3 !important;
    }
    
    html.all-attendance-page .search-item-user {
        flex: 0.7 !important;
    }
    
    html.all-attendance-page .search-item-year {
        flex: 0.8 !important;
    }
    
    html.all-attendance-page .search-item-month {
        flex: 0.8 !important;
    }
    
    html.all-attendance-page .all-calendar-weekdays {
        display: -webkit-grid !important;
        display: grid !important;
        -webkit-grid-template-columns: repeat(7, 1fr) !important;
        grid-template-columns: repeat(7, 1fr) !important;
        -webkit-grid-auto-flow: row !important;
        grid-auto-flow: row !important;
        width: 100% !important;
        box-sizing: border-box !important;
        flex-direction: row !important;
        -webkit-flex-direction: row !important;
    }
    
    html.all-attendance-page .all-calendar-days {
        display: -webkit-grid !important;
        display: grid !important;
        -webkit-grid-template-columns: repeat(7, 1fr) !important;
        grid-template-columns: repeat(7, 1fr) !important;
        -webkit-grid-auto-flow: row !important;
        grid-auto-flow: row !important;
        width: 100% !important;
        box-sizing: border-box !important;
        flex-direction: row !important;
        -webkit-flex-direction: row !important;
    }
    
    html.all-attendance-page .all-calendar-weekdays > div {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        -webkit-flex: none !important;
        flex: none !important;
    }
    
    html.all-attendance-page .all-calendar-day {
        display: -webkit-flex !important;
        display: flex !important;
        -webkit-flex-direction: column !important;
        flex-direction: column !important;
        width: 100% !important;
        box-sizing: border-box !important;
        -webkit-flex: none !important;
        flex: none !important;
    }
    
    html.all-attendance-page .search-select {
        text-align: center !important;
        -webkit-text-align: center !important;
    }
}

/* 모든 모바일 환경에서 강제 적용 - 최우선 적용 (웹과 동일하게) */
html.all-attendance-page .search-conditions {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

html.all-attendance-page .search-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
    align-items: center !important;
    justify-content: center !important;
}

html.all-attendance-page .search-row:last-child {
    margin-bottom: 0 !important;
}

html.all-attendance-page .search-item {
    display: block !important;
    min-width: 0 !important;
    width: auto !important;
    box-sizing: border-box !important;
}

html.all-attendance-page .search-item-project {
    flex: 1.3 !important;
}

html.all-attendance-page .search-item-user {
    flex: 0.7 !important;
}

html.all-attendance-page .search-item-year {
    flex: 0.8 !important;
}

html.all-attendance-page .search-item-month {
    flex: 0.8 !important;
}

html.all-attendance-page .search-select {
    text-align: center !important;
    -webkit-text-align: center !important;
}

html.all-attendance-page .all-calendar-weekdays {
    display: -webkit-grid !important;
    display: grid !important;
    -webkit-grid-template-columns: repeat(7, 1fr) !important;
    grid-template-columns: repeat(7, 1fr) !important;
    -webkit-grid-auto-flow: row !important;
    grid-auto-flow: row !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background-color: #f8f8f8 !important;
    flex-direction: row !important;
    -webkit-flex-direction: row !important;
}

html.all-attendance-page .all-calendar-days {
    display: -webkit-grid !important;
    display: grid !important;
    -webkit-grid-template-columns: repeat(7, 1fr) !important;
    grid-template-columns: repeat(7, 1fr) !important;
    -webkit-grid-auto-flow: row !important;
    grid-auto-flow: row !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background-color: white !important;
    flex-direction: row !important;
    -webkit-flex-direction: row !important;
}

html.all-attendance-page .all-calendar-weekdays > div {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 5px 0 !important;
    -webkit-flex: none !important;
    flex: none !important;
}

html.all-attendance-page .all-calendar-day {
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-flex-direction: column !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-bottom: 1px solid #e5e5e5 !important;
    -webkit-flex: none !important;
    flex: none !important;
}

html.all-attendance-page .all-calendar-day:nth-child(7n+1) {
    border-left: 1px solid #dedede !important;
}

html.all-attendance-page .all-calendar-day-number {
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-weight: bold !important;
    font-size: 15px !important;
    padding: 2px 10px !important;
    height: 30px !important;
    margin-top: 5px !important;
    margin-bottom: 0 !important;
}

/* common_mo.css의 미디어 쿼리 오버라이드 - 모든 화면 크기에서 강제 적용 */
@media screen and (max-width: 1366px) {
    html.all-attendance-page .search-conditions {
        display: block !important;
        width: 100% !important;
    }
    
    html.all-attendance-page .search-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }
    html.all-attendance-page .search-row.w-50 {
        width: 50% !important;
    }

    html.all-attendance-page .search-row.w-70 {
        width: 70% !important;
    }

    html.all-attendance-page .search-item {
        display: block !important;
        min-width: 0 !important;
        width: auto !important;
        box-sizing: border-box !important;
    }
    
    html.all-attendance-page .all-calendar-weekdays {
        display: -webkit-grid !important;
        display: grid !important;
        -webkit-grid-template-columns: repeat(7, 1fr) !important;
        grid-template-columns: repeat(7, 1fr) !important;
        -webkit-grid-auto-flow: row !important;
        grid-auto-flow: row !important;
        width: 100% !important;
        box-sizing: border-box !important;
        flex-direction: row !important;
        -webkit-flex-direction: row !important;
    }
    
    html.all-attendance-page .all-calendar-days {
        display: -webkit-grid !important;
        display: grid !important;
        -webkit-grid-template-columns: repeat(7, 1fr) !important;
        grid-template-columns: repeat(7, 1fr) !important;
        -webkit-grid-auto-flow: row !important;
        grid-auto-flow: row !important;
        width: 100% !important;
        box-sizing: border-box !important;
        flex-direction: row !important;
        -webkit-flex-direction: row !important;
    }
    
    html.all-attendance-page .all-calendar-weekdays > div {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        -webkit-flex: none !important;
        flex: none !important;
    }
    
    html.all-attendance-page .all-calendar-day {
        display: -webkit-flex !important;
        display: flex !important;
        -webkit-flex-direction: column !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
        -webkit-flex: none !important;
        flex: none !important;
    }
}

/* 전체 출퇴근 조회 상세 페이지 전체 화면 */
html.all-attendance-detail-page body {
    background-color: #fff;
}

html.all-attendance-detail-page #wrap.fo-member-wrap {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    background-color: #fff;
}

/* 내 출퇴근 조회 상세 페이지 전체 화면 */
html.work-check-detail-page body {
    background-color: #fff;
}

html.work-check-detail-page #wrap.fo-member-wrap {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    background-color: #fff;
}

/* 내 출퇴근 조회 페이지 전체 화면 */
html.work-check-page body {
    background-color: #fff;
}

html.work-check-page #wrap.fo-member-wrap {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    background-color: #fff;
}

/* 출퇴근 입력 페이지 - iOS 하단 배경 흰색 처리 */
.attendance-page-body {
    background-color: #fff !important;
}

body.attendance-page-body #wrap {
    background-color: #fff !important;
}

body.attendance-page-body .content {
    background-color: #fff !important;
}

body.attendance-page-body .content-inner {
    background-color: #fff !important;
}

/* common_mo.css의 미디어 쿼리 오버라이드 */
@media screen and (max-width: 1366px) {
    body.attendance-page-body #wrap {
        background: #fff !important;
        background-color: #fff !important;
    }
    
    html.attendance-page body.attendance-page-body {
        background: #fff !important;
        background-color: #fff !important;
    }
    
    html.attendance-page body.attendance-page-body .content {
        background: #fff !important;
        background-color: #fff !important;
    }
    
    html.attendance-page body.attendance-page-body .content-inner {
        background: #fff !important;
        background-color: #fff !important;
    }
}

/* iOS Safari 전용 처리 - 더 강력한 우선순위 */
@supports (-webkit-touch-callout: none) {
    /* iOS에서 body와 html 배경 강제 흰색 */
    html.attendance-page,
    html.attendance-page body.attendance-page-body {
        background-color: #fff !important;
        -webkit-background-color: #fff !important;
        background: #fff !important;
    }
    
    /* iOS에서 #wrap 배경 강제 흰색 */
    html.attendance-page body.attendance-page-body #wrap {
        background-color: #fff !important;
        -webkit-background-color: #fff !important;
        background: #fff !important;
    }
    
    /* iOS에서 .content 배경 강제 흰색 */
    html.attendance-page body.attendance-page-body .content {
        background-color: #fff !important;
        -webkit-background-color: #fff !important;
        background: #fff !important;
    }
    
    /* iOS에서 .content-inner 배경 강제 흰색 */
    html.attendance-page body.attendance-page-body .content-inner {
        background-color: #fff !important;
        -webkit-background-color: #fff !important;
        background: #fff !important;
        padding-bottom: env(safe-area-inset-bottom) !important;
        -webkit-padding-bottom: env(safe-area-inset-bottom) !important;
    }
    
    /* 하단 여백 영역도 흰색으로 */
    html.attendance-page body.attendance-page-body::after,
    html.attendance-page body.attendance-page-body::before {
        background-color: #fff !important;
        -webkit-background-color: #fff !important;
    }
    
    /* iOS에서 하단 safe area 영역도 흰색으로 */
    html.attendance-page body.attendance-page-body {
        padding-bottom: env(safe-area-inset-bottom) !important;
        -webkit-padding-bottom: env(safe-area-inset-bottom) !important;
    }
    
    /* 미디어 쿼리 내에서도 iOS 오버라이드 */
    @media screen and (max-width: 1366px) {
        html.attendance-page body.attendance-page-body #wrap {
            background: #fff !important;
            background-color: #fff !important;
            -webkit-background-color: #fff !important;
        }
        
        html.attendance-page body.attendance-page-body {
            background: #fff !important;
            background-color: #fff !important;
            -webkit-background-color: #fff !important;
        }
        
        html.attendance-page body.attendance-page-body .content {
            background: #fff !important;
            background-color: #fff !important;
            -webkit-background-color: #fff !important;
        }
        
        html.attendance-page body.attendance-page-body .content-inner {
            background: #fff !important;
            background-color: #fff !important;
            -webkit-background-color: #fff !important;
        }
    }
}

.notice-detail-title {
    font-size: 20px;
    font-weight: 600;
    color: #231F20;;
    line-height: 1.5;
    margin: 0 0 12px 0;
    word-break: break-word;
}
.notice-detail article {
    
margin-bottom: 18px;
    
padding-bottom: 10px;
    
border-bottom: 1px solid #eeeeee;
}
.notice-detail-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #999;
}

.notice-detail-date {
    color: #999;
}

.notice-detail-separator {
    color: #ccc;
}

.notice-detail-author {
    color: #999;
}

.notice-detail-content {
    font-size: 16px;
    color: #333;
    line-height: 1.0;
    margin-bottom: 24px;
    min-height: 200px;
    padding: 20px 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.notice-detail-stats {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}


.notice-detail-area {
    min-height: 300px;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    margin-top: 24px;
}
.notice-hd {  
    padding: 11px 10px;
}
.notice-hd h4 {
    font-size: 20px;
}

/* 내 프로젝트 조회 */
.project-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.project-container .search-filters {
    justify-content: flex-start;
}
.project-header {
    /* background: #f8f9fa; */
    /* border: 1px solid #e9ecef; */
    /* border-radius: 8px; */
    /* padding: 20px; */
    margin-bottom: 20px;
}

.project-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 라디오버튼 스타일 */
.filter-group.radio-group {
    display: flex;
    align-items: center;
    gap: 0;
}

.radio-group .radio-label {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-right: 0;
}

.radio-group .radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-group .radio-label span {
    display: inline-block;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #999;
    border: 1px solid #e0e0e0;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
    user-select: none;
    height: 37px;
    line-height: 21px;
    box-sizing: border-box;
}

.radio-group .radio-label:first-child span {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-right: none;
}

.radio-group .radio-label:last-child span {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-left: none;
}

.radio-group .radio-label:not(:first-child):not(:last-child) span {
    border-left: none;
    border-right: none;
}

.radio-group .radio-label input[type="radio"]:checked + span {
    background: #808080;
    color: #fff;
    border-color: #808080;
    font-weight: 600;
}

.radio-group .radio-label:hover span {
    background: #f0f0f0;
    color: #666;
}

.radio-group .radio-label input[type="radio"]:checked + span,
.radio-group .radio-label:hover input[type="radio"]:checked + span {
    background: #808080 !important;
    color: #fff !important;
}

.filter-label {
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

.filter-select {
    height: 37px;
    padding: 8px 4px;
    padding-right: 28px; /* 화살표 아이콘 공간 확보 */
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 13px;
    min-width: 65px;
    /* 아이폰 Safari 기본 스타일 제거 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* 커스텀 화살표 아이콘 추가 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    cursor: pointer;
    /* 텍스트 색상 검정색 */
    color: #000;
    text-align: center;
}

.filter-select option {
    color: #000;
    background-color: #fff;
}

.filter-select:focus {
    color: #000;
    outline: none;
}

.search-btn .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ffc107;
    color: #000;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}


.project-list {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    overflow: hidden;
}

.project-table {
    width: 100%;
    border-collapse: collapse;
}
.project-table thead tr th {
    background: #f5f5f5;
}
.project-table th {
    background: #f5f5f5;
    padding: 10px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
    color: #333;
}

.project-table th:first-child {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
}

.project-table th:last-child {
    text-align: center;
    padding-left: 15px;
    border-left: 1px solid #d0d0d0;
}
.project-table th:nth-child(5) {
    border-left: none;
}
.project-table td {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
    font-size: 14px;
    text-align: center;
}

.project-table td:first-child {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
}

.project-table td:last-child {
    text-align: left;
    padding-left: 15px;
    /* border-left: 1px solid #d0d0d0; */
}

.project-table tr:hover {
    background: #f8f9fa;
}

.project-table tr.current-project {
    background: #e3f2fd;
}

.project-table tr.current-project td {
    border-color: #e0e0e0;
    font-weight: bold;
}
.project-table tr:last-child td{
    border-bottom: none;
}
/* 내 휴가현황 테이블 */
.draft-manage-table {
    width: 100%;
    border-collapse: collapse;
}
.draft-manage-table thead tr th {
    background: #f5f5f5;
}
.draft-manage-table th {
    background: #f5f5f5;
    padding: 10px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
    color: #333;
}

.draft-manage-table th:first-child {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
}

.draft-manage-table th:last-child {
    text-align: center;
    /*padding-left: 15px;*/
    /*border-left: 1px solid #d0d0d0;*/
}
.draft-manage-table th:nth-child(5) {
    border-left: none;
}
.draft-manage-table td {
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
    font-size: 14px;
    text-align: center;
    height: 60px;
}

.draft-manage-table td:first-child {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
}

.draft-manage-table td:last-child {
    text-align: left;
    /* border-left: 1px solid #d0d0d0; */
}

.draft-manage-table tr:hover {
    background: #f8f9fa;
}

.draft-manage-table tr.current-project {
    background: #e3f2fd;
}

.draft-manage-table tr.current-project td {
    border-color: #e0e0e0;
    font-weight: bold;
}
.draft-manage-table tr:last-child td{
    border-bottom: none;
}
.vacation-table {
    width: 100%;
    border-collapse: collapse;
}
.vacation-table thead tr th {
    background: #f5f5f5;
    white-space: nowrap;
    font-size: clamp(12px, 1.5vw, 16px);
}
.vacation-table th {
    background: #f5f5f5;
    padding: 9px;
    text-align: left;
    font-weight: 500;
    color: #333;
    border: 1px solid #e0e0e0;
    text-align: center;
    color: #333;
}

.vacation-table th:first-child {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}

.vacation-table th:last-child {
    text-align: center;
}

.vacation-table td {
    padding: 9px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
    font-size: 12px;
    text-align: center;
    border: 1px solid #d0d0d0;
}

.vacation-table td:first-child {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}

.vacation-table td:last-child {
    text-align: left;
}

.vacation-table tr:hover {
    background: #f8f9fa;
}

.vacation-table tr.current-project {
    background: #e3f2fd;
}

.vacation-table tr.current-project td {
    border-color: #e0e0e0;
    font-weight: bold;
}
.vacation-table tr:last-child td{
    border-bottom: none;
}
/* 휴가코드 클릭 모달 테이블 */
.vacation-modal-table {
    width: 100%;
    border-collapse: collapse;
}
.vacation-modal-table thead tr th {
    background: #f5f5f5;
    white-space: nowrap;
    font-size: clamp(12px, 1.5vw, 16px);
}
.vacation-modal-table th {
    background: #f5f5f5;
    padding: 9px;
    text-align: left;
    font-weight: 500;
    color: #333;
    border: 1px solid #e0e0e0;
    text-align: center;
    color: #333;
}

.vacation-modal-table th:last-child {
    text-align: center;
}

.vacation-modal-table td {
    padding: 9px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
    font-size: 12px;
    text-align: center;
    border: 1px solid #d0d0d0;
}

.vacation-modal-table td:last-child {
    text-align: left;
    /* border-left: 1px solid #d0d0d0; */
}

.vacation-modal-table tr:hover {
    background: #f8f9fa;
}

.vacation-modal-table tr.current-project {
    background: #e3f2fd;
}

.vacation-modal-table tr.current-project td {
    border-color: #e0e0e0;
    font-weight: bold;
}
.vacation-modal-table tr:last-child td{
    border-bottom: none;
}
.vacation-modal-table td:nth-child(1),
.vacation-table th:nth-child(1) {
    white-space: nowrap;
    width: 90px;
}
.vacation-modal-table td:nth-child(2),
.vacation-modal-table th:nth-child(2) {
    white-space: nowrap;
    width: 55px;
}
.vacation-modal-table td:nth-child(3),
.vacation-modal-table th:nth-child(3) {
    white-space: nowrap;
    width: 60px;
    text-align: center;
}
/* 비고 */
.vacation-modal-table td:nth-child(4),
.vacation-modal-table th:nth-child(4) {
    white-space: normal;      /* 줄바꿈 허용 */
    word-break: break-word;   /* 긴 단어 강제 줄바꿈 */
}

/* 휴가일정 상세 모달 테이블 */
.vacation-plan-modal-table {
    width: 100%;
    border-collapse: collapse;
}
.vacation-plan-modal-table thead tr th {
    background: #f5f5f5;
    white-space: nowrap;
    font-size: clamp(12px, 1.5vw, 16px);
}
.vacation-plan-modal-table th {
    background: #f5f5f5;
    padding: 9px;
    text-align: left;
    font-weight: 500;
    color: #333;
    border: 1px solid #e0e0e0;
    text-align: center;
    color: #333;
}

.vacation-plan-modal-table th:last-child {
    text-align: center;
}

.vacation-plan-modal-table td {
    padding: 9px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
    font-size: 12px;
    text-align: center;
    border: 1px solid #d0d0d0;
}

.vacation-plan-modal-table td:last-child {
    text-align: left;
    /* border-left: 1px solid #d0d0d0; */
}

.vacation-plan-modal-table tr:hover {
    background: #f8f9fa;
}

.vacation-plan-modal-table tr.current-project {
    background: #e3f2fd;
}

.vacation-plan-modal-table tr.current-project td {
    border-color: #e0e0e0;
    font-weight: bold;
}
.vacation-plan-modal-table tr:last-child td{
    border-bottom: none;
}
.vacation-plan-modal-table td:nth-child(1),
.vacation-plan-table th:nth-child(1) {
    white-space: nowrap;
    width: 15px;
}
.vacation-plan-modal-table td:nth-child(2),
.vacation-plan-modal-table th:nth-child(2) {
    white-space: nowrap;
    white-space: normal;   /* 줄바꿈 허용 */
    word-break: break-word;   /* 긴 단어 강제 줄바꿈 */
}
.vacation-plan-modal-table td:nth-child(3),
.vacation-plan-modal-table th:nth-child(3) {
    white-space: nowrap;
    width: 40px;
}
.vacation-plan-modal-table td:nth-child(4),
.vacation-plan-modal-table th:nth-child(4) {
    white-space: nowrap;
    width: 35px;
}
.vacation-plan-modal-table td:nth-child(5),
.vacation-plan-modal-table th:nth-child(5) {
    white-space: nowrap;
    width: 50px;
}

.period-cell {
    /* font-family: 'Courier New', monospace; */
    font-size: 14px;
    color: #000;
    border-right: 1px solid #d0d0d0;
    padding-right: 10px;
    text-align: center;
}

.period-cell .period-start,
.period-cell .period-end {
    font-size: 14px;
    color: #000;
    line-height: 1.4;
}

.period-cell .period-separator {
    font-size: 12px;
    color: #999;
    margin: 2px 0;
    text-align: center;
}

.period-cell .period-single {
    font-size: 14px;
    color: #000;
    line-height: 1.4;
}

.project-name {
    font-weight: 500;
    color: #000;
}

.current-indicator {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 8px;
}

/* 조회된 프로젝트가 없을 때 셀 병합 및 중앙 정렬 */
.project-table td.no-data {
    text-align: center;
    vertical-align: middle;
    padding: 40px 20px;
    color: #666;
    height: 150px;
}

.no-data {
    text-align: center;
    padding: 20px;
    color: #666;
}

.no-data-icon {
    display: none;
}

/* @media (max-width: 768px) {
    .search-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        justify-content: space-between;
    }
    
    .project-table {
        font-size: 14px;
    }
    
    .project-table th,
    .project-table td {
        padding: 10px 8px;
    }
} */

/* 알림 목록 스타일 */
.alarm-list {
    background-color: #ffffff;
    width: 100%;
}

.alarm-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

.alarm-item:active {
    background-color: #f5f5f5;
}

.alarm-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}


.alarm-title {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: nowrap;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
}

.alarm-title .alarm-badge {
    flex-shrink: 0;
}

.alarm-title-text {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.alarm-title.highlight {
    text-decoration: underline;
    text-decoration-color: #ff0000;
    text-decoration-style: wavy;
}

.alarm-date {
    font-size: 13px;
    color: #999999;
    line-height: 1.4;
}

.alarm-arrow {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    flex-shrink: 0;
}

.alarm-arrow::before {
    display: none;
}

.alarm-arrow img {
    width: auto;
    height: 18px;
    transform: rotate(270deg);
    filter: brightness(0);
    object-fit: contain;
    display: block;
}

.content {
    background-color: #fff;
    padding: 0;
}

.alarm-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 9px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.alarm-badge.blue {
    background-color: #fff;
    color: #26AAE1;
}
.alarm-badge.red {
    background-color: #fff;
    color: #ff1d1d;
}
.alarm-badge.purple {
    background-color: #fff;
    color: #830094;
}
.alarm-badge.green {
    background-color: #fff;
    color: #008000;
}
.alarm-badge.sodomy {
    background-color: #fff;
    color: #001dbe;
}

/* 알림 상세 스타일 */
.alarm-detail {
padding: 20px;
background-color: #fff;
}

.alarm-detail-title {
    font-size: 20px;
    font-weight: 700;
    color: #231F20;
    margin: 0 0 12px 0;
    line-height: 1.5;
    letter-spacing: -0.5px;
    word-break: break-word;
}

.alarm-detail-date {
    font-size: 13px;
    color: #999999;
    line-height: 1.4;
    margin-bottom: 16px;
}

.alarm-detail-divider {
    height: 1px;
    background-color: #e5e5e5;
    margin: 0 0 20px 0;
}

.alarm-detail-body {
    font-size: 14px;
    color: #333333;
    line-height: 1.6;
    word-break: break-word;
    margin-bottom: 30px;
}

.alarm-body-line {
    margin-bottom: 8px;
}

.alarm-body-line:last-child {
    margin-bottom: 0;
}
.alarm-img-wrap {
    margin-top: 20px;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
}

.alarm-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.alarm-img-wrap img:hover {
    opacity: 0.9;
}

/* iOS/Android 하단 배경 하얀색 설정 */
html {
    background-color: #fff;
}

/* iOS/Android safe-area-inset-bottom 영역 배경 하얀색 설정 */
body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: env(safe-area-inset-bottom);
    background-color: #fff;
    z-index: 9999;
    pointer-events: none;
}

/* 하단 네비게이션 바 아래 영역 배경 하얀색 설정 */
.mock-bottom-bar {
    background-color: #36A9E1;
}

.mock-bottom-bar::after {
    content: '';
    position: fixed;
    bottom: -100vh;
    left: 0;
    right: 0;
    height: 100vh;
    background-color: #fff;
    z-index: -1;
    pointer-events: none;
}

/* 첨언 */
.adm-search-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: right !important;
}

.adm-search-btn {
    padding: 10px 16px;
    background: #808080;
    color: white;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 0px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
    height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
    min-width: fit-content;
}
.btnAttachFile {
    padding: 10px 16px;
    background: #808080;
    color: white;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 0px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
    height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
    min-width: fit-content;
	margin-right: 10px;
}

.btnFileDelete {
    padding: 10px 16px;
    background: #808080;
    color: white;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 0px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
    height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
    min-width: fit-content;
}
.working-section-title {
    margin: 15px 0;
    font-size: 14px;
    font-weight: 600;
}
.worktime-bar-wrap {
    position: relative;
    margin-top: 8px;
    padding-top: 20px;
    padding-bottom: 4px;
}
.worktime-bar {
    width: 100%;
    height: 22px;
    border-radius: 11px;
    background-color: #e5e5e5;
    overflow: hidden;
}
.worktime-bar__acc {
    height: 100%;
    background-color: #d8e9c0;
    float: left;
}
.worktime-bar__std {
    height: 100%;
    background-color: #f5cba5;
    float: left;
}
.worktime-bar__over {
    height: 100%;
    background-color: #f0625f;
    float: left;
}
.working-marker {
    position: absolute;
    transform: translateX(-50%);
    font-size: 11px;
    white-space: nowrap;
    text-align: center;
}
.working-marker--top {
    top: -12px;
}
.working-marker--bottom {
    bottom: -12px;
}
.marker-arrow {
    width: 0;
    height: 0;
    display: block;
    margin: 0 auto;
}
.marker-arrow--top-blue {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 7px solid #1e88e5;
    margin-bottom: 2px;
}
.marker-arrow--bottom-green {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #2e7d32;
    margin-top: 2px;
}
.marker-arrow--bottom-red {
    margin-top: 2px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 7px solid #e51e1e;
}
.manage-header {
    padding: 0 0 20px;
}
.manage-header h2 {
    text-align: center;
}
.manage-header .search-item {
    text-align: right;
    margin-bottom: 20px;
}
.manage-header .search-item button {padding: 0 27px;}
.manage-content-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.manage-content-header button {
    text-decoration: underline;
    
}
.approval-line-modal {
    min-width: 0; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center;
}
.approval-line-modal-content {
    background: #fff; border: 1px solid #888; border-radius: 8px; overflow-y: auto;
    width: min(400px, 92vw); max-width: 90%; max-height: 90vh; height: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.approval-line-table-wrapper {
overflow-y: auto;
-webkit-overflow-scrolling: touch;
width: 100%;
height: auto;
max-height: none;
}

.approval-line-table-inner-wrapper {
  padding: 12px 14px 10px;
	box-sizing: border-box;
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
/* 카드 단위 묶음 가로 나열 */
.approval-line-inner {
  display: block;
  flex-direction: row;
  gap: 12px; /* 카드 간격 */
  flex-wrap: nowrap;    /* 한 줄로 유지 */
}
/* 카드 하나 단위 */
.approval-line-card {
  display: flex;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: #fff;
}

/* 카드 내부 요소 */
.approval-line-header {
  font-weight: 600;
  background: #f5f5f5;
  border: 1px solid #ddd;
  width: 100%;
  box-sizing: border-box;
  min-height: 26px;
  height: auto;
  text-align: center;
  white-space: nowrap;
  padding: 4px 6px;
  font-size: 13px;
}

.approval-line-th {
    font-weight: 600;
    background: #f5f5f5;
    border: 1px solid #ddd;
    white-space: nowrap;
    text-align: center;
    flex: 0 0 22%;
    max-width: 20%;
    min-width: 0;
    padding: 4px 6px;
	font-size: 13px;
}
.approval-line-td {
    white-space: nowrap;
    text-align: center;
    min-width: 0;
    padding: 4px 6px;
	font-size: 13px;
}
/* 이름 · 날짜 열: 비율 기준(화면 너비에 따라 축소) */
.approval-line-card > .approval-line-td:nth-child(2) {
    flex: 1 1 40%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.approval-line-card > .approval-line-td:nth-child(3) {
    flex: 0 0 40%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skip {
  position: relative;
  overflow: hidden;
}
.skip::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background: linear-gradient(
    to bottom right,
	transparent 50%,  /* 투명 부분 */
	    #ddd 50%,         /* 회색 시작 */
	    #ddd 55%,         /* 회색 끝 */
	    transparent 55%   /* 다시 투명 */
  );
  pointer-events: none; /* 클릭 방해 안 함 */
}
.reject {
	font-weight: 600;
	color: #e51e1e;
	font-size: 14px;
}
.approval-line-card > .approval-line-td {
  border: 1px solid #ddd;
  text-align: center;
  white-space: nowrap;
}
.approval-line-table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    border: 1px solid #ddd;
    margin: 0;
    table-layout: fixed;
}
.approval-line-table th, .approval-line-table td {
    height: auto;
    min-height: 26px;
    border: 1px solid #ddd;
    padding: 6px 8px;
    text-align: center;
    font-size: 13px;
    white-space: normal;
    word-break: break-word;
    vertical-align: middle;
    box-sizing: border-box;
}
.approval-line-table th { background: #f5f5f5; font-weight: 600; }

.approval-line-table .approval-line-label { background: #f0f0f0; font-weight: 600; }

/* 참조자: 첫 열 너비를 결재·합의 .approval-line-th(22%)와 동일하게 */
.approval-line-referrer { margin-top: 6px; margin-bottom: 0; font-size: 13px; width: 100%; }
.approval-line-referrer th {
    width: 22%;
    padding: 4px 6px;
    font-weight: 600;
}
.approval-line-referrer td {
    width: 78%;
}

.approval-line-modal-footer { text-align: right; margin-top: 8px; flex-shrink: 0; }
.btn-close-modal {
    padding: 8px 20px; background: #6c757d; color: #fff; border: none; border-radius: 4px;
    cursor: pointer; font-size: 14px;
}
.approvalHeader {
    width: 50px !important;
}

.approvalLineBody {
    height: 30px;
	width: 35%;
}
.approvalLineHead {
    height: 15px;
}
.btn-close-modal:hover { background: #5a6268; }
.working-manage-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    overflow-wrap: break-word;
}
.working-manage-table.w-50 {
    width: 50%;
}
.working-manage-table tr {
    border: 1px solid #e0e0e0;
}
.working-manage-table tr th {
    background: #f5f5f5;
}
.working-manage-table th {
    background: #f5f5f5;
    padding: 10px 6px;
    text-align: center;
    font-weight: 600;
    color: #333;
    text-align: center;
    color: #333;
    font-size: 14px;
    font-weight: 400;
}
.working-manage-table th:first-child {
    width: 30%;
    min-width: 20%;
}
.working-manage-table td {
    padding: 10px 10px;
    font-size: 13px;
    padding: 10px 10px;
}
.working-manage-table.center td{
    text-align: center;
}


.vct-manage-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    overflow-wrap: break-word;
}
.vct-manage-table.w-50 {
    width: 50%;
}
.vct-manage-table tr {
    border: 1px solid #e0e0e0;
}
.vct-manage-table tr th {
    background: #f5f5f5;
}
.vct-manage-table td {
    overflow-wrap: break-word;
    padding: 10px 10px;
    font-size: 13px;
}
.vct-manage-table.center td{
    text-align: center;
}
.vct-manage-table th {
    background: #f5f5f5;
    padding: 10px 10px;
    text-align: left;
    font-weight: 600;
    color: #333;
    text-align: center;
    color: #333;
    font-size: 14px;
    font-weight: 400;
}
.vct-manage-table th:first-child {
    width: 90px;
    min-width: 5%;
	overflow-wrap: break-word;
}

.vct-manage-table  th:nth-child(2) {
    width: 25%;
    min-width: 25%;
}

.vct-manage-table  th:nth-child(3) {
    width: 50px;
    min-width: 50px;
}

.vct-manage-table.center td{
    text-align: center;
}

.vctCnts {
    text-align: left !important;
    overflow-wrap: break-word;
}
.rqsUsrNm{
    width: 60%;
    min-width: 50%;
}

.before-cell {
    background-color: #f5f5f5;
    pointer-events: none;
}

.draft-item {
    min-width: 0 !important;
    box-sizing: border-box !important;
    width: auto !important;
    display: flex;
    flex-direction: row;
    justify-content: right;
    gap: 5px;
}
.draft-select-item {
    min-width: 0 !important;
    box-sizing: border-box !important;
    width: auto !important;
    display: flex;
    flex-direction: row;
    justify-content: right;
    gap: 5px;
}
.draft-select {
    width: 30%;
    height: 37px;
    padding: 6px 8px;
    padding-right: 28px; /* 화살표 아이콘 공간 확보 */
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 12px;
    /* 아이폰 Safari 기본 스타일 제거 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* 커스텀 화살표 아이콘 추가 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    cursor: pointer;
    /* 텍스트 색상 검정색 */
    color: #000;
    text-align: center !important;
    -webkit-text-align: center !important;
    text-align-last: center !important;
    -webkit-text-align-last: center !important;
    direction: ltr !important;
    -webkit-text-align: center !important;
    -moz-text-align: center !important;
    -ms-text-align: center !important;
}
.draft-attachment-list {
    list-style: none;
    margin: 0;
    padding: 3px;
}

.draft-attachment-item {
    margin-bottom: 12px;
}

.date-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    appearance: auto;
    -webkit-appearance: checkbox;
}

.adm-info-table{
    border-top:1px solid #ddd;
    margin-bottom: 20px;
}

.adm-info-row{
    display:flex;
	flex-wrap: flex-start; /* 줄바꿈 허용 */
    border-bottom:1px solid #eee;
}

.adm-info-title{
    width:80px;
    background:#f5f5f5;
    padding:12px;
    font-size:14px;
    font-weight:500;
	flex-shrink:0;      /* 제목 너비 고정 */
}

.adm-file-info-value{
    padding:8px 12px;
    font-size:14px;
    background:#f9f9f9;
    border:1px solid #e0e0e0;
    display:flex;
    flex-wrap:wrap;         /* 내부 내용 줄바꿈 */
    align-items:center;     /* checkbox, text 수평 정렬 */
}

.adm-info-value{
    flex:1;
    padding:12px;
    font-size:14px;
}


.adm-info-value textarea {
  width: 100%;          /* 텍스트영역 전체 너비 */
  height: 120px;        /* 높이 원하는 만큼 조절 */
  resize: vertical;     /* 사용자가 세로 크기 조절 가능 */
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: inherit;
  word-wrap: break-word;     /* 단어 단위 줄바꿈 허용 */
  overflow-wrap: break-word; /* 긴 단어도 줄바꿈 */
}

.adm-info-values {           /* value들을 감싸는 wrapper */
    flex: 1;                 /* 오른쪽 컬럼 채우기 */
    display: flex;
    flex-direction: column;  /* value들을 세로로 배치 */
}

#mainTitle{
    font-size: 25px;
}