body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    margin: 0;
    padding: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../icons/ppdco_logo_web.jpg') no-repeat center center fixed;
    background-size: cover;
    opacity: 0.1;
    z-index: -1;
}

.navbar {
    position: sticky;
    top: 0;
    background-color: #003594;
    color: #FAF9F6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 10;
}

.navbar-center {
    display: flex;
    align-items: center;
    font-size: 20px;
}

.navbar-logo {
    height: 50px;
    margin-right: 10px;
}

.navbar-right {
    display: flex;
    align-items: center;
}

.navbar-right a {
    color: #FAF9F6;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

.navbar-right a img {
    margin-bottom: 5px;
}

.navbar-right a:hover {
    text-decoration: underline;
}

.navbar nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar nav ul li {
    margin: 0 4px;
    min-width: 72px;
}

.nav-icon {
    border-radius: 0;
    height: 20px;
}

.navbar nav ul li a {
    color: #FAF9F6;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navbar nav ul li a img {
    height: 20px;
    margin-bottom: 5px;
}

.navbar nav ul li a:hover {
    text-decoration: underline;
}

.dashboard-container {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.sidebar-toggle {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 8px;
    margin-right: 10px;
}

.sidebar-toggle img {
    width: 24px;
    height: 24px;
}

.section-header {
    position: sticky;
    top: 0;
    background-color: #0047bb;
    color: #FAF9F6;
    padding: 0px 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 9;
}

.section-content {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container {
    width: 100%;
    min-height: 40rem;
    padding: 2rem 2rem 1.1rem;
    transition: width 0.3s;
}

.filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.current-division {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #003594;
}

footer {
    background-color: #003594;
    color: #FAF9F6;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.container-section {
    width: 100%;
    padding: 2rem;
    padding-top: 1.1rem;
}

.indicator {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #003594;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #ccc;
}

/* Inbox Styles */
.inbox {
    display: flex;
    flex-direction: row;
    min-height: 25rem;
    gap: 1rem;
}

.inbox-list {
    flex: 1;
    max-width: 300px;
    border-right: 1px solid #ccc;
    padding-right: 1rem;
}

.inbox-item {
    display: flex;
    align-items: center;
    max-height: min-content;
    border-bottom: 1px solid #ccc;
}
.inbox-item:hover {
    background-color: #ccc;
    border-radius: 8px;
    cursor: pointer;
}

.inbox-user-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.inbox-message {
    margin-top: 1rem;
    flex: 1;
}

.inbox-user {
    font-weight: bold;
    margin: 0;
}

.inbox-text {
    margin: 0.5rem 0;
}

.inbox-time {
    font-size: 0.8rem;
    color: #888;
}

.full-message {
    flex: 2;
    position: relative; /* Ensure the delete button is positioned relative to this container */
}

.profile {
    flex: 1;
    border-left: 1px solid #ccc;
    padding-left: 1rem;
    text-align: center;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 1rem auto 1rem auto; 
    object-fit: fill; /* Ensures the image covers the container */
    object-position: center; /* Optional: Centers the image */
}

.profile-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    margin: 1rem auto 1rem auto; /* Center the placeholder */
}

.profile p {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    font-size: 14px;
    color: #333;
    text-align: left;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    display: none; /* Initially hidden */
}

.delete-icon {
    width: 20px;
    height: 20px;
}

footer {
    background-color: #003594;
    color: #FAF9F6; /* Replace white */
    text-align: center;
    padding: 10px 0;
    position: relative; /* Change from fixed to relative */
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Add shadow to the footer */
    font-size: 0.9rem; /* Adjust font size */
}

footer a {
    color: #FAF9F6; /* Replace white */
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}