:root { --primary-color: #6a5acd; /* SlateBlue */ --primary-color-dark: #483d8b; /* DarkSlateBlue */ --secondary-color: #f0f8ff; /* AliceBlue */ --text-color: #333; --text-color-light: #777; --border-color: #e6e6fa; /* Lavender */ --sidebar-bg: #ffffff; --sidebar-link-color: #555; --sidebar-link-hover-bg: #f0f0f0; --sidebar-link-active-color: #ffffff; --sidebar-link-active-bg: var(--primary-color); --card-bg: #ffffff; --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); --font-family: 'Poppins', sans-serif; } body { font-family: var(--font-family); background-color: var(--secondary-color); color: var(--text-color); font-size: 15px; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23dcdcdc' fill-opacity='0.3'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); } .page-wrapper { display: flex; } .sidebar { width: 260px; background-color: var(--sidebar-bg); height: 100vh; position: sticky; top: 0; border-right: 1px solid var(--border-color); padding: 1.5rem 1rem; display: flex; flex-direction: column; box-shadow: 0 0 15px rgba(0,0,0,0.05); } .sidebar-header { margin-bottom: 2rem; } .sidebar-brand { display: flex; align-items: center; font-size: 1.5rem; font-weight: 600; color: var(--primary-color); text-decoration: none; } .sidebar-brand .bi { font-size: 2rem; margin-right: 0.5rem; } .sidebar-nav { flex-grow: 1; } .sidebar .nav-link { color: var(--sidebar-link-color); border-radius: 0.5rem; margin-bottom: 0.5rem; display: flex; align-items: center; padding: 0.75rem 1rem; transition: background-color 0.2s, color 0.2s; } .sidebar .nav-link:hover { color: var(--primary-color); background-color: var(--sidebar-link-hover-bg); } .sidebar .nav-link.active { color: var(--sidebar-link-active-color); background-color: var(--sidebar-link-active-bg); box-shadow: 0 2px 5px rgba(106, 90, 205, 0.3); } .sidebar .nav-link .bi { font-size: 1.2rem; margin-right: 1rem; width: 20px; text-align: center; } .sidebar-footer { margin-top: auto; } .main-content { flex-grow: 1; padding: 2rem; } .header { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); } .header-title { font-size: 2.2rem; font-weight: 700; margin: 0; } .header-subtitle { font-size: 1rem; color: var(--text-color-light); } .content-card, .card { background-color: var(--card-bg); border-radius: 0.75rem; box-shadow: var(--card-shadow); border: none; margin-bottom: 2rem; } .card-header { background-color: transparent; border-bottom: 1px solid var(--border-color); padding: 1.5rem; display: flex; align-items: center; } .card-title-text, .card-header .m-0 { font-size: 1.2rem; font-weight: 600; margin: 0; color: var(--primary-color); } .card-body { padding: 1.5rem; } .table { border-collapse: collapse; width: 100%; } .table thead th { border-bottom: 2px solid var(--border-color); font-weight: 600; color: var(--text-color-light); padding: 1rem 1.5rem; text-align: left; } .table tbody tr { border-bottom: 1px solid var(--border-color); transition: background-color 0.2s; } .table tbody tr:last-child { border-bottom: none; } .table tbody tr:hover { background-color: #f9f9f9; } .table td, .table th { padding: 1rem 1.5rem; vertical-align: middle; } .table a { color: var(--primary-color); text-decoration: none; font-weight: 600; } .table a:hover { text-decoration: underline; } .badge.bg-success-soft { background-color: rgba(28, 200, 138, 0.1); color: #1cc88a; } .badge.bg-warning-soft { background-color: rgba(246, 194, 62, 0.1); color: #f6c23e; } .badge.bg-info-soft { background-color: rgba(54, 185, 204, 0.1); color: #36b9cc; } .btn { border-radius: 0.5rem; padding: 0.6rem 1.2rem; font-weight: 600; transition: all 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,0.05); } .btn-primary, .btn-primary-custom { background-color: var(--primary-color); border-color: var(--primary-color); color: white; } .btn-primary:hover, .btn-primary-custom:hover { background-color: var(--primary-color-dark); border-color: var(--primary-color-dark); transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); } .form-control, .form-select { border-radius: 0.5rem; padding: 0.75rem 1rem; border: 1px solid var(--border-color); transition: border-color 0.2s, box-shadow 0.2s; } .form-control:focus, .form-select:focus { box-shadow: 0 0 0 0.25rem rgba(106, 90, 205, 0.15); border-color: var(--primary-color); } .modal-content { border-radius: 0.75rem; border: none; box-shadow: 0 8px 24px rgba(0,0,0,0.1); } .search-container { position: relative; width: 100%; max-width: 400px; } .search-results { position: absolute; top: 100%; left: 0; right: 0; z-index: 1000; border: 1px solid #ccc; background-color: #fff; border-radius: 0 0 5px 5px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); display: none; } .search-results a { display: block; padding: 10px; text-decoration: none; color: #333; border-bottom: 1px solid #eee; } .search-results a:hover { background-color: #f5f5f5; } .search-results a:last-child { border-bottom: none; }