/* Base Styles for NetCop Hub */ /* Utility Classes */ .hidden { display: none !important; } /* ============================================== UNIFIED DESIGN TOKEN SYSTEM Consolidates all design tokens across the app ============================================== */ :root { /* ===== SPACING SYSTEM ===== */ --space-xs: 4px; --space-sm: 8px; --space-md: 16px; --space-lg: 24px; --space-xl: 32px; --space-xxl: 48px; --space-xxxl: 64px; /* Legacy spacing aliases (to be phased out) */ --spacing-xs: var(--space-xs); --spacing-sm: var(--space-sm); --spacing-md: var(--space-md); --spacing-lg: var(--space-lg); --spacing-xl: var(--space-xl); /* ===== COLOR PALETTE ===== */ /* Primary Colors */ --primary: #3b82f6; --primary-dark: #1d4ed8; --primary-light: #60a5fa; --primary-blue: var(--primary); /* Alias for compatibility */ /* Semantic Colors */ --success: #10b981; --success-dark: #059669; --success-green: var(--success); /* Alias */ --error: #ef4444; --error-red: var(--error); /* Alias */ --warning: #f59e0b; --warning-orange: var(--warning); /* Alias */ --info: #06b6d4; /* Surface Colors */ --surface: #ffffff; --surface-variant: #f8fafc; --background: #f3f4f6; --background-page: var(--background); /* Alias */ --background-card: var(--surface); /* Alias */ --background-light: #f9fafb; --background-subtle: var(--surface-variant); /* Text Colors */ --on-surface: #1a1a1a; --on-surface-variant: #6b7280; --text-primary: var(--on-surface); /* Alias */ --text-secondary: var(--on-surface-variant); /* Alias */ --text-light: var(--on-surface-variant); /* Alias */ --text-muted: #9ca3af; /* Border Colors */ --outline: #e4e7eb; --outline-variant: #e1e4e7; --border-light: #e5e7eb; --border-medium: #9ca3af; --border-strong: #6b7280; --border-color: var(--outline); /* Legacy alias */ /* ===== BORDER RADIUS ===== */ --radius-xs: 4px; --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 24px; --radius-full: 9999px; /* ===== SHADOWS ===== */ --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05); --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1); --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1); --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15); --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2); /* ===== TYPOGRAPHY ===== */ --font-family: 'Inter', Arial, sans-serif; --font-mono: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; /* Font Sizes */ --text-xs: 12px; --text-sm: 14px; --text-base: 16px; --text-lg: 18px; --text-xl: 20px; --text-2xl: 24px; --text-3xl: 30px; --text-4xl: 36px; /* Font Weights */ --font-light: 300; --font-normal: 400; --font-medium: 500; --font-semibold: 600; --font-bold: 700; /* Line Heights */ --leading-tight: 1.25; --leading-normal: 1.5; --leading-relaxed: 1.75; /* ===== TRANSITIONS ===== */ --transition: all 0.2s ease; --transition-fast: all 0.1s ease; --transition-slow: all 0.3s ease; /* ===== GRADIENTS ===== */ --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); --gradient-success: linear-gradient(135deg, var(--success) 0%, var(--success-dark) 100%); --gradient-hero: linear-gradient(135deg, #f6f8ff 0%, #e8f0fe 50%, #f0f7ff 100%); /* Section Gradients */ --company-gradient: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); --visual-gradient: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%); --services-gradient: linear-gradient(135deg, #fefefe 0%, #f0f9ff 100%); --clients-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); --founder-gradient: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%); --contact-gradient: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); --text-gradient: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%); /* Badge Gradients */ --badge-purple: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); --badge-orange: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); --gradient-blue: var(--gradient-primary); --gradient-green: var(--gradient-success); --gradient-slate: linear-gradient(135deg, #64748b 0%, #475569 100%); --gradient-neutral: linear-gradient(135deg, #6b7280 0%, #374151 100%); /* ===== LEGACY COMPATIBILITY ALIASES ===== */ /* These will be phased out gradually */ --bg-color: var(--background); --text-color: var(--on-surface); --primary-color: var(--primary); --card-bg: var(--surface); --hover-color: var(--surface-variant); --accent-color: var(--on-surface-variant); --success-color: var(--success); --error-color: var(--error); --primary-gradient: var(--gradient-primary); /* ===== Z-INDEX SCALE ===== */ --z-dropdown: 1000; --z-sticky: 1020; --z-fixed: 1030; --z-modal-backdrop: 1040; --z-modal: 1050; --z-popover: 1060; --z-tooltip: 1070; --z-toast: 1080; } body { font-family: 'Inter', Arial, sans-serif; margin: 0; padding: 0; background-color: var(--background-page); overflow-x: hidden; box-sizing: border-box; } * { box-sizing: border-box; } .header { background: var(--background-card); border-bottom: 1px solid var(--border-light); width: 100%; } .header-container { max-width: 1200px; margin: 0 auto; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; } .header-left { display: flex; align-items: center; } .logo-section { display: flex; align-items: center; text-decoration: none; margin-right: 30px; } .logo-img { width: auto; height: 60px; object-fit: contain; } .header-nav { display: flex; gap: 24px; align-items: center; } .nav-link { text-decoration: none; color: var(--text-secondary); font-weight: 500; font-size: 16px; padding: 8px 12px; border-radius: 6px; transition: all 0.2s ease; white-space: nowrap; } .nav-link:hover { color: var(--primary-blue); background: rgba(59, 130, 246, 0.05); } /* Removed .nav-link.active - no active state styling per user request */ .user-info { display: flex; align-items: center; gap: 16px; } .user-welcome { color: var(--text-primary); font-weight: 500; margin: 0; } .balance { background: var(--gradient-success); color: white; padding: 8px 16px; border-radius: 20px; font-weight: 600; font-size: 14px; text-decoration: none; transition: transform 0.2s ease; } .balance:hover { transform: translateY(-1px); color: white; } .auth-links { display: flex; gap: 15px; } .auth-links a { text-decoration: none; color: var(--text-secondary); font-weight: 500; padding: 8px 12px; border-radius: 6px; transition: all 0.2s ease; } .auth-links a:hover { color: var(--primary-blue); background: rgba(59, 130, 246, 0.05); } /* Removed all .auth-links a.active rules - no active state styling per user request */ .main-container { max-width: 1200px; margin: 0 auto; padding: 20px; } /* Footer Styles */ .footer { padding: clamp(30px, 5vw, 40px) clamp(16px, 4vw, 24px) clamp(20px, 3vw, 30px); background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%); margin: 0; width: 100%; position: relative; overflow-x: hidden; box-sizing: border-box; } .footer-container { max-width: 1200px; margin: 0 auto; width: 100%; box-sizing: border-box; padding: 0 clamp(16px, 4vw, 24px); } .footer-main { display: flex; justify-content: space-between; align-items: flex-start; gap: clamp(24px, 6vw, 64px); margin-bottom: clamp(16px, 4vw, 24px); flex-wrap: wrap; width: 100%; box-sizing: border-box; } .footer-company { flex: 1; min-width: 280px; max-width: 100%; box-sizing: border-box; } .footer-logo { width: auto; height: 60px; display: flex; align-items: center; justify-content: flex-start; margin-bottom: clamp(12px, 3vw, 16px); } .footer-logo-img { width: auto; height: 60px; object-fit: contain; border-radius: 8px; filter: brightness(0) invert(1); } .footer-description { color: var(--text-muted); font-size: clamp(12px, 3vw, 14px); line-height: 1.6; margin: 0 0 clamp(8px, 2vw, 12px) 0; } .footer-contact { display: flex; flex-direction: column; gap: clamp(4px, 1vw, 8px); } .footer-contact-item { color: #e5e7eb; font-size: clamp(10px, 2.5vw, 12px); text-decoration: none; transition: color 0.2s ease; } .footer-contact-item:hover { color: #40E0D0; } .footer-nav { display: flex; gap: clamp(24px, 6vw, 64px); align-items: flex-start; flex-wrap: wrap; max-width: 100%; box-sizing: border-box; } .footer-nav-section { text-align: right; } .footer-nav-title { font-size: clamp(14px, 3.5vw, 18px); font-weight: 600; color: white; margin-bottom: clamp(8px, 2vw, 12px); margin: 0 0 clamp(8px, 2vw, 12px) 0; } .footer-nav-links { display: flex; flex-direction: column; gap: clamp(4px, 1vw, 8px); } .footer-nav-link { color: var(--text-muted); text-decoration: none; font-size: clamp(10px, 2.5vw, 12px); transition: all 0.2s ease; } .footer-nav-link:hover { color: #40E0D0; transform: translateX(-2px); } .footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(148, 163, 184, 0.2); padding-top: clamp(16px, 4vw, 24px); flex-wrap: wrap; gap: clamp(12px, 3vw, 16px); width: 100%; box-sizing: border-box; } .footer-copyright { color: var(--text-secondary); margin: 0; font-size: clamp(10px, 2.5vw, 12px); } .footer-legal { display: flex; gap: clamp(16px, 4vw, 24px); align-items: center; flex-wrap: wrap; } .footer-legal-link { color: var(--text-muted); text-decoration: none; font-size: clamp(10px, 2.5vw, 12px); transition: color 0.2s ease; cursor: pointer; background: none; border: none; padding: 0; } .footer-legal-link:hover { color: #40E0D0; } /* Privacy Modal Styles */ .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.2s ease; } .modal-overlay.active { opacity: 1; visibility: visible; } .modal-content { background: white; border-radius: 16px; padding: clamp(20px, 5vw, 32px); width: 90%; max-width: 600px; max-height: 80vh; overflow: auto; position: relative; transform: scale(0.98); transition: transform 0.2s ease; } .modal-overlay.active .modal-content { transform: scale(1); } .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(16px, 4vw, 20px); } .modal-title { font-size: clamp(18px, 4.5vw, 24px); font-weight: 600; color: var(--text-primary); margin: 0; } .modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: #6b7280; padding: 4px; transition: color 0.2s ease; } .modal-close:hover { color: var(--text-primary); } .modal-text { color: var(--text-secondary); line-height: 1.6; font-size: clamp(14px, 3.5vw, 16px); } /* Responsive Design */ @media (max-width: 768px) { .header-container { padding: 12px 16px; } .logo-section { margin-right: 1.5rem; } .header-nav { gap: 1rem; } .nav-link { font-size: 14px; padding: 0.4rem 0; } .logo-img { height: 60px; } .user-info { gap: 0.75rem; } .auth-links { gap: 0.5rem; } .user-welcome { display: none; } /* Footer responsive */ .footer-main { flex-direction: column; gap: clamp(20px, 5vw, 32px); } .footer-company { min-width: auto; width: 100%; } .footer-nav { justify-content: space-between; width: 100%; gap: clamp(16px, 4vw, 32px); } .footer-nav-section { text-align: left; flex: 1; } .footer-bottom { flex-direction: column; text-align: center; gap: clamp(8px, 2vw, 12px); } .footer-legal { justify-content: center; gap: clamp(12px, 3vw, 16px); } } @media (max-width: 480px) { .header-container { padding: 8px 12px; } .logo-section { margin-right: 1rem; } .header-nav { gap: 0.75rem; } .nav-link { padding: 0.3rem 0; font-size: 13px; } .logo-img { height: 60px; } .user-info { gap: 0.5rem; } /* Footer mobile responsive */ .footer-nav { flex-direction: column; gap: clamp(16px, 4vw, 24px); } .footer-nav-section { width: 100%; } .footer-legal { flex-direction: column; gap: clamp(8px, 2vw, 12px); } } /* ============================================== UNIFIED BUTTON SYSTEM Consolidates all button styles across the app ============================================== */ /* Base Button Foundation */ .btn { /* Core Structure */ display: inline-flex; align-items: center; justify-content: center; gap: 8px; /* Spacing & Dimensions */ padding: 12px 24px; min-height: 44px; border-radius: 8px; /* Typography */ font-size: 14px; font-weight: 600; font-family: inherit; text-decoration: none; white-space: nowrap; /* Base Styling */ border: none; cursor: pointer; transition: all 0.2s ease; box-sizing: border-box; /* Prevent text selection */ user-select: none; -webkit-user-select: none; } /* Button Variants */ .btn-primary { background: var(--primary-blue, #3b82f6); color: white; border: 2px solid transparent; } .btn-primary:hover:not(:disabled) { background: var(--primary-dark, #1d4ed8); color: white; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); } .btn-secondary { background: white; color: var(--text-primary, #1f2937); border: 2px solid var(--border-medium, #9ca3af); } .btn-secondary:hover:not(:disabled) { background: #1a1a1a !important; color: white !important; border-color: #1a1a1a !important; transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); } .btn-outline { background: transparent; color: var(--text-primary, #1f2937); border: 2px solid var(--border-medium, #9ca3af); } .btn-outline:hover:not(:disabled) { background: var(--background-light, #f9fafb); border-color: var(--primary-blue, #3b82f6); } .btn-ghost { background: transparent; color: var(--text-primary, #1f2937); border: 2px solid transparent; } .btn-ghost:hover:not(:disabled) { background: var(--background-light, #f9fafb); transform: translateY(-1px); } .btn-glass { background: rgba(255, 255, 255, 0.15); color: white; border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(10px); } .btn-glass:hover:not(:disabled) { background: rgba(255, 255, 255, 0.25); transform: translateY(-1px); } /* Button Sizes */ .btn-sm { padding: 8px 16px; font-size: 12px; min-height: 36px; border-radius: 6px; } .btn-lg { padding: 16px 32px; font-size: 16px; min-height: 52px; border-radius: 12px; } .btn-full { width: 100%; } /* Button States */ .btn:active { transform: translateY(0); transition: transform 0.1s ease; } .btn:disabled, .btn.loading { opacity: 0.5; cursor: not-allowed; transform: none; pointer-events: none; } .btn.loading::after { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-top: 2px solid transparent; border-radius: 50%; animation: btn-spin 1s linear infinite; margin-left: 8px; } @keyframes btn-spin { to { transform: rotate(360deg); } } /* Button Groups */ .btn-group { display: flex; gap: 8px; flex-wrap: wrap; } .btn-group .btn { flex: 1; min-width: 0; } .btn-group.btn-group-vertical { flex-direction: column; } .btn-group.btn-group-vertical .btn { width: 100%; } /* Success/Error Button States */ .btn-success { background: var(--success-green, #10b981); color: white; border-color: transparent; } .btn-success:hover:not(:disabled) { background: var(--success-dark, #059669); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); } .btn-error { background: var(--error-red, #ef4444); color: white; border-color: transparent; } .btn-error:hover:not(:disabled) { background: #dc2626; box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3); } .btn-warning { background: var(--warning-orange, #f59e0b); color: white; border-color: transparent; } .btn-warning:hover:not(:disabled) { background: #d97706; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3); } /* Dark Theme Support */ @media (prefers-color-scheme: dark) { .btn-secondary, .btn-outline { background: #374151; color: #f9fafb; border-color: #6b7280; } .btn-secondary:hover:not(:disabled) { background: #1a1a1a !important; color: white !important; border-color: #1a1a1a !important; } .btn-outline:hover:not(:disabled) { background: #4b5563; border-color: #60a5fa; } .btn-ghost { color: #f9fafb; } .btn-ghost:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1); } } /* Responsive Button Adjustments */ @media (max-width: 768px) { .btn { padding: 10px 20px; font-size: 14px; min-height: 40px; } .btn-lg { padding: 14px 28px; font-size: 15px; min-height: 48px; } .btn-group { gap: 6px; } } @media (max-width: 480px) { .btn { padding: 10px 16px; font-size: 13px; min-height: 40px; } .btn-sm { padding: 8px 12px; font-size: 11px; min-height: 32px; } .btn-group { flex-direction: column; gap: 8px; } .btn-group .btn { width: 100%; } } /* ============================================== UNIFIED FORM SYSTEM Consolidates all form styles across the app ============================================== */ /* Form Layout */ .form-group { margin-bottom: var(--space-lg); } .form-group:last-child { margin-bottom: 0; } /* Form Labels */ .form-label { display: block; font-size: 14px; font-weight: var(--font-medium); color: var(--text-primary); margin-bottom: var(--space-sm); line-height: var(--leading-tight); } .form-label.required::after { content: " *"; color: var(--error); } /* Form Inputs */ .form-input, .form-textarea, .form-select { width: 100%; padding: 12px 16px; border: 2px solid var(--border-medium); border-radius: var(--radius-md); font-size: 14px; line-height: 1.5; transition: var(--transition); background: var(--surface); color: var(--text-primary); font-family: inherit; box-sizing: border-box; } .form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); } .form-input:hover, .form-textarea:hover, .form-select:hover { border-color: var(--border-strong); } /* Textarea Specific */ .form-textarea { resize: vertical; min-height: 120px; } /* Select Specific */ .form-select { cursor: pointer; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e"); background-position: right 12px center; background-repeat: no-repeat; background-size: 16px; padding-right: 40px; } /* Form States */ .form-input.error, .form-textarea.error, .form-select.error { border-color: var(--error); box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1); } .form-input.success, .form-textarea.success, .form-select.success { border-color: var(--success); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1); } .form-input:disabled, .form-textarea:disabled, .form-select:disabled { opacity: 0.5; cursor: not-allowed; background-color: var(--background-subtle); } /* Form Feedback */ .form-help { color: var(--text-secondary); font-size: 12px; margin-top: var(--space-xs); line-height: var(--leading-normal); } .form-error { color: var(--error); font-size: 12px; margin-top: var(--space-xs); line-height: var(--leading-normal); display: flex; align-items: center; gap: 4px; } .form-error::before { content: "⚠"; font-size: 12px; } .form-success { color: var(--success); font-size: 12px; margin-top: var(--space-xs); line-height: var(--leading-normal); display: flex; align-items: center; gap: 4px; } .form-success::before { content: "✓"; font-size: 12px; } /* Checkbox and Radio */ .form-checkbox, .form-radio { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); } .form-checkbox input[type="checkbox"], .form-radio input[type="radio"] { width: 16px; height: 16px; margin: 0; cursor: pointer; } .form-checkbox label, .form-radio label { margin: 0; cursor: pointer; font-weight: var(--font-normal); } /* File Upload */ .form-file { position: relative; display: inline-block; } .form-file input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0, 0, 0, 0); } .form-file-label { display: inline-flex; align-items: center; gap: var(--space-sm); padding: 12px 24px; background: var(--surface); border: 2px dashed var(--border-medium); border-radius: var(--radius-md); cursor: pointer; transition: var(--transition); font-size: 14px; font-weight: var(--font-medium); color: var(--text-primary); } .form-file-label:hover { border-color: var(--primary); background: var(--background-light); } .form-file input:focus + .form-file-label { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); } /* Form Grid */ .form-grid { display: grid; gap: var(--space-lg); } .form-grid-2 { grid-template-columns: repeat(2, 1fr); } .form-grid-3 { grid-template-columns: repeat(3, 1fr); } /* Responsive Form Grid */ @media (max-width: 768px) { .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; } .form-input, .form-textarea, .form-select { font-size: 16px; /* Prevent zoom on iOS */ } }