* {
    box-sizing: border-box;
}


body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background-color: #f6f7f8;

    color: #1f2933;
}


/* NAVIGATION */

.navbar {
    min-height: 70px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 50px;

    background-color: white;

    border-bottom: 1px solid #e2e5e9;
}


.brand {
    display: flex;
    align-items: center;

    gap: 12px;

    font-weight: 700;
}


.brand-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background-color: #1f2933;

    color: white;
}


.nav-links {
    display: flex;

    gap: 30px;
}


.nav-links a {
    text-decoration: none;

    color: #66727f;

    font-size: 14px;
}


.nav-links a:hover {
    color: #111827;
}


.nav-links .active {
    color: #111827;

    font-weight: 700;
}


/* PAGE */

.page {
    max-width: 1250px;

    margin: 0 auto;

    padding: 50px;
}


.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;

    margin-bottom: 35px;
}


.page-header h1 {
    margin: 0;

    font-size: 38px;
}


.subtitle {
    margin-top: 8px;

    color: #697580;

    line-height: 1.5;
}


.eyebrow {
    margin: 0 0 8px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: #8a949f;
}


.header-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}


.status {
    padding: 9px 14px;

    border-radius: 20px;

    background-color: #e9eef2;

    font-size: 13px;

    color: #39434d;

    white-space: nowrap;
}


/* CARDS */

.dashboard-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

    margin-bottom: 30px;
}


.meeting-stats {
    grid-template-columns:
        repeat(3, 1fr);
}


.meeting-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;

    margin-bottom: 30px;
}


.card {
    background-color: white;

    border: 1px solid #e2e5e9;

    border-radius: 12px;

    padding: 24px;
}


.card-label {
    margin: 0;

    font-size: 13px;

    color: #77828d;
}


.card h2 {
    margin: 12px 0 5px;

    font-size: 28px;
}


.card-note {
    margin: 0;

    font-size: 12px;

    color: #9aa2aa;
}


.meeting-card-date {
    font-size: 23px !important;
}


.small-card-value {
    font-size: 20px !important;
}


/* PROGRESS */

.progress-track {
    width: 100%;

    height: 7px;

    margin-top: 16px;

    border-radius: 20px;

    background-color: #edf0f2;

    overflow: hidden;
}


.progress-bar {
    width: 5%;

    height: 100%;

    background-color: #1f2933;

    border-radius: 20px;

    transition: width 0.25s ease;
}


/* WORKSPACE */

.workspace {
    background-color: white;

    border: 1px solid #e2e5e9;

    border-radius: 12px;

    padding: 28px;
}


.meeting-section {
    margin-bottom: 25px;
}


.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 25px;
}


.section-heading h2 {
    margin: 0;
}


.dashboard-lower-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;

    margin-top: 25px;
}


/* BUTTONS */

button {
    border: none;

    border-radius: 8px;

    padding: 11px 18px;

    background-color: #1f2933;

    color: white;

    font-size: 14px;

    cursor: pointer;
}


button:hover {
    background-color: #37424c;
}


.secondary-button {
    background-color: #edf0f2;

    color: #333;
}


.secondary-button:hover {
    background-color: #dfe3e6;
}


.secondary-action {
    padding: 10px 16px;

    border: 1px solid #dce1e5;

    border-radius: 8px;

    text-decoration: none;

    color: #4d5964;

    font-size: 14px;

    background-color: white;
}


.secondary-action:hover {
    background-color: #f3f5f6;
}


/* EMPTY STATE */

.empty-state {
    text-align: center;

    padding: 60px 20px;

    border-top: 1px solid #edf0f2;
}


.compact-empty {
    padding: 30px 20px;
}


.empty-icon {
    width: 45px;
    height: 45px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color: #eef1f3;

    font-size: 20px;
}


.empty-state h3 {
    margin-bottom: 8px;
}


.empty-state p {
    max-width: 420px;

    margin: auto;

    color: #7c8792;

    line-height: 1.5;
}


/* TASKS */

.task {
    display: grid;

    grid-template-columns:
        1fr auto auto;

    align-items: center;

    gap: 20px;

    padding: 18px 5px;

    border-top: 1px solid #edf0f2;
}


.task-info h3 {
    margin: 0 0 7px;

    font-size: 16px;
}


.task-details {
    margin: 0;

    font-size: 12px;

    color: #87919b;
}


.task-status {
    padding: 7px 11px;

    border-radius: 20px;

    background-color: #edf0f2;

    font-size: 12px;
}


.task-actions {
    display: flex;

    gap: 8px;
}


.task-button {
    padding: 7px 10px;

    font-size: 12px;
}


.delete-button {
    background-color: transparent;

    color: #8a949f;

    border: 1px solid #dfe3e6;
}


.delete-button:hover {
    background-color: #f1f3f4;

    color: #333;
}


.task.completed h3 {
    text-decoration: line-through;

    color: #9aa2aa;
}


.task.completed .task-status {
    background-color: #e6f0ea;

    color: #526b5b;
}


/* MEETINGS */

.meeting-item {
    display: grid;

    grid-template-columns:
        100px 1fr auto;

    gap: 22px;

    padding: 22px 5px;

    border-top: 1px solid #edf0f2;

    align-items: start;
}


.meeting-date-block {
    text-align: center;

    padding: 12px 8px;

    border-radius: 10px;

    background-color: #f1f3f5;
}


.meeting-month {
    display: block;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    color: #7c8792;
}


.meeting-day {
    display: block;

    margin-top: 4px;

    font-size: 26px;

    font-weight: 700;
}


.meeting-info h3 {
    margin: 0 0 8px;

    font-size: 17px;
}


