
        body {
            background: #F8FAFC;
            min-height: 100vh;
        }
        
        .monitoring-container {
            max-width: 1400px;
            margin: 2rem auto;
            padding: 0 2rem;
        }
        
        .page-header {
            margin-bottom: 2rem;
        }
        
        .page-header h1 {
            font-size: 2rem;
            font-weight: 700;
            color: #0F172A;
            margin-bottom: 0.5rem;
        }
        
        .page-header p {
            color: #64748B;
            font-size: 1rem;
        }
        
        /* Stats Cards */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .stat-card {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        
        .stat-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            font-size: 1.25rem;
        }
        
        .stat-icon.success { background: #ECFDF5; }
        .stat-icon.danger { background: #FEE2E2; }
        .stat-icon.primary { background: #EFF6FF; }
        .stat-icon.warning { background: #FFF7ED; }
        
        .stat-value {
            font-size: 2rem;
            font-weight: 800;
            color: #0F172A;
            line-height: 1;
            margin-bottom: 0.25rem;
        }
        
        .stat-label {
            font-size: 0.875rem;
            color: #64748B;
        }
        
        /* Monitored Sites Section */
        .section {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            margin-bottom: 2rem;
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .section-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: #0F172A;
        }
        
        .btn {
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: all 0.2s;
            font-size: 0.875rem;
        }
        
        .btn-primary {
            background: #3B82F6;
            color: white;
        }
        
        .btn-primary:hover {
            background: #1E40AF;
        }
        
        .btn-danger {
            background: #EF4444;
            color: white;
        }
        
        .btn-sm {
            padding: 0.5rem 1rem;
            font-size: 0.8rem;
        }
        
        /* Site List */
        .site-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .site-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.25rem;
            background: #F8FAFC;
            border-radius: 10px;
            border: 2px solid #E2E8F0;
            transition: all 0.2s;
        }
        
        .site-item:hover {
            border-color: #3B82F6;
        }
        
        .site-info {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .status-indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }
        
        .status-indicator.up { background: #10B981; }
        .status-indicator.down { background: #EF4444; }
        .status-indicator.warning { background: #F59E0B; }
        .status-indicator.unknown { background: #94A3B8; }
        
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        
        .site-details {
            flex: 1;
        }
        
        .site-url {
            font-weight: 600;
            color: #0F172A;
            font-size: 0.95rem;
            margin-bottom: 0.25rem;
        }
        
        .site-meta {
            font-size: 0.8rem;
            color: #64748B;
        }
        
        .site-metrics {
            display: flex;
            gap: 1.5rem;
            margin-right: 1rem;
        }
        
        .metric {
            text-align: center;
        }
        
        .metric-value {
            font-weight: 700;
            color: #0F172A;
            font-size: 0.9rem;
        }
        
        .metric-label {
            font-size: 0.7rem;
            color: #64748B;
            text-transform: uppercase;
        }
        
        .site-actions {
            display: flex;
            gap: 0.5rem;
        }
        
        /* Add Site Form */
        .add-site-form {
            display: none;
            background: #F8FAFC;
            padding: 1.5rem;
            border-radius: 10px;
            margin-bottom: 1.5rem;
        }
        
        .add-site-form.active {
            display: block;
        }
        
        .form-group {
            margin-bottom: 1rem;
        }
        
        .form-label {
            display: block;
            font-weight: 600;
            color: #334155;
            margin-bottom: 0.5rem;
            font-size: 0.875rem;
        }
        
        .form-input {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 2px solid #E2E8F0;
            border-radius: 8px;
            font-size: 0.95rem;
        }
        
        .form-input:focus {
            outline: none;
            border-color: #3B82F6;
        }
        
        .form-actions {
            display: flex;
            gap: 0.75rem;
            margin-top: 1.5rem;
        }
        
        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 3rem 2rem;
        }
        
        .empty-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
            opacity: 0.5;
        }
        
        .empty-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: #0F172A;
            margin-bottom: 0.5rem;
        }
        
        .empty-text {
            color: #64748B;
            margin-bottom: 1.5rem;
        }
        
        /* Incidents Section */
        .incident-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            padding: 1rem;
            background: #FEF2F2;
            border-left: 4px solid #EF4444;
            border-radius: 8px;
            margin-bottom: 0.75rem;
        }
        
        .incident-item.warning {
            background: #FFFBEB;
            border-left-color: #F59E0B;
        }
        
        .incident-item.resolved {
            background: #F0FDF4;
            border-left-color: #10B981;
            opacity: 0.7;
        }
        
        .incident-icon {
            font-size: 1.5rem;
        }
        
        .incident-content {
            flex: 1;
        }
        
        .incident-title {
            font-weight: 600;
            color: #0F172A;
            margin-bottom: 0.25rem;
        }
        
        .incident-message {
            font-size: 0.875rem;
            color: #64748B;
            margin-bottom: 0.5rem;
        }
        
        .incident-time {
            font-size: 0.75rem;
            color: #94A3B8;
        }
        
        /* Loading State */
        .loading {
            text-align: center;
            padding: 2rem;
            color: #64748B;
        }
        
        /* Upgrade Banner */
        .upgrade-banner {
            background: linear-gradient(135deg, #3B82F6, #1E40AF);
            color: white;
            padding: 2rem;
            border-radius: 12px;
            margin-bottom: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .upgrade-banner h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }
        
        .upgrade-banner p {
            opacity: 0.9;
        }
        
        .upgrade-banner .btn {
            background: white;
            color: #3B82F6;
        }
    
/* === Phase D1: User Nav Dropdown === */
.pro-nav-user { position: relative; cursor: pointer; }
.pro-nav-user-dropdown {
  display: none; position: absolute; top: 100%; right: 0;
  background: white; border: 1px solid #e2e8f0;
  border-radius: 10px; box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  min-width: 200px; padding: 8px 0; z-index: 1001;
}
.pro-nav-user-dropdown.open { display: block; }
.pro-nav-user-dropdown a {
  display: block; padding: 10px 16px; color: #334155;
  text-decoration: none; font-size: 14px; transition: background 0.15s;
}
.pro-nav-user-dropdown a:hover { background: #f1f5f9; }
.pro-nav-user-dropdown hr { border: none; border-top: 1px solid #e2e8f0; margin: 4px 0; }
.pro-nav-user-dropdown .logout-link { color: #dc2626; }


/* === Phase D4 Task A: Mobile Responsive === */
@media (max-width: 767px) {
  .pro-nav-links { display: none; }
  .pro-navbar { padding: 10px 16px; }
  .pro-nav-user-name { display: none; }
  .pro-nav-user-plan { font-size: 10px; }
  .main-content, .dashboard-content, .settings-container, .billing-container { padding: 16px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 14px; }
  .stat-card .stat-number { font-size: 22px; }
  .main-grid { grid-template-columns: 1fr; gap: 16px; }
  .welcome-banner { padding: 20px 16px; border-radius: 12px; }
  .welcome-banner h2 { font-size: 18px; }
  .card { border-radius: 10px; }
  .card-header { padding: 14px 16px; }
  .card-body { padding: 16px; }
  .history-card { padding: 14px; }
  .history-url, .history-card a[href] { font-size: 12px; }
  .detail-panel-inner { padding: 12px; }
  .detail-actions { flex-direction: column; }
  .plan-badge-large { font-size: 12px; padding: 4px 10px; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .seo-task-item { font-size: 13px; padding: 10px; }
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-card .stat-number { font-size: 20px; }
}

/* === Phase D4 Task B: Dashboard Hamburger === */
.dashboard-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; flex-direction: column; gap: 5px; margin-left: auto;
}
.dashboard-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #374151; border-radius: 2px; transition: all 0.3s;
}
.dashboard-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.dashboard-hamburger.active span:nth-child(2) { opacity: 0; }
.dashboard-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (max-width: 767px) {
  .dashboard-hamburger { display: flex; }
}
.dashboard-mobile-menu { background: #fff; border-bottom: 1px solid #E5E7EB; box-shadow: 0 4px 12px rgba(0,0,0,0.08); padding: 8px 0; }
.dashboard-mobile-menu[hidden] { display: none; }
.dash-mobile-link { display: block; padding: 12px 20px; font-size: 15px; color: #374151; text-decoration: none; transition: background 0.15s; }
.dash-mobile-link:hover, .dash-mobile-link:active { background: #F3F4F6; }
.dash-mobile-divider { border: none; border-top: 1px solid #E5E7EB; margin: 4px 16px; }
.dash-mobile-logout { color: #DC2626; }

/* === Phase D4 Task C: Toast === */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 10000;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.toast {
  background: #1F2937; color: #fff; padding: 12px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  pointer-events: auto; opacity: 0; transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s; max-width: 320px;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.toast-success { background: #059669; }
.toast.toast-error { background: #DC2626; }
.toast.toast-warning { background: #D97706; }
@media (max-width: 767px) {
  .toast-container { bottom: 16px; right: 16px; left: 16px; }
  .toast { max-width: 100%; }
}

/* === Phase D4 Task D: Skeleton === */
.skeleton {
  background: linear-gradient(90deg, #F3F4F6 25%, #E5E7EB 50%, #F3F4F6 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 6px;
}
.skeleton-text { height: 16px; margin-bottom: 8px; width: 80%; }
.skeleton-text-short { height: 16px; width: 40%; }
.skeleton-circle { width: 40px; height: 40px; border-radius: 50%; }
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

