@charset "UTF-8";

/*팝업 시작~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/* 쿠폰 구매 무통장 입금 팝업 시작 ~~~~~~~~~~~~~~~~~~~~~~~~~*/
#payStatusPopup ,
#couponBuyListPopup,
#simulationChartPopup{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 280px;
    width: 90%;
    max-width: 400px;
    transform: translate(-50%, -50%);
    z-index: 1005;
    background-color: #fff;
    border-radius: 10px;
}
#payStatusPopup .popup-inner,
#couponBuyListPopup .popup-inner{
    padding: 2rem 1rem;
}
#payStatusPopup h2,
#couponBuyListPopup h2{
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
#payStatusPopup .tit,
#couponBuyListPopup .tit{
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 30px;
    display: block;
    color: #666;
}
#payStatusPopup .accountNum{
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}
#payStatusPopup .wrapBox{
    margin: 15px 0;
    display: flex;
    gap: 20px;
    align-items: center;
}
#payStatusPopup .total-charge{
    font-weight: 700;
    margin-top: 30px;
    font-size: 1.2rem;

}
#payStatusPopup .copyBtn {
    background-color: #eee;
    color: #666;
    font-weight: 600;
    border-radius: 5px;
    padding: 8px 12px;
    border: 1px solid transparent;
}
#payStatusCloseBtn {
    background-color: #eee;
    border-radius: 0 0 5px 5px;
    width: 100%;
    height: 40px;
    border: 1px solid transparent;
    color: #666;
    font-weight: 700;
}
/*쿠폰 재고 현황 팝업 시작 ---------------------------------------*/
#couponBuyListPopup .bot{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#couponBuyListPopup .bot dl{
    display: grid;
    grid-template-columns: repeat(2,1fr);
}
#couponBuyListPopup .bot dt {
    font-weight: 600;
    font-size: .95rem;
    color: #5d688a;
}

#couponBuyListPopup .bot dd {
    font-size: .9rem;
}

/* 고객 리스트에서 차트 팝업 시작 ------*/
#simulationChartPopup{
    max-width: unset !important;
    width: 90%;
    padding: 1rem;
}
#simulationChartPopup .modal-header {
    display: flex; gap: 10px; justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
