* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; margin: 0; padding: 0; } /* Mobile Header Styles */ .mobile-header { display: none; background-color: #4CAF50; padding: 1rem; position: fixed; top: 0; left: 0; right: 0; z-index: 1001; justify-content: space-between; align-items: center; } .mobile-nav-brand a { color: white; text-decoration: none; font-size: 1.5rem; font-weight: bold; } .mobile-nav-toggle { background: none; border: none; cursor: pointer; padding: 0; width: 30px; height: 24px; display: flex; flex-direction: column; justify-content: space-between; } .mobile-nav-toggle span { display: block; height: 3px; width: 100%; background-color: white; border-radius: 1px; transition: all 0.3s ease; } .mobile-nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); } .mobile-nav-toggle.active span:nth-child(2) { opacity: 0; } .mobile-nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); } /* Sidebar Styles */ .sidebar { position: fixed; top: 0; left: 0; width: 280px; height: 100vh; background-color: #3d9c17; color: white; overflow-y: auto; transition: transform 0.3s ease; z-index: 1000; box-shadow: 2px 0 10px rgba(0,0,0,0.1); } .sidebar.collapsed { width: 60px; } .sidebar.collapsed .sidebar-header { padding: 1rem 0.5rem; flex-direction: column; gap: 0.75rem; } .sidebar-header { padding: 1.5rem; background-color: #34495e; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #3a5269; position: relative; gap: 0.5rem; } .sidebar-header h2 { margin: 0; color: white; font-size: 1.5rem; font-weight: bold; } .sidebar-header h2 a { color: white; text-decoration: none; } .sidebar-toggle { background: none; border: none; cursor: pointer; padding: 0; width: 24px; height: 18px; display: flex; flex-direction: column; justify-content: space-between; } .sidebar-toggle span { display: block; height: 2px; width: 100%; background-color: white; border-radius: 1px; transition: all 0.3s ease; } .sidebar-nav { padding: 0; font-weight: bold; } .sidebar-nav ul { list-style: none; padding: 0; margin: 0; } .sidebar-nav li { margin: 0; } .sidebar-nav li a { display: flex; align-items: center; padding: 1rem 1.5rem; color: #ecf0f1; text-decoration: none; transition: all 0.3s ease; border-left: 3px solid transparent; } .sidebar-nav li a:hover { background-color: #34495e; border-left-color: #4CAF50; color: white; } .sidebar-nav li a.active { background-color: #4CAF50; border-left-color: #45a049; color: white; } .nav-icon { margin-right: 1rem; font-size: 1.2rem; min-width: 24px; text-align: center; } .nav-divider { padding: 0.75rem 1.5rem 0.25rem; font-size: 0.85rem; color: #d9ffd1; text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; border-top: 1px solid #3a5269; margin-top: 0.5rem; } .nav-divider:first-child { border-top: none; margin-top: 0; } /* Collapsed sidebar styles */ .sidebar.collapsed .sidebar-header { padding: 1rem 0.5rem; } .sidebar.collapsed .sidebar-header h2 { display: none; } .sidebar.collapsed .nav-divider { display: none; } .sidebar.collapsed .sidebar-nav li a { padding: 1rem 0.5rem; justify-content: center; position: relative; } .sidebar.collapsed .nav-icon { margin-right: 0; font-size: 1.1rem; } /* Hide text in collapsed state */ .sidebar.collapsed .sidebar-nav li a .nav-text { display: none; } /* Tooltip for collapsed sidebar */ .sidebar.collapsed .sidebar-nav li a:hover::after { content: attr(data-tooltip); position: absolute; left: 100%; top: 50%; transform: translateY(-50%); background-color: #2c3e50; color: white; padding: 0.5rem 1rem; border-radius: 4px; white-space: nowrap; z-index: 1001; margin-left: 0.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.2); } /* Mobile overlay */ .mobile-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 999; } .main-content { margin-left: 280px; padding: 2rem; min-height: 100vh; transition: margin-left 0.3s ease; } /* Full width when no user (no sidebar) */ body:not(.has-user) .main-content { margin-left: 0; } /* Main content adjustments for collapsed sidebar */ body:has(.sidebar.collapsed) .main-content { margin-left: 60px; } /* Fallback for browsers that don't support :has() */ .sidebar.collapsed ~ .main-content { margin-left: 60px; } .hero { text-align: center; padding: 2rem 0; background-color: #f9f9f9; border-radius: 5px; margin-bottom: 2rem; } .features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin: 2rem 0; } .feature { background-color: #f9f9f9; padding: 1.5rem; border-radius: 5px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .feature h3 { color: #4CAF50; margin-top: 0; } .about, .contact, .thank-you { max-width: 800px; margin: 0 auto; } .form-group { margin-bottom: 1rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: bold; } .form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.5rem; border: 1px solid #ddd; border-radius: 4px; } /* Button Base Styles */ button { background-color: #4CAF50; color: white; border: none; padding: 8px 16px; cursor: pointer; border-radius: 4px; transition: all 0.2s ease; } .btn { padding: 0.5rem 1rem; border: none; border-radius: 4px; cursor: pointer; font-size: 1rem; text-align: center; text-decoration: none; display: inline-block; transition: all 0.2s ease; line-height: 1.5; font-weight: 500; } /* Button Sizes */ .btn-xs { padding: 0.25rem 0.5rem; font-size: 0.8rem; min-width: 50px; } .btn-sm { padding: 0.375rem 0.75rem; font-size: 0.875rem; } .btn-md { padding: 0.75rem 1.5rem; font-size: 1rem; border-radius: 8px; } .btn-small { padding: 0.375rem 0.75rem; font-size: 0.875rem; margin-right: 0.5rem; } /* Button Colors */ .btn-primary { background-color: #007bff; color: white; border: 1px solid #007bff; } .btn-primary:hover { background-color: #0056b3; border-color: #0056b3; } .btn-secondary { background-color: #6c757d; color: white; border: 1px solid #6c757d; } .btn-secondary:hover { background-color: #545b62; border-color: #545b62; } .btn-success { background-color: #28a745; color: white; border: 1px solid #28a745; } .btn-success:hover { background-color: #218838; border-color: #218838; } .btn-danger { background-color: #dc3545; color: white; border: 1px solid #dc3545; } .btn-danger:hover { background-color: #c82333; border-color: #c82333; } .btn-warning { background-color: #ffc107; color: #212529; border: 1px solid #ffc107; } .btn-warning:hover { background-color: #e0a800; border-color: #e0a800; } .btn-info { background-color: #17a2b8; color: white; border: 1px solid #17a2b8; } .btn-info:hover { background-color: #138496; border-color: #138496; } /* Button Outline Variants */ .btn-outline { border: 1px solid #007bff; color: #007bff; background: transparent; } .btn-outline:hover { background-color: #007bff; color: white; } /* Special Button Styles */ .btn-filter { padding: 0.5rem 1rem; border: 1px solid #dee2e6; background: white; color: #495057; border-radius: 4px; } .btn-filter:hover { background-color: #f8f9fa; border-color: #adb5bd; } .btn-filter.active { background-color: #007bff; color: white; border-color: #007bff; } /* Generic Button Hover */ .btn:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0,0,0,0.1); } footer { text-align: center; padding: 1rem; background-color: #f4f4f4; margin-top: 2rem; margin-left: 280px; transition: margin-left 0.3s ease; } /* Full width footer when no user (no sidebar) */ body:not(.has-user) footer { margin-left: 0; } /* Footer adjustments for collapsed sidebar */ body:has(.sidebar.collapsed) footer { margin-left: 60px; } /* Fallback for browsers that don't support :has() */ .sidebar.collapsed ~ footer { margin-left: 60px; } /* Time tracking specific styles */ .timetrack-container { max-width: 1200px; margin: 0 auto 3rem auto; padding: 1.5rem; background-color: white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .timer-section { background-color: #f5f5f5; padding: 2rem; border-radius: 5px; margin-bottom: 2rem; text-align: center; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } #timer { font-size: 3rem; font-weight: bold; margin: 1rem 0; font-family: monospace; color: #333; } .arrive-btn { background-color: #4CAF50; font-size: 1.2rem; padding: 0.8rem 2rem; transition: background-color 0.3s; } .arrive-btn:hover { background-color: #45a049; } .leave-btn { background-color: #f44336; font-size: 1.2rem; padding: 0.8rem 2rem; transition: background-color 0.3s; } .leave-btn:hover { background-color: #d32f2f; } .time-history { width: 100%; border-collapse: collapse; box-shadow: 0 2px 4px rgba(0,0,0,0.1); margin-top: 1rem; } .time-history th, .time-history td { padding: 0.8rem; text-align: left; border-bottom: 1px solid #ddd; min-height: 2.5rem; vertical-align: middle; } .time-history th { background-color: #f2f2f2; font-weight: bold; height: 2.5rem; } .time-history tr { height: 2.5rem; } .time-history tr:hover { background-color: #f5f5f5; } .button-group { display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; } .pause-btn { background-color: #ff9800; font-size: 1.2rem; padding: 0.8rem 2rem; transition: background-color 0.3s; } .pause-btn:hover { background-color: #f57c00; } .resume-btn { background-color: #2196F3; font-size: 1.2rem; padding: 0.8rem 2rem; transition: background-color 0.3s; } .resume-btn:hover { background-color: #1976D2; } .break-info { color: #ff9800; font-weight: bold; margin: 0.5rem 0; } .break-total { color: #666; font-size: 0.9rem; margin: 0.5rem 0; } .notification { position: fixed; top: 20px; right: 20px; padding: 15px 25px; background-color: #4CAF50; color: white; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,0.2); z-index: 1000; animation: fadeIn 0.3s, fadeOut 0.3s 2.7s; } @keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-20px); } } .config-container { max-width: 1200px; margin: 0 auto 3rem auto; padding: 1.5rem; background-color: white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .form-section { border: 1px solid #e0e0e0; border-radius: 5px; padding: 1rem; margin-bottom: 1.5rem; background-color: #f9f9f9; } .form-section h3 { margin-top: 0; margin-bottom: 1rem; color: #333; font-size: 1.2rem; } .config-form .form-group { margin-bottom: 1.5rem; } .config-form label { display: block; margin-bottom: 0.5rem; font-weight: bold; } .config-form small { display: block; color: #666; margin-top: 4px; font-style: italic; } .alert { padding: 0.75rem 1rem; margin-bottom: 1rem; border-radius: 4px; } .alert-success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; } .alert-error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; } /* Modal styles */ .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); } .modal-content { background-color: #fff; margin: 10% auto; padding: 20px; border-radius: 5px; width: 80%; max-width: 500px; box-shadow: 0 4px 8px rgba(0,0,0,0.2); } .close { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; } .close:hover, .close:focus { color: #000; text-decoration: none; } .modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; } .edit-entry-btn, .delete-entry-btn { padding: 5px 10px; margin-right: 5px; border: none; border-radius: 3px; cursor: pointer; } .edit-entry-btn { background-color: #2196F3; color: white; } .edit-entry-btn:hover { background-color: #0b7dda; } .delete-entry-btn { background-color: #f44336; color: white; } .delete-entry-btn:hover { background-color: #d32f2f; } input[type="date"], input[type="time"] { font-family: monospace; padding: 8px; width: 100%; } /* Force consistent date format display */ input[type="date"]::-webkit-datetime-edit, input[type="time"]::-webkit-datetime-edit { font-family: monospace; } /* Add some styling to the format hints */ .form-group small { display: block; color: #666; margin-top: 4px; font-style: italic; } /* Admin Dashboard Styles */ .admin-container { max-width: 1200px; margin: 0 auto 2rem auto; padding: 1.5rem; background-color: white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; } .admin-panel { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; } .admin-card { background-color: #f8f9fa; border-radius: 5px; padding: 20px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); width: 300px; transition: transform 0.2s, box-shadow 0.2s; } .admin-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } .admin-card h2 { margin-top: 0; color: #333; } .admin-card p { color: #666; margin-bottom: 20px; } /* User status badges */ .status-badge { display: inline-block; padding: 3px 8px; border-radius: 12px; font-size: 0.85em; font-weight: 500; } .status-active { background-color: #d4edda; color: #155724; } .status-blocked { background-color: #f8d7da; color: #721c24; } .settings-card { background-color: #f8f9fa; border-radius: 5px; padding: 20px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); margin-bottom: 20px; } .setting-description { color: #6c757d; font-size: 0.9em; margin-top: 5px; } .checkbox-container { display: block; position: relative; padding-left: 35px; margin-bottom: 12px; cursor: pointer; font-size: 16px; user-select: none; } .checkbox-container input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; } .checkmark { position: absolute; top: 0; left: 0; height: 25px; width: 25px; background-color: #eee; border-radius: 4px; } .checkbox-container:hover input ~ .checkmark { background-color: #ccc; } .checkbox-container input:checked ~ .checkmark { background-color: #2196F3; } .checkmark:after { content: ""; position: absolute; display: none; } .checkbox-container input:checked ~ .checkmark:after { display: block; } .checkbox-container .checkmark:after { left: 9px; top: 5px; width: 5px; height: 10px; border: solid white; border-width: 0 3px 3px 0; transform: rotate(45deg); } .form-actions { margin-top: 20px; } /* General table styling */ .data-table { width: 100%; border-collapse: collapse; box-shadow: 0 2px 4px rgba(0,0,0,0.1); margin-top: 1rem; } .data-table th, .data-table td { padding: 0.8rem; text-align: left; border-bottom: 1px solid #ddd; min-height: 2.5rem; vertical-align: middle; } .data-table th { background-color: #f2f2f2; font-weight: bold; height: 2.5rem; } .data-table tr { height: 2.5rem; } .data-table tr:hover { background-color: #f5f5f5; } /* Team Hours Page Styles */ .date-filter { margin-bottom: 20px; padding: 15px; background-color: #f5f5f5; border-radius: 5px; } .date-filter .form-group { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; } .team-hours-table { margin-bottom: 30px; overflow-x: auto; } .team-hours-table table { width: 100%; border-collapse: collapse; } .team-hours-table th, .team-hours-table td { padding: 8px 12px; border: 1px solid #ddd; text-align: center; } .team-hours-table th { background-color: #f0f0f0; } .team-hours-details { margin-top: 30px; } .member-entries { margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #eee; } .member-entries h4 { margin-bottom: 10px; color: #333; } .member-entries table { width: 100%; border-collapse: collapse; } .member-entries th, .member-entries td { padding: 6px 10px; border: 1px solid #ddd; text-align: left; } .member-entries th { background-color: #f5f5f5; } .checkbox { display: flex; align-items: center; gap: 5px; } /* Export Page Styling */ .export-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin: 2rem 0; } .export-section { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); padding: 2rem; border-radius: 12px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); border: 1px solid #e9ecef; transition: transform 0.2s ease, box-shadow 0.2s ease; } .export-section:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); } .export-section h3 { color: #4CAF50; margin-top: 0; margin-bottom: 1.5rem; font-size: 1.3rem; font-weight: 600; border-bottom: 2px solid #4CAF50; padding-bottom: 0.5rem; } .quick-export-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem; } .quick-export-buttons .btn { padding: 0.75rem 1rem; font-size: 0.9rem; border-radius: 8px; transition: all 0.2s ease; font-weight: 500; } .quick-export-buttons .btn:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3); } .export-button-container { text-align: center; margin: 2rem 0; } .export-button-container .btn { background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%); color: white; padding: 1rem 2rem; font-size: 1.1rem; border-radius: 8px; text-decoration: none; display: inline-block; transition: all 0.2s ease; font-weight: 600; box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3); } .export-button-container .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4); background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%); } /* Custom date range form styling */ .export-section .form-group { margin-bottom: 1rem; } .export-section .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: #333; } .export-section .form-group input, .export-section .form-group select { width: 100%; padding: 0.75rem; border: 2px solid #e9ecef; border-radius: 6px; font-size: 1rem; transition: border-color 0.2s ease; } .export-section .form-group input:focus, .export-section .form-group select:focus { outline: none; border-color: #4CAF50; box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1); } /* Team Hours Export Styling */ #export-buttons { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); padding: 1.5rem; border-radius: 12px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); border: 1px solid #e9ecef; margin: 2rem 0; text-align: center; } #export-buttons h4 { color: #4CAF50; margin-bottom: 1rem; font-size: 1.2rem; font-weight: 600; } #export-buttons .quick-export-buttons { display: flex; gap: 1rem; justify-content: center; } #export-buttons .quick-export-buttons .btn { padding: 0.75rem 1.5rem; font-size: 1rem; border-radius: 8px; transition: all 0.2s ease; font-weight: 500; min-width: 140px; } #export-buttons .quick-export-buttons .btn:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3); } /* Responsive Design for Sidebar Navigation */ @media (max-width: 1024px) { .sidebar { transform: translateX(-100%); } .sidebar.mobile-open { transform: translateX(0); } .mobile-header { display: flex; } .main-content { margin-left: 0; padding-top: 5rem; } footer { margin-left: 0; } .mobile-overlay.active { display: block; } .sidebar-toggle { display: none; } } @media (max-width: 768px) { .main-content { padding: 1rem; padding-top: 5rem; } .sidebar { width: 100%; max-width: 300px; } .timetrack-container, .admin-container, .config-container, .table-container, .team-summary-container { padding: 1rem; margin: 0 1rem 2rem 1rem; max-width: none; } .admin-panel { flex-direction: column; } .admin-card { width: 100%; } .features { grid-template-columns: 1fr; } .export-options { grid-template-columns: 1fr; } .quick-export-buttons { grid-template-columns: 1fr; } #export-buttons .quick-export-buttons { flex-direction: column; } } @media (min-width: 1025px) { .mobile-header { display: none; } .sidebar { transform: translateX(0); } .mobile-overlay { display: none !important; } } /* Analytics Interface Styles */ .analytics-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid #e9ecef; } .analytics-header h2 { color: #2c3e50; margin: 0; font-size: 1.8rem; font-weight: 600; } .mode-switcher { display: flex; gap: 0.5rem; border-radius: 8px; background: #f8f9fa; padding: 0.25rem; border: 1px solid #dee2e6; } .mode-btn { background: transparent; border: none; padding: 0.5rem 1rem; border-radius: 6px; cursor: pointer; transition: all 0.2s ease; font-weight: 500; color: #6c757d; } .mode-btn.active { background: #4CAF50; color: white; box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3); } .mode-btn:hover:not(.active) { background: #e9ecef; color: #495057; } .filter-panel { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); padding: 1.5rem; border-radius: 12px; margin-bottom: 2rem; border: 1px solid #dee2e6; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); } .filter-row { display: flex; gap: 1.5rem; align-items: end; flex-wrap: wrap; } .filter-group { display: flex; flex-direction: column; min-width: 150px; } .filter-group label { font-weight: 500; color: #495057; margin-bottom: 0.5rem; font-size: 0.9rem; } .filter-group input, .filter-group select { padding: 0.5rem; border: 1px solid #ced4da; border-radius: 6px; font-size: 0.9rem; transition: border-color 0.2s ease; } .filter-group input:focus, .filter-group select:focus { outline: none; border-color: #4CAF50; box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1); } .view-tabs { display: flex; gap: 0.5rem; margin-bottom: 2rem; border-bottom: 2px solid #e9ecef; } .tab-btn { background: transparent; border: none; padding: 0.75rem 1.5rem; cursor: pointer; font-weight: 500; color: #6c757d; border-bottom: 3px solid transparent; transition: all 0.2s ease; font-size: 1rem; } .tab-btn.active { color: #4CAF50; border-bottom-color: #4CAF50; background: rgba(76, 175, 80, 0.05); } .tab-btn:hover:not(.active) { color: #495057; background: rgba(0, 0, 0, 0.05); } .view-content { display: none; } .view-content.active { display: block; } .view-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #dee2e6; } .view-header h3 { color: #2c3e50; margin: 0; font-size: 1.4rem; font-weight: 600; } .export-buttons { display: flex; gap: 0.5rem; } .export-buttons .btn { padding: 0.5rem 1rem; font-size: 0.9rem; border-radius: 6px; transition: all 0.2s ease; } .table-container { max-width: 1200px; margin: 0 auto 2rem auto; padding: 1.5rem; background: white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); overflow: hidden; } .charts-container { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; margin-top: 1rem; } .chart-wrapper { background: white; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); position: relative; min-height: 400px; } .chart-controls { display: flex; gap: 1rem; align-items: center; } .chart-controls select { padding: 0.5rem; border: 1px solid #ced4da; border-radius: 6px; font-size: 0.9rem; } .chart-stats { display: flex; flex-direction: column; gap: 1rem; } .stat-card { background: white; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); text-align: center; border-left: 4px solid #4CAF50; } .stat-card h4 { color: #6c757d; margin: 0 0 0.5rem 0; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500; } .stat-card span { color: #2c3e50; font-size: 2rem; font-weight: 700; display: block; } .team-summary-container { max-width: 1200px; margin: 0 auto 2rem auto; padding: 1.5rem; background: white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); overflow: hidden; } .loading { text-align: center; padding: 3rem; color: #6c757d; font-size: 1.1rem; } .spinner { border: 4px solid #f3f3f3; border-top: 4px solid #4CAF50; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 0 auto 1rem; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .error-message { background: #f8d7da; color: #721c24; padding: 1rem; border-radius: 6px; border: 1px solid #f5c6cb; margin-bottom: 1rem; } .text-center { text-align: center; } /* Modal Enhancements for Analytics */ .modal-content { max-width: 500px; margin: 5% auto; } .form-group { margin-bottom: 1rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: #495057; } .form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.5rem; border: 1px solid #ced4da; border-radius: 6px; font-size: 0.9rem; transition: border-color 0.2s ease; } .form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #4CAF50; box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1); } /* Responsive Design for Analytics */ @media (max-width: 768px) { .analytics-header { flex-direction: column; gap: 1rem; align-items: stretch; } .mode-switcher { justify-content: center; } .filter-row { flex-direction: column; gap: 1rem; } .filter-group { min-width: auto; } .view-tabs { flex-wrap: wrap; } .tab-btn { flex: 1; text-align: center; min-width: auto; padding: 0.5rem 0.75rem; font-size: 0.9rem; } .view-header { flex-direction: column; gap: 1rem; align-items: stretch; } .export-buttons { justify-content: center; } .charts-container { grid-template-columns: 1fr; gap: 1rem; } .chart-stats { flex-direction: row; overflow-x: auto; } .stat-card { min-width: 120px; flex-shrink: 0; } .stat-card span { font-size: 1.5rem; } .chart-controls { flex-direction: column; align-items: stretch; gap: 0.5rem; } } /* Announcement Styles */ .announcements { margin-bottom: 1.5rem; } .announcements .alert { margin-bottom: 1rem; padding: 1rem; border-radius: 8px; border: 1px solid transparent; position: relative; } .announcements .alert-info { background-color: #d1ecf1; border-color: #bee5eb; color: #0c5460; } .announcements .alert-warning { background-color: #fff3cd; border-color: #ffeaa7; color: #856404; } .announcements .alert-success { background-color: #d4edda; border-color: #c3e6cb; color: #155724; } .announcements .alert-danger { background-color: #f8d7da; border-color: #f5c6cb; color: #721c24; } .announcements .alert-urgent { border-width: 2px; box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15); animation: pulse-urgent 2s infinite; } @keyframes pulse-urgent { 0% { box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15); } 50% { box-shadow: 0 6px 16px rgba(220, 53, 69, 0.25); } 100% { box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15); } } .announcement-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; } .announcement-header strong { font-size: 1.1rem; } .urgent-badge { background: #dc3545; color: white; padding: 0.25rem 0.5rem; border-radius: 12px; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; animation: blink 1.5s infinite; } @keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0.6; } } .announcement-content { margin-bottom: 0.5rem; line-height: 1.5; } .announcement-content p { margin-bottom: 0.5rem; } .announcement-content p:last-child { margin-bottom: 0; } .announcement-date { color: #6c757d; font-size: 0.875rem; font-style: italic; } /* Mobile responsiveness for announcements */ @media (max-width: 768px) { .announcement-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; } .urgent-badge { align-self: flex-end; } } /* Common Management Interface Styles */ .management-container { padding: 1rem; max-width: 100%; margin: 0 auto; } .management-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; } .management-header h1 { margin: 0; color: #333; } .management-controls { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; } /* View Switcher Component */ .view-switcher { display: flex; background: #f8f9fa; border-radius: 6px; padding: 2px; } .view-btn { padding: 0.5rem 1rem; border: none; background: white; cursor: pointer; border-radius: 4px; transition: background-color 0.2s; color: #333; border: 1px solid #ddd; } .view-btn.active { background: #007bff; color: white; border-color: #007bff; } .view-btn:hover:not(.active) { background: #e9ecef; } /* Statistics Cards */ .management-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; } .stat-card { background: white; border: 1px solid #ddd; border-radius: 8px; padding: 1rem; text-align: center; } .stat-number { font-size: 2rem; font-weight: bold; color: #007bff; } .stat-label { font-size: 0.9rem; color: #666; margin-top: 0.25rem; } /* Loading and Error States */ .loading-spinner { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; } .error-alert { background: #f8d7da; color: #721c24; padding: 1rem; border-radius: 6px; text-align: center; margin: 1rem 0; } /* Modal Enhancements */ .modal.large .modal-content { max-width: 800px; } .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #dee2e6; } .modal-footer { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #dee2e6; } /* Form Components */ .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } .form-group { margin-bottom: 1rem; } .form-group label { display: block; margin-bottom: 0.25rem; font-weight: 500; color: #333; } .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.5rem; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; } /* Priority and Status Badges */ .priority-badge, .status-badge { padding: 0.125rem 0.375rem; border-radius: 12px; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; } .priority-badge.LOW { background: #d4edda; color: #155724; } .priority-badge.MEDIUM { background: #fff3cd; color: #856404; } .priority-badge.HIGH { background: #f8d7da; color: #721c24; } .priority-badge.URGENT { background: #f5c6cb; color: #721c24; } .status-badge.PLANNING { background: #fff3cd; color: #856404; } .status-badge.ACTIVE { background: #d1ecf1; color: #0c5460; } .status-badge.COMPLETED { background: #d4edda; color: #155724; } .status-badge.CANCELLED { background: #f8d7da; color: #721c24; } .status-badge.NOT_STARTED { background: #e2e3e5; color: #495057; } .status-badge.IN_PROGRESS { background: #d1ecf1; color: #0c5460; } .status-badge.ON_HOLD { background: #ffeaa7; color: #856404; } /* Card Components */ .management-card { background: white; border: 1px solid #ddd; border-radius: 8px; padding: 1.5rem; cursor: pointer; transition: box-shadow 0.2s, transform 0.1s; position: relative; } .management-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); transform: translateY(-2px); } .card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; } .card-title { font-size: 1.25rem; font-weight: bold; margin: 0; color: #333; } .card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: #666; } /* Progress Components */ .progress-bar { width: 100%; height: 8px; background: #e9ecef; border-radius: 4px; overflow: hidden; } .progress-fill { height: 100%; background: linear-gradient(90deg, #007bff, #0056b3); transition: width 0.3s ease; } .progress-text { font-size: 0.8rem; color: #666; margin-top: 0.25rem; } /* Actions */ .management-actions { display: flex; gap: 0.5rem; } /* Grid Layouts */ .management-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; } /* Responsive Design for Management Interfaces */ @media (max-width: 768px) { .management-header { flex-direction: column; align-items: stretch; } .management-controls { flex-direction: column; align-items: stretch; } .view-switcher { justify-content: center; } .management-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } } /* Common Container Patterns */ .page-container { padding: 1rem; max-width: 1400px; margin: 0 auto; } .page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid #e9ecef; } .page-header h2 { margin: 0; color: #333; } .page-actions { display: flex; gap: 0.5rem; } /* Card Components - Enhanced */ .card { background: white; border: 1px solid #dee2e6; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.1); transition: box-shadow 0.2s ease; } .card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.15); } .card-header { padding: 1.5rem; background: #f8f9fa; border-bottom: 1px solid #dee2e6; display: flex; justify-content: space-between; align-items: flex-start; } .card-body { padding: 1.5rem; } .card-footer { padding: 1rem 1.5rem; background: #f8f9fa; border-top: 1px solid #dee2e6; } .card-title { margin: 0 0 0.5rem 0; color: #333; font-size: 1.25rem; font-weight: 600; } .card-subtitle { color: #666; margin: 0; font-size: 0.9rem; } /* Grid Systems */ .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; } .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; } .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; } .grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; } /* Dashboard Widget Common Styles */ .widget { background: white; border: 1px solid #dee2e6; border-radius: 8px; padding: 1rem; box-shadow: 0 2px 4px rgba(0,0,0,0.1); transition: all 0.2s ease; position: relative; overflow: hidden; } .widget:hover { box-shadow: 0 4px 8px rgba(0,0,0,0.15); } .widget-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid #eee; } .widget-title { margin: 0; font-size: 1rem; font-weight: 600; color: #333; } .widget-content { min-height: 100px; } /* Filter Components */ .filter-bar { background: #f8f9fa; padding: 1rem; border-radius: 8px; margin-bottom: 1.5rem; border: 1px solid #dee2e6; } .filter-row { display: flex; gap: 1rem; align-items: end; flex-wrap: wrap; } .filter-group { display: flex; flex-direction: column; min-width: 150px; } .filter-group label { font-weight: 500; color: #495057; margin-bottom: 0.5rem; font-size: 0.9rem; } .filter-group input, .filter-group select { padding: 0.5rem; border: 1px solid #ced4da; border-radius: 6px; font-size: 0.9rem; transition: border-color 0.2s ease; } .filter-group input:focus, .filter-group select:focus { outline: none; border-color: #007bff; box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1); } /* Tag/Badge System Enhancement */ .tag { display: inline-block; padding: 0.25rem 0.5rem; border-radius: 12px; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; } .tag-blue { background: #d1ecf1; color: #0c5460; } .tag-green { background: #d4edda; color: #155724; } .tag-yellow { background: #fff3cd; color: #856404; } .tag-red { background: #f8d7da; color: #721c24; } .tag-gray { background: #e2e3e5; color: #495057; } .tag-purple { background: #e1d3ed; color: #6f42c1; } /* Project/Context Information */ .project-info { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; } .project-code { background: #007bff; color: white; padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.8rem; font-weight: 600; } .project-name { font-weight: 500; color: #333; } .context-info { padding: 0.75rem; background: #f8f9fa; border-radius: 6px; border-left: 4px solid #007bff; margin: 1rem 0; } .context-label { font-weight: 600; color: #333; margin-right: 0.5rem; } /* Enhanced Responsive Design */ @media (max-width: 1200px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 992px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 768px) { .page-container { padding: 0.5rem; } .page-header { flex-direction: column; gap: 1rem; align-items: stretch; } .page-actions { justify-content: center; } .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .filter-row { flex-direction: column; align-items: stretch; } .filter-group { min-width: auto; } .card-header { flex-direction: column; gap: 1rem; align-items: stretch; } } /* User Dropdown Styles */ .user-dropdown-toggle { display: block; padding: 0.75rem 1.25rem; color: white; text-decoration: none; transition: background-color 0.3s ease; cursor: pointer; width: 100%; text-align: left; } .user-dropdown-toggle:hover { background-color: rgba(255, 255, 255, 0.1); } .user-dropdown-toggle .nav-icon { margin-right: 1rem; } .sidebar.collapsed .user-dropdown-toggle .nav-text { display: none; } .sidebar.collapsed .user-dropdown-toggle { padding: 0.75rem 0.5rem; } .sidebar.collapsed .user-dropdown-toggle .nav-icon { margin-right: 0; } .user-dropdown-toggle .dropdown-arrow { float: right; transition: transform 0.3s ease; } .user-dropdown-toggle.active .dropdown-arrow { transform: rotate(180deg); } /* User Dropdown Context Menu */ .user-dropdown-modal { position: absolute; top: 100%; right: 10px; background-color: white; border-radius: 4px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); z-index: 2000; opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s ease; min-width: 200px; margin-top: 5px; } .user-dropdown-modal.active { opacity: 1; visibility: visible; } .user-dropdown-header { padding: 1rem; background-color: #f8f8f8; color: #333; border-radius: 4px 4px 0 0; border-bottom: 1px solid #e0e0e0; } .user-dropdown-header h3 { margin: 0; font-size: 1rem; font-weight: normal; } .user-dropdown-header .user-info { margin-top: 0.25rem; font-size: 0.85rem; color: #666; } .user-dropdown-menu { padding: 0.5rem 0; } .user-dropdown-menu ul { list-style: none; margin: 0; padding: 0; } .user-dropdown-menu li { margin: 0; } .user-dropdown-menu a { display: flex; align-items: center; padding: 0.5rem 1rem; color: #333; text-decoration: none; transition: background-color 0.2s ease; font-size: 0.9rem; } .user-dropdown-menu a:hover { background-color: #f0f0f0; } .user-dropdown-menu .nav-icon { margin-right: 0.5rem; font-size: 1rem; } .user-dropdown-divider { height: 1px; background-color: #e0e0e0; margin: 0.5rem 0; } /* User Dropdown Overlay - Not needed for context menu style */ /* .user-dropdown-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); z-index: 1999; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .user-dropdown-overlay.active { opacity: 1; visibility: visible; } */ /* Mobile adjustments */ @media (max-width: 1024px) { .user-dropdown-modal { width: 90%; max-width: 400px; } } /* Password Strength Indicator Styles */ .password-strength-container { margin-top: 0.5rem; } .password-strength-indicator { height: 5px; background-color: #e9ecef; border-radius: 3px; overflow: hidden; margin-bottom: 0.5rem; } .password-strength-bar { height: 100%; width: 0%; transition: width 0.3s ease, background-color 0.3s ease; border-radius: 3px; } .password-strength-bar.strength-weak { background-color: #dc3545; } .password-strength-bar.strength-fair { background-color: #ffc107; } .password-strength-bar.strength-good { background-color: #17a2b8; } .password-strength-bar.strength-strong { background-color: #28a745; } .password-strength-text { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.25rem; } .password-strength-text.text-weak { color: #dc3545; } .password-strength-text.text-fair { color: #ffc107; } .password-strength-text.text-good { color: #17a2b8; } .password-strength-text.text-strong { color: #28a745; } .password-requirements { list-style: none; padding-left: 0; margin: 0.5rem 0 0 0; font-size: 0.85rem; } .password-requirements li { color: #6c757d; padding: 0.25rem 0; position: relative; padding-left: 1.5rem; } .password-requirements li:before { content: "✗"; position: absolute; left: 0; color: #dc3545; } .password-match-indicator { font-size: 0.875rem; margin-top: 0.5rem; font-weight: 500; } .password-match-indicator.match { color: #28a745; } .password-match-indicator.no-match { color: #dc3545; }