.loading-page-container{position:fixed;top:0;left:0;width:100%;height:100vh;background-color:#fff;display:flex;justify-content:center;align-items:center;z-index:9999}.loading-content{display:flex;flex-direction:column;align-items:center;justify-content:center}.loading-logo{width:80px;height:auto;animation:pulse 1.5s infinite ease-in-out}@keyframes pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.8}to{transform:scale(1);opacity:1}}.login-container{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100vh;background:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.login-logo{width:80px;margin-bottom:16px}.login-subtitle{color:#000;margin-bottom:40px;font-size:16px;font-weight:600}.login-form{width:100%;max-width:360px;display:flex;flex-direction:column;gap:12px}.login-input{width:100%;padding:14px;border:1px solid #ccc;border-radius:8px;font-size:14px;box-sizing:border-box}.login-input::placeholder{color:#aaa}.login-input:focus{outline:none;border-color:#000}.login-button{width:100%;padding:14px;background-color:#000;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:700;cursor:pointer;margin-top:12px}.login-button:disabled{background-color:#555;cursor:not-allowed}.footer-links span{color:#ddd}.sns-section{margin-top:60px;text-align:center;width:100%;max-width:360px}.sns-label{display:flex;align-items:center;color:#666;font-size:12px;margin-bottom:20px}.sns-label:before,.sns-label:after{content:"";flex:1;border-bottom:1px solid #ddd}.sns-label:before{margin-right:10px}.sns-label:after{margin-left:10px}.sns-icons{display:flex;justify-content:center;gap:16px}.sns-circle{width:48px;height:48px;background-color:#d9d9d9;border-radius:50%;cursor:pointer}.dashboard-container{min-height:100vh;background-color:#f5f6f8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;padding-bottom:80px}.dashboard-header{background-color:#dbefff;padding:20px 20px 30px;border-bottom-left-radius:24px;border-bottom-right-radius:24px}.header-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.back-button{font-size:24px;background:none;border:none;cursor:pointer;padding:0}.member-manage-link{font-size:14px;color:#555;text-decoration:underline;cursor:pointer}.balance-label{font-size:14px;color:#555;margin-bottom:4px}.balance-amount{font-size:28px;font-weight:800;color:#000;display:flex;align-items:center;gap:6px}.info-icon{font-size:16px;color:#aaa;cursor:pointer}.action-buttons{display:flex;gap:10px;margin-top:20px}.action-btn{flex:1;padding:10px 0;border-radius:8px;border:none;font-size:14px;font-weight:600;cursor:pointer;text-align:center}.action-btn.primary{background-color:#004d99;color:#fff}.action-btn.secondary{background-color:#e8f0fe;color:#004d99}.dashboard-content{padding:20px}.section-title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;margin-top:24px}.section-title-row:first-child{margin-top:0}.section-title{font-size:16px;font-weight:700;color:#333}.view-all{font-size:12px;color:#777;cursor:pointer;display:flex;align-items:center}.transaction-list{display:flex;flex-direction:column;gap:12px}.transaction-card{background:#fff;border-radius:16px;padding:16px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 8px #00000008}.trans-info{display:flex;flex-direction:column}.trans-title-row{display:flex;align-items:center;gap:8px;margin-bottom:4px}.trans-title{font-size:16px;font-weight:700;color:#000}.trans-tag{font-size:10px;padding:2px 6px;border-radius:4px;background-color:#e8f0fe;color:#007bff}.trans-date{font-size:12px;color:#999}.trans-amount-col{text-align:right}.trans-amount{font-size:16px;font-weight:700}.trans-amount.expense{color:#e03e3e}.trans-amount.income{color:#28a745}.receipt-link{font-size:12px;color:#999;margin-top:4px;display:flex;align-items:center;justify-content:flex-end;gap:2px}.member-status-card{background:#fff;border-radius:16px;padding:20px;box-shadow:0 2px 8px #00000008}.member-row{display:grid;grid-template-columns:1.5fr 1fr 1.5fr 40px;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f0f0f0}.member-row:last-child{border-bottom:none}.member-header{font-size:12px;color:#999;margin-bottom:8px}.member-name{font-size:14px;font-weight:600;color:#333}.member-status{font-size:14px;font-weight:600}.status-paid{color:#28a745}.status-unpaid{color:#e03e3e}.member-date{font-size:14px;color:#555}.chart-container{background:#fff;border-radius:16px;padding:20px;margin-bottom:20px;box-shadow:0 2px 8px #00000008;display:flex;flex-direction:column;align-items:center}.donut-chart-wrapper{position:relative;width:200px;height:200px;display:flex;align-items:center;justify-content:center}.donut-center-text{position:absolute;text-align:center}.donut-label{font-size:12px;color:#999}.donut-value{font-size:18px;font-weight:700;color:#000}.chart-legend{display:flex;justify-content:space-around;width:100%;margin-top:20px}.legend-item{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600}.legend-color{width:8px;height:8px;border-radius:50%}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background:#fff;border-radius:16px;width:95%;max-width:1000px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 4px 12px #00000026}.modal-header{padding:20px;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;align-items:center}.modal-title{font-size:18px;font-weight:700;color:#333}.modal-close{background:none;border:none;font-size:24px;color:#999;cursor:pointer;padding:0}.modal-body{padding:20px;overflow-y:auto}.modal-empty{text-align:center;color:#999;padding:40px 0}.receipt-image-container{display:flex;justify-content:center;align-items:center;padding:20px;background-color:#f8f9fa;border-radius:8px;min-height:200px}.receipt-image{max-width:100%;max-height:60vh;object-fit:contain;border-radius:4px;box-shadow:0 2px 8px #0000001a}.receipt-link{font-size:12px;color:#999;margin-top:4px;display:flex;align-items:center;justify-content:flex-end;gap:2px;cursor:pointer}.receipt-link:hover{color:#007bff;text-decoration:underline}.register-container{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100vh;background:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.register-logo{width:80px;margin-bottom:16px}.register-subtitle{color:#000;margin-bottom:40px;font-size:16px;font-weight:600}.register-form{width:100%;max-width:360px;display:flex;flex-direction:column;gap:12px}.register-input{width:100%;padding:14px;border:1px solid #ccc;border-radius:8px;font-size:14px;box-sizing:border-box}.register-input::placeholder{color:#aaa}.register-input:focus{outline:none;border-color:#000}.register-button{width:100%;padding:14px;background-color:#000;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:700;cursor:pointer;margin-top:12px}.register-button:disabled{background-color:#555;cursor:not-allowed}.footer-links{display:flex;justify-content:center;gap:16px;margin-top:24px;font-size:12px;color:#888}.footer-links a{color:#888;text-decoration:none;cursor:pointer}.footer-links a:hover{text-decoration:underline}.group-select-container{min-height:100vh;background-image:url(/assets/background-CDm3mXE3.png);background-size:cover;background-position:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;display:flex;flex-direction:column}.group-header-section{background:linear-gradient(135deg,#4facfe,#00f2fe);padding:40px 24px 60px;color:#fff}.group-logo{width:40px;height:40px;margin-bottom:24px;background-color:#fff;border-radius:8px;object-fit:contain;background:transparent}.group-greeting{font-size:24px;font-weight:700;line-height:1.4;color:#000}.group-select-container{background-color:#eef8ff;min-height:100vh;position:relative}.top-section{padding:40px 24px}.top-logo{width:40px;margin-bottom:20px}.greeting-text{font-size:22px;font-weight:700;color:#000;line-height:1.4}.content-section{background-color:#f7f8fa;border-top-left-radius:30px;border-top-right-radius:30px;padding:30px 24px;flex:1;min-height:60vh;box-shadow:0 -4px 20px #00000005}.group-select-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding:0 4px}.group-select-title{font-size:18px;font-weight:700;color:#000}.group-join-button{background:none;border:none;color:#000;font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:4px}.group-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.group-card{background:#fff;border-radius:16px;padding:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 2px 8px #0000000d;aspect-ratio:1 / 1.1;position:relative}.group-card-title{font-size:16px;font-weight:700;margin-bottom:4px;text-align:center}.group-card-subtitle{font-size:12px;color:#888;margin-bottom:16px}.group-avatars{display:flex;justify-content:center;margin-bottom:20px}.group-avatar{width:36px;height:36px;border-radius:50%;border:2px solid white;margin-left:-10px;background-color:#ddd;object-fit:cover}.group-avatar:first-child{margin-left:0}.group-avatar-more{width:36px;height:36px;border-radius:50%;background-color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:#000;margin-left:8px}.group-enter-button{width:100%;padding:10px;background-color:#dbefff;color:#007bff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer}.group-enter-button:hover{background-color:#cce5ff}.add-group-card{background:#fff;border-radius:16px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #0000000d;aspect-ratio:1 / 1.1;cursor:pointer}.add-group-icon{width:48px;height:48px;border-radius:50%;background-color:#dbefff;color:#007bff;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:300}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;padding:24px;border-radius:16px;width:90%;max-width:320px;text-align:center}.modal-title{font-size:18px;font-weight:700;margin-bottom:16px}.modal-input{width:100%;padding:12px;border:1px solid #ddd;border-radius:8px;margin-bottom:16px;font-size:14px;box-sizing:border-box}.modal-actions{display:flex;gap:8px}.modal-button{flex:1;padding:12px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer}.modal-button.cancel{background-color:#f0f0f0;color:#333}.modal-button.confirm{background-color:#000;color:#fff}.member-management-container{min-height:100vh;background-color:#f5f6f8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;padding-bottom:40px}.member-header-section{background-color:#dbefff;padding:20px 20px 80px;border-bottom-left-radius:0;border-bottom-right-radius:0;position:relative}.member-header-top{display:flex;align-items:center;margin-bottom:20px;position:relative;justify-content:center}.member-back-button{position:absolute;left:0;font-size:24px;background:none;border:none;cursor:pointer;padding:0;display:flex;align-items:center}.member-header-title{font-size:16px;font-weight:600;color:#333}.group-name-display{text-align:center;font-size:24px;font-weight:800;color:#000;margin-bottom:20px}.member-stats-card{background:#fff;border-radius:16px;padding:20px;margin:-60px 20px 24px;box-shadow:0 4px 12px #0000000d;display:flex;justify-content:space-around;align-items:center;position:relative;z-index:10}.stat-item{display:flex;flex-direction:column;align-items:center;gap:4px}.stat-value{font-size:18px;font-weight:700;color:#000}.stat-label{font-size:12px;color:#888}.member-content-section{padding:0 20px;margin-bottom:24px}.section-label{font-size:14px;font-weight:700;color:#000;margin-bottom:12px}.member-list-card{background:#fff;border-radius:12px;padding:0 16px;box-shadow:0 1px 3px #0000000d}.member-list-header{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #f0f0f0;font-size:12px;color:#999}.member-list-item{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid #f0f0f0}.member-list-item:last-child{border-bottom:none}.member-info-col{flex:1;font-size:14px;font-weight:600;color:#333}.member-role-col{flex:1;text-align:center;font-size:14px;color:#333;display:flex;align-items:center;justify-content:center;gap:4px}.member-action-col{flex:1;text-align:right}.kick-button{background:#fff;border:1px solid #ff6b6b;color:#ff6b6b;border-radius:4px;padding:4px 12px;font-size:12px;font-weight:600;cursor:pointer}.kick-button:hover{background:#fff0f0}.empty-card{background:#fff;border-radius:12px;padding:40px 20px;text-align:center;color:#999;font-size:14px;box-shadow:0 1px 3px #0000000d}.invite-create-card{background:#fff;border-radius:12px;padding:30px 20px;text-align:center;cursor:pointer;box-shadow:0 1px 3px #0000000d;transition:background-color .2s}.invite-create-card:hover{background-color:#f9f9f9}.invite-create-text{color:#007bff;font-weight:600;font-size:14px}.invite-code-display{background:#fff;border-radius:12px;padding:24px;text-align:center;box-shadow:0 1px 3px #0000000d;display:flex;flex-direction:column;align-items:center;gap:12px}.invite-code-label{font-size:12px;color:#888}.invite-code-value{font-size:24px;font-weight:800;color:#333;letter-spacing:2px;background-color:#f0f2f5;padding:12px 24px;border-radius:8px;width:100%;box-sizing:border-box}.copy-button{background-color:#007bff;color:#fff;border:none;border-radius:8px;padding:10px 20px;font-size:14px;font-weight:600;cursor:pointer;width:100%}.copy-button:hover{background-color:#0056b3}.transaction-create-container{min-height:100vh;background-color:#f5f6f8;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.create-header{background-color:#fff;padding:16px 20px;display:flex;align-items:center;border-bottom:1px solid #eee;position:sticky;top:0;z-index:10}.back-button{background:none;border:none;font-size:24px;cursor:pointer;margin-right:16px;color:#333;padding:0}.header-title{font-size:18px;font-weight:700;color:#333}.create-content{padding:20px;flex:1;max-width:600px;margin:0 auto;width:100%;box-sizing:border-box}.form-group{margin-bottom:24px}.form-label{display:block;font-size:14px;font-weight:600;color:#555;margin-bottom:8px}.form-input,.form-select{width:100%;padding:14px;border:1px solid #ddd;border-radius:12px;font-size:16px;box-sizing:border-box;background-color:#fff}.form-input:focus,.form-select:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff1a}.type-toggle{display:flex;background-color:#e9ecef;border-radius:12px;padding:4px;margin-bottom:24px}.type-option{flex:1;text-align:center;padding:12px;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;color:#666}.type-option.active{background-color:#fff;box-shadow:0 2px 4px #0000000d;color:#333}.type-option.income.active{color:#28a745}.type-option.expense.active{color:#dc3545}.receipt-upload-area{border:2px dashed #ddd;border-radius:12px;padding:30px;text-align:center;background-color:#fff;cursor:pointer;transition:all .2s}.receipt-upload-area:hover{border-color:#007bff;background-color:#f8f9fa}.upload-placeholder{color:#999;font-size:14px}.upload-icon{font-size:32px;margin-bottom:8px;display:block}.receipt-preview{position:relative;width:100%;border-radius:8px;overflow:hidden}.receipt-preview img{width:100%;height:auto;display:block}.remove-receipt{position:absolute;top:8px;right:8px;background-color:#0009;color:#fff;border:none;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:16px}.submit-button{width:100%;padding:16px;background-color:#007bff;color:#fff;border:none;border-radius:12px;font-size:16px;font-weight:700;cursor:pointer;margin-top:20px;transition:background-color .2s}.submit-button:hover{background-color:#0056b3}.submit-button:disabled{background-color:#ccc;cursor:not-allowed}.error-message{color:#dc3545;font-size:12px;margin-top:4px}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
