/* Modern Admin Dashboard Styles */ :root { --primary-color: #27ae60; --secondary-color: #f39c12; --danger-color: #e74c3c; --info-color: #3498db; --text-dark: #2c3e50; --text-muted: #7f8c8d; --bg-light: #f8f9fa; --border-color: #ecf0f1; } * { box-sizing: border-box; } body { background-color: var(--bg-light); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: var(--text-dark); } /* Navbar */ .navbar { background-color: #ffffff !important; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); border-bottom: 1px solid var(--border-color); } .navbar-brand { font-weight: 700 !important; font-size: 1.4rem !important; color: var(--text-dark) !important; } .nav-link { color: var(--text-muted) !important; font-weight: 500; transition: color 0.3s ease; font-size: 0.95rem; } .nav-link:hover { color: var(--primary-color) !important; } /* Cards */ .card { border: none !important; border-radius: 8px !important; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important; transition: all 0.3s ease; } .card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important; } .card-body { padding: 1.5rem; } .card-title { color: var(--text-dark); font-weight: 600; margin-bottom: 1rem; } /* Badges */ .badge { padding: 0.5rem 0.75rem; font-size: 0.85rem; font-weight: 500; border-radius: 4px; } /* Tables */ .table { margin-bottom: 0; } .table thead { background-color: var(--bg-light); border-bottom: 2px solid var(--border-color); } .table thead th { color: var(--text-muted); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; border: none; padding: 1rem 0.75rem; } .table tbody tr { transition: background-color 0.2s ease; border-bottom: 1px solid var(--border-color); } .table tbody tr:hover { background-color: rgba(39, 174, 96, 0.03); } .table tbody td { padding: 1rem 0.75rem; color: var(--text-dark); vertical-align: middle; } /* Buttons */ .btn { border-radius: 6px; font-weight: 500; transition: all 0.3s ease; border: none; } .btn-primary { background-color: var(--primary-color) !important; color: white !important; } .btn-primary:hover { background-color: #229954 !important; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3) !important; } .btn-secondary { background-color: var(--text-muted) !important; color: white !important; } .btn-secondary:hover { background-color: #6c757d !important; } .btn-sm { padding: 0.4rem 0.75rem; font-size: 0.85rem; } /* Form Controls */ .form-control, .form-select { border: 1px solid var(--border-color) !important; border-radius: 6px !important; padding: 0.75rem 1rem !important; font-size: 0.95rem; transition: all 0.3s ease; background-color: #ffffff; } .form-control:focus, .form-select:focus { border-color: var(--primary-color) !important; box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1) !important; } .form-label { color: var(--text-dark); font-weight: 500; margin-bottom: 0.5rem; } /* Modals */ .modal { display: block; position: fixed; z-index: 1050; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); animation: fadeIn 0.3s ease; } .modal-dialog { animation: slideUp 0.3s ease; } .modal-content { border: none !important; border-radius: 12px !important; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important; } .modal-header { border-bottom: 1px solid var(--border-color) !important; padding: 1.5rem !important; background-color: var(--bg-light); } .modal-title { color: var(--text-dark); font-weight: 600; font-size: 1.25rem; } .modal-body { padding: 1.5rem !important; color: var(--text-dark); } .modal-footer { border-top: 1px solid var(--border-color) !important; padding: 1.5rem !important; background-color: var(--bg-light); } /* Spinner */ .spinner-border { color: var(--primary-color) !important; } /* Alerts */ .alert { border: none !important; border-radius: 8px !important; border-left: 4px solid; } .alert-danger { background-color: #fee !important; border-left-color: #e74c3c !important; color: #c0392b !important; } .alert-info { background-color: #eff !important; border-left-color: #3498db !important; color: #2980b9 !important; } .alert-success { background-color: #efe !important; border-left-color: #27ae60 !important; color: #229954 !important; } .alert-warning { background-color: #ffeaa7 !important; border-left-color: #f39c12 !important; color: #d68910 !important; } /* Animations */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } /* Responsive */ @media (max-width: 768px) { .container-fluid { padding-left: 1rem; padding-right: 1rem; } .card-body { padding: 1rem; } .table { font-size: 0.9rem; } .table thead th { padding: 0.75rem 0.5rem; } .table tbody td { padding: 0.75rem 0.5rem; } h2 { font-size: 1.5rem; } .btn { font-size: 0.9rem; padding: 0.5rem 1rem; } .d-flex { flex-direction: column; gap: 0.5rem !important; } .d-flex.gap-2 { gap: 0.5rem !important; } } @media (max-width: 480px) { .navbar-brand { font-size: 1.1rem !important; } h2 { font-size: 1.25rem; } .card-body { padding: 0.75rem; } .modal-body { padding: 1rem !important; } .btn-sm { padding: 0.35rem 0.5rem; font-size: 0.8rem; } }