#simulationChartPopup .modal-header h2{
    font-size: 1.2rem;
    font-weight: 700;
}
#simulationChartPopup .modal-header button{
    background-color: #fafafa;
    border: 1px solid transparent;
    padding: 2px 10px;
    border-radius: 5px;
    color: #4C5EAD;
}
#simulationChartPopup strong {
    font-size: .95rem;
    font-weight: 700;
    color: #666;
    margin-bottom: 10px;
}
#simulationChartPopup .labelBox {
    bottom: 0 !important;
}

    /*팝업 끝  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/


.moneyLogin,
.moneySignup,
.moneyFind{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

/* 배경 그라디언트 서클 */
.moneyLogin::before,
.moneySignup::before ,
.moneyFind:before{
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(122, 77, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -300px;
    right: -200px;
    pointer-events: none;
}

.moneyLogin::after,
.moneySignup::after,
.moneyFind:after{
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -200px;
    left: -100px;
    pointer-events: none;
}

.moneySignup form,
.moneyLogin form,
.moneyFind form{
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
}

.moneySignup .money-inner,
.moneyLogin .money-inner ,
.moneyFind .money-inner{
    background: #fff;
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.moneySignup .money-inner:hover,
.moneyLogin .money-inner:hover ,
.moneyFind .money-inner{
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.moneySignup .logo,
.moneyLogin .logo ,
.moneyFind .logo{
    text-align: center;
    margin-bottom: 12px;
}

.moneySignup .logo h1,
.moneyLogin .logo h1 ,
.moneyFind .logo h1{
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #5d688a 0%, #808fbd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.5px;
}

.moneySignup .welcome-text,
.moneyLogin .welcome-text {
    text-align: center;
    margin-bottom: 8px;
}

.moneySignup .welcome-text h2,
.moneyLogin .welcome-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.3px;
}

.moneySignup .subtitle,
.moneyLogin .subtitle {
    text-align: center;
    margin-bottom: 36px;
}

.moneySignup .subtitle p,
.moneyLogin .subtitle p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.moneySignup .form-group,
.moneyLogin .form-group ,
.moneyFind .form-group {
    margin-bottom: 24px;
}

.moneySignup .form-group label,
.moneyLogin .form-group label ,
.moneyFind .form-group label{
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.moneyFind .form-group input,
.moneySignup .form-group input,
.moneyLogin .form-group input ,
.moneyHome .toolBox select,
.moneyHome .toolBox .tab-tit{
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background-color: #f9fafb;
    color: #1a1a1a;
}

.moneyFind .form-group input:hover,
.moneySignup .form-group input:hover,
.moneyLogin .form-group input:hover {
    border-color: #d1d5db;
    background-color: #fff;
}
.moneyFind .form-group input:focus,
.moneySignup .form-group input:focus,
.moneyLogin .form-group input:focus {
    outline: none;
    border-color: #5d688a;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(122, 77, 255, 0.08);
}

.moneyFind .form-group input::placeholder,
.moneySignup .form-group input::placeholder,
.moneyLogin .form-group input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.moneyLogin .form-group-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 28px;
}
.moneyLogin .save-id{
    font-size: 0.875rem;
    display: flex; align-items: center;
    gap: 5px;
    color: #333;
    font-weight: 400;
}
.moneyLogin .save-id input[type=checkbox] {display: none;}
.moneyLogin .save-id input[type=checkbox]+label{padding-left: 25px; position: relative}
.moneyLogin .save-id input[type=checkbox]+label:before{content: ''; position: absolute; top: 50%; left: 0; transform: translateY(-50%); border: 1px solid #333; width: 14px; height: 14px; background-color: #fff; border-radius: 2px; display: inline-block}
.moneyLogin .save-id input[type=checkbox]+label:after{content: '✔'; font-size: 12px; color: #fff; font-weight: 600; position: absolute; top: 50%; left: 3px; transform: translateY(-50%);}
.moneyLogin .save-id input[type=checkbox]:checked+label{font-weight: 700}
.moneyLogin .save-id input[type=checkbox]:checked+label:before { background-color: #5d688a; border: 1px solid transparent}
.moneyLogin .forgot-password {
    text-align: right;
}

.moneyLogin .forgot-password a {
    font-size: 0.875rem;
    color: #5d688a;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 600;
}

.moneyLogin .forgot-password a:hover {
    color: #808fbd;
    text-decoration: underline;
}

.moneyFind .btn-find,
.moneyLogin .btn-login,
.moneySignup .btn-signup {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #5d688a 0%, #808fbd 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(77, 104, 255, 0.3);
    letter-spacing: -0.2px;
}
.moneyFind .btn-find:hover,
.moneyLogin .btn-login:hover,
.moneySignup .btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(122, 77, 255, 0.4);
    background: linear-gradient(135deg, #808fbd 0%, #808fbd 100%);
}

.moneyFind .btn-find:active,
.moneyLogin .btn-login:active,
.moneySignup .btn-signup:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(122, 77, 255, 0.3);
}

.moneyLogin .signup-text,
.moneySignup .login-text {
    text-align: center;
    margin-top: 28px;
}

.moneyLogin .signup-text p,
.moneySignup .login-text p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.moneyLogin .signup-text a,
.moneySignup .login-text a {
    color: #5d688a;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    margin-left: 4px;
}

.moneyLogin .signup-text a:hover,
.moneySignup .login-text a:hover {
    color: #808fbd;
    text-decoration: underline;
}

/* 회원가입 전용 스타일 */
.moneySignup form {
    max-width: 460px;
}

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

.moneySignup .gender-group {
    margin-bottom: 20px;
}

.moneySignup .gender-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.moneySignup .gender-options {
    display: flex;
    gap: 16px;
}

.moneySignup .gender-option {
    flex: 1;
    position: relative;
}

.moneySignup .gender-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.moneySignup .gender-option label {
    display: block;
    padding: 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    background-color: #f9fafb;
    margin: 0;
}

.moneySignup .gender-option label:hover {
    border-color: #d1d5db;
    background-color: #fff;
}

.moneySignup .gender-option input[type="radio"]:checked + label {
    border-color: #5d688a;
    background-color: rgba(122, 77, 255, 0.05);
    color: #5d688a;
    box-shadow: 0 0 0 4px rgba(122, 77, 255, 0.08);
}

.moneySignup .referral-section {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.moneySignup .referral-section .form-group {
    flex: 1;
    margin-bottom: 0;
}

.moneySignup .btn-check {
    padding: 14px 24px;
    background: #f3f4f6;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    letter-spacing: -0.2px;
}

.moneySignup .btn-check:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.moneySignup .btn-check:active {
    transform: scale(0.98);
}

/* 반응형 */
@media (max-width: 480px) {
    .moneySignup .money-inner,
    .moneyLogin .money-inner {
        padding: 36px 28px;
    }

    .moneySignup .logo h1,
    .moneyLogin .logo h1 {
        font-size: 1.75rem;
    }

    .moneySignup .referral-section {
        flex-direction: column;
    }

    .moneySignup .btn-check {
        width: 100%;
    }
}

/* 애니메이션 효과 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.moneyLogin .money-inner,
.moneySignup .money-inner {
    animation: fadeInUp 0.5s ease-out;
}

/* 포커스 시 라벨 색상 변경 */
.moneySignup .form-group:focus-within label,
.moneyLogin .form-group:focus-within label {
    color: #5d688a;
}

/* 정보 찾기 스타일 시작 *******/
.moneyFind .find-Tit{
    margin: 20px 0 30px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
}
.moneyFind .find-Tit li{
    padding: 15px 5px;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    font-size: .95rem;
    text-align: center;
    border-bottom: 2px solid #ddd;
}
.moneyFind .find-Tit li.on{
    background-color: #fff;
    border-bottom: 2px solid #5d688a;
    color: #5d688a;
    font-weight: 700;
}
.moneyFind .sup{
    font-size: .85rem;
    font-weight: 400;
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}
.moneyFind .signup-back{
    margin: 30px 0 0;
    font-size: .85rem;
    color : #666;
    text-align: center;
}
.moneyFind .signup-back:hover{
    font-weight: 700;
}
.moneyFind .findPwd-cont{
    display: none;
}

.moneyFind .findResult .findIdBox,
.moneyFind .findResult .findPwdBox.first,
.moneyFind .findResult .findPwdBox.fail,
.moneyFind .findResult .findPwdBox.second{
    display: none;
}
.moneyFind .findResult dl,
.moneyFind .findResult .unResult{
    display: flex;
    justify-content: center;
    gap: 10px;
    border: 1px solid #5d688a;
    border-radius: 10px;
    padding : 1rem;
    margin-bottom: 30px;
    font-size: 1rem;
}
.moneyFind .findResult dd {
    font-weight: 600;
}
.moneyFind .findIdBox .btnWrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.moneyFind .findIdBox .btnWrap a{
    display: block;
    padding: .5rem;
    border: 1px solid transparent;
    color: #666;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
    background-color: #eee;
    transition: all .3s ease-in-out;
}
.moneyFind .findIdBox .btnWrap div:last-of-type a{
    background-color: rgba(122, 77, 255, 0.2);
    color: #5d688a;
}
.moneyFind .findIdBox .btnWrap a:hover,
.moneyFind .findIdBox .btnWrap a:active{
    transform: translateY(-2px);
}

.moneyFind .findPwdBox.first .form-group,
.moneyFind .findPwdBox.first .countInfo{
    display: flex; justify-content: space-between; gap: 15px;
}
.moneyFind .findPwdBox.first .form-group{
    margin-bottom: 10px;
}
.moneyFind .findPwdBox.first .form-group input{
    width: 60%;
}
.moneyFind .findPwdBox.first .form-group button{
    color: #666;
    min-width: 100px;
    background-color: #eee;
    border-radius: 10px;
    padding: 5px;
    font-size: .9rem;
    font-weight: 700;
    border : 1px solid #ddd;
}
.moneyFind .findPwdBox.first .form-group button:hover{
    background-color: #ddd;
}

.moneyFind .findPwdBox.first .countInfo{
    margin-bottom: 30px;
}
.moneyFind .findPwdBox.first .countInfo .countTit{
    font-weight: 400;
    color: #b7b7b7;
    font-size: .85rem;
}
.moneyFind .findPwdBox.first .countInfo .countTxt{
    font-size: .85rem;
    font-weight:400;
    color: #ff4d4d;
}
.moneyFind .findPwdBox.first .btnBox,
.moneyFind .findPwdBox.second .btnBox{
    display: flex; flex-direction: column;
    gap: 5px;
    align-items: center;
}
.moneyFind .findPwdBox.first .btnBox .noneNumber,
.moneyFind .findPwdBox.second .btnBox .noneNumber{
    display: none;
    color: #ff4d4d;
    font-size: .85rem;
    font-weight: 600;
}
.moneyFind .findPwdBox.second .pwdWrap{
    position: relative;
}
.moneyFind .findPwdBox.second .pwdWrap i{
    font-size: 20px;
    cursor: pointer;
    color: #333;
    position: absolute;
    top: 50%; transform: translateY(-50%); right: 16px;
}
.moneyFind .findPwdBox.second .pwdWrap i.bi-eye{
    display: none;
}
.moneyFind .findPwdBox.second .pwdWrap input{
    padding: 14px 40px 14px 16px;
}



/* money 로그인 끝 *************/

/* money 메뉴 시작 *************/
.moneyMenu {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    min-height: 100vh;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
}

.moneyMenu .moneyMenu-inner {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: 100vh;
    padding: 0;
}
#menuFold{
    width: 50px;
    height: 50px;
    background-color: #fff;
    font-size: 24px;
    border: unset;
    color: #666;
    font-weight: 600;
    display: none;
    position: relative;
}

#menuFold:before{
    width: 100vw;
    position: absolute;
    top: 0; right: 0;
}

/* 로고/헤더 영역 */
.moneyMenu .menu-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.moneyMenu .project-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.moneyMenu .project-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #5d688a 0%, #808fbd 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}
.moneyMenu.standard .project-icon {
    background: linear-gradient(135deg, #5d8a89 0%, #80b5bd 100%);
}

.moneyMenu .project-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.moneyMenu .toggle-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s;
    color: #6b7280;
}

.moneyMenu .toggle-btn:hover {
    background: #f3f4f6;
}

/* 메뉴 리스트 */
.moneyMenu .menuList {
    list-style: none;
    padding: 12px 12px;
    margin: 0;
    flex: 1;
}

.moneyMenu .menu-section-title {
    padding: 8px 12px 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 16px;
}

.moneyMenu .menu-section-title:first-child {
    margin-top: 0;
}

.moneyMenu .fr-section {
    margin-bottom: 2px;
}

.moneyMenu .fr-row {
    width: 100%;
}

.moneyMenu .fr-row button {
    width: 100%;
    padding: 10px 12px 10px 15px;
    background: none;
    border: none;
    border-radius: 8px;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.moneyMenu .fr-row button i{
    color: #666;
    font-size: 16px;
}

.moneyMenu .fr-row button:hover {
    background: #f3f4f6;
    color: #1a1a1a;
}

.moneyMenu .fr-row button:hover::before {
    opacity: 1;
}

.moneyMenu .fr-row button.active {
    background: rgba(93, 104, 138, 0.08);
    color: #5d688a;
    font-weight: 600;
}
.moneyMenu .fr-row button.active i{
    color: #333 !important;
}

.moneyMenu .fr-row button.active::before {
    opacity: 1; color: #5d688a;
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(4984%) hue-rotate(247deg) brightness(100%) contrast(101%);
}

/* 프로젝트 섹션 */
.moneyMenu .project-section {
    padding: 0 12px;
    margin-top: 24px;
}

.moneyMenu .project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px 8px;
    margin-bottom: 4px;
}

.moneyMenu .project-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.moneyMenu .project-add {
    width: 20px;
    height: 20px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
    color: #9ca3af;
    font-size: 16px;
}

.moneyMenu .project-add:hover {
    background: #f3f4f6;
    color: #6b7280;
}

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

.moneyMenu .project-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 2px;
}

.moneyMenu .project-item:hover {
    background: #f3f4f6;
}

.moneyMenu .project-item.active {
    background: rgba(122, 77, 255, 0.08);
}

.moneyMenu .project-info-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.moneyMenu .project-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.moneyMenu .project-dot.green {
    background: #10b981;
}

.moneyMenu .project-dot.yellow {
    background: #f59e0b;
}

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

.moneyMenu .project-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #4b5563;
}

.moneyMenu .project-item.active .project-item-name {
    color: #5d688a;
    font-weight: 600;
}

.moneyMenu .project-more {
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
    color: #9ca3af;
    opacity: 0;
}

.moneyMenu .project-item:hover .project-more {
    opacity: 1;
}

.moneyMenu .project-more:hover {
    background: #e5e7eb;
}

/* 하단 카드 영역 */
.moneyMenu .bottom-card {
    margin: 16px 12px 16px;
    padding: 20px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    text-align: center;
}

.moneyMenu .card-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.moneyMenu .card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.moneyMenu .card-description {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 16px;
}

.moneyMenu .card-button {
    width: 100%;
    padding: 10px;
    background: #fff;
    border: none;
    border-radius: 8px;
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.moneyMenu .card-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* 스크롤바 스타일 */
.moneyMenu::-webkit-scrollbar {
    width: 6px;
}

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

.moneyMenu::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.moneyMenu::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}
/* money 메뉴 끝 *************/

/* money 정보입력 시작 *************/
.moneyBasic,
.moneyView,
.moneyDoorInput,
.moneyFloorInput,
.moneyUserInput,
.moneyCashFlow,
.moneyFinalGoals,
.moneyLifeCycle,
.moneySimulation,
.moneyHome,
.moneyReportList,
.moneyPayPage,
.moneyStory{
    margin-left: 280px;
    min-height: 100vh;
    background: #f9fafb;
    /*width: calc(100vw - 280px);*/
    width: auto;
}
.moneyBasic .questArea,
.moneyView .questArea,
.moneyFinalGoals .questArea,
.moneyUserInput .questArea ,
.moneyLifeCycle .questArea,
.moneySimulation .questArea,
.moneyHome .questArea,
.moneyReportList .questArea,
.moneyPayPage .pay-inner{
    background: #fff;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 헤더 */
.moneyBasic .defaultBox h2,
.moneyFinalGoals .defaultInput h2,
.moneyUserInput .defaultInput h2 ,
.moneyLifeCycle .defaultInput h2,
.moneySimulation .defaultInput h2,
.moneyHome .questArea h2,
.moneyReportList .questArea h2,
.moneyPayPage .box strong{
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 40px;
    letter-spacing: -0.5px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f3f4f6;
}

/* 섹션 */
.moneyFinalGoals .form-section,
.moneyUserInput .form-section ,
.moneyLifeCycle .form-section{
    margin-bottom: 48px;
}

.moneyFinalGoals .form-section:last-child,
.moneyUserInput .form-section:last-child {
    margin-bottom: 0;
}
.moneyUserInput .section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.3px;
}

/* 폼 행 */
.moneyFinalGoals .form-row,
.moneyUserInput .form-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
    padding: 16px 0 36px;
}
.moneyFinalGoals .form-row:last-child,
.moneyUserInput .form-row:last-child {
    border-bottom: none;
}
.moneyFinalGoals .form-label,
.moneyUserInput .form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4b5563;
    letter-spacing: -0.2px;
}
.moneyUserInput .form-value {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 입력 필드 */
.moneySimulation input[type=text],
.moneySimulation input[type=number],
.moneyUserInput input[type="text"],
.moneyUserInput input[type="number"],
.moneyUserInput input[type="password"],
.moneyUserInput input[type="email"],
.moneyUserInput select {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.2s;
    background-color: #f9fafb;
    color: #1a1a1a;
    box-sizing: border-box;
}

.moneySimulation input[type=text]:hover,
.moneySimulation input[type=number]:hover,
.moneyUserInput input[type="text"]:hover,
.moneyUserInput input[type="password"]:hover,
.moneyUserInput input[type="number"]:hover,
.moneyUserInput input[type="email"]:hover,
.moneyUserInput select:hover {
    border-color: #d1d5db;
    background-color: #fff;
}

.moneySimulation input[type=text]:focus,
.moneySimulation input[type=number]:focus,
.moneyUserInput input[type="text"]:focus,
.moneyUserInput input[type="password"]:focus,
.moneyUserInput input[type="number"]:focus,
.moneyUserInput input[type="email"]:focus,
.moneyUserInput select:focus {
    outline: none;
    border-color: #5d688a;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(122, 77, 255, 0.08);
}

.moneySimulation input[type=text]::placeholder,
.moneySimulation input[type=number]::placeholder,
.moneyFinalGoals input[type="text"]::placeholder,
.moneyFinalGoals input[type="number"]::placeholder,
.moneyUserInput input[type="text"]::placeholder,
.moneyUserInput input[type="password"]::placeholder,
.moneyUserInput input[type="email"]::placeholder,
.moneyUserInput input[type="number"]::placeholder {
    color: #9ca3af;
}
.moneyUserInput input[type="text"]:read-only,
.moneyUserInput input[type="number"]:read-only {
    background-color: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
}

.moneyUserInput select {
    cursor: pointer;
    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='%236b7280' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
    appearance: none;
}

/* 금액 입력 */
.moneyFinalGoals .amount-input,
.moneyUserInput .amount-input {
    position: relative;
    max-width: 400px;
}
.moneyUserInput .amount-input input {
    padding-right: 60px;
}

.moneyUserInput .amount-input::after {
    content: '만원';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    pointer-events: none;
}

/* 나이 입력 */
.moneyUserInput .age-input {
    position: relative;
    max-width: 400px;
}

.moneyUserInput .age-input input {
    padding-right: 50px;
}

.moneyUserInput .age-input::after {
    content: '세';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    pointer-events: none;
}

/* 라디오 그룹 */
#moneyPage .radio-group,
#moneyPage .checkbox-group{
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

#moneyPage .radio-group label ,
#moneyPage .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background-color: #f9fafb;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4b5563;
}
#moneyPage .checkbox-group label:hover,
#moneyPage .radio-group label:hover {
    border-color: #d1d5db;
    background-color: #fff;
}
#moneyPage .checkbox-group input[type=checkbox],
#moneyPage .radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #5d688a;
    margin: 0;
}
#moneyPage .checkbox-group input[type=checkbox] + *,
#moneyPage .radio-group input[type="radio"]:checked + * {
    font-weight: 600;
}
#moneyPage .checkbox-group label:has(input[type=checkbox]:checked),
#moneyPage .radio-group label:has(input[type="radio"]:checked) {
    border-color: #5d688a;
    background-color: rgba(122, 77, 255, 0.05);
    color: #5d688a;
    box-shadow: 0 0 0 4px rgba(122, 77, 255, 0.08);
}
/* 사진 수정 */
.moneyUserInput .defaultBox .img{
    width: 50%;
    min-width: 250px;
    max-width: 400px;
    font-size: 0.95rem;
    transition: all 0.2s;
    color: #1a1a1a;
    box-sizing: border-box;
    margin-bottom: 15px;
}
.moneyUserInput .defaultBox .img img{
    padding : 12px 16px;
    border: 1.5px solid #e5e7eb;
    background-color: #f9fafb;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    min-height: 350px;
    max-height: 350px;
    object-fit: contain;
    margin-bottom: 10px;
    /*border-radius: 8px;*/
}
.moneyUserInput .defaultBox .img + .infoImg p {
    font-size: .85rem;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
}
.moneyUserInput .defaultBox .img input[type="file"] {
    display: none;
}


