.employee-detail-left-container {
    border-right: 1px solid var(--grayscale-200);
    padding-right: 25px;
}

.employee-detail-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.employee-detail-sub-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

#add-note-btn {
    width: 90%;
    height: 50px;
}

.employee-detail-right-container {
    padding: .5rem 20px 0 51px;
    font-size: 14px;
}

.employee-detail-task-item {
    display: flex;
    align-items: start;
    font-size: 14px;
    border-bottom: 1px solid var(--grayscale-200);
}

.employee-detail-task-item p {
    font-weight: 500;
}

.employee-detail-task-item-date p {
    padding: 4px;
    background-color: var(--white-950);
    color: var(--grayscale-500);
    border-radius: 3px;
    font-size: 14px;
}

.checkbox-task {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 6px;
    border: 1px solid var(--grayscale-400);
}

.view-employee-task {
    padding: 2px 11px;
    font-weight: 500;
    font-size: 14px;
    background-color: var(--white-100);
    color: var(--grayscale-500);
}

.employee-detail-document {
    display: flex;
    padding: 16px 0;
    border-bottom: 1px solid var(--grayscale-200);
    gap: 12px;
}

.employee-detail-document p {
    margin: 0;
}

.employee-detail-document-label {
    border-radius: 5px;
    padding: 8px 16px;
    line-height: 16px;
    font-size: 14px;
    height: 32px;
    text-align: center;
}

.employee-detail-document-label.contract {
    background-color: rgba(255, 128, 48, 0.2);
    color: var(--main);
}

.employee-detail-document-label.policy {
    background-color: rgba(30, 136, 229, 0.1);
    color: var(--blue-900);
}

#upload-employee-document {
    height: 50px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.attach-note-file-label {
    padding: 12px 0;
    border: 1px solid #E9EAEC;
    background-color: var(--white-100);
    border-radius: 10px;
    padding-left: 20px;
    display: flex;
    gap: 10px;
}

.employee-detail-left-container .employee-name {
    font-size: 30px;
    font-weight: 800;
}

.employee-detail-section .arrow-icon,
.employee-detail-sub-section .arrow-icon {
    transform: rotate(180deg);
}

.employee-detail-sub-section.collapsed .arrow-icon,
.employee-detail-section.collapsed .arrow-icon {
    transform: rotate(360deg);
}

.employee-detail-section {
    border-bottom-color: #E5E5E5 !important;
}

@media screen and (max-width: 1199px) {
    .employee-detail-left-container {
        padding: 0 !important;
        border-right: none;
    }

    .employee-detail-right-container {
        padding: .5rem 0 0;
    }
}

/* Note tabs styling */
.notes-tab {
    color: #687588;
    padding-bottom: 10px;
    position: relative;
}

.notes-tab.active {
    color: #FF8030;
    font-weight: 600;
}

.notes-tab.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FF8030;
}

/* Note item styling */
.note-item {
    background-color: #fff;
}

.note-item .collapse {
    background-color: #fff;
    padding: 16px;
}

.note-item .note-content {
    color: #1A1A1A;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.note-item .actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.note-item .view-file {
    color: #1A1A1A;
    text-decoration: underline;
    font-size: 14px;
}

.archive-note-btn {
    background: none;
    border: none;
    color: #4355FF;
    font-size: 14px;
    padding: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

.archive-note-btn:hover {
    color: #2E3BB2;
}

/* Note header styling */
.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #E5E5E5;
    cursor: pointer;
}

.note-header .note-title {
    font-weight: 500;
    color: #1A1A1A;
    margin: 0;
}

.note-header .arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.note-header.collapsed .arrow-icon {
    transform: rotate(180deg);
}

/* Note styling */
.collapse {
    background: #fff;
}

.note-content-wrapper {
    padding: 10px 0;
    color: #1A1A1A;
    font-size: 14px;
    line-height: 1.5;
}

.archive-link {
    color: #4355FF;
    text-decoration: underline;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    margin-left: auto;
}

.archive-link:hover {
    color: #2E3BB2;
}

.archive-link svg {
    stroke: currentColor;
}
