.auth-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.auth-modal{background:#fff;border-radius:20px;width:90%;max-width:400px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d;animation:modalSlideIn .3s ease}@keyframes modalSlideIn{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}.auth-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #eee}.auth-modal-header h2{margin:0;color:#333;font-size:1.5rem}.close-button{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#999;padding:0;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.auth-modal-body{padding:1.5rem}.error-message{background:#ffe6e6;color:#d63384;padding:.75rem;border-radius:8px;margin-bottom:1rem;border:1px solid #f5c6cb;font-size:.9rem}.success-message{background:#d4edda;color:#155724;padding:.75rem;border-radius:8px;margin-bottom:1rem;border:1px solid #c3e6cb;font-size:.9rem}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;color:#333;font-weight:500}.form-group input{width:100%;padding:.75rem;border:2px solid #ddd;border-radius:8px;font-size:1rem;transition:border-color .2s ease;box-sizing:border-box}.form-group input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.submit-button{width:100%;padding:.875rem;background:linear-gradient(135deg,#007bff,#0056b3);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;margin-bottom:1.5rem}.submit-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #007bff4d}.submit-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.divider{text-align:center;margin:1.5rem 0;position:relative}.divider:before{content:"";position:absolute;top:50%;left:0;right:0;height:1px;background:#ddd}.divider span{background:#fff;padding:0 1rem;color:#666;font-size:.9rem}.social-login{display:flex;flex-direction:column;gap:.75rem}.social-button{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem;border:2px solid #ddd;border-radius:8px;background:#fff;color:#333;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease}.social-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0000001a}.social-button.kakao{background:#fee500;border-color:#fee500;color:#3c1e1e}.social-button.kakao:hover{background:#e6cc00;border-color:#e6cc00}.social-button.naver{background:#03c75a;border-color:#03c75a;color:#fff}.social-button.naver:hover{background:#02b351;border-color:#02b351}.social-button.google{background:#4285f4;border-color:#4285f4;color:#fff}.social-button.google:hover{background:#3367d6;border-color:#3367d6}.social-button.replit{background:#56b6c2;color:#fff;border-color:#56b6c2}.social-button.replit:hover{background:#4a9ca6;border-color:#4a9ca6}.auth-switch{text-align:center;margin-top:1.5rem;padding-top:1rem;border-top:1px solid #eee}.auth-switch p{margin:0;color:#666}.link-button{background:none;border:none;color:#007bff;cursor:pointer;font-weight:600;text-decoration:underline}.link-button:hover{color:#0056b3}@media (max-width: 480px){.auth-modal{width:95%;margin:1rem}.auth-modal-header,.auth-modal-body{padding:1rem}}.contact-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:flex-end;justify-content:center;z-index:10000;animation:modal-overlay-fade-in .3s ease-out}.contact-modal{background:#fff;width:100%;max-width:400px;border-radius:16px 16px 0 0;box-shadow:0 -4px 20px #00000026;animation:modal-slide-up .3s ease-out;overflow:hidden}.contact-modal__header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #f0f0f0}.contact-modal__title{font-size:18px;font-weight:600;color:#333;margin:0}.contact-modal__close{background:none;border:none;font-size:20px;color:#666;cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s}.contact-modal__close:hover{background-color:#f5f5f5}.contact-modal__info{padding:20px;background:#f8f9fa}.contact-info{text-align:center}.contact-info__company{font-size:16px;font-weight:600;color:#333;margin-bottom:4px}.contact-info__type{font-size:14px;color:#666;margin-bottom:8px}.contact-info__number{font-size:18px;font-weight:700;color:#007bff;background:#fff;padding:8px 16px;border-radius:8px;display:inline-block;font-family:Roboto Mono,monospace}.contact-modal__actions{padding:20px;display:flex;flex-direction:column;gap:12px}.contact-action-btn{display:flex;align-items:center;justify-content:center;gap:12px;padding:14px 20px;border:none;border-radius:12px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s;text-decoration:none}.contact-action-btn__icon{font-size:20px}.contact-action-btn__text{flex:1;text-align:center}.contact-action-btn--call{background:#4caf50;color:#fff}.contact-action-btn--call:hover{background:#45a049;transform:translateY(-1px)}.contact-action-btn--share{background:#2196f3;color:#fff}.contact-action-btn--share:hover{background:#1976d2;transform:translateY(-1px)}.contact-action-btn--kakao{background:#fee500;color:#333}.contact-action-btn--kakao:hover{background:#f9e000;transform:translateY(-1px)}.contact-modal__footer{padding:16px 20px 20px}.contact-modal__cancel{width:100%;padding:12px;background:#f5f5f5;border:none;border-radius:8px;font-size:16px;color:#666;cursor:pointer;transition:background-color .2s}.contact-modal__cancel:hover{background:#e9ecef}@keyframes modal-overlay-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media (min-width: 769px){.contact-modal-overlay{align-items:center}.contact-modal{border-radius:16px;max-width:380px;animation:modal-fade-in .3s ease-out}}@keyframes modal-fade-in{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}@media (prefers-color-scheme: dark){.contact-modal{background:#333;color:#fff}.contact-modal__header{border-bottom-color:#444}.contact-modal__title{color:#fff}.contact-modal__close{color:#ccc}.contact-modal__close:hover{background-color:#444}.contact-modal__info{background:#2a2a2a}.contact-info__company{color:#fff}.contact-info__number{background:#444;color:#4fc3f7}.contact-modal__cancel{background:#444;color:#ccc}.contact-modal__cancel:hover{background:#555}}.admin-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.admin-modal{background:#fff;border-radius:12px;width:90%;max-width:900px;max-height:90vh;overflow:hidden;box-shadow:0 10px 30px #0000004d;display:flex;flex-direction:column}.admin-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid #e5e5e5;background:#f8f9fa}.admin-modal-header h2{margin:0;color:#333;font-size:1.4rem;font-weight:600}.close-button{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#999;padding:.5rem;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.close-button:hover{background:#f5f5f5;color:#333}.admin-modal-body{padding:1.5rem;overflow-y:auto;flex:1}.admin-controls{display:flex;gap:1rem;margin-bottom:1.5rem;align-items:center}.search-box{flex:1}.search-input{width:100%;padding:.75rem;border:2px solid #ddd;border-radius:8px;font-size:1rem;transition:border-color .2s ease}.search-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.refresh-button{background:#28a745;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;cursor:pointer;transition:background .2s ease}.refresh-button:hover{background:#218838}.loading{text-align:center;padding:2rem;color:#666;font-size:1.1rem}.error-message{background:#ffe6e6;color:#d63384;padding:1rem;border-radius:8px;margin-bottom:1rem;border:1px solid #f5c6cb}.users-count{margin-bottom:1rem;font-weight:600;color:#333;font-size:1.1rem}.users-table{border:1px solid #ddd;border-radius:8px;overflow:hidden}.table-header{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;background:#f8f9fa;font-weight:600;color:#333;padding:1rem;border-bottom:1px solid #ddd}.table-row{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;padding:1rem;border-bottom:1px solid #f0f0f0;transition:background .2s ease}.table-row:hover{background:#f8f9fa}.col-email{color:#007bff;font-weight:500}.col-name{color:#333}.col-status .status{padding:.25rem .75rem;border-radius:12px;font-size:.875rem;font-weight:500}.col-status .status.verified{background:#d4edda;color:#155724}.col-status .status.pending{background:#fff3cd;color:#856404}.col-date{color:#666;font-size:.9rem}.no-users{text-align:center;padding:3rem;color:#666;font-size:1.1rem}@media (max-width: 768px){.admin-modal{width:95%;max-height:95vh}.admin-controls{flex-direction:column;align-items:stretch}.table-header,.table-row{grid-template-columns:1fr;gap:.5rem}.table-header{display:none}.table-row{flex-direction:column;padding:1rem;border:1px solid #eee;margin-bottom:.5rem;border-radius:8px}.col-email:before{content:"이메일: ";font-weight:600}.col-name:before{content:"이름: ";font-weight:600}.col-status:before{content:"상태: ";font-weight:600}.col-date:before{content:"가입일: ";font-weight:600}}.toast{position:fixed;top:20px;right:20px;z-index:10000;max-width:400px;min-width:300px;background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;transform:translate(120%);transition:all .3s cubic-bezier(.68,-.55,.265,1.55);opacity:0}.toast--show{transform:translate(0);opacity:1}.toast__content{display:flex;align-items:center;padding:12px 16px;gap:12px}.toast__icon{font-size:20px;flex-shrink:0}.toast__message{flex:1;font-size:14px;font-weight:500;color:#333;line-height:1.4;word-break:break-all}.toast__close{background:none;border:none;font-size:16px;color:#666;cursor:pointer;padding:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:color .2s}.toast__close:hover{color:#333}.toast--success{border-left:4px solid #4CAF50}.toast--error{border-left:4px solid #f44336}.toast--info{border-left:4px solid #2196F3}.toast--warning{border-left:4px solid #FF9800}@media (max-width: 768px){.toast{top:10px;right:10px;left:10px;max-width:none;min-width:auto;transform:translateY(-120%)}.toast--show{transform:translateY(0)}.toast__content{padding:10px 12px;gap:8px}.toast__message{font-size:13px}.toast__icon{font-size:18px}}@media (prefers-color-scheme: dark){.toast{background:#333;color:#fff;box-shadow:0 4px 12px #0000004d}.toast__message{color:#fff}.toast__close{color:#ccc}.toast__close:hover{color:#fff}}*{margin:0;padding:0;box-sizing:border-box}.app{min-height:100vh;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.header{background:linear-gradient(135deg,#1e3c72,#2a5298);box-shadow:0 4px 30px #00000026;padding:1.5rem 0;margin-bottom:2rem}.header-content{max-width:1200px;margin:0 auto;padding:0 1rem;display:flex;justify-content:center;align-items:flex-start;position:relative}.title{font-size:2.5rem;font-weight:700;color:#fff;margin-bottom:.5rem;display:flex;align-items:center;justify-content:center;gap:.75rem}.logo-text{font-weight:800;letter-spacing:-.5px}.logo-badge{font-size:1rem;font-weight:600;background:linear-gradient(135deg,#ff6b6b,#ff8e53);color:#fff;padding:.3rem .7rem;border-radius:6px;letter-spacing:1px;box-shadow:0 2px 10px #ff6b6b4d}.subtitle{font-size:1.05rem;color:#ffffffe6;font-weight:400;text-align:center;letter-spacing:.5px}.main{max-width:1200px;margin:0 auto;padding:0 1rem 2rem}.intro-section{margin-bottom:3rem}.intro-card{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:20px;padding:2rem;box-shadow:0 8px 32px #0000001a;text-align:center}.intro-card h2{font-size:1.8rem;color:#2c3e50;margin-bottom:1.5rem}.service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-top:1.5rem}.service-item{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:15px;padding:1.5rem;text-align:center;transition:transform .3s ease,box-shadow .3s ease;border:2px solid transparent}.service-item:hover{transform:translateY(-5px);box-shadow:0 10px 25px #00000026;border-color:#667eea}.service-icon{font-size:2.5rem;display:block;margin-bottom:1rem}.service-item h3{font-size:1.2rem;color:#2c3e50;margin-bottom:.5rem}.service-item p{color:#6c757d;font-size:.9rem}.services-section{margin-bottom:3rem}.section-title{font-size:1.8rem;color:#1e3c72;text-align:center;margin-bottom:2rem;font-weight:700;letter-spacing:-.5px}.services-table{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:20px;overflow:hidden;box-shadow:0 8px 32px #0000001a}.table-header{display:grid;grid-template-columns:2fr 2fr 1.5fr 1fr;gap:1rem;background:linear-gradient(135deg,#2c3e50,#34495e);color:#fff;padding:1.5rem;font-weight:600;font-size:1.1rem}.table-row{display:grid;grid-template-columns:2fr 2fr 1.5fr 1fr;gap:1rem;padding:1.5rem;border-bottom:1px solid #e9ecef;transition:all .3s ease}.table-row:hover{background:#667eea0d;transform:translate(5px)}.table-row:last-child{border-bottom:none}.service-logo{display:flex;align-items:center;gap:.75rem;padding:.5rem;border-radius:10px}.logo-icon{font-size:1.5rem}.service-name{font-weight:600;color:#2c3e50;font-size:1rem}.services-list{display:flex;flex-wrap:wrap;gap:.5rem}.service-tag{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:.25rem .75rem;border-radius:20px;font-size:.8rem;font-weight:500}.phone-link{color:#2c3e50;text-decoration:none;font-weight:500;transition:color .3s ease}.phone-link:hover,.phone-link:focus{color:#667eea;outline:2px solid #667eea;outline-offset:2px;border-radius:4px}.contact-btn{background:none;border:none;color:#2c3e50;text-decoration:none;font-weight:500;font-size:inherit;font-family:inherit;cursor:pointer;padding:.25rem .5rem;border-radius:4px;transition:all .3s ease;display:inline-block}.contact-btn:hover,.contact-btn:focus{color:#667eea;background:#667eea1a;outline:2px solid #667eea;outline-offset:2px;transform:translateY(-1px)}.website-link{text-decoration:none;font-weight:500;transition:all .3s ease}.website-link:hover,.website-link:focus{text-decoration:underline;outline:2px solid currentColor;outline-offset:2px;border-radius:4px}.insurance-companies-section{margin-bottom:3rem}.insurance-disclaimer{background:#ffffffe6;border-radius:10px;padding:1rem;margin-bottom:1.5rem;text-align:center;box-shadow:0 2px 8px #0000001a}.insurance-disclaimer p{margin:0;color:#6c757d;font-size:.9rem;font-style:italic}.insurance-section{margin-bottom:2rem;background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:15px;padding:1.5rem;box-shadow:0 4px 20px #0000001a}.subsection-title{font-size:1.3rem;font-weight:600;color:#2c3e50;margin-bottom:1rem;text-align:center}.insurance-table{border-radius:10px;overflow:hidden;box-shadow:0 2px 10px #0000001a}.insurance-table .table-header{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr 1.2fr 1fr;gap:.5rem;background:linear-gradient(135deg,#2c3e50,#34495e);color:#fff;padding:1rem;font-weight:600;font-size:.9rem}.insurance-row{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr 1.2fr 1fr;gap:.5rem;padding:.8rem 1rem;border-bottom:1px solid #e9ecef;transition:all .3s ease;align-items:center}.insurance-row:hover{background:#667eea0d;transform:translate(3px)}.insurance-row:last-child{border-bottom:none}.company-name{font-weight:600;color:#2c3e50;font-size:.95rem}.company-name-btn{background:none;border:none;font-weight:600;color:#2c3e50;font-size:.95rem;cursor:pointer;padding:0;text-align:left;transition:color .2s;font-family:inherit}.company-name-btn:hover{color:#667eea;text-decoration:underline}.phone-link{color:#2c3e50;text-decoration:none;font-weight:500;font-size:.9rem;transition:color .3s ease}.phone-link:hover,.phone-link:focus{color:#667eea;outline:1px solid #667eea;outline-offset:2px;border-radius:3px}.system-link{color:#667eea;text-decoration:none;font-weight:500;font-size:.9rem;transition:all .3s ease;display:flex;align-items:center;gap:.4rem}.system-link-btn-style{background:none;border:none;cursor:pointer;padding:0;font-family:inherit}.system-link:hover,.system-link:focus{text-decoration:underline;outline:1px solid #667eea;outline-offset:2px;border-radius:3px}.browser-icon{width:16px;height:16px;border-radius:3px;object-fit:contain;margin-right:2px}.browser-icon:last-of-type{margin-right:.4rem}.browser-name{font-size:.85rem;font-weight:500}.no-data{color:#999;font-style:italic;font-size:.85rem}.auth-section{position:absolute;right:1rem;top:0;display:flex;justify-content:flex-end;align-items:flex-start}.auth-buttons{display:flex;flex-direction:column;gap:.5rem}.auth-button{padding:.6rem 1.2rem;border:none;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease;text-decoration:none;display:inline-block}.login-button{background:linear-gradient(135deg,#007bff,#0056b3);color:#fff}.login-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #007bff4d}.signup-button{background:linear-gradient(135deg,#28a745,#1e7e34);color:#fff}.signup-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #28a7454d}.welcome-text{color:#fff;font-size:.9rem;font-weight:500}.logout-button{padding:.5rem 1rem;background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:6px;font-size:.85rem;cursor:pointer;transition:all .2s ease}.logout-button:hover{background:#ffffff4d;border-color:#ffffff80}.loading-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.loading-spinner{width:50px;height:50px;border:4px solid rgba(255,255,255,.2);border-left:4px solid white;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.footer{background:linear-gradient(135deg,#1e3c72,#2a5298);color:#fff;margin-top:4rem;padding:3rem 0 0}.footer-content{max-width:1200px;margin:0 auto;padding:0 2rem 2rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2.5rem}.footer-section{display:flex;flex-direction:column;gap:1rem}.footer-title{font-size:1.5rem;font-weight:700;margin-bottom:.5rem;color:#fff}.footer-description{font-size:.95rem;line-height:1.6;color:#ffffffd9}.footer-heading{font-size:1.1rem;font-weight:600;margin-bottom:.5rem;color:#fff;border-bottom:2px solid rgba(255,255,255,.2);padding-bottom:.5rem}.footer-links,.footer-contact{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.6rem}.footer-links li,.footer-contact li{font-size:.9rem;color:#fffc;cursor:pointer;transition:all .3s ease;padding-left:.5rem;border-left:2px solid transparent}.footer-links li:hover{color:#fff;border-left-color:#ff6b6b;padding-left:1rem}.footer-contact li{cursor:default}.footer-bottom{background:#0003;border-top:1px solid rgba(255,255,255,.1);padding:1.5rem 2rem}.footer-bottom-content{max-width:1200px;margin:0 auto;display:flex;flex-direction:column;gap:.5rem;text-align:center}.copyright{font-size:.9rem;color:#fffc;font-weight:500}.company-info{font-size:.85rem;color:#fff9;line-height:1.5}@media (max-width: 768px){.title{font-size:2rem}.logo-badge{font-size:.8rem;padding:.2rem .5rem}.subtitle{font-size:.9rem}.footer-content{grid-template-columns:1fr;gap:2rem;padding:0 1rem 1.5rem}.footer-bottom{padding:1rem}.company-info{font-size:.75rem}.table-header,.table-row{grid-template-columns:1fr;gap:.5rem}.table-header{display:none}.table-row{padding:1rem}.service-grid{grid-template-columns:1fr}.main{padding:0 .5rem 2rem}.insurance-table .table-header{display:none}.insurance-row{grid-template-columns:1fr;gap:.3rem;padding:1rem;border-radius:8px;margin-bottom:.5rem;background:#fff;box-shadow:0 2px 8px #0000001a}.insurance-row>div{display:flex;justify-content:space-between;align-items:center;padding:.3rem 0;border-bottom:1px solid #f0f0f0}.insurance-row>div:last-child{border-bottom:none}.insurance-row>div:before{content:attr(data-label);font-weight:600;color:#666;font-size:.8rem}.company-name{font-size:1.1rem;font-weight:700;color:#2c3e50}.system-link{justify-content:flex-end}.browser-icon{width:14px;height:14px;margin-right:1px}.browser-icon:last-of-type{margin-right:.3rem}.browser-name{font-size:.8rem}}.auth-button.admin-button{background:#6f42c1;color:#fff}.auth-button.admin-button:hover{background:#5a32a3}.user-menu{display:flex;align-items:center;gap:1rem}.logout-button{background:#dc3545;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-weight:500;cursor:pointer;transition:background .2s ease;font-size:.9rem}.logout-button:hover{background:#c82333}.header-left{display:flex;align-items:flex-start;gap:1rem;flex:1}.title-section{flex:1;text-align:center}.hamburger-menu{display:flex;flex-direction:column;justify-content:space-around;width:30px;height:30px;background:transparent;border:none;cursor:pointer;padding:0;margin-top:10px;z-index:1001}.hamburger-menu span{width:25px;height:3px;background:#fff;border-radius:2px;transition:all .3s ease}.hamburger-menu:hover span{background:#fffc}.sidebar-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;z-index:1000;opacity:0;visibility:hidden;transition:all .3s ease}.sidebar-overlay.open{opacity:1;visibility:visible}.sidebar{position:fixed;top:0;left:0;width:300px;height:100%;background:#fff;box-shadow:2px 0 10px #0000001a;transform:translate(-100%);transition:transform .3s ease;z-index:1001}.sidebar.open{transform:translate(0)}.sidebar-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #e0e0e0;background:#f8f9fa}.sidebar-header h3{margin:0;color:#2c3e50;font-size:1.2rem;font-weight:600}.close-button{background:none;border:none;font-size:1.5rem;color:#666;cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.close-button:hover{color:#333}.sidebar-content{padding:1rem 0}.sidebar-item{width:100%;padding:1rem 1.5rem;border:none;background:none;text-align:left;cursor:pointer;font-size:1rem;color:#2c3e50;transition:background .2s ease;display:flex;align-items:center;gap:.5rem}.sidebar-item:hover{background:#f8f9fa}@media (max-width: 768px){.sidebar{width:280px}.header-content{flex-direction:column;align-items:flex-start;gap:1rem}.header-left{gap:.5rem;width:100%}.auth-section{width:100%;justify-content:flex-start;margin-left:0}.title{font-size:1.3rem}.subtitle{font-size:.9rem}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0009;display:flex;justify-content:center;align-items:center;z-index:1000;padding:20px}.sales-portal-modal.excel-style{background:#fff;border-radius:12px;box-shadow:0 8px 32px #0003;width:95%;max-width:1200px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:2px solid #667eea;background:linear-gradient(135deg,#667eea,#764ba2)}.modal-header h2{color:#fff;margin:0;font-size:22px;font-weight:600}.close-button{background:#fff;color:#667eea;border:none;border-radius:6px;padding:8px 16px;font-size:18px;font-weight:700;cursor:pointer;transition:all .3s}.close-button:hover{background:#f5f5f5;transform:scale(1.05)}.modal-content{flex:1;overflow-y:auto;padding:20px}.info-banner{background:linear-gradient(135deg,#e3f2fd,#f3e5f5);border-left:4px solid #667eea;padding:16px;border-radius:8px;margin-bottom:20px}.info-banner p{margin:6px 0;font-size:14px;color:#333}.info-banner strong{color:#667eea}.loading-state{text-align:center;padding:60px 20px;color:#666;font-size:16px}.excel-table-container{overflow-x:auto;border-radius:8px;box-shadow:0 2px 8px #0000001a}.excel-table{width:100%;border-collapse:collapse;background:#fff;font-size:14px}.excel-table thead{background:linear-gradient(135deg,#667eea,#764ba2);position:sticky;top:0;z-index:10}.excel-table thead th{color:#fff;font-weight:600;padding:14px 12px;text-align:left;border-right:1px solid rgba(255,255,255,.2);font-size:13px;text-transform:uppercase;letter-spacing:.5px}.excel-table thead th:last-child{border-right:none}.col-company{width:150px;min-width:150px}.col-fpcode,.col-password,.col-simple{width:200px;min-width:180px}.col-status{width:100px;min-width:100px;text-align:center!important}.excel-table tbody tr{border-bottom:1px solid #e0e0e0;transition:background-color .2s}.excel-table tbody tr:hover{background-color:#f8f9fa}.excel-table tbody tr.status-saving{background-color:#fff9e6}.excel-table tbody tr.status-saved{background-color:#e8f5e9}.excel-table tbody tr.status-error{background-color:#ffebee}.excel-table tbody td{padding:8px 12px;border-right:1px solid #e0e0e0}.excel-table tbody td:last-child{border-right:none}.company-name{font-weight:600;color:#333;background-color:#fafafa}.excel-table .section-header{background:linear-gradient(135deg,#f5f7fa,#e9ecef);border-top:2px solid #667eea;border-bottom:2px solid #667eea}.excel-table .section-header:hover{background:linear-gradient(135deg,#f5f7fa,#e9ecef)}.section-title{font-weight:700;font-size:15px;color:#667eea;padding:12px 14px;text-align:center;letter-spacing:.5px}.excel-input{width:100%;padding:8px 10px;border:1px solid transparent;border-radius:4px;font-size:14px;font-family:inherit;background:transparent;transition:all .2s}.excel-input:hover{background-color:#fff;border-color:#ddd}.excel-input:focus{outline:none;background-color:#fff;border-color:#667eea;box-shadow:0 0 0 2px #667eea1a}.excel-input::placeholder{color:#bbb;font-size:13px}.status-cell{text-align:center}.status-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:600;white-space:nowrap}.status-badge.saving{background:#fff9e6;color:#ff9800}.status-badge.saved{background:#e8f5e9;color:#4caf50}.status-badge.error{background:#ffebee;color:#f44336}.modal-footer{padding:16px 24px;border-top:1px solid #e0e0e0;background-color:#fafafa}.footer-note{margin:0;font-size:13px;color:#666;text-align:center}.excel-table-container::-webkit-scrollbar{height:8px}.excel-table-container::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.excel-table-container::-webkit-scrollbar-thumb{background:#667eea;border-radius:4px}.excel-table-container::-webkit-scrollbar-thumb:hover{background:#5568d3}.modal-content::-webkit-scrollbar{width:8px}.modal-content::-webkit-scrollbar-track{background:#f1f1f1}.modal-content::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.modal-content::-webkit-scrollbar-thumb:hover{background:#555}@media (max-width: 768px){.sales-portal-modal.excel-style{width:100%;max-height:95vh}.modal-header h2{font-size:18px}.excel-table{font-size:13px}.excel-input{font-size:13px;padding:6px 8px}.info-banner{font-size:12px}}.portal-info-modal{background:#fff;border-radius:12px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.portal-info-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid #e0e0e0}.portal-info-header h2{margin:0;font-size:20px;color:#333}.portal-info-content{padding:24px}.loading-state{text-align:center;padding:40px 20px;color:#666;font-size:16px}.portal-info-details{display:flex;flex-direction:column;gap:20px}.info-row{display:flex;flex-direction:column;gap:8px}.info-row label{font-weight:600;color:#555;font-size:14px}.info-value-group{display:flex;gap:8px;align-items:center}.info-value{flex:1;padding:12px 16px;border:1px solid #ddd;border-radius:8px;font-size:16px;background-color:#f9f9f9;color:#333;font-family:Courier New,monospace}.copy-btn{padding:12px 16px;background-color:#4caf50;color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:16px;transition:all .2s;min-width:50px}.copy-btn:hover{background-color:#45a049;transform:scale(1.05)}.copy-btn:active{transform:scale(.95)}.info-notice{margin-top:12px;padding:12px;background-color:#e3f2fd;border-left:4px solid #2196F3;border-radius:4px;font-size:13px;color:#1976d2}.system-link-section{margin-top:20px;padding-top:20px;border-top:1px solid #e0e0e0}.system-link-btn{display:block;width:100%;padding:14px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;text-decoration:none;text-align:center;border-radius:8px;font-weight:600;font-size:15px;transition:all .3s;box-shadow:0 4px 12px #667eea4d}.system-link-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.no-data-state{text-align:center;padding:40px 20px}.no-data-state p{margin:8px 0;color:#666;font-size:16px}.no-data-state .hint{font-size:14px;color:#999;margin-top:16px}.portal-info-footer{padding:16px 24px;border-top:1px solid #e0e0e0;display:flex;justify-content:center}.btn-close{padding:12px 32px;background-color:#666;color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:16px;font-weight:500;transition:background-color .2s}.btn-close:hover{background-color:#555}@media (max-width: 768px){.portal-info-modal{width:95%;max-height:85vh}.portal-info-header{padding:20px}.portal-info-header h2{font-size:18px}.portal-info-content{padding:20px}.info-value{font-size:14px;padding:10px 12px}.copy-btn{padding:10px 12px;font-size:14px}}.account-settings-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:2000;animation:fadeIn .2s ease}.account-settings-modal{background:#fff;border-radius:16px;width:90%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 10px 40px #0003;animation:slideUp .3s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.account-settings-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:2px solid #e9ecef;background:linear-gradient(135deg,#1e3c72,#2a5298);border-radius:16px 16px 0 0}.account-settings-header h2{margin:0;font-size:1.5rem;color:#fff;font-weight:600}.close-button{background:none;border:none;font-size:2rem;color:#fff;cursor:pointer;padding:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .2s ease}.close-button:hover{background:#ffffff1a}.account-settings-content{padding:2rem}.account-info-section,.password-change-section{margin-bottom:2rem}.account-info-section h3,.password-change-section h3{font-size:1.2rem;color:#2c3e50;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid #e9ecef}.info-item{display:flex;justify-content:space-between;padding:.75rem 0;border-bottom:1px solid #f1f3f5}.info-item:last-child{border-bottom:none}.info-item label{font-weight:600;color:#495057}.info-item span{color:#6c757d}.form-group{margin-bottom:1.25rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#495057;font-size:.95rem}.form-group input{width:100%;padding:.75rem;border:2px solid #e9ecef;border-radius:8px;font-size:1rem;transition:border-color .2s ease;box-sizing:border-box}.form-group input:focus{outline:none;border-color:#2a5298}.form-group input:disabled{background:#f8f9fa;cursor:not-allowed}.message{padding:1rem;border-radius:8px;margin-bottom:1rem;font-weight:500}.message.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.message.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.change-password-button{width:100%;padding:.875rem;background:linear-gradient(135deg,#1e3c72,#2a5298);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.change-password-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #2a52984d}.change-password-button:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.account-settings-modal{width:95%;margin:1rem}.account-settings-header{padding:1rem 1.5rem}.account-settings-header h2{font-size:1.25rem}.account-settings-content{padding:1.5rem}.info-item{flex-direction:column;gap:.25rem}}.session-timer{position:fixed;top:12px;right:12px;background:#333;color:#fff;padding:8px 14px;border-radius:8px;font-size:13px;font-weight:500;z-index:9999;box-shadow:0 3px 8px #00000040;display:flex;align-items:center;gap:6px;opacity:.95;transition:background .3s,transform .2s}.session-timer:hover{opacity:1;transform:translateY(-1px)}.session-timer.warning{background:#d32f2f;animation:softPulse 1.6s ease-in-out infinite}.timer-label{opacity:.8;font-size:12px}.timer-value{font-weight:700;font-size:15px;font-family:Courier New,monospace}@keyframes softPulse{0%,to{box-shadow:0 0 10px #f3433680}50%{box-shadow:0 0 5px #f343364d}}@media (max-width: 768px){.session-timer{padding:6px 10px;font-size:11px}.timer-value{font-size:12px}}.session-expire-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000b3;display:flex;justify-content:center;align-items:center;z-index:99999;animation:fadeIn .3s}.session-expire-modal{background:#fff;border-radius:12px;padding:32px;max-width:450px;width:90%;box-shadow:0 16px 48px #0000004d;text-align:center;animation:slideIn .3s}.modal-icon{font-size:56px;margin-bottom:16px;animation:bounce 1s ease-in-out infinite}.modal-title{font-size:24px;font-weight:700;color:#f44336;margin:0 0 16px}.modal-message{font-size:18px;color:#333;margin:0 0 8px;line-height:1.6}.modal-message strong{color:#f44336;font-weight:700}.modal-submessage{font-size:16px;color:#666;margin:0 0 24px}.modal-actions{display:flex;gap:12px;justify-content:center}.modal-actions button{flex:1;padding:14px 24px;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s;max-width:180px}.btn-extend{background:#4caf50;color:#fff}.btn-extend:hover{background:#45a049;transform:translateY(-2px);box-shadow:0 4px 12px #4caf5066}.btn-logout{background:#f44336;color:#fff}.btn-logout:hover{background:#d32f2f;transform:translateY(-2px);box-shadow:0 4px 12px #f4433666}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@media (max-width: 768px){.session-expire-modal{padding:24px;max-width:90%}.modal-icon{font-size:48px}.modal-title{font-size:20px}.modal-message{font-size:16px}.modal-submessage{font-size:14px}.modal-actions{flex-direction:column}.modal-actions button{max-width:100%}}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;color:#fff;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9;color:#213547}}
