/* Website background color */
body {
    background-color: #73b4ff; /* Light gray */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    font-family: monospace;
}

/* Header styles */
header {
    text-align: center;
    padding: 20px 0;
    background-color: #333; /* Dark gray */
    color: #fff; /* White text color */
    position: relative; /* Added */
}
.logo {
    max-width: 200px;
    height: auto;
}
.header-buttons {
    text-align: center;
    margin-top: 20px;
}
.header-buttons button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
    background-color: #007bff; /* Blue */
    color: #fff; /* White text color */
    cursor: pointer;
}
/* End Header styles */

/* Darker background box */
.content-box {
    width: 65%;
    background-color: #3f80f8; /* Darker color */
    padding: 20px;
    box-sizing: border-box;
    margin-top: 20px;
    border-radius: 10px;
    position: absolute;
    top: calc(100px + 65px); /* Height of header + margin-top */
    left: 20px; /* Adjust as needed */
}
.message-box {
    width: 31.5%;
    background-color: #3f80f8; /* Darker color */
    padding: 20px;
    box-sizing: border-box;
    margin-top: 20px;
    border-radius: 10px;
    position: absolute;
    top: calc(100px + 65px); /* Height of header + margin-top */
    right: 20px; /* Adjust as needed */
}
/* Header for content box */
.content-box-header {
background-color: #2a61bc; /* Dark blue */
color: #fff;
padding: 5px 10px;
border-radius: 5px 5px 0 0;
margin-bottom: 10px;
position: absolute;
top: 161px; /* Align to the top of the content box */
left: 2%; /* Align to the left of the content box */
width: auto; /* Occupy full width */
}

/* Header for message box */
.message-box-header {
background-color: #2a61bc; /* Dark blue */
color: #fff;
padding: 5px 10px;
border-radius: 5px 5px 0 0;
margin-bottom: 10px;
position: absolute;
top: 160px; /* Align to the top of the message box */
right: 22%; /* Align to the left of the message box */
width:  auto; /* Occupy full width */
}






/* Darker background box */
.content-box_RP {
    width: 65%;
    background-color: #3f80f8; /* Darker color */
    padding: 20px;
    box-sizing: border-box;
    margin-top: 20px;
    border-radius: 10px;
    position: absolute;
    top: calc(440px + 65px); /* Height of header + margin-top */
    left: 20px; /* Adjust as needed */
}
/* Header for content box */
.content-box-header_RP {
    background-color: #2a61bc; /* Dark blue */
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px 5px 0 0;
    margin-bottom: 10px;
    position: absolute;
    top: -25px; /* Align to the top of the content box */
    left: 2%; /* Align to the left of the content box */
    width: auto; /* Occupy full width */
}

/* Header for content box */
.content-box-header_PF {
    background-color: #2a61bc; /* Dark blue */
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px 5px 0 0;
    margin-bottom: 10px;
    position: absolute;
    top: -25px; /* Align to the top of the content box */
    left: 4%; /* Align to the left of the content box */
    width: auto; /* Occupy full width */
}

.content-box-header_OPT {
    background-color: #2a61bc; /* Dark blue */
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px 5px 0 0;
    margin-bottom: 10px;
    position: absolute;
    top: -25px; /* Align to the top of the content box */
    left: 5%; /* Align to the left of the content box */
    width: auto; /* Occupy full width */
}



