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

@font-face {
    font-family: "Harmonia Sans";
    src: url("../assets/fonts/HarmoniaSans-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "Harmonia Sans", sans-serif;
    display: grid;
    grid-template-areas:
        "sidebar header"
        "sidebar main";
    grid-template-columns: 250px 1fr;
    grid-template-rows: auto 1fr;
    height: 100vh;
}

.sidebar {
    grid-area: sidebar;
    background: #102A43;
    color: #F0F4F8;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    font-weight: 700;
    font-size: 18px;
}

.sidebar h2 {
    cursor: default;
    display: flex;
    align-items: center;
    gap: 10px;
}

#dashboard-icon {
    height: 40px;
    width: 40px;
}

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

.header #icon {
    vertical-align: middle;
    margin-right: initial;
}

.sidebar a {
    margin-left: 10px;
    text-decoration: none;
    color: #F0F4F8;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
}

.header {
    grid-area: header;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-weight: 700;
    position: relative;
}

.header input {
    width: 75%;
    border-radius: 15px;
    background-color: #D9E2EC;
    border: none;
    height: 30px;
    padding: 0 12px;
}

.header-top-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 24px;
}

.header-bottom-row {
    display: grid;
    grid-template-columns: 13fr 8fr;
}

.search {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notifications {
    display: flex;
    align-items: center;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.avatar-sm {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.user-greeting {
    display: flex;
    align-items: center;
    gap: 16px;
}

button {
    color: #87EAF2;
    background-color: #102A43;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    width: 80px;
    cursor: pointer;
    border: 1px solid #102A43;
}

#new-button {
    color: #102A43;
    background-color: #87EAF2;
    border: 1px solid #87EAF2;
}

.action-buttons {
    place-self: center end;
    display: flex;
    gap: 24px;
}

main {
    grid-area: main;
    padding: 25px;
    background-color: #F0F4F8;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #102A43;
    margin-bottom: 0.75rem;
    cursor: default;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.projects-section {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
}

.project-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 8px solid #87EAF2;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}

.project-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.project-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #102A43;
    margin-bottom: 0.5rem;
    cursor: default;
}

.project-card p {
    color: #627D98;
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 1rem;
    cursor: default;
}

.card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: auto;
}

.action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.action-icon img {
    width: 24px;
    height: 24px;
    transition: filter 0.2s ease;
}

.action-icon:hover img {
    filter: invert(0.7) sepia(1) saturate(3) hue-rotate(160deg) brightness(1.1);
}

.coming-soon-badge {
    background-color: #D9E2EC;
    color: #627D98;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: default;
    user-select: none;
}

.recent-activity-card {
    background: white;
    border-radius: 8px;
    padding: 0.90rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #E2E8F0;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 24px;
    height: 24px;
}

.activity-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #102A43;
    margin-bottom: 0.25rem;
}

.activity-date {
    font-size: 0.85rem;
    color: #627D98;
    line-height: 1.4;
}

.announcements-section {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
}

.announcements-card {
    background: white;
    border-radius: 8px;
    padding: 0.90rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.5rem;
}

.announcement-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #E2E8F0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #102A43;
    margin-bottom: 0.5rem;
}

.announcement-item p {
    font-size: 0.85rem;
    color: #627D98;
    line-height: 1.4;
}