.meeting-meta {
    margin: 0 0 12px;

    color: #7c8792;

    font-size: 13px;
}


.meeting-agenda {
    margin: 0;

    max-width: 650px;

    line-height: 1.5;

    color: #56616b;

    font-size: 13px;
}


.meeting-actions {
    display: flex;

    gap: 8px;

    flex-wrap: wrap;
}


.meeting-record {
    margin-top: 18px;

    padding: 18px;

    background-color: #f7f8f9;

    border-radius: 10px;

    border: 1px solid #e7eaed;
}


.meeting-record-section {
    margin-bottom: 16px;
}


.meeting-record-section:last-child {
    margin-bottom: 0;
}


.meeting-record-section strong {
    display: block;

    margin-bottom: 6px;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 0.8px;

    color: #7b8792;
}


.meeting-record-section p {
    margin: 0;

    white-space: pre-line;

    line-height: 1.55;

    font-size: 13px;

    color: #44515d;
}


.overdue-badge {
    display: inline-block;

    margin-left: 8px;

    padding: 4px 7px;

    border-radius: 12px;

    background-color: #f2ece8;

    font-size: 10px;

    color: #745c4b;
}


/* QUICK LINKS */

.quick-link-list {
    display: flex;

    flex-direction: column;
}


.quick-link {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 5px;

    border-top: 1px solid #edf0f2;

    text-decoration: none;

    color: #26323d;
}


.quick-link div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.quick-link span {
    font-size: 12px;

    color: #88939d;
}


.quick-link:hover strong {
    text-decoration: underline;
}


/* PROJECT DETAILS */

.project-details {
    display: grid;

    gap: 0;
}


.project-details div {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 15px 0;

    border-top: 1px solid #edf0f2;
}


.project-details span {
    color: #87919b;

    font-size: 13px;
}


.project-details strong {
    text-align: right;

    font-size: 13px;
}


/* TABLE */

.engineering-table-wrapper {
    overflow-x: auto;
}


.engineering-table {
    width: 100%;

    border-collapse: collapse;

    font-size: 13px;
}


.engineering-table th {
    padding: 14px 12px;

    text-align: left;

    border-bottom: 1px solid #dfe4e8;

    color: #7c8792;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.8px;
}


.engineering-table td {
    padding: 17px 12px;

    border-bottom: 1px solid #edf0f2;

    vertical-align: middle;
}


.engineering-table td strong {
    display: block;

    margin-bottom: 4px;
}


.table-note {
    color: #929ba4;

    font-size: 11px;
}


.status-tag {
    display: inline-block;

    padding: 6px 9px;

    border-radius: 14px;

    background-color: #edf0f2;

    font-size: 11px;

    white-space: nowrap;
}


/* MODALS */

.modal-background {
    display: none;

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(20, 30, 40, 0.4);

    align-items: center;
    justify-content: center;

    padding: 20px;

    z-index: 100;
}


.modal-background.show {
    display: flex;
}


.modal {
    width: 100%;

    max-width: 500px;

    max-height: 90vh;

    overflow-y: auto;

    background-color: white;

    border-radius: 14px;

    padding: 28px;

    box-shadow:
        0 20px 60px
        rgba(0, 0, 0, 0.15);
}


.meeting-modal {
    max-width: 650px;
}


.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;

    margin-bottom: 25px;
}


.modal-header h2 {
    margin: 0;
}


.modal-subtitle {
    margin: 6px 0 0;

    font-size: 13px;

    color: #7b8792;
}


.close-button {
    background-color: transparent;

    color: #68737e;

    font-size: 25px;

    padding: 0 8px;
}


.close-button:hover {
    background-color: #f0f2f3;
}


/* FORMS */

form {
    display: flex;

    flex-direction: column;
}


label {
    margin-bottom: 7px;

    font-size: 13px;

    font-weight: 600;
}


input,
textarea,
select {
    width: 100%;

    padding: 12px;

    margin-bottom: 20px;

    border: 1px solid #d7dce0;

    border-radius: 8px;

    background-color: white;

    font-family: inherit;

    font-size: 14px;

    outline: none;
}


textarea {
    resize: vertical;
}


input:focus,
textarea:focus,
select:focus {
    border-color: #65717c;
}


.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;
}


.modal-actions {
    display: flex;
    justify-content: flex-end;

    gap: 10px;

    margin-top: 5px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .dashboard-grid,
    .meeting-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .dashboard-lower-grid {
        grid-template-columns:
            1fr;
    }


    .nav-links {
        gap: 16px;
    }


    .task {
        grid-template-columns:
            1fr;
    }


    .meeting-item {
        grid-template-columns:
            80px 1fr;
    }


    .meeting-actions {
        grid-column: 2;
    }

}


@media (max-width: 650px) {

    .navbar {
        padding: 16px 25px;

        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }


    .nav-links {
        width: 100%;

        overflow-x: auto;

        padding-bottom: 4px;
    }


    .page {
        padding: 30px 22px;
    }


    .page-header {
        align-items: flex-start;

        flex-direction: column;
    }


    .header-actions {
        width: 100%;

        justify-content: space-between;
    }


    .dashboard-grid,
    .meeting-stats,
    .meeting-summary-grid {
        grid-template-columns:
            1fr;
    }


    .form-row {
        grid-template-columns:
            1fr;
    }


    .meeting-item {
        grid-template-columns:
            1fr;
    }


    .meeting-date-block {
        width: 80px;
    }


    .meeting-actions {
        grid-column: 1;
    }


    .project-details div {
        flex-direction: column;

        gap: 5px;
    }


    .project-details strong {
        text-align: left;
    }

}