
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');

body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    height: 100%;
    overflow: hidden;
    background: #f0f0f0;
    color: #333;
}

.container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 200px;
    background-color: #0078d4;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    overflow-y: auto;
}

.sidebar h2 {
    margin-bottom: 20px;
}

.sidebar button {
    width: 100%;
    background-color: #005a9e;
    color: white;
    border: none;
    padding: 10px;
    margin: 5px 0;
    cursor: pointer;
    text-align: left;
    padding-left: 20px;
}

.sidebar button:hover,
.sidebar button.active {
    background-color: #004578;
}

.main-content {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
}

.main-content h2 {
    margin-top: 0;
}

.search-bar {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.search-bar input {
    width: 70%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.grid-item {
    margin-bottom: 20px;
}

.grid-item p {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

.sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
    padding-bottom: 1em;
}

.sub-row {
    margin-top: 1em;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}
.sub-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: white;
    transition: transform 0.3s ease;
}

.sub-grid-item i {
    font-size: 30px;
    margin-bottom: 0.5rem;
}

.sub-grid-item a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.sub-grid-item:hover {
    transform: scale(1.05);
}

.description {
    font-size: 16px;
    color: #333;
    margin: 10px 0;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    text-align: center;
}

.notification {
    position: fixed; /* Fixed position to stay in view */
    bottom: 20px; /* Distance from the top of the viewport */
    right: 20px; /* Distance from the right of the viewport */
    background-color: #278136; /* Background color similar to .selected */
    color: white; /* Text color */
    padding: 10px 15px; /* Padding for spacing */
    border-radius: 5px; /* Rounded corners */
    z-index: 1000; /* Ensure it appears above other elements */
    transition: opacity 0.5s ease; /* Smooth transition for fading out */
    opacity: 1; /* Start fully visible */
}

/* Optional: Add a fade-out effect */
.notification.fade-out {
    opacity: 0; /* Fade out effect */
}