/* Post styles */
.message {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.message-disp {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.message-err-login {
    background-color: #ff6868;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
/* Post styles */
.post {
    /* Existing styles */
    cursor: pointer;
    background-color: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    z-index: 5;

    /* Constrain content */
    max-width: 100%; /* Ensure content does not overflow */
    overflow: hidden;
}

.post-title {
    font-weight: bold;
    margin-bottom: 5px;
}
.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.user-info img {
    width: 15px;
    height: 15px;
    margin-right: 5px;
    cursor: default; /* Set cursor to default */
}
.likes {
    font-style: italic;
    color: #888;
}

.like-button {
    background-color: #d3fffb;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    width: fit-content;
    height: auto;
}

/* Debug box styles */
.debug-box {
    width: 15%;
    background-color: #fff;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 45%;
    right: 40px;
    transform: translateY(-50%);
}

.debug-box-acc {
    width: 200px;
    background-color: #fff;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 75%;
    right: 20px;
    transform: translateY(-50%);
}
.debug-box input, .debug-box button {
    margin-bottom: 10px;
    width: calc(100% - 20px);
    box-sizing: border-box;
}
.admin-tools-header {
    font-weight: bold;
    margin-bottom: 10px;
}

/* Custom tooltip styles */
.tooltip {
    position: absolute;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 5;
    pointer-events: none;
    font-size: 12px;
}

.btn {
    cursor: pointer;
    border: 0px solid #3498db;
    background-color: transparent;
    height: 50px;
    width: 200px;
    color: #3498db;
    font-size: 1.5em;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0);
}

/* Dropdown menu styles */
.dropdown {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    z-index: 10; /* Set a high z-index value */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 10; /* Set a high z-index value */
}

.dropdown-content button {
    background-color: transparent;
    border: none;
    outline: none;
    padding: 12px 16px;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-content button:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-logo {
    max-width: 50px;
    height: auto;
}

a.nav-link:link
{
   color: #fb3f00;
   text-decoration: none;
}
a.nav-link:visited
{
   color: #fb3f00;
   text-decoration: none;
}
a.nav-link:hover
{
   color: #fb3f00;
   text-decoration: none;
}
a.nav-link:active
{
   color: #fb3f00;
   text-decoration: none;
}



/* Notification dropdown styles */
.notification-dropdown {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    z-index: 10; /* Set a high z-index value */
}

.notification-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    left: -80%;
    min-width: 300px;
    border: 1px solid #dcdcdc;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 10; /* Set a high z-index value */
    overflow: hidden;
    cursor: pointer;
}

.notification-content button {
    background-color: transparent;
    border: none;
    outline: none;
    padding: 12px 16px;
    width: 100%;
    text-align: center;
    cursor: pointer;
}

.notification-content button:hover {
    background-color: #f1f1f1;
}

.notification-content .notification-item {
    padding: 10px;
    border-bottom: 1px solid #dcdcdc;
}

.notification-content .notification-item:hover {
    background-color: #f1f1f1;
}

.notification-logo {
    max-width: 50px;
    height: auto;
}

.notification-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px; /* Adjust margin as needed */
}

.view-all-btn, .mark-as-read-btn {
    flex-basis: calc(50% - 5px); /* Adjust width of buttons, considering margin between them */
}

.view-all-btn {
    margin-right: 5px; /* Adjust margin between buttons */
}

.mark-as-read-btn {
    background-color: #e0e0e0; /* Light gray background for mark as read button */
    color: #333; /* Darker text color */
}

.mark-as-read-btn:hover {
    background-color: #dcdcdc; /* Darker shade when hovered */
}

.notification-dropdown:hover .notification-content {
    display: block;
}

.notification-item-title {
    font-weight: bold;
    color: black; /* Set the title text color to black */
}

.notification-item-date {
    font-style: italic;
    color: gray;
    text-align: right;
}

.notification-item-username {
    color: #4dbdd1;
    display: inline-block;
    vertical-align: middle;
}

.notification-item-badge {
    display: inline-block;
    vertical-align: middle;
    height: 1em; /* Match the height of the username text */
    margin-left: 5px; /* Add some space between the username and the badge */
}

/* Darker background for SYS notifications */
.notification-sys {
    background-color: #f0f0f0; /* Darker shade of gray */
}

.notification-sys:hover {
    background-color: #c2c2c2; /* Darker shade when hovered */
}

.notification-item:hover {
    background-color: #c2c2c2; /* Darker shade when hovered */
}
.notification-new-icon {
    position: absolute;
    left: 110px;
    width: auto;
    height: 15px;
    display: none;
}