:root {
    --sidebar-width: 250px;
    --sidebar-bg-color: #1992d4;
    --sidebar-text-color: #fff;
    --main-bg-color: #e2e8f0;
    --main-alt-bg-color: #e2e8f0;
    --main-text-color: #000;
    --accent-color: #f0b429;
    --card-border-color: #f0b429;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
    height: 100vh;
}

.container {
    display: flex;
    flex-direction: row;
    height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg-color);
    color: var(--sidebar-text-color);
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 50px;
    font-weight: bold;
    position: fixed;
    height: 100%;
    box-sizing: border-box;
}

.header {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.sidebar svg {
    width: 24px;
    height: 24px;
    fill: var(--sidebar-text-color);
}

.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.web-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.web-links a {
    color: var(--sidebar-text-color);
    text-decoration: none;
    font-size: 18px;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.account-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.account-actions a {
    color: var(--sidebar-text-color);
    text-decoration: none;
    font-size: 18px;
}

.content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    height: 100vh;
    overflow-y: auto;
}

.content-header {
    background-color: white;
    padding: 0 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

#profile-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

#search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 60%;
}

#search svg {
    width: 24px;
    height: 24px;
}

#search input {
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background-color: var(--main-bg-color);
    width: 100%;
    height: 15px;
    font-size: 16px;
}

#prof {
    display: flex;
    align-items: center;
    gap: 20px;
}

#prof svg {
    width: 24px;
    height: 24px;
}

#prof img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

#prof a {
    text-decoration: none;
    color: var(--main-text-color);
    font-size: 18px;
    font-weight: 700;
}

#profile-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 25px 0;
}

#profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

#dp img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

#details {
    font-size: 16px;
    line-height: 1.4;
}

#details p {
    margin: 0;
    font-weight: 700;
}

#details p:first-line {
    font-size: 14px;
    font-weight: 500;
}

#profile-links {
    display: flex;
    gap: 25px;
}

#profile-links button {
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    background-color: var(--sidebar-bg-color);
    color: var(--sidebar-text-color);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.content-body {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 20px;
    padding: 20px 20px 40px 20px;
}

.projects h1,
.announcements h1,
.trending h1 {
    font-size: 20px;
    margin-bottom: 15px;
    margin-top: 0;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 30px;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-left: 8px solid var(--card-border-color);
}

.card-content {
    padding: 25px 25px 0 25px;
    flex-grow: 1;
}

.card-content h2 {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 5px;
}

.card-content p {
    color: #636363;
    font-size: 14px;
    margin-top: 0;
    line-height: 1.4;
}

.card-footer {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    gap: 15px;
}

.card-footer svg {
    width: 24px;
    height: 24px;
    fill: #636363;
    cursor: pointer;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.announcements-list {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

.announcement-card-content {
    padding: 5px 0;
}

.announcement-card-content h2 {
    font-size: 14px;
    margin: 0 0 5px 0;
}

.announcement-card-content p {
    font-size: 12px;
    color: #636363;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.announcement-card-content hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 15px 0;
}

.trending-list {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

.trending-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.trending-card:last-child {
    margin-bottom: 0;
}

.trending-card img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.trending-card-content {
    display: flex;
    flex-direction: column;
}

.trending-card-content h3 {
    font-size: 14px;
    margin: 0;
}

.trending-card-content p {
    font-size: 12px;
    color: #636363;
    margin: 5px 0 0 0;
}

/* Remove the last horizontal rule */
.announcement-card:last-child .announcement-card-content hr {
    display: none;
}