/* 모든 링크에 대한 전역 스타일 */
a, a:hover, a:visited, a:focus {
    text-decoration: none !important;
    outline: none;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    justify-content: center;
}

/* 회원가입 페이지 전용 스타일 */
.signup-form {
    padding: 20px 0;
}

.signup-form .form-group {
    margin-bottom: 20px;
}

.signup-form .form-input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
    color: #333;
    background: transparent;
}

.signup-form .form-input::placeholder {
    color: #999;
}

.signup-form .form-label {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.signup-form .form-label.required::after {
    content: "*";
    color: #ff4b4b;
    margin-left: 4px;
}

.terms-agreement {
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.signup-buttons {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.submit-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.kakao-signup {
    background: #405AA8;
    color: white;
}

.normal-signup {
    background: white;
    border: 1px solid #405AA8;
    color: #405AA8;
}

.kakao-signup:hover {
    background: #374D91;
}

.normal-signup:hover {
    background: #f8f8f8;
}

/* 에러 메시지 스타일 */
.error-message {
    color: #ff4b4b;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-input.error {
    border-color: #ff4b4b;
}

/* 반응형 조정 */
@media screen and (max-width: 320px) {
    .signup-form {
        padding: 15px 0;
    }

    .submit-button {
        font-size: 14px;
        padding: 12px;
    }
}

.terms-item {
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
}

.terms-item:last-child {
    border-bottom: none;
}

.terms-item label {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    margin: 0;
    cursor: pointer;
}

.terms-item a {
    color: #666;
    text-decoration: none;
}

.terms-item a:hover {
    color: #1e87f0;
}

.uk-modal-dialog.bottom-sheet {
    margin: 0;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px;
    background: white;
    border-radius: 20px 20px 0 0;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.uk-modal {
    background: rgba(0, 0, 0, 0.5);
}

.uk-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
}

#agreeButton {
    border-radius: 8px;
    padding: 12px;
    font-weight: 500;
}

.uk-button-link {
    color: #666;
    font-size: 14px;
}

.uk-checkbox {
    border-radius: 4px;
}

.uk-checkbox:checked {
    background-color: #1e87f0;
    border-color: #1e87f0;
}

@media (min-width: 640px) {
    .uk-modal-dialog.bottom-sheet {
        max-width: 500px;
        left: 50%;
        transform: translateX(-50%);
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
}

/* 스타일 추가 */
.uk-checkbox {
    transition: all 0.2s ease-in-out;
}

.uk-width-auto {
    transition: transform 0.2s ease-in-out;
}

#agreeButton:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.term-checkbox:checked {
    background-color: #405AA8;
    border-color: #405AA8;
}

.uk-checkbox:checked {
    background-color: #405AA8;
    border-color: #405AA8;
}


/* 회원가입 페이지끝  */


.page-wrapper {
    width: 100%;
    max-width: 500px;
    /* min-height: 100vh; */
    background: #fff;
    position: relative;
}

/* 모바일 컨테이너 스타일 */
.mobile-container {
    width: 100%;
    background: white;
    /* min-height: 100vh; */
    position: relative;
    padding-bottom: 60px;
}

@media (min-width: 768px) {
    body {
        background-color: #f0f0f0;
    }
    
    .mobile-container {
        margin: 0 auto;
    }

    .top-bar {
        max-width: 500px;
        margin: 0 auto;
    }

    .bottom-nav {
        max-width: 500px;
        left: 50%;
        transform: translateX(-50%);
    }
}

.top-bar {
    background: white;
    padding: 20px;
    /* border-bottom: 1px solid #eee; */
    position: relative;
    margin-top: 55px;
}

.top-bar h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.back-button-container {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    height: 55px;
    background: white;
    z-index: 999;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.back-button {
    color: #333;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
}

@media (min-width: 768px) {
    .back-button-container {
        border-radius: 12px 12px 0 0;
    }
}

.service-stats {
    background: #f3f4f6;
    padding: 10px;
    margin: 10px 0;
    display: flex;
    justify-content: space-around;
    text-align: center;
    border-radius: 10px;
}

.stat-item span {
    display: block;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.stat-value {
    font-weight: bold;
    margin-top: 5px;
}

.stat-value.highlight {
    color: #ff4b4b;
}

.menu-section {
    background: white;
    margin: 10px 0;
    padding: 15px;
    background: white;
    margin: 10px -15px;
    border-radius: 0;
    border-top: 8px solid #f7f7f7;
}

.menu-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.menu-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.menu-title {
    font-size: 18px;
    font-weight: bold;
}

.menu-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-item-link:hover {
    background-color: #f5f5f5;
    transform: translateX(5px);
}

.menu-item-link:hover .menu-item-title {
    color: #3e3e3e;
}

.menu-item-link:active {
    background-color: #eeeeee;
    transform: translateX(3px);
}

.menu-item-title {
    font-weight: 500;
}

.menu-item-desc {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.nav-item {
    text-align: center;
    color: #666;
    text-decoration: none;
    font-size: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: #ff4b4b;
}

.nav-item:hover span[uk-icon] {
    transform: translateY(-2px);
}

.nav-item span[uk-icon] {
    transition: transform 0.3s ease;
}

.nav-item span {
    display: block;
    margin-top: 5px;
}

/* 공통 스타일 */
:root {
    --mobile-width: 500px;
}

.mobile-container {
    max-width: var(--mobile-width);
    margin: 0 auto;
    position: relative;
    background: #fff;
    min-height: 100vh;
}

/* 폼 스타일 */
.form-container {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
    padding: 0 20px;
}

.form-input-container {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #f8f9fa;
}


.form-input::placeholder {
    color: #999;
}

.form-input:focus {
    outline: none;
    border-color: #405AA8;
    background: #fff;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.form-label.required::after {
    content: "*";
    color: #ff4b4b;
    margin-left: 4px;
}

.form-desc {
    font-size: 13px;
    color: #666;
    margin: 20px;
    line-height: 1.5;
    background: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
}

.form-button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.button-primary {
    background-color: #405AA8;
    color: white;
}

.button-primary:hover {
    background-color: #374D91;
}

.button-secondary {
    background-color: #f8f8f8;
    color: #333;
    border: 1px solid #e5e5e5;
}

.button-secondary:hover {
    background-color: #f0f0f0;
}

.terms-check {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 8px;
}

.terms-text {
    font-size: 14px;
    color: #333;
    margin-left: 8px;
}

/* UIkit 체크박스 커스텀 */
.uk-checkbox {
    border-radius: 50%;
    transition: all 0.3s ease;
}

.uk-checkbox:checked {
    background-color: #405AA8;
    border-color: #405AA8;
}

/* 기본 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 헤더 고정 */
.header-fixed {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    height: 48px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 15px;
    z-index: 1000;
}

/* 페이지 헤더 */
.page-header {
    padding: 20px 15px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #FFA000;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
}

/* 비즈니스 정보 */
.business-info {
    padding: 20px 15px;
}

.current-business {
    margin-bottom: 20px;
}

.pin-marker {
    font-size: 20px;
    margin-bottom: 8px;
}

.business-status {
    color: #666;
    font-size: 14px;
    margin-bottom: 4px;
}

.business-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* 정보 리스트 */
.info-list {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.info-label {
    color: #666;
    font-size: 14px;
}

.info-value {
    color: #333;
    font-size: 14px;
}

/* 액션 버튼 */
.action-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.action-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #5c5c5c;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #f8f8f8;
    color: #333;
}

.action-btn.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.action-btn.active:hover {
    background: #0056b3;
    color: #fff;
}

/* 도움말 박스 */
.help-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.help-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-icon {
    color: #FFA000;
    font-weight: bold;
}

.help-text {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.chevron-icon {
    color: #666;
    transition: transform 0.3s ease;
}

.help-answer {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.help-box.active .help-answer {
    display: block;
}

.help-box:hover {
    background: #f0f0f0;
}

/* 하단 네비게이션 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 8px 0;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    gap: 4px;
}

.nav-item span[uk-icon] {
    width: 20px;
    height: 20px;
}

/* 반응형 처리 */
@media (max-width: 500px) {
    .page-wrapper,
    .mobile-container,
    .back-button-container,
    .fixed-bottom {
        width: 100%;
    }
}

/* 기존 CSS에 추가할 스타일 */
.status-tag {
    color: #4CAF50;
    font-size: 16px;
    margin-left: auto;
}

.verify-btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    color: #666;
    margin-left: 8px;
}

/* 날짜 입력 필드 스타일 */
.date-input {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    gap: 8px;
    color: #666;
}

.date-input input[type="date"] {
    border: none;
    background: transparent;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    flex: 1;
    padding: 0;
}

.date-input input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.calendar-icon {
    font-size: 16px;
}

.arrow-down {
    color: #666;
    font-size: 12px;
}

.reset-btn {
    /* padding: 4px 8px; */
    border: none;
    background: none;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    width: 68px;
}

.tax-options {
    display: flex;
    gap: 8px;
}

.tax-btn {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    color: #666;
}

.tax-btn.active {
    background: #4CAF50;
    color: #fff;
    border-color: #4CAF50;
}

.radio-group {
    margin-top: 16px;
}

.radio-options {
    display: flex;
    gap: 24px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.address-inputs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group {
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.info-label {
    display: block;
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.info-value {
    color: #333;
    font-size: 14px;
}

/* UIkit 데이트피커 커스텀 스타일 */
.uk-datepicker {
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.uk-datepicker-table {
    font-size: 14px;
}

.uk-datepicker-table a {
    border-radius: 4px;
    color: #333;
}

.uk-datepicker-table a.uk-active {
    background: #007bff;
    color: #fff;
}

.uk-datepicker-table a:hover {
    background: #e8e8e8;
}

/* 주소 입력 관련 스타일 수정 */
.address-inputs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.postcode-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.postcode-row .form-input {
    flex: 1;
    max-width: 120px; /* 우편번호 입력창 너비 제한 */
}

.verify-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.form-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #f8f9fa;
}

.form-input::placeholder {
    color: #999;
}

.form-input:focus {
    outline: none;
    border-color: #405AA8;
    background: #fff;
}

.form-input[readonly] {
    background: #f8f9fa;
    cursor: default;
}

/* 저장 버튼 스타일 */
.save-button {
    color: #4CAF50;
    font-size: 16px;
    cursor: pointer;
}

/* 하단 네비게이션 수정 */
.fixed-bottom {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    background: white;
    border-top: 1px solid #eee;
    z-index: 1000;
}

/* 헤더 오른쪽 영역 스타일 */
.header-right {
    margin-left: auto;
}

/* 멤버관리 페이지 추가 스타일 */
.company-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.invite-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
}

.member-list {
    padding: 15px;
}

.member-item {
    margin-bottom: 15px;
}

.member-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.profile-image {
    width: 48px;
    height: 48px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.profile-tag {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff4b4b;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    white-space: nowrap;
}

.member-info {
    flex: 1;
}

.member-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.member-desc {
    font-size: 13px;
    color: #666;
}

.faq-section {
    padding: 15px;
}

.faq-item {
    margin-bottom: 10px;
}

/* 기존 help-box 스타일 재사용 */

/* 초대하기 페이지 추가 스타일 */
.invite-form {
    padding: 20px 15px;
}

.form-label.required::after {
    content: " *";
    color: #ff4b4b;
}

.form-button-container {
    margin: 30px 0;
}

.invite-submit-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    background: #405AA8;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.invite-submit-btn:hover {
    background: #374D91;
}

/* 폼 입력 필드 스타일 수정 */
.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    margin-top: 8px;
}

.form-input::placeholder {
    color: #999;
}

.form-input:focus {
    outline: none;
    border-color: #405AA8;
}

/* content-section에 하단 패딩 추가 */
.content-section {
    padding-bottom: 20px; /* 하단 여백 추가 */
}

/* 푸터 스타일 수정 */
.footer {
    padding: 20px 15px 20px;
    background: #f8f8f8;
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 20px;
    word-break: keep-all;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.footer-info {
    margin: 15px 0;
}

.info-row {
    margin: 8px 0;
    line-height: 1.5;
    color: #666;
}

.divider {
    color: #ddd;
    margin: 0 8px;
    display: inline-block;
}

.footer-copyright {
    color: #999;
    font-size: 11px;
    margin-top: 15px;
}

/* 모바일 최적화 */
@media screen and (max-width: 320px) {
    .footer {
        padding: 15px 10px 15px;
    }
    
    .info-row {
        font-size: 11px;
    }
    
    .divider {
        margin: 0 4px;
    }
}

/* 데이터 연동 페이지 스타일 */

.hometax-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.sync-category {
    background: white;
    margin-bottom: 10px;
}

.category-header {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.category-icon {
    /* width: 25px; */
    height: 25px;
    margin-right: 10px;
}

.category-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.sync-item {
    border-bottom: 1px solid #f5f5f5;
}

.sync-item:last-child {
    border-bottom: none;
}

.sync-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.sync-link:hover {
    background-color: #f8f8f8;
}

.chevron-right {
    color: #999;
    font-size: 16px;
}

/* 카테고리별 아이콘 색상 */
.sync-category:nth-child(1) .category-icon {
    color: #4CAF50; /* 홈택스 - 초록색 */
}

.sync-category:nth-child(2) .category-icon {
    color: #F44336; /* 카드매출 - 빨간색 */
}

.sync-category:nth-child(3) .category-icon {
    color: #FF9800; /* 배달앱 - 주황색 */
}

.sync-category:nth-child(4) .category-icon {
    color: #2196F3; /* PG사 - 파란색 */
}

/* 로그인 페이지 스타일 */
.login-container {
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-area {
    margin-bottom: 40px;
    text-align: center;
}

.logo-image {
    width: 120px;
    height: auto;
}

.login-form {
    width: 100%;
    max-width: 400px;
}

.input-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.login-form .form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
}

.login-form .form-input:focus {
    border-color: #405AA8;
    box-shadow: 0 0 0 2px rgba(64, 90, 168, 0.1);
}

.auto-login-check {
    margin: 15px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.login-button {
    width: 100%;
    padding: 15px;
    background: #405AA8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background: #374D91;
}

.login-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.login-links a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.login-links .divider {
    color: #ddd;
}

.social-login {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-button img {
    width: 20px;
    height: 20px;
}

.social-button.kakao {
    background: #FEE500;
    color: #000;
}

.social-button.naver {
    background: #03C75A;
    color: #fff;
}

/* 반응형 조정 */
@media screen and (max-width: 320px) {
    .login-container {
        padding: 30px 15px;
    }

    .login-links {
        font-size: 13px;
        gap: 10px;
    }

    .social-button {
        font-size: 14px;
    }
}

/* 입력 필드 아이콘 스타일 */
.input-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.input-icon span[uk-icon] {
    width: 18px;
    height: 18px;
}

.form-input.with-icon {
    padding-left: 45px; /* 아이콘 공간 확보 */
}

/* 포커스 시 아이콘 색상 변경 */
.input-wrapper:focus-within .input-icon {
    color: #405AA8;
}

/* 아이디/비밀번호 찾기 페이지 스타일 */
.auth-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.auth-tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    background: none;
    border: none;
    color: #666;
    font-size: 15px;
    cursor: pointer;
    position: relative;
}

.auth-tab.active {
    color: #405AA8;
    font-weight: 500;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #405AA8;
}

.find-form {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.verify-btn {
    /* position: absolute; */
    right: 10px;
    padding: 8px 12px;
    background: #405AA8;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    top: 11px;
}
.verify-btn1 {
    position: absolute;
    right: 10px;
    padding: 8px 12px;
    background: #405AA8;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    top: 11px;
}
.timer {
    position: absolute;
    right: 15px;
    color: #ff4b4b;
    font-size: 14px;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: #405AA8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
}

.submit-button:hover {
    background: #405AA8;
}


/* 메인페이지 스타일 */
.fixed-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    background: white;
    z-index: 1000;
    border-bottom: 1px solid #eee;
    height: 55px; /* 높이 고정 */
    z-index: 999;
}




/* MAIN 페이지 스타일 */

.main-logo-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    height: 100%;
    position: relative;
}

.logo {
    height: 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-icons {
    display: flex;
    gap: 12px;
    margin-left: auto;
}

.header-icons a {
    color: #333;
    font-size: 18px;
}

/* 컨텐츠 영역 수정 */
.page-content {
    margin-top: 50px; /* 헤더 높이만큼만 마진 */
    padding: 0 15px;
}

.date-info {
    font-size: 14px;
    color: #666;
    padding: 15px 0;
    text-align: right;
}

.user-greeting {
    margin-bottom: 20px;
}

.user-greeting h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.sub-text {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.time-text {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 3px;
}

/* 공지 박스 */
.notice-box {
    background: #405AA8;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.notice-content {
    display: flex;
    align-items: center;
    color: white;
    gap: 10px;
}

.notice-text {
    flex: 1;
    font-size: 14px;
}

.notice-plus {
    font-size: 20px;
    font-weight: 300;
}

/* 탭 컨테이너 */
.tab-container {
    /* margin: 0 -15px; */
    padding: 5px 15px;
}

.tab-menu {
    display: flex;
    justify-content: space-between;
    background: #ebebeb;
    border-radius: 8px;
    padding: 3px;
    border: 1px solid #eee;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.tab-item.active {
    color: white;
    background: #405AA8;
    font-weight: 500;
}

.tab-item.active::after {
    display: none;
}

.tab-text {
    display: block;
    padding: 0 5px;
    font-weight: 500;
}

/* 기간 선택 */
.period-container {
    background: white;
    margin: 0 -15px;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.period-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.period-left, .period-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.period-date, .period-number {
    color: #405AA8;
    font-weight: 500;
}

.arrow-down {
    color: #666;
    font-size: 12px;
}

/* 섹션 컨테이너 */
.section-container {
    background: white;
    margin: 10px -15px;
    border-radius: 0;
    border-top: 8px solid #f7f7f7;
    padding: 15px;
}

.section-container:first-of-type {
    border-top: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.section-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-right: 8px;
}

.section-period {
    font-size: 12px;
    color: #666;
}

.period-button {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 12px;
    color: #666;
    margin-left: 8px;
}

/* 금융 리스트 */
.finance-list {
    /* padding: 0 15px; */
    background: white;
}

.finance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    /* border-bottom: 1px solid #eee; */
}

.finance-item:last-child {
 border-bottom: none; 
}

.item-label {
    color: #333;
    font-size: 14px;
}

.item-right {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 120px;
    justify-content: flex-end;
    position: relative;
}

.item-amount {
    color: #333;
    font-size: 14px;
    text-align: right;
    min-width: 100px;
    /* margin-right: 20px; */
}

.total {
    margin-right: 25px;
    border-top: 1px solid #eee;
    /* background: #f8f9fa;
    margin: 0 -15px;
    padding: 12px 15px; */
}

.scheduled{margin-right: 25px;}
.total .item-amount {
    /* color: #405AA8;
    font-weight: 700; */
   
}

/* 섹션별 아이콘 색상 */
.section-icon.coin [class*='uk-icon'] {
    color: #FFA000;
}

.section-icon.money [class*='uk-icon'] {
    color: #4CAF50;
}

.section-icon.warning [class*='uk-icon'] {
    color: #F44336;
}

@media (max-width: 500px) {
    .fixed-header,
    .tab-container,
    .period-container,
     {
        width: 100%;
    }
}

.back-button span[uk-icon="icon: chevron-right"] {
    width: 16px;
    text-align: center;
    position: absolute;
    right: 0;
    top: 3px;
}

a, a:hover, a:visited, a:focus {
    text-decoration: none !important;
    outline: none;
    color: inherit; /* 링크 색상을 상속받도록 설정 */
}

/* 추가: 매출 공급가 총계 스타일 */
.summary-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 5px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: left;
}

.summary-value {
    font-size: 18px;
    font-weight: bold;
    color: #4CAF50;
    text-align: right;
}

.summary-desc {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    margin-bottom: 20px;
}

.date-range {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

    /* 추가: 드롭다운 스타일 */
    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 80px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        left: -30px; 
        text-align: center;
        border-radius: 8px;
    }

    .dropdown-content a {
        color: black;
        padding: 8px 12px;
        text-decoration: none;
        display: block;
    }

    .dropdown-content a:hover {
        background-color: #f1f1f1;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown:hover .arrow-down {
        transform: rotate(180deg);
    }
/* 계산서 페이지 스타일 */
.finance-item-custom {
    display: block;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}
.finance-item-custom:last-child {
    border-bottom: none;
}
.amount-value {
    /* font-weight: bold; */
}
.tax-bill-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.tax-bill-table th, .tax-bill-table td {
    border: none;
    padding: 8px;
    text-align: right;
    font-size: 12px;
}
.tax-bill-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}
.tax-bill-table td {
    background-color: #fff;
}
.tax-bill-table td:first-child, .tax-bill-table td:nth-child(2) {
    text-align: left;
}
.tax-bill-table th:first-child, .tax-bill-table th:nth-child(2) {
    text-align: left;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

/* 온라인매출페이지 스타일 */
.year-select {
    background-color: #f5f5f5;
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    max-width: 150px;
    margin: 10px 0;
}

.year-select:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.year-select {
    width: 100%;
    max-width: none;
}

.monthly-sales-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.monthly-sales-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.monthly-amount-value {
    text-align: right;
    width: 100px;
}



/* 인사관리 페이지 스타일 */
.register-btn {
    float: right;
    background-color: #28a745;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.search-container {
    margin: 20px 0;
}

.search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.employee-tab-container {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.employee-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background-color: #f8f9fa;
    cursor: pointer;
    font-size: 14px;
}

.employee-tab.active {
    border-bottom: 2px solid #007bff;
}

.employee-list {
    margin-top: 20px;
}

.employee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.employee-info {
    display: flex;
    flex-direction: column;
}

.employee-name {
    font-weight: bold;
}

.employee-position, .employee-family {
    font-size: 12px;
    color: #666;
}

.employee-salary {
    display: flex;
    align-items: center;
}

.salary-amount {
    margin-right: 10px;
    font-weight: bold;
}

.edit-btn {
    background-color: #6f42c1;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

/* 증빙자료 페이지 스타일 */
/* 탭 메뉴 스타일 */
.custom-tab-menu {
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    border-bottom: 1px solid #eee;
    background: white;
}

.custom-tab-item {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    position: relative;
}

.custom-tab-item.active {
    color: #405AA8;
    font-weight: 500;
}

.custom-tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #405AA8;
}

/* 필터 섹션 스타일 */
.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
}

.date-input {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 10px 0;
}

.date-input input {
    border: none;
    background: transparent;
    flex: 1;
    font-size: 14px;
    color: #333;
    padding: 0 10px;
}

.calendar-icon {
    margin-right: 5px;
}

.arrow-down {
    color: #666;
}

/* 데이터 없음 메시지 스타일 */
.no-data-message {
    text-align: center;
    padding: 40px 0;
    color: #666;
    font-size: 14px;
}

.sync-item{padding: 5px 15px;}


/* 버튼 스타일 */
.form-button-container {
    padding: 0 15px;
    margin: 20px 0;
}



/* 급여관리 페이지 스타일 */
.employee-type-content {
    display: none;
}

.employee-type {
    display: block;
    justify-content: space-around;
    padding: 10px 0;
    margin-left: 20px;
}
.employee-type-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #ddd;
    cursor: pointer;
}
.employee-type-btn.active {
    background-color: #405AA8;
    color: white;
}

.employee-type-content {
display: none;
}
#일반근로자 {
display: block;
}

/* 예금잔액 페이지 스타일 */
.bank-logo {
    width: 50px;
    height: 50px;
    margin-right: 8px;
}


/* 장부페이지 공통 CSS */

.ledger-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.ledger-table th, .ledger-table td {
    padding: 6px;
    text-align: right;
}
.ledger-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    font-size: 14px;
}
.ledger-table td {
    background-color: #fff;
    font-size: 14px;
}
.ledger-table th:first-child, .ledger-table td:first-child {
    text-align: left;
}
.ledger-small-text {
    font-size: 13px;
}

.ledger-category-buttons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}
.ledger-category-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #f0f0f0;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}
.ledger-category-button.active {
    background-color: #333;
    color: #fff;
}

/* .ledger-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.ledger-table th, .ledger-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.ledger-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}
.ledger-table td {
    background-color: #fff;
} */
.ledger-type-buy {
    color: #1976d2;

}
.ledger-type-sell {
    color: #e53935; 
}

/* 캘린더 페이지 스타일 */
.calendar-header-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px 0;
}
.year-month-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: bold;
}
.year-nav {
    font-size: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
}
.month-select-label {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.month-dropdown {
    padding: 6px 24px 6px 10px;
    font-size: 15px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #fff;
    appearance: none;
}
.dropdown-icon {
    position: absolute;
    right: 10px;
    pointer-events: none;
    font-size: 12px;
    color: #666;
}
.weekdays-line {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    text-align: center;
    margin-bottom: 8px;
}
.weekdays-line div {
    flex: 1;
    text-align: center;
}
.calendar-grid {
    display: flex;
    flex-wrap: wrap;
}
.calendar-day {
    width: 14.28%;
    box-sizing: border-box;
    padding: 8px 0;
    text-align: center;
    cursor: pointer;
    position: relative;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.calendar-day .day-number {
    width: 28px;
    height: 28px;
    line-height: 28px;
    margin-bottom: 4px;
    border-radius: 50%;
}
.calendar-day.selected .day-number {
    background-color: #2e7d32;
    color: white;
}
.calendar-day .payment-info {
    font-size: 10px;
    color: #1976d2;
}
.calendar-day .sales-info {
    font-size: 10px;
    color: #e53935;
}
.calendar-info-box {
    margin-top: 16px;
    padding: 10px;
    /* border-top: 1px solid #ccc; */
}
.calendar-info-box .info-date {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 15px;
}
.calendar-info-box .info-amounts div {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 15px;
}

.info-amounts {
    border-top: 1px solid #ccc;
}
#info-payment { color: #1976d2; font-weight: bold; }
#info-sales { color: #e53935; font-weight: bold; }


    /* [추가] 공지사항 페이지 스타일 */
    .notice-search-container {
        margin-bottom: 20px;
        position: relative;
    }
    .notice-search-input {
        width: 100%;
        padding: 10px;
        padding-left: 40px;
        box-sizing: border-box;
        border: 1px solid #f3f4f6;
        border-radius: 15px;
        height: 44px;
        background-color: #f3f4f6;
    }
    .notice-search-icon {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #aaa;
    }
    .notice-card-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
        margin-bottom: 10px;
        text-decoration: none;
        color: inherit;
    }
    .notice-card-date {
        margin: 0;
        font-size: 14px;
        color: #666;
    }
    .notice-card-title {
        margin: 0;
        font-size: 16px;
        font-weight: bold;
    }
    .notice-chevron-right {
        font-size: 18px;
        color: #aaa;
    }    /* [추가] 공지사항 보기 페이지 스타일 */
    .notice-view-container {
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    .notice-view-date {
        margin: 0 0 10px 0;
        font-size: 14px;
        color: #666;
    }
    .notice-view-title {
        margin: 0 0 20px 0;
        font-size: 20px;
        font-weight: bold;
    }
    .notice-view-content p {
        margin: 0 0 10px 0;
        line-height: 1.6;
    }
    .notice-view-content ul {
        margin: 0 0 10px 20px;
        padding: 0;
    }
    .notice-view-content li {
        margin-bottom: 5px;
    }

    /* 증빙자료등록페이지 스타일 */
    .evidence-list {
        padding: 10px 15px;
    }
    
    /* 전체 거래항목 */
    .evidence-item {
        margin-bottom: 20px;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
    }
    
    /* 분류 (윗줄) */
    .evidence-type {
        font-size: 12px;
        color: #405aa8;
        margin-bottom: 8px;
        font-weight: 900;
    }
    
    /* 썸네일, 거래처정보 묶음 */
    .evidence-content {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    /* 왼쪽: 썸네일 + 거래처정보 */
    .evidence-left {
        display: flex;
        gap: 10px;
        flex: 1;
    }
    
    /* 썸네일 */
    .evidence-thumb img {
        width: 70px;
        height: 70px;
        object-fit: cover;
        border-radius: 8px;
        background-color: #f5f5f5;
    }
    
    /* 거래처, 사업자번호, 사용목적 */
    .evidence-info {
        display: flex;
        flex-direction: column;
        font-size: 13px;
        color: #333;
    }
    
    .evidence-client {
        font-weight: 600;
        margin-bottom: 2px;
    }
    .evidence-bizno,
    .evidence-purpose {
        font-size: 12px;
        color: #666;
    }
    
    /* 오른쪽: 금액, 날짜 */
    .evidence-right {
        text-align: right;
        min-width: 100px;
    }
    
    .evidence-amount {
        font-size: 16px;
        font-weight: bold;
        color: #333;
        margin-bottom: 5px;
    }
    
    .evidence-date {
        font-size: 12px;
        color: #999;
    }

    /* 증빙자료등록페이지 스타일 */
    .evidence-upload-type {
        margin: 20px 0;
        text-align: center;
    }
    .evidence-upload-type-select {
        width: 100%;
        max-width: 400px;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 16px;
        background-color: #f9f9f9;
        cursor: pointer;
    }

    .custom-upload-wrapper {
        display: none;
        padding: 20px;
        border-top: 1px solid #eee;
    }

    .custom-form-group {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }
    .custom-form-label {
        flex: 1;
        font-size: 15px;
        font-weight: 500;
        color: #333;
    }
    .custom-form-input {
        flex: 2;
    }

    .upload-area {
        width: 100%;
        height: 160px;
        border: 1px solid #ccc;
        background-color: #f5f5f5;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        margin-bottom: 20px;
    }

    .upload-preview {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* display: none; */
    }

    .remove-image-btn {
        position: absolute;
        top: 5px;
        right: 5px;
        background: red;
        color: #fff;
        border: none;
        padding: 2px 6px;
        border-radius: 3px;
        cursor: pointer;
        font-size: 12px;
        display: none;
    }

    .upload-toggle-buttons {
        text-align: center;
        margin-bottom: 15px;
    }

    .upload-toggle-buttons button {
        padding: 5px 10px;
        margin: 0 5px;
        border: none;
        background-color: #eee;
        cursor: pointer;
        font-weight: bold;
    }

    .upload-toggle-buttons button.active {
        background-color: #405aa8;
        color: white;
    }

    .upload-type-content {
        display: none;
    }

    .upload-type-content.active {
        display: block;
        margin-bottom: 15px;
    }

    .upload-file-label {
        background-color: orange;
        padding: 8px 20px;
        color: white;
        font-weight: bold;
        border-radius: 20px;
        cursor: pointer;
    }

    textarea.custom-textarea {
        width: 100%;
        height: 160px;
        padding: 10px;
        font-size: 14px;
        resize: none;
        border: 1px solid #ccc;
        background-color: #f5f5f5;
    }

    /* 금액 입력 전용 스타일 */
    .amount-input {
        text-align: right;
    }

    /* .upload-type-content.text {
        padding: 10px;
    } */
    
    .upload-type-content.text textarea.upload-textarea {
        width: 100%;
        min-height: 160px;
        resize: vertical;
        font-size: 14px;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-sizing: border-box;
    }

    .form-input {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
        color: #333;
        background: #f8f9fa;
    }


    .evidence-input{
        width: 90%;
        padding: 10px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
        color: #333;
        background: #f8f9fa;
        text-align: right;
    }

/* 기타온라인매출 페이지 스타일 */

.sales-edit-btn {
    background-color: #405aa8;
    color: white !important;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    float: right;
}
.payment-section {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

/* 기타온라인매출등록 페이지 스타일 */

#evidence-total{text-align: right;
    margin-right: 13px;
    font-size: 15px;}

.pay-input{
    text-align: right;
}


/* 마이페이지 스타일 */

.mypage-section { margin: 18px 0; background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.03); padding: 18px 16px; }
.mypage-user-card { margin-top: 10px; }
.mypage-user-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mypage-user-name { font-size: 18px; font-weight: 600; color: #333; }
.mypage-login-btn { border: 1px solid #ddd; background: #f8f8f8; color: #666; border-radius: 6px; padding: 6px 16px; font-size: 14px; cursor: pointer; }
.mypage-user-info { color: #666; font-size: 14px; line-height: 1.6; }
.mypage-business-card { margin-top: 10px; }
.mypage-business-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mypage-business-pin { font-size: 18px; }
.mypage-business-name { font-size: 16px; font-weight: 600; color: #333; }
.mypage-business-list-btn { margin-left: auto; border: 1px solid #ddd; background: #f8f8f8; color: #666; border-radius: 6px; padding: 4px 12px; font-size: 13px; cursor: pointer; }
.mypage-business-info { font-size: 14px; }
.mypage-business-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.mypage-pay-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mypage-pay-title { font-size: 16px; font-weight: 600; color: #333; display: flex; align-items: center; }
.mypage-pay-history-btn { border: 1px solid #ddd; background: #f8f8f8; color: #666; border-radius: 6px; padding: 4px 12px; font-size: 13px; cursor: pointer; }
.mypage-pay-content { text-align: center; }
.mypage-pay-desc { color: #666; font-size: 14px; margin-bottom: 12px; line-height: 1.6; }
.mypage-subscribe-btn { background: #fff; border: 1px solid #405AA8; color: #405AA8; border-radius: 8px; padding: 10px 0; width: 100%; font-size: 15px; font-weight: 500; cursor: pointer; margin-bottom: 8px; }
.mypage-subscribe-btn:hover { background: #f8f8f8; }
.mypage-bottom-btns { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.mypage-logout-btn { background: #ff6b6b; color: #fff; border: none; border-radius: 8px; padding: 15px; font-size: 16px; font-weight: 500; cursor: pointer; }
.mypage-withdraw-btn { background: none; color: #666; border: none; font-size: 14px; margin-top: 4px; cursor: pointer; text-decoration: underline; }
@media (max-width: 500px) {
    .mypage-section { padding: 14px 8px; }
    .mypage-user-name { font-size: 16px; }
    .mypage-business-name { font-size: 15px; }
    .mypage-pay-title { font-size: 15px; }
    .mypage-subscribe-btn { font-size: 14px; }
    .mypage-logout-btn { font-size: 15px; padding: 12px; }
}