@import url('https://fonts.googleapis.com/css?family=Oxygen:400,300,700');
@import "compass/css3";

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Helvetica Neue', Arial, Sans-Serif;
}

body {
    background: white; /* Set background to white */
}

.container {
    background: #ecf0f1;
    border-radius: 5px;
    box-shadow: 3px 3px 10px #333;
    padding: 10px;
}

.header {
    background: #357175;
    color: #ecf1f5;
    text-align: center;
    font-size: 24px;
    padding: 0;
    margin: 0;
}

.content {
    display: flex;
    height: calc(100% - 80px); /* Adjust height according to header height */
}

.sidebar {
    background: #024380;
    padding: 20px;
    color: white;
    overflow-y: auto;
    transition: all 0.3s ease;
}

.sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
}

.sidebar h4 {
    margin-bottom: 15px;
}

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

.main .greeting {
    margin-bottom: 20px;
}

.main .dropdown {
    margin-bottom: 20px;
}

.main .dropdown label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.main .dropdown select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    font-size: 16px;
    color: #333;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease-in-out;
}

.main .dropdown select:focus {
    border-color: #4CAF50;
    outline: none;
}

.card {
    background: #fff; /* Default white background for cards */
    color: white; /* Default text color */
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.card a {
    color: white; /* Default text color for links */
    text-decoration: none;
    font-weight: bold;
}
a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
}

.card .icon {
    font-size: small;
    color: white;
    margin-bottom: 10px;
}

.card.card1 { background: #e57373; }
.card.card2 { background: #f06292; }
.card.card3 { background: #ba68c8; }
.card.card4 { background: #9575cd; }
.card.card5 { background: #7986cb; }
.card.card6 { background: #64b5f6; }
.card.card7 { background: #4db6ac; }
.card.card8 { background: #81c784; }

#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background: #accef0; /* Dark background color */
    color: #fff; /* Text color */
    overflow-y: auto; /* Allow scrolling if content exceeds height */
    z-index: 1030; /* Ensure sidebar overlays content */
}

#sidebar.active {
    width: 80px; /* Collapsed width */
}

#sidebar .list-group-item {
    background-color: transparent; /* Transparent background for items */
    border: none;
    color: #fff;
    font-size: 16px;
}

#sidebar .list-group-item:hover {
    background-color: #2c3136; /* Darker background on hover */
}

#sidebar .list-group-item.active {
    background-color: #495057; /* Active item background */
}

#sidebar h4 {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

#sidebar h4.mb-1 {
    margin-bottom: 0;
    font-size: 16px;
}

@media (max-width: 768px) {
    #sidebar {
        display: none; /* Hide sidebar on mobile devices */
    }
}

.disabled {
    pointer-events: none;
    opacity: 0.6;
    background: #ddd; /* Gray background for disabled state */
}

.disabled-link {
    pointer-events: none;
    color: gray;
    text-decoration: none;
}

/* Add this to your existing styles.css */

.buttons {
    margin-top: 2em;
    text-align: center;
}

.btn {
    background-color: #357175; /* Match your header background */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
    box-shadow: 3px 3px 10px #333;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #024380; /* Darken on hover */
}

.footer {
    text-align: center;
    padding: 1em 0;
    background-color: #357175; /* Match your header background */
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}