.moneyUserInput .defaultBox .img .custom-upload-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #5d688a;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.moneyUserInput .defaultBox .img .custom-upload-btn:hover {
    background-color: #808fbd;
}
/* 주소 찾기 버튼 */
.moneyUserInput .addr_btn {
    display: inline-flex;
    align-items: center;
    max-width: 100px;
    justify-content: center;
    padding: 10px 20px;
    background: #5d688a;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.moneyUserInput .addr_btn:hover {
    background: #808fbd;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(77, 142, 255, 0.3);
}

/* 자녀 섹션 */
.moneyUserInput .childBox .section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
}

.moneyUserInput .add-button,
.moneyUserInput .minus-button,
.moneyFinalGoals .defaultInput button{
    padding: 8px 16px;
    background: #3982d6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.moneyUserInput .add-button:hover,
.moneyFinalGoals .defaultInput button:first-of-type:hover{
    background: #3973d6;
    transform: translateY(-1px);
}

.moneyUserInput .minus-button,
.moneyFinalGoals .defaultInput button:last-of-type{
    background: #ef4444;
}

.moneyUserInput .minus-button:hover,
.moneyFinalGoals .defaultInput button:last-of-type:hover{
    background: #dc2626;
    transform: translateY(-1px);
}

.moneyUserInput .child-count-info {
    font-size: 0.9rem;
    font-weight: 600;
    color: #5d688a;
    background: rgba(122, 77, 255, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
}

.moneyUserInput .hidden {
    display: none;
}

.moneyUserInput .hidden-row {
    display: none;
}

.moneyUserInput .child_field {
    margin-top: 16px;
}
.moneyUserInput .child-flex{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 사용자 정보 소득 옆 퍼센트 부분*/
.moneyUserInput .percentage-display{
    font-size: .8rem;
    padding: 5px 10px;
    border-radius: 10px;
    background-color: rgba(93, 104, 138, 0.08);
    font-weight: 600;
    color: #666;
}
.moneyUserInput .percentage-display + .money-unit{
    font-size: .85rem;
    color: #5d688a;
}

/* 저장 버튼 */
#moneyPage #submit{
    width: 100%;
    max-width: 200px;
    padding: 16px;
    margin: 20px 0;
    background: linear-gradient(135deg, #5d688a 0%, #808fbd 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(122, 77, 255, 0.3);
    display: block;
    letter-spacing: -0.2px;
}

#moneyPage #submit:hover{
    box-shadow: 0 8px 20px rgba(122, 77, 255, 0.4);
    background: linear-gradient(135deg, #808fbd 0%, #808fbd 100%);
}

/* money 정보입력 끝 *************/


/* money 인트로 시작 *************/
.moneyView .questArea{
    position: relative;
}
.moneyView .questArea button{
    box-shadow: unset !important;
    position: absolute;
    left: 50%; transform: translateX(-45%);
    bottom: 100px;
}
/* money 인트로 끝 *************/









/* money 현금흐름분석 시작 *************/


.moneyCashFlow .questArea {
    background: #fff;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 헤더 */
.moneyCashFlow .defaultInput h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 40px;
    letter-spacing: -0.5px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f3f4f6;
}

/* 섹션 */
.moneyCashFlow .form-section {
    margin-bottom: 48px;
}

.moneyCashFlow .form-section:last-child {
    margin-bottom: 0;
}
.moneyFinalGoals .section-title,
.moneyCashFlow .section-title,
.moneyLifeCycle .chartWrap strong{
    font-size: 1.15rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(122, 77, 255, 0.08) 0%, rgba(155, 109, 255, 0.05) 100%);
    border-left: 4px solid #5d688a;
    border-radius: 8px;
    letter-spacing: -0.3px;
}

/* 테이블 스타일 */
.moneyFinalGoals .income-table,
.moneyCashFlow .income-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
}
.moneyFinalGoals .income-table thead,
.moneyCashFlow .income-table thead {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}
.moneyFinalGoals .income-table thead tr.bigTit th,
.moneyCashFlow .income-table thead tr.bigTit th {
    padding: 16px 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #374151;
    text-align: center;
    border-bottom: 2px solid #d1d5db;
    letter-spacing: -0.2px;
}

.moneyCashFlow .income-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s;
}

.moneyCashFlow .income-table tbody tr:hover {
    background: #f9fafb;
}

.moneyFinalGoals .income-table  tr.total,
.moneyCashFlow .income-table tbody tr:last-child{
    border-bottom: 2px solid #d1d5db;
    background: rgba(122, 77, 255, 0.03);
}

.moneyCashFlow .income-table td {
    padding: 12px;
    text-align: center;
}

/* 폼 행 (테이블 외부) */
.moneyCashFlow .form-row {
    display: grid;
    grid-template-columns: 180px repeat(5, 1fr);
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background 0.2s;
}

.moneyCashFlow .form-row:hover {
    background: #f9fafb;
}


.moneyCashFlow .form-row.expensesTit .form-label {
    font-weight: 700;
    color: #5d688a;
    font-size: 1rem;
}

.moneyFinalGoals .form-label,
.moneyCashFlow .form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4b5563;
    letter-spacing: -0.2px;
    text-align: left;
}

.moneyCashFlow .income-table .form-label {
    text-align: left;
    padding-left: 16px;
}


/* 입력 필드 */
.moneyFinalGoals input[type="text"],
.moneyFinalGoals input[type="number"],
.moneyCashFlow input[type="text"],
.moneyCashFlow input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s;
    background-color: #f9fafb;
    color: #1a1a1a;
    box-sizing: border-box;
    text-align: right;
}

.moneyFinalGoals input[type="text"]:hover.
.moneyFinalGoals input[type="number"]:hover,
.moneyCashFlow input[type="text"]:hover,
.moneyCashFlow input[type="number"]:hover {
    border-color: #d1d5db;
    background-color: #fff;
}

.moneyFinalGoals input[type="text"]:focus,
.moneyFinalGoals input[type="number"]:focus,
.moneyCashFlow input[type="text"]:focus,
.moneyCashFlow input[type="number"]:focus {
    outline: none;
    border-color: #5d688a;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(122, 77, 255, 0.08);
}

.moneyCashFlow input[type="text"]::placeholder,
.moneyCashFlow input[type="number"]::placeholder {
    color: #9ca3af;
}

.moneyCashFlow input[type="text"]:read-only,
.moneyCashFlow input[type="number"]:read-only {
    background-color: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
    border-color: #e5e7eb;
}

.moneyCashFlow .hiddenInput {
    opacity: 0;
    pointer-events: none;
}

/* 금액 입력 */
.moneyCashFlow .amount-input {
    position: relative;
    width: 100%;
}

.moneyCashFlow .amount-input input {
    padding-right: 12px;
}

/* 적정비율 표시 */
.moneyCashFlow .ratio {
    font-size: 0.85rem;
    font-weight: 600;
    color: #5d688a;
    background: rgba(122, 77, 255, 0.08);
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 평가 필드 */
.moneyCashFlow .evaluation {
    font-weight: 700;
    text-align: center;
    padding: 8px 12px;
    border-radius: 6px;
}

.moneyCashFlow input.evaluation {
    background-color: #f3f4f6;
    border-color: #e5e7eb;
    text-align: center;
    color: #374151;
    font-weight: 700;
}

.moneyCashFlow input.evaluation:focus {
    box-shadow: none;
}


/* money 현금흐름분석 끝 *************/

/* money 재무목표 설정값 시작 *************/
.moneyFinalGoals .defaultInput{
    margin-bottom: 30px;
}
.moneyFinalGoals .form-value{
    padding: 10px 5px;
}
.moneyFinalGoals .amount-input input{
    text-align: left;
    font-size: .85rem;
}
.moneyFinalGoals .total td{
    padding: 12px;
    text-align: center;
}
.moneyFinalGoals .total #totalAmount{
    color: #5d688a;
    font-weight: 700;
}
/* money 재무목표 설정값 끝 *************/

