body { font-family: 'Arial', sans-serif; background-color: #f7f7f7; margin: 0; height: 100vh; /* Ensure full height for scrolling */ overflow: hidden; /* Hide overflow for the body */ } .text-gold { color: #7d5c16 !important; } h1, h2, h3, h4, h5, h6 { color: #7d5c16 !important; } .sidebar { height: 100vh; /* Full height for sidebar */ background-color: #c08ee6; color: white; padding: 50px 20px; /* Adjust padding as needed */ position: fixed; /* Fix the sidebar */ overflow-y: auto; /* Allow scrolling if content exceeds */ } .sidebar a { color: white; text-decoration: none; border-radius: 5px; display: block; transition: background-color 0.3s, color 0.3s; } .sidebar a:hover { background-color: white; color: #7d5c16; border-radius: 1px; } .nav-link.active { background-color: rgba(255, 255, 255, 0.993); /* Light background for active link */ color: #c08ee6; /* Change text color if needed */ } .navbar { background-color: #f8f9fa; border-bottom: 1px solid #e0e0e0; position: fixed; /* Fix the navbar */ width: 100%; /* Full width for the navbar */ z-index: 1000; /* Ensure it stays on top */ } .navbar-brand { font-weight: bold; } .content { padding: 50px 20px 20px; /* Padding at the top to accommodate the navbar */ margin-left: 250px; /* Add left margin to make space for the sidebar */ height: calc(100vh - 80px); /* Fill the remaining height below the navbar */ overflow-y: auto; /* Enable vertical scrolling */ } .card { border: none; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; } .card-title { font-weight: bold; color: #333; } /* Water Movement Animation for Image Border with individual corner animations */ @keyframes waterMove { 0% { border-top-left-radius: 30%; border-top-right-radius: 40%; border-bottom-left-radius: 35%; border-bottom-right-radius: 45%; } 25% { border-top-left-radius: 40%; border-top-right-radius: 30%; border-bottom-left-radius: 45%; border-bottom-right-radius: 35%; } 50% { border-top-left-radius: 50%; border-top-right-radius: 45%; border-bottom-left-radius: 40%; border-bottom-right-radius: 30%; } 75% { border-top-left-radius: 45%; border-top-right-radius: 50%; border-bottom-left-radius: 30%; border-bottom-right-radius: 40%; } 100% { border-top-left-radius: 30%; border-top-right-radius: 40%; border-bottom-left-radius: 35%; border-bottom-right-radius: 45%; } } /* Applying animation to the image */ img.animated-border { width: 4rem; animation: waterMove 4s infinite ease-in; } /* Responsive Sidebar */ @media (max-width: 768px) { .sidebar { position: absolute; z-index: 1000; width: 250px; left: -250px; transition: left 0.3s; text-align: center; } img.animated-border { margin-top: 3rem; } .sidebar.show { left: 0; } .content { margin-left: 0; /* Reset margin for mobile view */ padding-top: 60px; /* Adjust padding for mobile view */ } } hr { margin: 10px; } /* Loader Overlay Styles */ .loader-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 0.8); display: flex; justify-content: center; align-items: center; z-index: 9999; /* Above all other content */ } .spinner-border { width: 3rem; height: 3rem; border-width: 0.25em; } /* Override Bootstrap's danger color globally */ .btn-danger, .bg-danger, .text-danger, .alert-danger { background-color: #c08ee6 !important; border-color: #c08ee6 !important; color: #fff !important; } /* Optional hover/active states for consistency */ .btn-danger:hover, .btn-danger:focus, .btn-danger:active { background-color: #c08ee6 !important; /* slightly darker for effect */ border-color: #c08ee6 !important; } /* Optional link version */ a.text-danger:hover { color: #c08ee6 !important; }