*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,sans-serif;background:#f4f7fc;color:#1e293b;line-height:1.5}.app{display:flex;flex-direction:column;height:100vh;overflow:hidden;position:relative}.top-bar{background:#fff;padding:0 2rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e8f0;height:70px;flex-shrink:0;z-index:100}.left-section{display:flex;align-items:center;gap:1.5rem}.menu-toggle{background:none;border:none;font-size:1.5rem;color:#334155;cursor:pointer;display:flex;align-items:center;justify-content:center}.logo-area{display:flex;align-items:center;gap:.75rem;font-size:1.4rem;font-weight:600}.logo-icon{background:#3b82f6;width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.3rem}.logo-text{background:linear-gradient(135deg,#0f172a,#334155);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.service-dropdown{position:relative}.dropdown-button{background:#f1f5f9;border:none;border-radius:40px;padding:.5rem 1.5rem .5rem 1.2rem;font-size:.95rem;font-weight:500;color:#1e293b;display:flex;align-items:center;gap:8px;cursor:pointer;transition:background .15s;font-family:Inter,sans-serif}.dropdown-button:hover{background:#e2e8f0}.dropdown-button i{color:#3b82f6}.dropdown-menu{position:absolute;top:calc(100% + 8px);left:0;background:#fff;border-radius:16px;box-shadow:0 10px 25px -5px #0000001a;min-width:260px;max-height:400px;overflow-y:auto;z-index:1000;border:1px solid #e2e8f0;padding:.5rem}.dropdown-item{display:flex;align-items:center;gap:12px;padding:.7rem 1rem;border-radius:10px;color:#334155;cursor:pointer;transition:background .1s}.dropdown-item:hover{background:#f1f5f9}.dropdown-item.active{background:#e6f0ff;color:#1e293b;font-weight:500}.dropdown-item i{width:20px;color:#3b82f6}.header-actions{display:flex;align-items:center;gap:1.5rem}.badge{position:absolute;top:-5px;right:-8px;background:#ef4444;color:#fff;font-size:.6rem;font-weight:600;padding:.1rem .4rem;border-radius:20px}.sidebar{background:#0f172a;color:#e2e8f0;width:280px;padding:1.5rem .8rem;display:flex;flex-direction:column;gap:1.5rem;position:fixed;top:0;left:-280px;height:100vh;overflow-y:auto;transition:left .2s ease;z-index:1100;box-shadow:4px 0 20px #0000001a;scrollbar-width:thin;scrollbar-color:#475569 #1e293b}.sidebar.open{left:0}.sidebar::-webkit-scrollbar{width:5px}.sidebar::-webkit-scrollbar-track{background:#1e293b}.sidebar::-webkit-scrollbar-thumb{background:#475569;border-radius:10px}.sidebar-header{display:flex;align-items:center;gap:.75rem;padding-left:.5rem;font-size:1.4rem;font-weight:600}.sidebar-header .logo-icon{background:#3b82f6;width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff}.sidebar-header span{background:linear-gradient(135deg,#a5f3fc,#bae6fd);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.nav-category{margin-bottom:1rem}.category-header{font-size:.7rem;text-transform:uppercase;letter-spacing:.5px;color:#64748b;padding-left:1rem;margin-bottom:.3rem}.service-item{display:flex;align-items:center;gap:1rem;padding:.6rem 1rem;border-radius:10px;color:#cbd5e1;transition:all .15s;cursor:pointer;font-size:.9rem}.service-item i{width:22px;font-size:1.1rem;color:#64748b}.service-item.active{background:#1e293b;color:#fff}.service-item.active i{color:#3b82f6}.service-item:not(.active):hover{background:#1e293b;color:#f1f5f9}.sidebar-footer{margin-top:auto;font-size:.8rem;color:#475569;padding:1rem .5rem}.overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:#0000004d;z-index:1050}.overlay.active{display:block}.content{flex:1;background:#f8fafc;overflow-y:auto}.dashboard-container{padding:1.5rem 2rem;overflow:scroll;height:100%;display:flex;flex-direction:column}.iframe-container{background:#fff;box-shadow:0 8px 20px #00000005;border:1px solid #eef2f6;overflow:hidden;height:100%;display:flex;flex-direction:column}.service-frame{width:100%;height:100%;border:none;background:#fff}.fallback-button{display:inline-block;margin-top:1rem;padding:.7rem 1.8rem;background:#3b82f6;color:#fff;border-radius:40px;text-decoration:none;font-weight:500;transition:background .15s;border:none;cursor:pointer;font-size:.9rem}.fallback-button:hover{background:#2563eb}.iframe-note{background:#f1f5f9;padding:.8rem 1.2rem;border-radius:12px;font-size:.85rem;color:#475569;margin:1rem 1rem 0;display:flex;align-items:center;gap:8px}.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.page-title h1{font-size:1.8rem;font-weight:600;background:linear-gradient(145deg,#0f172a,#334155);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.emoji{-webkit-text-fill-color:initial}.date-badge{background:#fff;padding:.4rem 1.2rem;border-radius:40px;font-size:.9rem;border:1px solid #e2e8f0}.stat-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:#fff;padding:1.5rem 1.2rem;border-radius:20px;border:1px solid #eef2f6;display:flex;align-items:center;gap:1rem}.stat-icon{width:52px;height:52px;background:#e6f0ff;border-radius:16px;display:flex;align-items:center;justify-content:center;color:#2563eb;font-size:1.5rem;flex-shrink:0}.stat-info h3{font-size:.85rem;font-weight:500;color:#64748b}.stat-info .value{font-size:1.6rem;font-weight:600}.stat-info .unit{font-size:.9rem;color:#64748b}.progress-bg{margin-top:6px;background:#e2e8f0;height:6px;border-radius:10px}.progress-fill{background:#2563eb;height:6px;border-radius:10px}.chart-area{display:grid;grid-template-columns:2fr 1fr;gap:1.5rem;margin-bottom:2rem}.chart-card{background:#fff;border-radius:20px;padding:1.2rem;border:1px solid #eef2f6}.chart-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.chart-header h3{font-size:1rem;font-weight:600}.chart-header h3 span{font-weight:400;color:#94a3b8;font-size:.85rem;margin-left:.5rem}.traffic-canvas{width:100%;height:auto;background:#fff;border-radius:16px}.quick-actions{background:#fff;border-radius:20px;padding:1.2rem;border:1px solid #eef2f6}.quick-actions h4{margin-bottom:.8rem;font-size:.95rem}.action-buttons{display:flex;flex-wrap:wrap;gap:.7rem}.action-btn{background:#f1f5f9;border-radius:40px;padding:.5rem 1rem;font-size:.8rem;display:inline-flex;align-items:center;gap:6px;color:#1e293b;cursor:pointer;border:none;font-family:Inter,sans-serif;transition:background .15s}.action-btn:hover{background:#e2e8f0}.recent-table{background:#fff;border-radius:20px;padding:1.2rem;border:1px solid #eef2f6;margin-top:1rem}.table-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.table-header h3{font-size:1rem;font-weight:600}.table-header a{color:#3b82f6;text-decoration:none;font-size:.85rem}table{width:100%;border-collapse:collapse}th{text-align:left;padding:.9rem .5rem;color:#64748b;font-size:.8rem;border-bottom:1px solid #e2e8f0}td{padding:.9rem .5rem;font-size:.9rem;border-bottom:1px solid #f1f5f9}.status-badge{background:#dcfce7;color:#15803d;padding:.2rem .7rem;border-radius:40px;font-size:.75rem;font-weight:600;display:inline-block}.status-badge.suspended{background:#fee2e2;color:#b91c1c}.action-icons{display:flex;gap:.8rem;color:#64748b}.action-icons i{cursor:pointer;transition:color .15s}.action-icons i:hover{color:#3b82f6}.service-cell{display:flex;align-items:center;gap:.75rem}.service-cell-icon{width:34px;height:34px;background:#e6f0ff;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#2563eb;font-size:.85rem;flex-shrink:0}.service-cell-name{font-weight:500;color:#1e293b;font-size:.9rem}.service-cell-url{font-size:.75rem;color:#94a3b8;text-decoration:none;display:block;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service-cell-url:hover{color:#3b82f6}.category-badge{background:#f1f5f9;color:#475569;padding:.2rem .7rem;border-radius:40px;font-size:.75rem;font-weight:500;display:inline-block}.type-badge{display:inline-flex;align-items:center;gap:4px;font-size:.75rem;font-weight:500;padding:.2rem .7rem;border-radius:40px}.type-badge.external{background:#eff6ff;color:#2563eb}.type-badge.internal{background:#f0fdf4;color:#16a34a}.type-badge i{font-size:.65rem}.stat-icon-purple{background:#ede9fe;color:#7c3aed}.stat-icon-green{background:#dcfce7;color:#16a34a}.progress-purple{background:#7c3aed}.progress-green{background:#16a34a}@media (max-width: 900px){.top-bar{padding:0 1rem}.logo-text,.service-dropdown .dropdown-button span{display:none}.content{padding:1rem}.chart-area{grid-template-columns:1fr}.stat-cards{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}}.auth-page{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#f0f4ff,#e8f0fe,#f8fafc);padding:1.5rem}.auth-card{background:#fff;border-radius:24px;box-shadow:0 8px 30px #0000000f;padding:2.5rem;width:100%;max-width:440px;border:1px solid #eef2f6}.auth-header{text-align:center;margin-bottom:2rem}.auth-logo{background:#3b82f6;width:52px;height:52px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:1.6rem;margin-bottom:1rem}.auth-header h1{font-size:1.5rem;font-weight:600;color:#0f172a;margin-bottom:.3rem}.auth-header p{color:#64748b;font-size:.95rem}.auth-form{display:flex;flex-direction:column;gap:1.1rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-group{display:flex;flex-direction:column;gap:.35rem}.form-group label{font-size:.85rem;font-weight:500;color:#334155}.form-group input{padding:.7rem 1rem;border:1px solid #e2e8f0;border-radius:12px;font-size:.9rem;font-family:Inter,sans-serif;outline:none;transition:border-color .15s;background:#f8fafc}.form-group input:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61a}.auth-btn{background:#3b82f6;color:#fff;border:none;border-radius:12px;padding:.8rem;font-size:.95rem;font-weight:600;cursor:pointer;font-family:Inter,sans-serif;transition:background .15s;margin-top:.5rem}.auth-btn:hover:not(:disabled){background:#2563eb}.auth-btn:disabled{opacity:.7;cursor:not-allowed}.auth-error{background:#fef2f2;color:#b91c1c;padding:.7rem 1rem;border-radius:10px;font-size:.85rem;border:1px solid #fecaca}.auth-footer{text-align:center;margin-top:1.5rem;font-size:.9rem;color:#64748b}.auth-link{background:none;border:none;color:#3b82f6;font-weight:600;cursor:pointer;font-family:Inter,sans-serif;font-size:.9rem}.auth-link:hover{text-decoration:underline}.auth-tabs{display:flex;gap:0;margin-bottom:1.2rem;background:#f1f5f9;border-radius:12px;padding:4px}.auth-tab{flex:1;padding:.55rem 1rem;border:none;background:transparent;border-radius:10px;font-size:.85rem;font-weight:500;color:#64748b;cursor:pointer;font-family:Inter,sans-serif;transition:all .15s}.auth-tab.active{background:#fff;color:#0f172a;box-shadow:0 1px 3px #00000014}.auth-success{background:#f0fdf4;color:#166534;padding:.7rem 1rem;border-radius:10px;font-size:.85rem;border:1px solid #bbf7d0;margin-bottom:.8rem}.auth-forgot{text-align:right;margin-top:-.3rem}.auth-actions-row{display:flex;justify-content:space-between;margin-top:.3rem}.auth-btn-outline{background:transparent;color:#3b82f6;border:1px solid #3b82f6}.auth-btn-outline:hover:not(:disabled){background:#eff6ff}.otp-targets{display:flex;gap:.8rem;flex-wrap:wrap;margin-bottom:.3rem}.otp-target{background:#f1f5f9;padding:.4rem .8rem;border-radius:8px;font-size:.82rem;color:#475569}@media (max-width: 480px){.auth-card{padding:1.5rem}.form-row{grid-template-columns:1fr}}.toast{position:fixed;top:1.5rem;right:1.5rem;z-index:9999;background:#fff;padding:.8rem 1.5rem;border-radius:12px;box-shadow:0 8px 25px #0000001f;border:1px solid #e2e8f0;font-size:.9rem;display:flex;align-items:center;gap:.6rem;animation:slideInRight .3s ease,fadeOut .3s ease 2.7s forwards}.toast-success{border-left:4px solid #22c55e}.toast-success i{color:#22c55e}.toast-error{border-left:4px solid #ef4444}.toast-error i{color:#ef4444}.toast-info{border-left:4px solid #3b82f6}.toast-info i{color:#3b82f6}@keyframes slideInRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeOut{to{opacity:0;transform:translateY(-10px)}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0f172a66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:2000;display:flex;justify-content:center;align-items:center;padding:1rem;animation:fadeIn .15s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-card{background:#fff;border-radius:20px;padding:0;width:100%;max-width:480px;box-shadow:0 20px 60px #00000026;animation:scaleIn .2s ease;overflow:hidden}.modal-sm{max-width:400px}@keyframes scaleIn{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.2rem 1.5rem;border-bottom:1px solid #f1f5f9}.modal-header h3{font-size:1.1rem;font-weight:600;display:flex;align-items:center;gap:.5rem}.modal-close{background:none;border:none;color:#94a3b8;font-size:1.1rem;cursor:pointer;width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;transition:all .15s}.modal-close:hover{background:#f1f5f9;color:#334155}.modal-form{padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.modal-body{padding:1.5rem}.modal-body p{color:#334155;font-size:.95rem}.modal-actions{display:flex;justify-content:flex-end;gap:.75rem;padding-top:.5rem}.btn-secondary{background:#f1f5f9;border:none;border-radius:10px;padding:.6rem 1.2rem;font-size:.9rem;color:#334155;cursor:pointer;font-family:Inter,sans-serif;font-weight:500;transition:background .15s}.btn-secondary:hover{background:#e2e8f0}.btn-danger{background:#ef4444;color:#fff;border:none;border-radius:10px;padding:.6rem 1.2rem;font-size:.9rem;cursor:pointer;font-family:Inter,sans-serif;font-weight:600;transition:background .15s}.btn-danger:hover:not(:disabled){background:#dc2626}.btn-danger:disabled{opacity:.7;cursor:not-allowed}.form-select{padding:.7rem 1rem;border:1px solid #e2e8f0;border-radius:12px;font-size:.9rem;font-family:Inter,sans-serif;outline:none;background:#f8fafc;cursor:pointer;transition:border-color .15s}.form-select:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61a}.refresh-btn{background:#fff;border:1px solid #e2e8f0;width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#64748b;font-size:1rem;transition:all .15s}.refresh-btn:hover:not(:disabled){background:#f1f5f9;color:#3b82f6}.refresh-btn:disabled{opacity:.5;cursor:not-allowed}.spinning{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.icon-btn{background:none;border:none;color:#94a3b8;cursor:pointer;font-size:.9rem;padding:.3rem;border-radius:6px;transition:all .15s}.icon-btn:hover{color:#3b82f6;background:#f1f5f9}.view-all-link{background:none;border:none;color:#3b82f6;font-size:.85rem;cursor:pointer;font-family:Inter,sans-serif;font-weight:500;display:flex;align-items:center;gap:.3rem;transition:color .15s}.view-all-link:hover{color:#2563eb}.progress-danger{background:#ef4444!important}.stat-warning{border-color:#fecaca}.domain-summary{display:flex;justify-content:space-around;margin-top:1rem;padding-top:1rem;border-top:1px solid #f1f5f9}.summary-item{text-align:center}.summary-count{display:block;font-size:1.3rem;font-weight:700;color:#1e293b}.summary-count.success{color:#22c55e}.summary-count.danger{color:#ef4444}.summary-label{font-size:.75rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.3px}.dashboard-loading{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%;gap:1rem}.dashboard-loading p{color:#64748b;font-size:.95rem}.loading-spinner{width:36px;height:36px;border:3px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spin .7s linear infinite}.notification-wrapper{position:relative}.notification-icon{position:relative;font-size:1.3rem;color:#475569;cursor:pointer;background:none;border:none;padding:.3rem}.notif-dropdown{position:absolute;top:calc(100% + 12px);right:0;background:#fff;border-radius:16px;box-shadow:0 10px 40px #0000001f;min-width:340px;max-height:420px;z-index:1500;border:1px solid #e2e8f0;overflow:hidden;animation:scaleIn .15s ease}.notif-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.2rem;border-bottom:1px solid #f1f5f9}.notif-header h4{font-size:.95rem;font-weight:600}.notif-action{background:none;border:none;color:#3b82f6;font-size:.78rem;cursor:pointer;font-family:Inter,sans-serif;font-weight:500}.notif-action:hover{text-decoration:underline}.notif-list{max-height:340px;overflow-y:auto}.notif-item{display:flex;align-items:flex-start;gap:.8rem;padding:.9rem 1.2rem;cursor:pointer;transition:background .1s;position:relative}.notif-item:hover{background:#f8fafc}.notif-item.unread{background:#f0f7ff}.notif-icon-wrap{width:32px;height:32px;background:#e6f0ff;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#3b82f6;font-size:.8rem;flex-shrink:0}.notif-content p{font-size:.85rem;color:#334155;margin:0;line-height:1.4}.notif-time{font-size:.72rem;color:#94a3b8;margin-top:.2rem;display:block}.notif-dot{width:8px;height:8px;background:#3b82f6;border-radius:50%;flex-shrink:0;margin-top:.3rem}.notif-empty{padding:2rem;text-align:center;color:#94a3b8}.notif-empty i{font-size:1.5rem;margin-bottom:.5rem;display:block}.notif-empty p{font-size:.85rem}.user-menu-wrapper{position:relative}.avatar{width:40px;height:40px;background:linear-gradient(145deg,#2563eb,#38bdf8);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;cursor:pointer;font-size:.85rem;border:none;font-family:Inter,sans-serif}.avatar-lg{width:44px;height:44px;font-size:.9rem;flex-shrink:0}.user-dropdown{position:absolute;top:calc(100% + 12px);right:0;background:#fff;border-radius:16px;box-shadow:0 10px 40px #0000001f;min-width:240px;z-index:1500;border:1px solid #e2e8f0;overflow:hidden;animation:scaleIn .15s ease}.user-dropdown-header{display:flex;align-items:center;gap:.75rem;padding:1.2rem}.user-dropdown-name{font-weight:600;font-size:.95rem;color:#0f172a}.user-dropdown-email{font-size:.8rem;color:#64748b}.user-dropdown-divider{height:1px;background:#f1f5f9}.user-dropdown-item{display:flex;align-items:center;gap:.75rem;width:100%;padding:.7rem 1.2rem;border:none;background:none;color:#334155;font-size:.9rem;cursor:pointer;font-family:Inter,sans-serif;transition:background .1s}.user-dropdown-item:hover{background:#f8fafc}.user-dropdown-item i{width:18px;color:#64748b}.user-dropdown-item.danger,.user-dropdown-item.danger i{color:#ef4444}.user-dropdown-item.danger:hover{background:#fef2f2}.breadcrumb{display:flex;align-items:center;gap:.5rem;font-size:.9rem}.breadcrumb-link{background:none;border:none;color:#3b82f6;cursor:pointer;font-family:Inter,sans-serif;font-size:.9rem}.breadcrumb-link:hover{text-decoration:underline}.breadcrumb-sep{font-size:.6rem;color:#cbd5e1}.breadcrumb-current{color:#64748b;font-weight:500}.service-empty,.service-error{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:.5rem;color:#64748b;text-align:center;padding:2rem}.service-empty i,.service-error i{font-size:2.5rem;color:#cbd5e1;margin-bottom:.5rem}.service-empty h3,.service-error h3{color:#334155;font-size:1.2rem}.service-empty p,.service-error p{font-size:.9rem;max-width:360px}.service-error i{color:#f59e0b}.service-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:1rem;position:absolute;top:0;left:0;right:0;bottom:0;background:#fff;z-index:10}.service-loading p{color:#64748b;font-size:.9rem}.service-toolbar{display:flex;justify-content:flex-end;gap:1rem;padding:.5rem 1rem;border-top:1px solid #f1f5f9;background:#fafbfc;flex-shrink:0}.toolbar-link{background:none;border:none;color:#64748b;font-size:.82rem;cursor:pointer;font-family:Inter,sans-serif;display:flex;align-items:center;gap:.3rem;text-decoration:none;transition:color .15s}.toolbar-link:hover{color:#3b82f6}.dashboard-link{margin:0 .2rem .5rem;border-bottom:1px solid rgba(255,255,255,.06);padding-bottom:1rem!important}.logout-btn{background:none;border:none;color:#64748b;font-size:1.15rem;cursor:pointer;padding:.4rem;border-radius:8px;transition:color .15s,background .15s;display:flex;align-items:center}.logout-btn:hover{color:#ef4444;background:#fef2f2}