/* money 머니사이클 시작 *************/
.moneyLifeCycle .content:not(:last-of-type) {
    margin-bottom: 100px;
}
.moneyLifeCycle .chartWrap{
    height: 500px;
    position: relative;
    width: 100%;
}
.moneyLifeCycle .cycleArea{
    margin-top: 40px;
    height: 400px;
    width: 100%;
}
.moneyLifeCycle .cycleArea canvas{
    width: 100%;
    height: 100%;
}
.moneyLifeCycle .labelBox{
    display: flex;;
    gap: 15px;
    align-items: center;
    justify-content: center;
    border: 1px solid #5d688a;
    background-color: #fff;
    position: absolute;
    border-radius: 10px;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    flex-wrap: wrap;
    max-width: 350px;
    padding: .5rem;
}
.moneyLifeCycle .labelBox li{
    font-size: .8rem;
    color: #666;
    position: relative;
    font-weight: 600;
    padding-left: 20px;
}
.moneyLifeCycle .labelBox li:before{
    content: '';
    position: absolute;
    top: 50%; left: 0; transform: translateY(-50%);
    width: 5px;
    height: 10px;
    border-radius: 2px;
}
.moneyLifeCycle .labelBox li.incomeUnUse:before {
    background-color: #ef4444;
}
.moneyLifeCycle .labelBox li.incomeUse:before{
    background-color: #808fbd;
}
.moneyLifeCycle .labelBox li.needTotal:before{
    background-color: #4da9ff;
}
.moneyLifeCycle .labelBox li.simulation:before{
    background-color: #ff4dd5;
}
/* money 머니사이클 끝 *************/

/* money 시뮬레이션 시작 *************/
.moneySimulation .income-gauge{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    flex-wrap: wrap;
}
.moneySimulation .inputWrap{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.moneySimulation .inputWrap label{
    font-size: .9rem;
    font-weight: 500;
    color :#666 ;
}
.moneySimulation .inputBox{
    display: flex;
    gap: 10px;
    align-items: center;
}
.moneySimulation .inputBox sup{
    font-size: .8rem;
    color: #b7b7b7;
    font-weight: 700;
    display: block;
    min-width: 50px;
}
/* money 시뮬레이션 끝 *************/

/* money 홈 시작 *************/
.moneyHome .toolBox{
    display: none;
}
.moneyHome .homeGauge{
    width: 60%;
    border: 1px solid #eee;
    border-radius: 10px;
}
.moneyHome .gauge-inner{
    padding: 1rem;
}
.moneyHome .gauge-inner strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
}

.moneyHome .gauge-info {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

.moneyHome .gauge-number {
    font-size: 32px;
    font-weight: 700;
    color: #5d688a;
    line-height: 1;
}

.moneyHome .gauge-unit {
    font-size: 18px;
    font-weight: 600;
    color: #6b7280;
}

.moneyHome .gauge-bar-wrapper {
    position: relative;
    margin-bottom: 8px;
}

.moneyHome .gauge-bar-bg {
    width: 100%;
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
}

.moneyHome .gauge-bar-fill {
    height: 100%;
    background: #5d688a;
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.moneyHome .gauge-text {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.5;
}
/* money 홈 끝 *************/

/* money 기초 시작 *************/
.moneyBasic .sub{
    font-size: 1rem; font-weight: 600;
    color: #5d688a;
    line-height: 1.6;
    margin-bottom: 20px;
}
.moneyBasic .btnWrap{
    display: flex;
    gap: 5px;
    align-items: center;
}
.moneyBasic .btnWrap button{
    border: 2px solid #5d688a;
    color: #5d688a;
    font-weight: 700;
    border-radius: 10px;
    min-height: 50px;
    font-size: .95rem;
    background-color: #fff;
    padding: 5px 15px;
    transition: all .3s ease-in-out;
}
.moneyBasic .btnWrap button:hover,
.moneyBasic .btnWrap button:active {
    background-color: #5d688a;
    color: #fff;
    transform: translateY(-2px);
}
/* money 기초 끝 *************/


/* money 문패 시작 *************/
#moneyPage {
    min-height: 100vh;
}
#moneyPage:not(.moneyHome) .home-inner{
    max-width: 1000px;
    padding: 2rem ;
}

#moneyPage .house-progress-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    animation: fadeInDown 0.6s ease-out;
}
#moneyPage .house-progress-bar.standard .progress-circle.active {
    background: #80b5bd;
}

#moneyPage .progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

#moneyPage .progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    transition: all 0.3s;
}

#moneyPage .progress-circle.active {
    background: #5d688a;
    color: white;
    transform: scale(1.1);
}

#moneyPage .progress-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

#moneyPage .progress-label.active {
    color: #5d688a;
    font-weight: 600;
}

#moneyPage .content-wrapper {
    display: flex;
    gap: 40px;
    position: relative;
    align-items: flex-start;
}

#moneyPage .form-section {
    flex: 1;
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    animation: fadeInLeft 0.8s ease-out;
}

#moneyPage .door-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5d688a 0%, #8393c5 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    animation: doorDrop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes doorDrop {
    0% {
        transform: translateY(-100px) rotate(-10deg);
        opacity: 0;
    }
    60% {
        transform: translateY(10px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0);
        opacity: 1;
    }
}

#moneyPage .form-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

#moneyPage .form-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.6;
}
#moneyPage .exArea{
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 1rem 1rem 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}
#moneyPage .exArea .exTit{
    color: #5d688a;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    font-size: .95rem;
}
#moneyPage .exArea .exTit .small{
    font-size: .85rem;
    font-weight: 400;
    display: inline-block;
    margin-left: 10px;
    padding: 5px 10px;
    background-color: rgba(93, 104, 138, 0.1);
    border-radius: 10px;
}
#moneyPage .exArea dl:not(:last-of-type){
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
#moneyPage .exArea dt{
    margin-bottom: 10px;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.8;
}
#moneyPage .exArea dd{
    font-size: .9rem;
    color: #666;
    padding-left: 15px;
    line-height: 1.6;
}


#moneyPage input[class='input-field'] {
    /*margin-top: 15px;*/
}

#moneyPage .input-group {
    margin-bottom: 28px;
    animation: fadeInUp 1s ease-out backwards;
}

.moneyDoorInput .input-group:nth-child(1) {
    animation-delay: 0.2s;
}

.moneyDoorInput .input-group:nth-child(2) {
    animation-delay: 0.4s;
}

.moneyDoorInput .input-group:nth-child(3) {
    animation-delay: 0.6s;
}

#moneyPage .input-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .95rem;
    font-weight: 600;
    color: #5d688a;
    line-height: 1.8;
    margin-bottom: 8px;
}
#moneyPage #childrenDetailsContainer .money-input-wrapper label{
    font-size: .85rem;
    color: #5d688a;
    line-height: 1.8;
}
#moneyPage .input-label .small{
    font-size: .85rem;
    color: #b7b7b7;
}

#moneyPage .input-field {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    max-width: 400px;
    border-radius: 8px;
    font-size: 15px;
    color: #1a1a1a;
    transition: all 0.3s;
    outline: none;
}

#moneyPage .input-field:focus {
    border-color: #5d688a;
    box-shadow: 0 0 0 3px rgba(93, 104, 138, 0.03);
}

#moneyPage .input-field.completed {
    border-color: #5d688a;
    background: #f0fdf4;
}
#moneyPage .money-input-wrapper{
    display: flex;
    align-items: center;
    gap: 5px;
}
.moneyDoorInput .selfCustom.active{
    margin-top: 15px;
}
.moneyDoorInput .input-help {
    font-size: .85rem;
    color: #9ca3af;
    margin-top: 6px;
    line-height: 1.5;
}
#moneyPage .money-unit{
    font-size: .85rem;
    color: #666;
}

.moneyDoorInput .input-example {
    font-size: 12px;
    color: #5d688a;
    background: #f6faff;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 8px;
}

.moneyDoorInput .char-counter {
    text-align: right;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

.moneyDoorInput .char-counter.warning {
    color: #ef4444;
}

.moneyDoorInput .submit-btn,
.moneyUserInput .submit-btn,
.moneyFloorInput .submit-btn,
.moneyStory .submit-btn{
    width: 100%;
    height: 52px;
    background: #5d688a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 16px;
}

.moneyDoorInput .submit-btn:hover,
.moneyUserInput .submit-btn:hover,
.moneyFloorInput .submit-btn:hover ,
.moneyStory .submit-btn:hover{
    background: #5d688a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 104, 138, 0.3);
}

.moneyDoorInput .submit-btn:disabled,
.moneyUserInput .submit-btn:disabled,
.moneyFloorInput .submit-btn:disabled{
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
}

#moneyPage .house-preview {
    width: 320px;
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    animation: fadeInRight 0.8s ease-out;
    top: 20px;
    position: sticky;
}
#moneyPage .house-preview.standard {

}
#moneyPage .house-structure {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 지붕 (삼각형) */
#moneyPage .house-roof {
    width: 0;
    height: 0;
    border-left: 130px solid transparent;
    border-right: 130px solid transparent;
    border-bottom: 100px solid #8B4513;
    margin: 0 auto 10px;
    position: relative;
}

#moneyPage .preview-title {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    text-align: center;
    width: 200px;
}

/* 굴뚝 */
#moneyPage .house-chimney {
    position: absolute;
    width: 20px;
    height: 40px;
    background: #6B3410;
    top: 0;
    left: 20px;
    border-radius: 3px 3px 0 0;
}

#moneyPage .house-chimney::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 8px;
    background: #8B4513;
    top: -8px;
    left: -2px;
    border-radius: 2px;
}

#moneyPage .house-door {
    color: #666;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: .85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(93, 104, 138, 0.1);
    animation: doorGlow 2s infinite;
}

@keyframes doorGlow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(93, 104, 138, 0.1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(93, 104, 138, 0.15);
    }
}

#moneyPage .house-floor {
    background: #f3f4f6;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.95rem;
    color: #9ca3af;
    border: 2px dashed #e5e7eb;
    position: relative;
}

#moneyPage .house-floor.active {
    animation: point 2s infinite ease-in-out;
}

@keyframes point {
    0%, 100% {
        border-color: #4D8BFF;
        color: #4D8BFF;
        background-color: #F3F4F6;
    }
    50% {
        border-color: #e5e7eb;
        color: #9ca3af;
        background-color: #fff;
    }
}

#moneyPage .house-floor.door {
    background-color: rgba(0, 61, 153, 0.5);
    color: #fff;
    font-weight: 600;
    border: 2px dotted #5d688a;
}

