@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap);*,*::before,*::after{box-sizing:border-box}body{margin:0;font-family:'Inter',sans-serif;background:#f5f3f0;color:#181818}a{text-decoration:none;color:inherit}button:focus,input:focus,select:focus,textarea:focus{outline:none;box-shadow:none}body.login-page{display:flex;align-items:center;justify-content:center;min-height:100vh;background:#fffdfb}.login-wrap{width:100%;max-width:380px;padding:40px;background:#fff;border:1px solid #e8e6e3;border-radius:12px}.login-logo{display:flex;flex-direction:column;align-items:center;margin-bottom:32px}.logo-text{font-size:28px;font-weight:700;color:#181818}.logo-sub{font-size:13px;color:#888;margin-top:2px}.login-form .form-group{margin-bottom:18px}.login-form label{display:block;font-size:13px;font-weight:500;color:#555;margin-bottom:6px}.login-form input{width:100%;padding:10px 14px;border:1px solid #d6d6d6;border-radius:6px;font-size:15px;font-family:inherit;background:#fffdfb;transition:border-color .2s}.login-form input:focus{border-color:#ff7f00}.alert-error{background:#fff0ed;border:1px solid #ffb8a8;color:#c0392b;padding:10px 14px;border-radius:6px;font-size:14px;margin-bottom:18px}.alert-success{background:#edfaf1;border:1px solid #a3e4b5;color:#1e7b3b;padding:10px 14px;border-radius:6px;font-size:14px;margin-bottom:18px}.admin-layout{display:flex;min-height:100vh}.sidebar{width:240px;min-width:240px;background:#fffdfb;border-right:1px solid #e8e6e3;display:flex;flex-direction:column;position:fixed;top:0;left:0;height:100vh;overflow-y:auto;z-index:100}.sidebar-logo{display:flex;align-items:center;gap:8px;padding:20px 20px 16px;border-bottom:1px solid #e8e6e3}.logo-link{font-size:20px;font-weight:700;color:#181818}.logo-badge{font-size:10px;font-weight:600;background:#ff7f00;color:#fff;padding:2px 7px;border-radius:10px;text-transform:uppercase;letter-spacing:.04em}.sidebar-nav{flex:1;padding:12px 0}.nav-section{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:#aaa;padding:14px 20px 6px}.nav-item{display:flex;align-items:center;gap:10px;padding:9px 20px;font-size:14px;font-weight:500;color:#555;border-left:3px solid transparent;transition:all .15s}.nav-item svg{width:18px;height:18px;fill:currentColor;flex-shrink:0}.nav-item:hover{color:#ff7f00;background:#fff5ec;border-left-color:transparent}.nav-item.active{color:#ff7f00;background:#fff5ec;border-left-color:#ff7f00;font-weight:600}.sidebar-footer{padding:16px 20px;border-top:1px solid #e8e6e3;display:flex;align-items:center;justify-content:space-between}.admin-user{display:flex;align-items:center;gap:6px;font-size:13px;color:#555}.admin-user svg{width:16px;height:16px;fill:#888}.logout-link{font-size:12px;color:#ff7f00;font-weight:500}.logout-link:hover{color:#e07000}.admin-main{flex:1;margin-left:240px;display:flex;flex-direction:column;min-height:100vh}.admin-topbar{display:flex;align-items:center;justify-content:space-between;padding:18px 32px;background:#fffdfb;border-bottom:1px solid #e8e6e3;position:sticky;top:0;z-index:50}.page-title{font-size:22px;font-weight:700;color:#181818;margin:0}.page-actions{display:flex;gap:10px}.admin-content{padding:28px 32px}.orange-btn{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:#fff;padding:9px 20px;background:#ff7f00;border:none;border-radius:6px;cursor:pointer;transition:background .2s;font-family:inherit}.orange-btn:hover{background:#e07000;color:#fff}.orange-btn.sm{padding:6px 14px;font-size:13px}.w-100{width:100%;justify-content:center}.ghost-btn{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:#555;padding:9px 16px;background:#fff;border:1px solid #d6d6d6;border-radius:6px;cursor:pointer;transition:all .2s;font-family:inherit}.ghost-btn:hover{border-color:#ff7f00;color:#ff7f00}.ghost-btn.sm{padding:5px 12px;font-size:13px}.danger-btn{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:500;color:#c0392b;padding:5px 12px;background:#fff0ed;border:1px solid #ffb8a8;border-radius:6px;cursor:pointer;transition:all .2s;font-family:inherit}.danger-btn:hover{background:#ffd5cd}.stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;margin-bottom:28px}.stat-card{background:#fff;border:1px solid #e8e6e3;border-radius:10px;padding:20px}.stat-label{font-size:12px;font-weight:500;color:#888;text-transform:uppercase;letter-spacing:.06em}.stat-value{font-size:32px;font-weight:700;color:#181818;margin-top:6px}.stat-value span{font-size:14px;color:#aaa;font-weight:400}.data-table-wrap{background:#fff;border:1px solid #e8e6e3;border-radius:10px;overflow:hidden}.table-toolbar{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e8e6e3;gap:12px}.search-box{display:flex;align-items:center;gap:8px;background:#f5f3f0;border:1px solid #e8e6e3;border-radius:6px;padding:7px 12px;flex:1;max-width:320px}.search-box svg{width:16px;height:16px;fill:#888;flex-shrink:0}.search-box input{border:none;background:transparent;font-size:14px;font-family:inherit;color:#181818;width:100%}.search-box input::placeholder{color:#aaa}table.data-table{width:100%;border-collapse:collapse}table.data-table thead th{padding:11px 16px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#888;background:#f9f8f6;text-align:left;border-bottom:1px solid #e8e6e3;white-space:nowrap}table.data-table tbody tr{border-bottom:1px solid #f0eee9;transition:background .1s}table.data-table tbody tr:last-child{border-bottom:none}table.data-table tbody tr:hover{background:#fffbf5}table.data-table tbody td{padding:12px 16px;font-size:14px;color:#333;vertical-align:middle}.td-actions{display:flex;gap:6px;align-items:center}.td-id{color:#aaa;font-size:12px}.td-flag{width:24px;height:16px;border-radius:2px;object-fit:cover}.td-img{width:52px;height:30px;object-fit:cover;border-radius:4px;border:1px solid #e8e6e3}.badge{display:inline-block;font-size:11px;font-weight:600;padding:2px 8px;border-radius:10px}.badge-yes{background:#edfaf1;color:#1e7b3b}.badge-no{background:#f5f3f0;color:#999}.pagination{display:flex;align-items:center;gap:4px;padding:14px 20px;border-top:1px solid #e8e6e3;justify-content:flex-end}.pagination a,.pagination span{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;font-size:13px;font-weight:500;color:#555;border:1px solid transparent;transition:all .15s}.pagination a:hover{border-color:#d6d6d6;color:#ff7f00}.pagination .current{background:#ff7f00;color:#fff;border-color:#ff7f00}.pagination .dots{border:none;color:#aaa}.modal-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:1000;align-items:center;justify-content:center}.modal-overlay.open{display:flex}.modal-box{background:#fff;border-radius:12px;width:100%;max-width:640px;max-height:90vh;overflow-y:auto;padding:32px;position:relative}.modal-box.lg{max-width:860px}.modal-close{position:absolute;top:16px;right:16px;width:32px;height:32px;border:none;background:#f5f3f0;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#555;font-size:18px;line-height:1;font-family:inherit;transition:background .15s}.modal-close:hover{background:#e8e6e3}.modal-title{font-size:18px;font-weight:700;margin:0 0 24px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-row.three{grid-template-columns:1fr 1fr 1fr}.form-row.one{grid-template-columns:1fr}.form-field{margin-bottom:16px}.form-field label{display:block;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#888;margin-bottom:6px}.form-field input,.form-field select,.form-field textarea{width:100%;padding:9px 12px;border:1px solid #d6d6d6;border-radius:6px;font-size:14px;font-family:inherit;background:#fffdfb;color:#181818;transition:border-color .2s}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#ff7f00}.form-field textarea{resize:vertical;min-height:80px}.form-field .hint{font-size:11px;color:#aaa;margin-top:4px}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:8px;padding-top:20px;border-top:1px solid #f0eee9}.checkbox-field{display:flex;align-items:center;gap:8px;cursor:pointer}.checkbox-field input[type="checkbox"]{width:16px;height:16px;cursor:pointer;accent-color:#ff7f00}.checkbox-field span{font-size:14px;font-weight:500}.parser-card{background:#fff;border:1px solid #e8e6e3;border-radius:10px;padding:28px;margin-bottom:20px}.parser-card h3{font-size:16px;font-weight:700;margin:0 0 6px}.parser-card .desc{font-size:13px;color:#888;margin:0 0 20px}.parser-source{display:flex;gap:12px;margin-bottom:16px}.source-tab{padding:7px 18px;border-radius:20px;font-size:13px;font-weight:600;cursor:pointer;border:2px solid #e8e6e3;background:#fff;color:#555;transition:all .2s;font-family:inherit}.source-tab.active{border-color:#ff7f00;color:#ff7f00;background:#fff5ec}.parser-log{background:#1a1a2e;border-radius:8px;padding:16px;font-family:'Courier New',monospace;font-size:13px;color:#e0e0e0;min-height:160px;max-height:360px;overflow-y:auto;white-space:pre-wrap;word-break:break-all}.log-line{margin:0;padding:1px 0}.log-line.ok{color:#4ec9b0}.log-line.err{color:#f48771}.log-line.info{color:#9cdcfe}.progress-bar-wrap{background:#e8e6e3;border-radius:4px;height:6px;margin:12px 0;overflow:hidden;display:none}.progress-bar-wrap.visible{display:block}.progress-bar{height:100%;background:#ff7f00;border-radius:4px;transition:width .3s;width:0%}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.dash-card{background:#fff;border:1px solid #e8e6e3;border-radius:10px;overflow:hidden}.dash-card-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e8e6e3}.dash-card-head h4{font-size:14px;font-weight:700;margin:0}.dash-card-head a{font-size:12px;color:#ff7f00;font-weight:500}.dash-list{list-style:none;margin:0;padding:0}.dash-list li{display:flex;align-items:center;justify-content:space-between;padding:11px 20px;border-bottom:1px solid #f0eee9;font-size:13px}.dash-list li:last-child{border-bottom:none}.dash-list .name{font-weight:500;color:#333}.dash-list .count{font-size:12px;color:#888}@media (max-width:900px){.sidebar{width:60px;min-width:60px}.sidebar .logo-link,.sidebar .logo-badge,.nav-section,.nav-item span,.sidebar-footer .admin-user span,.logout-link{display:none}.nav-item{justify-content:center;padding:12px}.admin-main{margin-left:60px}}