* { margin: 0; padding: 0; box-sizing: border-box; } html { font-size: 16px; scroll-behavior: smooth; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: var(--bg-gradient); background-attachment: fixed; color: var(--text-primary); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; min-height: 100vh; } /* Elegant background pattern */ body::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 50%), radial-gradient(circle at 40% 20%, rgba(245, 158, 11, 0.02) 0%, transparent 50%); pointer-events: none; z-index: 0; } /* Modern Elegant Navbar */ .navbar-modern { background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(30px) saturate(180%); border-bottom: 1px solid rgba(0, 0, 0, 0.05); padding: 0.875rem 0; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: sticky; top: 0; z-index: 1050; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); } .navbar-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); padding: 0.625rem 0; } .navbar-brand { font-weight: 800; font-size: clamp(1.25rem, 3vw, 1.5rem); background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-decoration: none; letter-spacing: -0.02em; transition: transform 0.3s ease; } .navbar-brand:hover { transform: scale(1.03); } .navbar-brand i { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-right: 0.5rem; font-size: 1.3em; } .nav-link { color: var(--text-primary) !important; font-weight: 500; font-size: 0.9375rem; padding: 0.625rem 1rem !important; border-radius: var(--radius-full); transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); position: relative; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; height: 45px; overflow: visible; } .nav-link i { font-size: 1.1rem; transition: all 0.3s ease; } .nav-link .nav-text { font-size: 0.7rem; font-weight: 600; margin-top: 2px; opacity: 0; transform: translateY(-5px); transition: all 0.3s ease; position: absolute; top: 100%; white-space: nowrap; background: var(--primary-color); color: white; padding: 2px 6px; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); z-index: 1000; } .nav-link .nav-text::before { content: ''; position: absolute; top: -4px; left: 50%; transform: translateX(-50%); border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 4px solid var(--primary-color); } .nav-link:hover .nav-text { opacity: 1; transform: translateY(0); } /* Navigation Notification Badge */ .notification-nav-link { position: relative; } .notification-count-nav { position: absolute; top: -2px; right: -2px; background: #ef4444; color: white; border-radius: 50%; font-size: 0.7rem; font-weight: 600; min-width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; border: 2px solid white; z-index: 10; animation: notificationPulse 2s infinite; } @keyframes notificationPulse { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); } 70% { box-shadow: 0 0 0 5px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } } /* Notification Preview */ .notification-preview { position: absolute; top: 120%; right: -50px; width: 300px; background: white; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); border: 1px solid #e5e7eb; z-index: 1000; opacity: 0; transform: translateY(-10px); transition: all 0.3s ease; pointer-events: none; } .notification-preview.show { opacity: 1; transform: translateY(0); pointer-events: auto; } .preview-header { padding: 0.75rem 1rem; background: #f9fafb; border-bottom: 1px solid #e5e7eb; border-radius: 12px 12px 0 0; font-weight: 600; font-size: 0.875rem; color: #1f2937; } .preview-content { max-height: 200px; overflow-y: auto; } .preview-item { padding: 0.5rem 1rem; border-bottom: 1px solid #f3f4f6; font-size: 0.8rem; } .preview-item:last-child { border-bottom: none; } .preview-loading { padding: 1rem; text-align: center; color: #6b7280; font-size: 0.8rem; } .preview-footer { padding: 0.5rem 1rem; background: #f9fafb; border-top: 1px solid #e5e7eb; border-radius: 0 0 12px 12px; text-align: center; } .preview-footer small { color: #6b7280; } .navbar-nav .nav-item { margin: 0 0.125rem; position: relative; } .navbar-nav { align-items: center; } /* Profile dropdown alignment */ .profile-dropdown { border: 2px solid var(--primary-color); } .dropdown-menu-end { right: 0 !important; left: auto !important; } /* Dropdown menu proper positioning */ .dropdown-menu { margin-top: 0.5rem !important; max-width: 250px; border-radius: 12px; } /* Ensure dropdowns stay within viewport */ .navbar-nav .dropdown-menu { position: absolute; transform: translate3d(0px, 40px, 0px); } .navbar-nav .dropdown-menu-end { right: 0; left: auto; transform: translate3d(-50px, 40px, 0px); } .nav-link:hover { background: var(--primary-color); color: white !important; transform: translateY(-2px); } .nav-link.active { background: var(--gradient-primary); color: white !important; } /* Dropdown Menu */ .dropdown-menu { border: none; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding: 0.5rem 0; margin-top: 0.5rem; } .dropdown-item { padding: 0.5rem 1rem; color: var(--text-primary); transition: all 0.3s ease; } .dropdown-item:hover { background: var(--primary-color); color: white; } .dropdown-divider { margin: 0.5rem 0; } /* Elegant Buttons */ .btn { font-weight: 600; font-size: 0.9375rem; padding: 0.75rem 1.75rem; border-radius: var(--radius-md); border: none; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; text-decoration: none; position: relative; overflow: hidden; } .btn::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.3); transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; } .btn:hover::before { width: 300px; height: 300px; } .btn-primary { background: var(--gradient-primary); color: white; box-shadow: 0 4px 14px rgba(102, 126, 234, 0.3); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4); color: white; } .btn-secondary { background: var(--gradient-secondary); color: white; box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3); } .btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4); color: white; } .btn-success { background: var(--gradient-secondary); color: white; box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3); } .btn-success:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4); color: white; } .btn-outline-primary { background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); } .btn-outline-primary:hover { background: var(--gradient-primary); color: white; border-color: transparent; transform: translateY(-2px); } .btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; } .btn-lg { padding: 1rem 2.5rem; font-size: 1.0625rem; } /* Form Elements */ .form-control, .form-select { font-size: 0.9375rem; padding: 0.75rem 1rem; border: 2px solid var(--border-color); border-radius: var(--radius-md); transition: all 0.25s ease; background: white; } .form-control:focus, .form-select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1); outline: none; } .form-label { font-weight: 600; font-size: 0.875rem; color: var(--text-primary); margin-bottom: 0.5rem; } .form-text { font-size: 0.8125rem; color: var(--text-muted); } /* Cards */ .card-modern { background: white; border-radius: 20px; border: none; box-shadow: var(--shadow-lg); transition: all 0.3s ease; overflow: hidden; } .card-modern:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); } /* Animations */ .fade-in { animation: fadeIn 0.6s ease-in-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .slide-up { animation: slideUp 0.6s ease-in-out; } @keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } /* Custom Scrollbar */ ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 10px; } ::-webkit-scrollbar-thumb { background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); border-radius: 10px; border: 2px solid #f1f5f9; } ::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, var(--primary-dark), #4338ca); } /* Elegant Typography */ h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--text-primary); margin-bottom: 1rem; } h1 { font-size: clamp(2rem, 5vw, 3rem); } h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); } h3 { font-size: clamp(1.5rem, 3vw, 2rem); } h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); } h5 { font-size: clamp(1.125rem, 2vw, 1.5rem); } h6 { font-size: clamp(1rem, 1.5vw, 1.25rem); } p { font-size: clamp(0.9375rem, 1.5vw, 1.0625rem); line-height: 1.7; color: var(--text-secondary); margin-bottom: 1rem; } /* Elegant Containers */ .container, .container-fluid { position: relative; z-index: 1; } .page-container { max-width: 1400px; margin: 0 auto; padding: 2rem 1rem; } /* Elegant Cards */ .elegant-card { background: rgba(255, 255, 255, 0.98); border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-lg); border: 1px solid rgba(0, 0, 0, 0.04); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); backdrop-filter: blur(10px); } .elegant-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2xl); } /* Responsive Layout */ @media (max-width: 1200px) { html { font-size: 15px; } } @media (max-width: 992px) { html { font-size: 14px; } .page-container { padding: 1.5rem 1rem; } } @media (max-width: 768px) { html { font-size: 14px; } .page-container { padding: 1rem 0.75rem; } .elegant-card { padding: 1.5rem; } } @media (max-width: 576px) { html { font-size: 14px; } .page-container { padding: 0.875rem 0.5rem; } .elegant-card { padding: 1.25rem; border-radius: var(--radius-lg); } } /* Loading Animation */ .loading-spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, 0.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Notification Styles */ .alert { border: none; border-radius: 12px; padding: 1rem 1.5rem; margin-bottom: 1rem; box-shadow: var(--shadow-md); } .alert-success { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #065f46; } .alert-danger { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #991b1b; } .alert-warning { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; } .alert-info { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1e40af; } /* Footer Enhancement Styles */ footer { background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important; position: relative; overflow: hidden; } footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 50%, rgba(0, 123, 255, 0.1), transparent), radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.1), transparent); pointer-events: none; } footer .container { position: relative; z-index: 2; } footer h5 { color: #ffffff !important; font-weight: 700; font-size: 1.5rem; text-shadow: 0 2px 4px rgba(0,0,0,0.3); margin-bottom: 1rem; } footer h6 { color: #ffc107 !important; font-weight: 600; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1rem; border-bottom: 2px solid #ffc107; padding-bottom: 0.5rem; display: inline-block; } footer p { color: #e9ecef !important; font-size: 1rem; line-height: 1.6; } footer .text-muted { color: #cbd5e0 !important; font-size: 0.95rem; } footer ul li { margin-bottom: 0.75rem; transition: all 0.3s ease; } footer ul li:hover { transform: translateX(5px); } footer ul li a { color: #cbd5e0 !important; text-decoration: none; font-size: 0.95rem; padding: 0.25rem 0; display: inline-block; border-bottom: 1px solid transparent; transition: all 0.3s ease; } footer ul li a:hover { color: #ffffff !important; border-bottom-color: #007bff; text-shadow: 0 1px 2px rgba(0,0,0,0.3); } footer .social-links { margin-top: 1.5rem; padding: 1rem 0; border-top: 1px solid #495057; border-bottom: 1px solid #495057; } footer .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; background: linear-gradient(135deg, #007bff, #0056b3); color: white !important; border-radius: 50%; text-decoration: none; font-size: 1.2rem; transition: all 0.3s ease; box-shadow: 0 4px 8px rgba(0,0,0,0.2); margin-right: 1rem; } footer .social-links a:hover { transform: translateY(-3px) scale(1.1); box-shadow: 0 8px 16px rgba(0,123,255,0.3); background: linear-gradient(135deg, #0056b3, #003d82); } footer hr { border-color: #495057 !important; border-width: 2px; margin: 2rem 0; } footer .border-top { border-color: #495057 !important; } footer small { color: #adb5bd !important; font-size: 0.9rem; } footer small a { color: #ffc107 !important; text-decoration: none; font-weight: 500; } footer small a:hover { color: #fff !important; text-decoration: underline; } footer .text-danger { color: #dc3545 !important; animation: heartbeat 2s infinite; } @keyframes heartbeat { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } } footer .footer-highlight { background: rgba(255, 193, 7, 0.1); padding: 1rem; border-radius: 8px; border-left: 4px solid #ffc107; margin-top: 1rem; } /* Mobile Responsive */ @media (max-width: 768px) { .navbar-nav { padding-top: 1rem; } .nav-link { margin: 0.25rem 0; } footer h6 { font-size: 1rem; margin-top: 2rem; } footer .social-links a { width: 40px; height: 40px; font-size: 1rem; margin-right: 0.75rem; } footer .col-md-2, footer .col-md-4 { margin-bottom: 2rem; } }