#moneyPage .floor-rooms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}

#moneyPage .house-foundation {
    background: #361200;
    color: white;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 창문 추가 (선택사항) */
#moneyPage .house-windows {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 8px;
}

#moneyPage .window {
    width: 30px;
    height: 30px;
    background: #87CEEB;
    border: 3px solid #5d688a;
    border-radius: 4px;
    position: relative;
}

#moneyPage .window::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: #5d688a;
    left: 50%;
    transform: translateX(-50%);
}

#moneyPage .window::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #5d688a;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes badgePop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/*머니 msig 시작------------------------*/
#moneyPage .money-summary {
    max-width: 320px;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#moneyPage .money-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 30px;
    position: relative;
}

#moneyPage .money-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(93, 104, 138, 0.35);
    position: relative;
}


#moneyPage .money-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16pt;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}
#moneyPage .money-circle.good{
    background: #375cff;
}
#moneyPage .money-circle.warning{
    background: #ffb237;
}
#moneyPage .money-circle.danger{
    background: #ff3737;
}

#moneyPage .money-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

#moneyPage .m-circle {
    background: linear-gradient(135deg, #5d688a 0%, #5d688a 100%);
}

#moneyPage .s-circle {
    background: linear-gradient(135deg, #5d688a 0%, #5d688a 100%);
}

#moneyPage .g-circle {
    background: linear-gradient(135deg, #5d688a 0%, #5d688a 100%);
}

#moneyPage .i-circle {
    background: linear-gradient(135deg, #5d688a 0%, #5d688a 100%);
}

#moneyPage .money-label {
    font-size: 9pt;
    color: #5d688a;
    font-weight: 300;
    text-transform: uppercase;
}

#moneyPage .money-amount {
    font-size: 12pt;
    font-weight: 700;
    color: #5d688a;
}

#moneyPage .money-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #5d688a, transparent);
    margin: 10px 0 30px;
    position: relative;
}

#moneyPage .money-divider::before {
    content: '↓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #5d688a;
    border-radius: 50%;
    border: 2px solid #5d688a;
}

#moneyPage .money-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

#moneyPage .money-total-label {
    font-size: 10pt;
    color: #5d688a;
    font-weight: 600;
    letter-spacing: 1px;
}

#moneyPage .money-total-amount {
    font-size: 14pt;
    font-weight: 800;
    color: #5d688a;
    background-clip: text;
    position: relative;
}


/*머니 msig 끝 -------------------------*/


.moneyFloorInput button#roomAdd{
    background-color: rgba(255, 225, 194, 0.5);
    border: 1px solid #ffe1c2;
    color: #816344;
}
.moneyFloorInput button#roomRemove{
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.moneyFloorInput .btnWrap button.btnStyle{
    border-radius: 5px;
    padding: 5px 15px;
    font-size: .9rem;
    font-weight: 700;
    transition: all .3s ease-in-out;
}
.moneyFloorInput .btnWrap button.btnStyle:hover{
    transform: translateY(-2px);
}
/* money 문패 끝 *************/

/* money 1층 시작 *************/
.moneyFloorInput .topic-section {
    margin-bottom: 40px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    border-left: 4px solid #5d688a;
    animation: fadeInUp 0.8s ease-out;
}

.moneyFloorInput .topic-title {
    font-size: 16px;
    font-weight: 700;
    color: #DC9076;
    margin-bottom: 20px;
}
.moneyFloorInput .topic-title .small{
    font-size: .85rem;
    display: inline-block;
    margin-left: 5px;
}
.moneyFloorInput .sub-title {
    font-size: .9rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 20px;
    display: block;
}
.moneyFloorInput .topic-section.hidden {
    display: none;
}
.moneyFloorInput .select-field {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #1a1a1a;
    transition: all 0.3s;
    outline: none;
    cursor: pointer;
    background: white;
}

.moneyFloorInput .select-field:focus {
    border-color: #065F46;
    box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.1);
}
.moneyFloorInput .child-inputs {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}

.moneyFloorInput .child-input-item {
    flex: 1;
}

.moneyFloorInput .child-label {
    font-size: .9rem;
    color: #6b7280;
    margin-bottom: 8px;
    display: block;
}


.moneyFloorInput .floor-rooms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #5d688a;
    min-height: 60px;
}
.moneyFloorInput .floor-rooms.past{
    border: 1px solid transparent;
    background-color: transparent;
}

#moneyPage .room-box {
    flex: 1;
    min-width: 80px;
    padding: 10px 12px;
    border-radius: 6px;
    text-align: center;
    font-size: .85rem;
    font-weight: 700;
    animation: roomAppear 0.5s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

#moneyPage #floorRooms1 .room-box {
    background: linear-gradient(135deg, #ffe1c2 0%, #dcaa76 100%);
    color: #816344;
}

#moneyPage #floorRooms2 .room-box {
    background: linear-gradient(135deg, #fdc2ff 0%, #dc76c9 100%);
    color: #6c3562;
}

#moneyPage #floorRooms3 .room-box {
    background: linear-gradient(135deg, #dbffc2 0%, #b5dc76 100%);
    color: #526534;
}

#moneyPage #floorRooms4 .room-box {
    background: linear-gradient(135deg, #ffd4c2 0%, #dc9076 100%);
    color: #835646;
}


/* money 1층 끝 *************/

/* money 리포트 리스트 시작 *************/

.moneyReportList .header-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
}

/* 검색 영역 */
.moneyReportList .search-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.moneyReportList .search-box input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.2s;
    background-color: #fff;
}

.moneyReportList .search-box input:focus {
    outline: none;
    border-color: #5d688a;
    box-shadow: 0 0 0 3px rgba(122, 77, 255, 0.08);
}

.moneyReportList .search-box::before {
    content: '🔍';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}

.moneyReportList .search-btn{
    padding: 10px;
    background: linear-gradient(135deg, #ddd 0%, #eee 100%);
    color: #666;
    min-width: 50px;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 16px rgba(140, 140, 140, 0.2);
}
.moneyReportList .search-btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(140, 140, 140, 0.4);
}
/* 추가 버튼 */
.moneyReportList .add-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #5d688a 0%, #808fbd 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(122, 77, 255, 0.3);
}

.moneyReportList .add-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(122, 77, 255, 0.4);
}

.moneyReportList .add-btn::before {
    content: '+';
    font-size: 18px;
    font-weight: 700;
}

/* 테이블 컨테이너 */

.moneyReportList p.tableInfo {
    color: #808fbd !important;
}
.moneyReportList p.tableInfo .tit{
    font-weight: 700;
    color: #666;
}

.moneyReportList .table-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

/* 테이블 */
.moneyReportList table {
    width: 100%;
    border-collapse: collapse;
}

.moneyReportList thead {
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.moneyReportList thead th {
    padding: 12px 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.2;
    vertical-align: middle;
}

.moneyReportList thead tr:first-of-type th:first-child {
    width: 5% !important;
    text-align: center;
}

.moneyReportList thead tr:nth-of-type(1) th:nth-child(2) {
    width: 8% !important;
}

.moneyReportList thead tr:nth-of-type(1) th:nth-child(3) {
    width: 15% !important;
}

.moneyReportList thead tr:nth-of-type(1) th:nth-child(4) {
    width: 15% !important;
}

.moneyReportList thead tr:nth-of-type(1) th:nth-child(5) {
    width: 15% !important;
}
.moneyReportList thead tr:nth-of-type(1) th:nth-child(6){
    width: 15% !important;
}
.moneyReportList thead tr:nth-of-type(2) th{
    width: auto !important;
}

/* 테이블 본문 */
.moneyReportList tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s;
}

.moneyReportList tbody tr:hover {
    background: #f9fafb;
}

.moneyReportList tbody td {
    padding: 20px;
    text-align: center;
    vertical-align: middle;
}

.moneyReportList tbody td:first-child {
    text-align: center;
}

/* 체크박스 */
.moneyReportList input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #5d688a;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* 사용자 정보 */
.moneyReportList .user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.moneyReportList .user-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.2px;
}
.moneyReportList .user-name +span{
    font-size: .9rem;
    display: inline-block;
    margin-top: 5px;
    color: #666;
    font-weight: 400;
    line-height: 1.1;
}

.moneyReportList .user-phone {
    font-size: 0.85rem;
    color: #6b7280;
}

/* 사용자 상세 */
.moneyReportList .user-detail {
    font-size: 0.9rem;
    color: #4b5563;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.moneyReportList .user-detail span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.moneyReportList .user-detail span::before {
    content: '';
    width: 3px;
    height: 3px;
    background: #d1d5db;
    border-radius: 50%;
}

.moneyReportList .user-detail span:first-child::before {
    display: none;
}

/* 완성도 표시 */
.moneyReportList .completion-status {
    text-align: center;
    cursor: pointer;
}
.moneyReportList .completion-status:hover{
    background-color: #f2f5f6;
}

