*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}.sidebar{width:240px;background:linear-gradient(135deg,#8b6f47,#9d8b7e);padding:30px 0;color:#fff;position:fixed;height:100vh;overflow-y:auto;z-index:100;transition:width .25s ease}.sidebar--collapsed{width:64px}.sidebar-header{display:flex;align-items:center;justify-content:space-between;padding:0 14px 30px;border-bottom:2px solid rgba(255,255,255,.2)}.sidebar--collapsed .sidebar-header{flex-direction:column;gap:12px;padding:0 0 20px;align-items:center}.sidebar-logo{font-size:24px;font-weight:700;letter-spacing:2px}.sidebar-toggle{background:none;border:none;color:#fffc;cursor:pointer;display:flex;align-items:center;padding:4px;border-radius:4px;transition:background .2s;flex-shrink:0}.sidebar-toggle:hover{background:#ffffff26;color:#fff}.side-menu{list-style:none;margin-top:20px}.side-item{margin:0;padding:0}.side-link{display:flex;align-items:center;gap:10px;padding:14px 20px;color:#fffc;text-decoration:none;transition:all .2s ease;border-left:3px solid transparent;font-size:14px}.side-link:hover{background-color:#ffffff1a;color:#fff;border-left-color:#d4a574}.side-link--active{background-color:#ffffff26;color:#fff;border-left-color:#d4a574;font-weight:600}.side-link--disabled{color:#ffffff59;cursor:not-allowed;border-left:3px solid transparent}.side-icon{font-size:18px;flex-shrink:0}.side-group-toggle{width:100%;background:none;border:none;cursor:pointer;text-align:left}.side-group-label{flex:1}.side-chevron{font-size:18px;flex-shrink:0}.side-children{list-style:none}.side-children .side-link{padding-left:48px;font-size:13px}.side-divider{border:none;border-top:1px solid rgba(255,255,255,.15);margin:10px 20px}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Noto Sans KR,-apple-system,sans-serif;background-color:#f5f1ed;color:#4a3728}.container{display:flex;height:100vh}.main{margin-left:240px;flex:1;background-color:#f5f1ed;display:flex;flex-direction:column;height:100vh;transition:margin-left .25s ease}.container--collapsed .main{margin-left:64px}.header{background:#fff;padding:20px 40px;border-bottom:1px solid #E8DFD7;display:flex;justify-content:space-between;align-items:center}.header h1{font-size:28px;font-weight:700;color:#4a3728}.user-menu{display:flex;align-items:center;gap:20px}.user-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#d4a574,#c9956e);border:2px solid #9D8B7E}.content{padding:40px;overflow-y:auto;flex:1}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#f5f1ed}::-webkit-scrollbar-thumb{background:#d4a574;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#c9956e}.dashboard-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:40px}.stat-card{background:#fff;padding:24px;border-radius:12px;border:1px solid #E8DFD7;box-shadow:0 2px 8px #00000008;transition:all .3s ease}.stat-card:hover{border-color:#d4a574;box-shadow:0 4px 12px #00000014}.stat-label{font-size:13px;color:#8b6f47;text-transform:uppercase;letter-spacing:1px;margin-bottom:10px;font-weight:600}.stat-value{font-size:32px;font-weight:700;color:#4a3728;margin-bottom:8px}.stat-change{font-size:12px;color:#a0826d}.stat-change.positive{color:#7cb342}.dashboard-sections{display:grid;grid-template-columns:1fr 1fr;gap:20px}.section-card{background:#fff;border-radius:12px;border:1px solid #E8DFD7;overflow:hidden}.section-header{padding:20px 24px;background:linear-gradient(90deg,#f5f1ed,#faf8f5);border-bottom:1px solid #E8DFD7;display:flex;justify-content:space-between;align-items:center}.section-title{font-size:16px;font-weight:700;color:#4a3728}.section-link{color:#d4a574;text-decoration:none;font-size:13px;font-weight:600}.recent-orders{padding:20px}.order-item{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid #F0EAE3}.order-item:last-child{border-bottom:none}.order-info{flex:1}.order-id{font-size:13px;color:#8b6f47;font-weight:600;margin-bottom:4px}.order-product{font-size:14px;color:#4a3728;font-weight:500}.order-status{display:inline-block;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600;background:#fff3e0;color:#d97706}.order-status.completed{background:#dcfce7;color:#16a34a}.order-amount{font-size:14px;font-weight:700;color:#4a3728;min-width:80px;text-align:right}.alerts-section{padding:20px}.alert-item{padding:12px 16px;background:#fffaf5;border-left:4px solid #D4A574;border-radius:4px;margin-bottom:10px;font-size:13px;color:#4a3728}.alert-item.warning{background:#fef3c7;border-left-color:#f59e0b}.alert-time{font-size:12px;color:#a0826d;margin-top:4px}.page-actions{display:flex;justify-content:flex-end;gap:12px;margin-bottom:24px}.btn{padding:10px 20px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease;display:inline-flex;align-items:center;gap:8px}.btn-secondary{background:#fff;color:#8b6f47;border:1px solid #D4A574}.btn-secondary:hover{background:#fffaf5}.filter-section{background:#fff;padding:20px;border-radius:12px;border:1px solid #E8DFD7;margin-bottom:24px;display:flex;gap:16px;align-items:flex-end}.filter-group{display:flex;flex-direction:column;gap:8px}.filter-label{font-size:13px;font-weight:600;color:#8b6f47;text-transform:uppercase;letter-spacing:.5px}.filter-control{padding:10px 12px;border:1px solid #E8DFD7;border-radius:6px;font-family:inherit;font-size:14px;color:#4a3728;background:#fff}.filter-control:focus{outline:none;border-color:#d4a574;box-shadow:0 0 0 3px #d4a5741a}.table-container{background:#fff;border-radius:12px;border:1px solid #E8DFD7;overflow:hidden}table{width:100%;border-collapse:collapse}thead{background:linear-gradient(90deg,#f5f1ed,#faf8f5);border-bottom:1px solid #E8DFD7}th{padding:16px;text-align:left;font-size:13px;font-weight:700;color:#8b6f47;text-transform:uppercase;letter-spacing:.5px}td{padding:16px;border-bottom:1px solid #F0EAE3;font-size:14px;color:#4a3728}tr:hover{background:#fffaf5}tr:last-child td{border-bottom:none}.product-cell{display:flex;align-items:center;gap:12px}.product-thumb{width:40px;height:40px;background:linear-gradient(135deg,#d4a574,#c9956e);border-radius:6px;flex-shrink:0}.product-info{display:flex;flex-direction:column;gap:2px}.product-name{font-weight:600;color:#4a3728}.product-id{font-size:12px;color:#a0826d}.status-badge{display:inline-block;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600;background:#dcfce7;color:#16a34a}.status-badge.inactive{background:#fee2e2;color:#dc2626}.status-badge.paused{background:#fef3c7;color:#d97706}.price-group{display:flex;flex-direction:column;gap:2px}.price-main{font-weight:700;color:#4a3728}.price-sub{font-size:12px;color:#a0826d}.action-buttons{display:flex;gap:6px}.action-btn{padding:6px 10px;font-size:12px;background:#fffaf5;color:#8b6f47;border:1px solid #D4A574;border-radius:4px;cursor:pointer;transition:all .2s ease}.action-btn:hover{background:#f5f1ed;border-color:#9d8b7e}.action-btn.danger{color:#dc2626;border-color:#fca5a5}.action-btn.danger:hover{background:#fee2e2}.tabs{display:flex;gap:8px;margin-bottom:20px;background:#fff;padding:12px;border-radius:12px;border:1px solid #E8DFD7}.tab-button{padding:10px 16px;border:none;background:transparent;color:#8b6f47;font-size:14px;font-weight:600;cursor:pointer;border-radius:6px;transition:all .3s ease}.tab-button.active{background:linear-gradient(135deg,#8b6f47,#9d8b7e);color:#fff}.btn{padding:8px 16px;border:none;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease;text-decoration:none}.order-cards{display:flex;flex-direction:column;gap:16px}.order-card{background:#fff;border:1px solid #E8DFD7;border-radius:12px;padding:20px;transition:all .3s ease}.order-card:hover{border-color:#d4a574;box-shadow:0 4px 12px #00000014}.order-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #F0EAE3}.order-card-title{display:flex;flex-direction:column;gap:4px}.order-id{font-size:13px;color:#8b6f47;font-weight:700;letter-spacing:.5px}.order-date{font-size:12px;color:#a0826d}.order-status{display:inline-block;padding:8px 14px;border-radius:20px;font-size:13px;font-weight:600}.status-pending{background:#fef3c7;color:#92400e}.status-preparing{background:#dbeafe;color:#1e40af}.status-shipped{background:#e0e7ff;color:#3730a3}.status-delivered{background:#dcfce7;color:#16a34a}.order-card-body{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.order-customer{display:flex;gap:12px;flex:1}.customer-avatar{width:44px;height:44px;border-radius:8px;background:linear-gradient(135deg,#d4a574,#c9956e);flex-shrink:0}.customer-info{display:flex;flex-direction:column;gap:2px}.customer-name{font-size:14px;font-weight:600;color:#4a3728}.customer-phone{font-size:12px;color:#a0826d}.order-product{display:flex;flex-direction:column;gap:4px;flex:1}.product-name{font-size:14px;font-weight:600;color:#4a3728}.product-qty{font-size:12px;color:#a0826d}.order-amount{text-align:right}.amount-total{font-size:16px;font-weight:700;color:#4a3728}.amount-items{font-size:12px;color:#a0826d}.order-card-footer{display:flex;justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid #F0EAE3}.auth-wrapper{background:linear-gradient(135deg,#8b6f47,#9d8b7e);min-height:100vh;display:flex;align-items:center;justify-content:center;color:#4a3728}.auth-container{width:100%;max-width:450px;padding:20px}.auth-card{background:#fff;border-radius:16px;box-shadow:0 20px 60px #00000026;overflow:hidden}.auth-header{background:linear-gradient(135deg,#8b6f47,#9d8b7e);color:#fff;padding:40px 30px;text-align:center}.auth-logo{font-size:36px;font-weight:700;letter-spacing:3px;margin-bottom:12px}.auth-subtitle{font-size:14px;opacity:.9;font-weight:500}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #E8DFD7}.tab-button{padding:16px;border:none;background:#fff;color:#8b6f47;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease;border-bottom:3px solid transparent;text-align:center}.tab-button:hover{background:#fffaf5}.tab-button.active{background:#fffaf5;border-bottom-color:#8b6f47;color:#4a3728}.auth-form{padding:32px 30px;display:none}.auth-form.active{display:block}.form-group{margin-bottom:20px}.form-group:last-child{margin-bottom:0}.form-label{display:block;font-size:13px;font-weight:600;color:#8b6f47;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.form-label .required{color:#dc2626}.form-input,.form-select{width:100%;padding:12px 14px;border:1px solid #E8DFD7;border-radius:8px;font-family:inherit;font-size:14px;color:#4a3728;background:#fff;transition:all .3s ease}.form-input:focus,.form-select:focus{outline:none;border-color:#d4a574;box-shadow:0 0 0 3px #d4a5741a;background:#fffaf5}.form-hint{font-size:12px;color:#a0826d;margin-top:4px}.checkbox-group{display:flex;align-items:flex-start;gap:8px;margin-bottom:16px}input[type=checkbox]{width:18px;height:18px;accent-color:#8B6F47;margin-top:2px;cursor:pointer;flex-shrink:0}.checkbox-label{font-size:13px;color:#4a3728;line-height:1.4;cursor:pointer}.checkbox-label a{color:#8b6f47;text-decoration:none;font-weight:600}.checkbox-label a:hover{text-decoration:underline}.form-button{width:100%;padding:12px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease;margin-top:20px}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px #8b6f474d}.btn-primary:active{transform:translateY(0)}.auth-link{text-align:center;margin-top:16px;font-size:13px;color:#a0826d}.auth-link a{color:#8b6f47;text-decoration:none;font-weight:600}.auth-link a:hover{text-decoration:underline}.error-message{background:#fee2e2;border:1px solid #FECACA;color:#dc2626;padding:12px;border-radius:6px;font-size:13px;margin-bottom:20px;display:none}.error-message.show{display:block}.success-message{background:#dcfce7;border:1px solid #BBF7D0;color:#16a34a;padding:12px;border-radius:6px;font-size:13px;margin-bottom:20px;display:none}.success-message.show{display:block}.terms-section{background:#fffaf5;padding:16px;border-radius:8px;margin-bottom:20px;border:1px solid #E8DFD7}.terms-title{font-size:13px;font-weight:600;color:#4a3728;margin-bottom:12px}.terms-item{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:12px;color:#4a3728}.terms-item:last-child{margin-bottom:0}.terms-item input{flex-shrink:0}.terms-item a{color:#8b6f47;text-decoration:none;font-weight:600}.terms-item a:hover{text-decoration:underline}.settings-container{display:grid;grid-template-columns:250px 1fr;gap:30px;max-width:1100px}.settings-menu{display:flex;flex-direction:column;gap:8px}.settings-link{display:block;padding:12px 16px;color:#8b6f47;text-decoration:none;border-radius:8px;transition:all .2s ease;border-left:3px solid transparent;font-size:14px;font-weight:500;cursor:pointer}.settings-link:hover{background:#fff;border-left-color:#d4a574}.settings-link.active{background:#fff;color:#4a3728;border-left-color:#8b6f47;font-weight:600}.settings-card{background:#fff;border-radius:12px;border:1px solid #E8DFD7;overflow:hidden;margin-bottom:24px}.settings-card:last-child{margin-bottom:0}.card-header{padding:20px;border-bottom:1px solid #E8DFD7;background:linear-gradient(90deg,#f5f1ed,#faf8f5)}.card-title{font-size:18px;font-weight:700;color:#4a3728}.card-subtitle{font-size:13px;color:#a0826d;margin-top:4px}.card-body{padding:24px}.profile-section{display:flex;gap:20px;margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid #F0EAE3}.profile-avatar{width:80px;height:80px;border-radius:12px;background:linear-gradient(135deg,#d4a574,#c9956e);flex-shrink:0}.profile-info{flex:1}.profile-name{font-size:16px;font-weight:700;color:#4a3728;margin-bottom:4px}.profile-email{font-size:13px;color:#a0826d}.profile-actions{display:flex;gap:8px;margin-top:12px}.form-control{width:100%;padding:10px 12px;border:1px solid #E8DFD7;border-radius:6px;font-family:inherit;font-size:14px;color:#4a3728;background:#fff;margin-top:4px;transition:all .2s ease}.form-control:focus{outline:none;border-color:#d4a574;box-shadow:0 0 0 3px #d4a5741a}.setting-item{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid #F0EAE3}.setting-item:last-child{padding-bottom:0;border-bottom:none}.setting-label{display:flex;flex-direction:column;gap:4px}.setting-title{font-size:14px;font-weight:600;color:#4a3728}.setting-description{font-size:12px;color:#a0826d}.toggle-switch{position:relative;width:50px;height:28px;background:#e8dfd7;border-radius:14px;cursor:pointer;transition:all .3s ease}.toggle-switch.active{background:#d4a574}.toggle-switch:after{content:"";position:absolute;width:24px;height:24px;background:#fff;border-radius:50%;top:2px;left:2px;transition:all .3s ease}.toggle-switch.active:after{left:24px}.btn{padding:8px 16px;border:none;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-secondary{background:#fffaf5;color:#8b6f47;border:1px solid #D4A574}.btn-secondary:hover{background:#f5f1ed;border-color:#9d8b7e}.btn-primary{background:linear-gradient(135deg,#8b6f47,#9d8b7e);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 2px 8px #8b6f474d}.btn-danger{background:#fee2e2;color:#dc2626;border:1px solid #FECACA}.btn-danger:hover{background:#fca5a5}