.moneyReportList .completion-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.moneyReportList .completion-percent {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.moneyReportList .completion-percent.complete {
    color: #10b981;
}

.moneyReportList .completion-percent.incomplete {
    color: #f59e0b;
}

.moneyReportList .completion-percent.warning {
    color: #ef4444;
}

.moneyReportList .progress-bar {
    width: 100%;
    max-width: 120px;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.moneyReportList .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #5d688a 0%, #808fbd 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.moneyReportList .progress-fill.complete {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

.moneyReportList .progress-fill.incomplete {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}

.moneyReportList .progress-fill.warning {
    background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
}

.moneyReportList .completion-detail {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 4px;
}

/* 관리 버튼 */
.moneyReportList .action-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.moneyReportList .btn-simulation,
.moneyReportList .btn-print,
.moneyReportList .btn-edit,
.moneyReportList .btn-report{
    padding: 8px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    color: #4b5563;
}

.moneyReportList .btn-simulation i,
.moneyReportList .btn-print i,
.moneyReportList .btn-report i{
    font-size: 16px;
    font-weight: 700;
}
.moneyReportList .btn-print.active{
    background: #fff;
    border-color: #5d688a;
}
.moneyReportList .btn-print.active i{
    color : #5d688a;
}

.moneyReportList .btn-print.active:hover {
    border-color: #808fbd;
    background: linear-gradient(135deg, #808fbd 0%, #808fbd 100%);
    box-shadow: 0 4px 12px rgba(122, 77, 255, 0.3);
}
.moneyReportList .btn-print.active:hover i{
    color: #fff;
}

.moneyReportList .btn-simulation i{
    color: #4C5EAD;
    cursor: pointer;
}
.moneyReportList .btn-print.npti{
    border: 1px solid #0089f7;
}
.moneyReportList .btn-print.npti i{
    color: #0089f7;
}

.moneyReportList .btn-print.npti:active,
.moneyReportList .btn-print.npti:hover{
    background: linear-gradient(135deg, #0089f7 0%, #58b5ff 100%);
    border-color: #0089f7;
    box-shadow: 0 4px 12px rgba(0, 137, 247, 0.3);
}

.moneyReportList .btn-print.msig{
    border: 1px solid #f28f1a;
}
.moneyReportList .btn-print.msig i{
    color: #f28f1a;
}

.moneyReportList .btn-print.msig:active,
.moneyReportList .btn-print.msig:hover{
    background: linear-gradient(135deg, #f28f1a 0%, #ffbc6c 100%);
    border-color: #f28f1a;
    box-shadow: 0 4px 12px rgba(242, 143, 26, 0.4);
}

.moneyReportList .btn-print.npti:active i,
.moneyReportList .btn-print.npti:hover i,
.moneyReportList .btn-print.msig:active i,
.moneyReportList .btn-print.msig:hover i{
    color: #fff;
}

.moneyReportList .btn-print.noResult {
    background: #f3f4f6;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
}
.moneyReportList .btn-print.noResult i{
    color: #666;
}

.moneyReportList .btn-print.disabled ,
.moneyReportList .btn-report{
    background: #f3f4f6;
    color: #666;
    border-color: #e5e7eb;
    /*cursor: not-allowed;*/
    opacity: 0.6;
}
.moneyReportList .btn-print.disabled:before{
    content: '⚠️ ';
    font-size: 14px;
}
.moneyReportList .btn-print.noResult:hover{
    background: #f3f4f6;
    border-color: #e5e7eb;
    box-shadow: unset;
    transform: none;
}
.moneyReportList .btn-print.noResult:hover i{
    color: #9ca3af;
}
.moneyReportList .btn-print.disabled:hover {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
    transform: none;
}

/* 푸터 */
.moneyReportList .table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

.moneyReportList .table-info {
    font-size: 0.9rem;
    color: #6b7280;
}

.moneyReportList .pagination {
    display: flex;
    gap: 8px;
    align-items: center;
}

.moneyReportList .pagination button {
    padding: 8px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    color: #4b5563;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.moneyReportList .pagination button:hover:not(:disabled) {
    border-color: #5d688a;
    color: #5d688a;
    background: rgba(122, 77, 255, 0.05);
}

.moneyReportList .pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.moneyReportList .pagination .page-info {
    padding: 0 12px;
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 600;
}




/* money 스토리 시작 *************/

.moneyStory .story-section {
    margin-bottom: 120px;
}

.moneyStory .section-number {
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.moneyStory .section-title {
    font-size: 36px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 24px;
    line-height: 1.3;
}

.moneyStory .section-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 32px;
    line-height: 1.5;
}

.moneyStory .section-content {
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
}

.moneyStory .section-content p {
    margin-bottom: 20px;
}

.moneyStory .section-content strong {
    color: #5d688a;
    font-weight: 700;
}

.moneyStory .highlight-box {
    background: #f3f4f6;
    padding: 28px 32px;
    border-radius: 12px;
    margin-top: 32px;
    border-left: 4px solid #4b5563;
}

.moneyStory .highlight-box p {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    line-height: 1.6;
    margin: 0;
}

.moneyStory .comparison-container {
    margin-top: 48px;
}

.moneyStory .comparison-box {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 36px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.moneyStory .comparison-box:hover {
    border-color: #4b5563;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.moneyStory .comparison-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.moneyStory .comparison-list {
    list-style: none;
    padding: 0;
}

.moneyStory .comparison-list li {
    padding: 12px 0 12px 24px;
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    position: relative;
}

.moneyStory .comparison-list li::before {
    content: '·';
    position: absolute;
    left: 8px;
    color: #9ca3af;
    font-weight: bold;
    font-size: 20px;
}
.moneyStory .houseWrap{
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.moneyStory .house-contain {
    width: 60%;
}
.moneyStory .divider {
    height: 1px;
    background: #e5e7eb;
    margin: 80px 0;
}
.moneyStory .house-preview{
    position: unset !important;
}
.moneyStory .final-message {
    text-align: center;
    padding: 60px 0;
}

.moneyStory .final-message .emoji {
    font-size: 48px;
    margin-bottom: 24px;
}

.moneyStory .final-message h3 {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 16px;
    line-height: 1.4;
}

.moneyStory .final-message p {
    font-size: 17px;
    line-height: 1.7;
    color: #6b7280;
}

/* money 스토리 끝 *************/



@media (max-width: 640px) {
    .moneyReportList {
        padding: 16px;
    }

    .moneyReportList .list-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .moneyReportList .header-actions {
        width: 100%;
        flex-direction: column;
    }

    .moneyReportList .search-box {
        width: 100%;
    }

    .moneyReportList .add-btn {
        width: 100%;
        justify-content: center;
    }
}

/* money 리포트 리스트 끝 *************/



/* money 프린트 시작 *************/
/*고정 부분~~~~~~*/

.moneyPrintResult{
    width: 90%;
    margin: 0 auto;
    max-width: 210mm;
}

.moneyPrintResult .paper-inner{
    height: 100%;
    max-height: 290mm;
    position: relative;
    min-height: 290mm;
}
.moneyPrintResult .paper-inner:after{
    content: '지적재산권 © NPTI연구원 무단 복제 사용 엄금'; position: absolute; bottom: 5mm; left: 50%;
    transform: translateX(-50%); color: #ddd; font-size: 9pt; font-weight: 600;
}
.moneyPrintResult div[class^=paper]:not(.paper0):not(.last) .paper-inner{
    width: 90%;
    margin : .5mm auto;
}
.moneyPrintResult .header{
    position: relative;
    padding-top: 20px;
    margin-bottom: 30px;
}
.moneyPrintResult .header p + span {
    font-size: 9pt; line-height: 1.5; color: #666; display: block; margin-top: 10px;
}
.moneyPrintResult .header p + span b{
    font-weight: 800;
}
.moneyPrintResult .header:before{
    position: absolute; top: -.5mm; left: 10%;
    width: 100mm; height: 10px;
    background-color: #5d688a; content: '';
}
.moneyPrintResult .header strong{
    color: #5d688a;
    font-weight: 800;
    font-size: 18pt;
    display: inline-block;
    margin-right: 10px;
    font-family: 'NanumSquare Neo variable' ,'Apple SD Gothic Neo', 'Gulim', sans-serif !important;
}
.moneyPrintResult p.subTxt{
    display: block !important;
    font-size: 10pt !important;
    color: #5d688a !important;
    line-height: 1.5 !important;
    margin: 10px 0 0;
    font-weight: 500 !important;
}
.moneyPrintResult .header p{
    display: inline-block;
    font-size: 14pt;
    font-weight: 700;
    color: #000;
}
.moneyPrintResult table{
    width: 100%;
}
.moneyPrintResult .small{
    font-size: 8pt;
}
.moneyPrintResult td.th{
    font-weight: 700;
}
/*고정 부분~~~~~~*/

.moneyPrintResult .paper0{
    position: relative;
}
.moneyPrintResult .paper0 img,
.moneyPrintResult .last img{
    width: 100%;
    height: 100%;
}
.moneyPrintResult .customerInfo{
    position: absolute;
    left: 40px;
    top: 42%;
}
.moneyPrintResult .paper0 dl{
    font-size: 12pt;
    display: flex;
    gap: 15px;
    color: #5d688a;
}
.moneyPrintResult .paper0 dl:not(:last-of-type){
    margin-bottom: 20px;
}
.moneyPrintResult .paper0 dt{
    font-weight: 600;
    min-width: 50px;
}
.moneyPrintResult .paper0 dd{
    font-weight: 500;
}

/*표지 끝 ~~~~~~*/

/*3번째 페이지 시작 ~~~~~~*/
.moneyPrintResult .paper0.three h3{
    top: 250px;
    font-size: 20pt;
    font-weight: 600;
}
.moneyPrintResult .paper0.three strong{
    top: 300px;
    font-size: 64pt;
    font-weight: 700;
    display: inline-block;
    border-bottom: 2px solid #ddd;
    padding-bottom: 15px;
}
.moneyPrintResult .paper0.three strong,
.moneyPrintResult .paper0.three h3{
    color: #373e52;
    position: absolute;
    left: 50%; transform: translateX(-50%);
}
/*3번째 페이지 끝 ~~~~~~*/
.moneyPrintResult .paper1 .header{
    flex-shrink: 0;
}
.moneyPrintResult .paper1 .content{
    flex: 1;
    display: flex;
    justify-content: center;
}
.moneyPrintResult .paper1 .subTxt .bold{
    font-size: 14pt;
    font-weight: 700;
    color: #6bb8b3;
}
.moneyPrintResult .paper1 .house-preview {
    margin: 0 auto !important;
}
.moneyPrintResult .paper1 table{
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    width: 100%;
}
.moneyPrintResult .paper1 table:not(:last-of-type) {
    margin-bottom: 30px;
}
.moneyPrintResult .paper1 table caption{
    text-align: left;
    margin-bottom: 10px;
    font-size: 9pt;
    color: #666;
    font-weight: 800;
}
.moneyPrintResult .paper1 table th{
    padding: 8px;
    font-size: 10pt;
    background-color: rgba(93, 104, 138, 0.1);
    font-weight: 700;
}
.moneyPrintResult .paper1 table .total-row td{
    background-color: rgba(93, 104, 138, 0.1);
    font-weight: 600;
}
.moneyPrintResult .paper1 table td{
    background-color: #fff;
    font-size: 9pt;
    vertical-align: middle;
    font-weight: 400;
    text-align: center;
    padding: 8px;
}
.moneyPrintResult .paper1 table tr:last-of-type td,
.moneyPrintResult .paper1 table tr:first-of-type td:first-of-type{
    border-bottom: 1px solid #eee;
}
.moneyPrintResult .paper1 table td.th{
    background-color: rgba(93, 104, 138, 0.5);
    font-weight: 700;
}
/* 정보요약 끝 ~~~~~~*/

.moneyPrintResult .paper10 th,
.moneyPrintResult .paper10 td,
.moneyPrintResult .paper9 th,
.moneyPrintResult .paper9 td,
.moneyPrintResult .paper8 th,
.moneyPrintResult .paper8 td,
.moneyPrintResult .paper4 th,
.moneyPrintResult .paper4 td,
.moneyPrintResult .paper3 th,
.moneyPrintResult .paper3 td,
.moneyPrintResult .paper2 th,
.moneyPrintResult .paper2 td {
    border: 1px solid #d1d5db;
    padding: 7px 12px;
    font-size: 8pt;
    text-align: center;
    vertical-align: middle;
}
.moneyPrintResult .paper2 td{
    padding: 5px 10px !important;
}

.moneyPrintResult .paper10 th,
.moneyPrintResult .paper9 th,
.moneyPrintResult .paper8 th,
.moneyPrintResult .paper4 th,
.moneyPrintResult .paper3 th,
.moneyPrintResult .paper2 th {
    background: #f3f4f6;
    font-weight: 700;
    color: #374151;
}
.moneyPrintResult .paper4 table .sub-header,
.moneyPrintResult .paper3 table .sub-header,
.moneyPrintResult .paper2 table .sub-header{
    background-color: #f3f4f6;
    text-align: left;
    font-weight: 800;
}
.moneyPrintResult .paper4 .indent-1,
.moneyPrintResult .paper3 .indent-1,
.moneyPrintResult .paper2 .indent-1{
    font-weight: 700;
}
.moneyPrintResult .paper4 .indent-2,
.moneyPrintResult .paper3 .indent-2,
.moneyPrintResult .paper2 .indent-2 {
    text-align: left;
}
.moneyPrintResult .paper4 .highlight-yellow,
.moneyPrintResult .paper3 .highlight-yellow,
.moneyPrintResult .paper2 .highlight-yellow {
    background: rgba(122, 77, 255, 0.05);
    font-weight: 700;
}
.moneyPrintResult .paper4 .total-row,
.moneyPrintResult .paper3 .total-row,
.moneyPrintResult .paper2 .total-row {
    background: #fef3c7;
    font-weight: 700;
}
.moneyPrintResult .paper4 .note,
.moneyPrintResult .paper3 .note,
.moneyPrintResult .paper2 .note {
    color: #6b7280;
    font-size: 9pt;
    font-weight: 600;
    text-align: center;
}
.moneyPrintResult .paper4 .number,
.moneyPrintResult .paper3 .number,
.moneyPrintResult .paper2 .number {
    text-align: right;
    font-family: 'Arial', sans-serif;
}


.moneyPrintResult .paper3 th,
.moneyPrintResult .paper3 td{
    padding: 5px ;
}
.moneyPrintResult .paper3 th .tSmall{
    display: block;
    font-size: 6pt;
    margin-top: 2px;
}
.moneyPrintResult .paper3 tfoot td{
    padding: 0;
    text-align: left;
}
.moneyPrintResult .paper3 .baselineCalc{
    width: 100%;
    background-color: #f3f4f6;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-top-color : transparent;
    color: #374151;
    font-size: 9pt;
    font-weight: 400;
    line-height: 1.4;
}
.moneyPrintResult .paper3 .baselineCalc strong{
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 10pt;
}

.moneyPrintResult .paper3 .baselineCalc .bold{
    font-weight: 600;
    font-size: 8pt;
    display: block;
    margin: 5px 0;

}
.moneyPrintResult .paper8 td .small,
.moneyPrintResult .paper3 .baselineCalc .small{
    font-size: 8pt;
    margin-left: 2px;
    font-weight: 400;
}



/*3 4 페이지 끝 ~~~~~~~*/
.moneyPrintResult .paper5 .content,
.moneyPrintResult .paper6 .content{
    display: flex;
    flex-direction: column;
    gap: 100px;
}
.moneyPrintResult .chartWrap,
.moneyPrintResult .chartBox{
    height: 300px;
    position: relative;
    width: 100%;
}
#simulationChartPopup .cycleArea,
.moneyPrintResult .cycleArea{
    margin-top: 30px;
    height: 300px;
    width: 100%;
}
.moneyPrintResult .chartWrap strong{
    font-size: 10pt;
    text-align: center;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #666;
}
.moneyPrintResult .chartWrap strong .simulationInfo {
    font-weight: 400;
    display: inline-block;
    margin-left: auto;
    color: #6bb8b3;
}
.moneyPrintResult .chartWrap strong .simulationInfo .bold{
    font-weight: 700;
}
#simulationChartPopup .chartWrap canvas,
.moneyPrintResult .chartWrap canvas,
.moneyPrintResult .chartBox canvas{
    width: 100%;
    height: 100%;
}

.moneyPrintResult .paper6 .chartWrap:last-of-type .labelBox{
    bottom: -90px;
}
#simulationChartPopup .labelBox,
.moneyPrintResult .labelBox{
    display: flex;;
    gap: 15px;
    align-items: center;
    justify-content: center;
    border: 1px solid #5d688a;
    background-color: #fff;
    position: absolute;
    border-radius: 10px;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    flex-wrap: wrap;
    max-width: 350px;
    padding: .5rem;
}
#simulationChartPopup .labelBox li,
.moneyPrintResult .labelBox li{
    font-size: .8rem;
    color: #666;
    position: relative;
    font-weight: 600;
    padding-left: 20px;
}
#simulationChartPopup .labelBox li:before,
.moneyPrintResult .labelBox li:before{
    content: '';
    position: absolute;
    top: 50%; left: 0; transform: translateY(-50%);
    width: 5px;
    height: 10px;
    border-radius: 2px;
}
#simulationChartPopup .labelBox li.incomeUnUse:before,
.moneyPrintResult .labelBox li.incomeUnUse:before {
    background-color: #6644ef;
}
#simulationChartPopup .labelBox li.incomeUse:before,
.moneyPrintResult .labelBox li.incomeUse:before{
    background-color: #4da9ff;
}
#simulationChartPopup .labelBox li.needTotal:before,
.moneyPrintResult .labelBox li.needTotal:before{
    background-color: #ff4d4d;
}
#simulationChartPopup .labelBox li.simulation:before,
.moneyPrintResult .labelBox li.simulation:before{
    background-color: #ff4dd5;
}
/* 8 페이지 끝 ~~~~~~~*/
.moneyPrintResult .paper2 h3,
.moneyPrintResult .paper9 h3{
    font-size: 10pt;
    font-weight: 800;
    color: #666;
    margin-bottom: 10px;
}
.moneyPrintResult .paper2 h3{
    margin-bottom: -10px;
}
.moneyPrintResult .paper2 .house-preview {
    width: 80% !important;
}
.moneyPrintResult .paper2 .house-roof {
    border-left: 280px solid transparent !important;
    border-right: 280px solid transparent !important;
}
.moneyPrintResult .paper2 .house-structure,
.moneyPrintResult .paper2 .money-summary {
    width: 100% !important;
    max-width: unset !important;
}
.moneyPrintResult .paper2 .money-items {
    grid-template-columns: repeat(4, 1fr) !important;
}
.moneyPrintResult .paper2 .money-item:first-of-type{ order: 1}
.moneyPrintResult .paper2 .money-item:nth-of-type(2){order: 2}
.moneyPrintResult .paper2 .money-item:nth-of-type(3){order: 4}
.moneyPrintResult .paper2 .money-item:last-of-type{order: 3}

.moneyPrintResult .paper2 .money-total {
    flex-direction: row !important;
    justify-content: center;
}
.moneyPrintResult .paper2 .content{
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.moneyPrintResult .paper2 .contain1{
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    gap: 10px;
}
.moneyPrintResult .paper2 .contain1 .left{
    width: 75%;
}
.moneyPrintResult .paper2 .contain1 .left ul:first-of-type{
    display: grid;
    grid-template-columns: repeat(2,1fr);
}

.moneyPrintResult .paper2 .contain1 .right{
    width: 22%;
}
.moneyPrintResult .paper2 .contain2 ul{
    display: grid;
    grid-template-columns: repeat(3,1fr);
}
.moneyPrintResult .paper2 ul li{
    padding: 15px 10px;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.moneyPrintResult .paper2 .contain2 ul li:not(:nth-of-type(3n)){
    border-right: 1px solid #eee;
}
.moneyPrintResult .paper2 .contain1 .left ul li:nth-child(-n+2){
    border-bottom: 1px solid #eee;
}
.moneyPrintResult .paper2 .contain1 .left ul li:nth-child(2n){
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}
.moneyPrintResult .paper2 li strong{
    font-size: 10pt;
    font-weight: 700;
    color: #666;
    position: relative;
    padding-bottom: 10px;
}
.moneyPrintResult .paper2 .content strong:before{
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 10px; height: 1px ;background-color: #666;
}
.moneyPrintResult .paper2 .moneyBox{
    display: flex;
    gap: 5px;
    align-items: flex-end;
    justify-content: center;
}

.moneyPrintResult .paper2 .moneyBox .manWon{
    font-size: 9pt;
    font-weight: 500;
    color: #666;
}
.moneyPrintResult .paper2 h5{
    font-size: 16pt;
    color: #000;
    font-weight: 800;
}
.moneyPrintResult .paper2 .percent span{
    color: #5d688a;
    font-size: 10pt;
    font-weight: 700;
}
.moneyPrintResult .paper2 .level{
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 8pt;
    background-color: rgba(93, 104, 138, 0.1);
    color: #5d688a;
    display: inline-block;
    max-width: 150px;
    margin: 0 auto;
    font-weight: 600;
}

/* paper 8 시작 ---------*/
.moneyPrintResult .paper8 table{
    width: 100%;
    table-layout: fixed;
}
.moneyPrintResult .paper8 table caption {
    text-align: left;
    color: #5d688a;
    font-weight: 600;
    font-size: 9pt;
    margin-bottom: 20px;
}
.moneyPrintResult .paper8 table td .small{
    display: block;
}
.moneyPrintResult .paper8 table td{
    line-height: 1.5;
    font-size: 9pt;
}

.moneyPrintResult .paper8 table td:first-of-type{
    width: 10%;
}

.moneyPrintResult .paper8 table td:last-of-type,
.moneyPrintResult .paper8 table td:nth-of-type(2) {
    width: 15%;
}

.moneyPrintResult .paper8 table td:nth-child(n+3):nth-of-type(-n+5){
    width: 25%;
}
/* paper 9 시작~~~~~~*/
.moneyPrintResult .paper9 table.health{
    margin-bottom: 30px;
}
.moneyPrintResult .paper9 .box:first-of-type table tr:last-of-type td {
    background-color: rgba(122, 77, 255, 0.05);
}
.moneyPrintResult .paper9 table.health td{
    line-height: 1.2;
}
.moneyPrintResult .paper9 table+.small{
    display: block;
    margin: 10px 0 0;
    text-align: center;
    color: #666;
}
/* money 프린트 끝 *************/

/* money 쿠폰 구매 시작 *************/
.moneyPayPage .sub{
    font-size: .895rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #666;
}
.moneyPayPage .payWrap {
    display: flex;
    gap: 20px;
    align-items: center;
}
.moneyPayPage .payWrap:first-of-type{
    margin-bottom: 30px;
}
.moneyPayPage .payBox {
    display: flex;
    align-items: center;
}
.moneyPayPage input[type=radio] {
    width: 20px; height: 20px; margin: 0 5px 0 0;

}
.moneyPayPage input[type=radio]:checked {
    accent-color: #5d688a;
}
.moneyPayPage input[type=radio] +label{
    padding-top: 2px;
}
.moneyPayPage li {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    line-height: 1.8;
}
.moneyPayPage li .small{
    font-size: .9rem;
    font-weight: 400;
}
.moneyPayPage .box:first-of-type{
    margin-bottom: 50px;
}
.moneyPayPage #payCountBox{
    border: 2px solid rgba(93, 104, 138, 0.3);
    color: #333;
    border-radius: 5px;
    padding: .5rem 1rem;
    font-size: .95rem;
    font-weight: 500;
}
.moneyPayPage .box:last-of-type .tit{
    font-size: 1.05rem;
    font-weight: 700;
    min-width: 100px;
    margin-right: 10px;
    display: inline-block;
    margin-bottom: 5px;
}
.moneyPayPage .box:last-of-type label{
    color: #333;
}
.moneyPayPage .box:last-of-type li:first-of-type {
    margin-bottom: 15px;
}
.moneyPayPage .submitPay{
    max-width: 120px;
    padding: .8rem 1.5rem;
    border: 1px solid transparent;
    background-color: #f1f1f1;
    font-weight: 600;
    color: #666;
    border-radius: 5px;
    margin: 30px 0;
    font-size: .95rem;
}
.moneyPayPage .box:last-of-type button:hover,
.moneyPayPage .box:last-of-type button:active{
    opacity: .7;
}
/* money 쿠폰 구매 끝 *************/



/* 태블릿 시작-------------------------------------------------------------------------*/
@media all and (max-width: 1023px){
    /*    assa 시작 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
    .moneyUserInput, .moneyCashFlow, .moneyFinalGoals, .moneyLifeCycle, .moneySimulation, .moneyHome, .moneyReportList{
        margin-left: 0;
    }
    .moneyCashFlow .questArea,.moneyFinalGoals .questArea, .moneyUserInput .questArea, .moneyLifeCycle .questArea, .moneySimulation .questArea, .moneyHome .questArea, .moneyReportList .questArea{
        padding: 5rem 3%;
    }

    .moneyMenu{
        width: 30%;
        transition: all .3s ease-in-out;
        transform: translateX(-100%);
        visibility: hidden;
        opacity: 0;
    }
    .moneyMenu.on{
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    }
    .moneyMenu .menu-header{
        padding: 20px 12px;
    }
    .moneyMenu .moneyMenu-inner{
        width: 100%;
    }
    .moneyMenu.on +#menuFold{
        left: 30%;
    }
    .moneyMenu +#menuFold i.bi-chevron-left,
    .moneyMenu.on +#menuFold i.bi-list{
        display: none;
    }
    .moneyMenu.on +#menuFold i.bi-chevron-left{
        display: block;
    }
    #menuFold{
        display: block;
    }
    .moneyMenu .form-row button{
        font-size: 0.8rem;
    }
    .moneyReportList tbody td{
        padding: 10px;
    }

    .moneyView .questArea button{
        bottom: 50px;
    }

/*    머니 스토리 ----*/
    .moneyStory .house-contain{
        width: 100%;
    }

}
/* 태블릿 끝 --------------------------------------------------------------------------*/


/* 모바일 시작-------------------------------------------------------------------------*/
@media all and (max-width: 768px) {

    .moneyHome .questArea {
        padding: 24px 20px;
    }

    .moneyHome .defaultInput h2 {
        font-size: 22px;
    }

    .moneyHome .homeGauge {
        padding: 20px;
    }

    .moneyHome .gauge-number {
        font-size: 28px;
    }






    /*    money 시작 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/


    .moneyBasic, .moneyView, .moneyDoorInput, .moneyFloorInput, .moneyUserInput, .moneyCashFlow, .moneyFinalGoals, .moneyLifeCycle, .moneySimulation, .moneyHome, .moneyReportList,.moneyStory {
        margin-left: 0;
    }

    #moneyPage:not(.moneyHome) .home-inner{
        padding:4rem 5% 2rem;
    }
    .moneyMenu {
        width: 78%;
    }

    .moneyMenu.on {
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    }

    .moneyMenu.on + #menuFold {
        left: 78%;
        border-left: 1px solid transparent;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    }

    .moneyCashFlow .questArea, .moneyFinalGoals .questArea, .moneyUserInput .questArea, .moneyLifeCycle .questArea, .moneySimulation .questArea, .moneyHome .questArea, .moneyReportList .questArea {
        padding: 5rem 5%;
    }

    .moneyFinalGoals .form-row, .moneyUserInput .form-row {
        grid-template-columns: 100px 1fr;
    }

    .moneySimulation input[type=text], .moneySimulation input[type=number], .moneyUserInput input[type="text"], .moneyUserInput input[type="number"], .moneyUserInput select {
        padding: 10px;
    }

    .moneyUserInput .addr_btn {
        max-width: 120px;
        padding: 10px 12px;
        font-size: .8rem;
    }

    .moneyLifeCycle .cycleArea {
        overflow-x: auto;
    }

    .moneyLifeCycle .cycleArea canvas {
        width: 800px !important;
        display: block;
        max-width: 100%;
        height: auto !important;
    }

    .moneyFinalGoals .form-section,
    .moneyCashFlow .form-section,
    .moneyReportList .table-container {
        width: 100%;
        overflow-x: auto;
        position: relative;
    }

    .moneyFinalGoals .form-section table,
    .moneyCashFlow .form-section table,
    .moneyReportList table {
        width: 800px;
    }

    .moneyReportList .table-footer {
        position: sticky;
        bottom: 0;
        left: 0;
    }

    .moneyCashFlow .form-section:first-of-type:before,
    .moneyCashFlow .form-section:nth-of-type(2):before,
    .moneyFinalGoals .form-section:before {
        bottom: unset;
        top: 60px;
    }

    .moneyFinalGoals input[type="text"], .moneyFinalGoals input[type="number"], .moneyCashFlow input[type="text"], .moneyCashFlow input[type="number"] {
        min-width: 80px;
    }

    .moneyFinalGoals .form-section:before,
    .moneyCashFlow .form-section:before,
    .moneyReportList .table-container:before {
        content: '좌우로 밀어보세요';
        font-size: .9rem;
        font-weight: 700;
        color: #ddd;
        position: absolute;
        bottom: 78px;
        left: 5px;
        z-index: 50;
        animation: fadeStyle 1.5s ease-in-out infinite;
    }

    @keyframes fadeStyle {
        0% {
            opacity: 1;
        }
        50% {
            opacity: .5;
        }
        100% {
            opacity: 1;
        }
    }

    .moneyPrintResult {
        width: 100%;
    }

    .moneyPrintResult .header:before {
        width: 40%;
    }
    .moneyPrintResult .paper0.three h3{
        font-size: 14pt;
        top: 50px;
    }
    .moneyPrintResult .paper0.three strong{
        top: 110px;
        font-size: 34pt;
    }
    .moneyPrintResult .header p {
        margin-top: 5px;
    }
    .moneyPrintResult .table-container {
        /*overflow-x: auto;*/
        width: 100%;
    }

    .moneyPrintResult .table-container table {
        width: 800px;
    }
    .moneyPrintResult .paper1 .content{
        flex-direction: column;
    }
    .moneyPrintResult .paper1 table{
        margin-top: 20px
    }
    .moneyView{
        width: 100% !important;
    }
    .moneyView .questArea,
    .moneyView .finance-inner{
        height: 100%;
    }
    .moneyView .finance-inner{
        overflow-x: auto;
    }
    .moneyView .questArea{
        padding: 0;
    }
    .moneyView .imgArea{
        height: 100vh;
    }
    .moneyView .imgArea img{
        width: 100%; height: 100%; object-fit: cover;
    }
    .moneyPrintResult .paper2 .house-roof{
        border-left: 130px solid transparent !important;
        border-right: 130px solid transparent !important;
    }
    .moneyPrintResult .paper2 .money-items{
        grid-template-columns: repeat(2, 1fr) !important;
    }
    #moneyPage #submit{
        margin: 0;
        bottom: 10px;
        transform: translateX(-50%);
        font-size: .95rem;
        padding: 10px;
    }
    #moneyPage .money-amount{
        font-size: .9rem;
    }
    #moneyPage .form-section{
        padding: 35px 20px;
    }
    #moneyPage .content-wrapper{
        flex-direction: column-reverse;
    }
    #moneyPage .house-preview{
        position: relative;
        padding: 25px;
        width: 100%;
    }
    #moneyPage .house-preview:after{
        content: '아래로 슬라이드 하세요';
        position: absolute; top: -20px; font-size: 1rem; font-weight: 700;
        color: #b7b7b7;  border-radius: 10px; padding: .5rem; width: 100%; text-align: center;
        animation: fadeInDown 1.8s infinite ease-in-out; left: -10px;
    }

    .moneyBasic .defaultBox h2, .moneyFinalGoals .defaultInput h2, .moneyUserInput .defaultInput h2, .moneyLifeCycle .defaultInput h2, .moneySimulation .defaultInput h2, .moneyHome .questArea h2, .moneyReportList .questArea h2,
    #moneyPage .exArea .exTit{
        text-align: center;
    }
    #moneyPage .exArea .exTit .small{
        margin: 5px 0 0 0;
    }
    .moneyHome .homeGauge{
        width: 100%;
    }
    /* 머니 하우스 스토리 시작 ------------------------------------*/
    .moneyStory .house-contain{
        width: 100%;
    }

    .moneyStory .comparison-box{
        padding: .8rem;
    }
    .moneyStory .highlight-box{
        padding: 1.5rem;
    }
    #moneyPage.moneyStory .content-wrapper {
        display: block !important;
    }
    #moneyPage.moneyStory .house-roof {
        border-left: 110px solid transparent !important;
        border-right: 110px solid transparent !important;
    }
    .moneyStory .section-title{
        font-size: 1.6rem;
    }
    #moneyPage .form-title,
    .moneyStory .section-content p{
        font-size: .95rem;
    }
    .moneyStory .highlight-box p{
        font-size: 1rem;
    }
}