.project-management-container {
    margin: auto;
    width: 100%;
    max-width: 1400px; /* Max width of the entire component */
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-sizing: border-box; /* Include padding in width calculation */
}

/* Header Section */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.page-title {
    font-size: 1.8em;
    color: #333;
    margin: 0;
}

.add-project-button {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95em;
    color: #555;
    transition: background-color 0.2s, border-color 0.2s;
}

.add-project-button:hover {
    background-color: #f0f0f0;
    border-color: #b0b0b0;
}

/* Navigation Tabs */
.project-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 25px;
}

.tab-button {
    background-color: transparent;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 1.05em;
    color: #888;
    position: relative;
    outline: none;
    transition: color 0.2s;
}

.tab-button.active {
    color: #333;
    font-weight: bold;
}

.tab-button.active::after {
    content: "";
    position: absolute;
    bottom: -1px; /* Overlap with the border below */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #333; /* Underline color */
    border-radius: 2px;
}

.tab-button:not(.active):hover {
    color: #555;
}

/* Project List Section */
.project-list-section {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between project cards */
}

.project-card {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 20px;
    background-color: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s;
}

.project-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project-thumbnail.placeholder {
    width: 80px;
    height: 80px;
    background-color: #f0f0f0; /* Grey placeholder */
    border-radius: 4px;
    flex-shrink: 0; /* Prevent it from shrinking */
    margin-right: 20px;
}

.project-details {
    flex-grow: 1; /* Allows details to take available space */
}

.project-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin: 0 0 5px 0;
}

.project-location,
.project-status,
.project-request-date {
    font-size: 0.9em;
    color: #777;
    margin: 3px 0;
}

.detail-button {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    color: #555;
    transition: background-color 0.2s, border-color 0.2s;
    flex-shrink: 0; /* Prevent it from shrinking */
    margin-left: 20px; /* Space from project details */
}

.detail-button:hover {
    background-color: #f0f0f0;
    border-color: #b0b0b0;
}

.flex-full-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-full-between h2 {
    display: flex;
    justify-content: end;
    font-size: 20px;
    padding: 20px 0;
}

.flex-full-between > div {
    width: 50%;
}

.phone-mockup {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    width: 100%;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    margin-bottom: 20px;
}

.status-bar .time {
    font-weight: bold;
}

.status-bar .icons {
    display: flex;
    gap: 5px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    margin-bottom: 20px;
}

.calendar-header .month-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.calendar-header .month-nav .arrow {
    cursor: pointer;
    font-size: 2rem;
    color: #444;
    user-select: none;
    padding: 0 5px;
}

.calendar-header .today-button,
.calendar-header .month-nav .month {
    font-size: 1.6rem;
    font-weight: bold;
}

.calendar-header .today-button {
    cursor: pointer;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 1rem;
    padding: 0 10px;
}

.day-of-week {
    font-weight: 500;
    color: #888;
    padding-bottom: 15px;
}

.day-cell {
    position: relative;
    padding: 15px 0;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    user-select: none;
    box-sizing: border-box;
}

.day-cell span {
}

.day-cell.today {
    /* 오늘 날짜 표시 */
    color: #0d8f8c;
    font-weight: bold;
}

.day-cell.selected span {
    background-color: rgba(17, 167, 164, 0.3);
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.day-cell.has-schedule::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background-color: #333;
    border-radius: 50%;
}

.day-cell.selected.has-schedule::after {
    /* 선택된 날짜의 스케줄 점 색상 변경 */
    background-color: #0d8f8c;
}

.day-cell.other-month {
    color: #ccc;
}

.add {
    cursor: pointer;
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 5px #333;
    background-color: white;
}

/* 팝업 오버레이 (배경) */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    visibility: hidden; /* 기본적으로 숨김 */
    opacity: 0;
    transition: visibility 0s, opacity 0.3s;
}

.popup-overlay.visible {
    visibility: visible; /* 보일 때 */
    opacity: 1;
}

/* 팝업 창 */
.popup {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    width: 300px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.popup-overlay.visible .popup {
    transform: scale(1);
}

.popup h2 {
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    color: #333;
}

.popup form label {
    display: block;
    font-size: 0.9em;
    font-weight: 500;
    color: #555;
    margin-top: 15px;
    margin-bottom: 5px;
}

.popup form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

.popup form button {
    width: 100%;
    padding: 12px;
    margin-top: 25px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    background-color: #0d8f8c; /* 이미지 색상과 유사하게 */
    color: #fff;
    border: none;
    cursor: pointer;
}

.popup .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
}

/* 스타일 파일 (예: style.css)에 추가 */
.options-button {
    position: relative; /* 자식 요소의 absolute 위치를 위한 기준점 */
}

.options-menu {
    position: absolute;
    top: 20px; /* 버튼 아래로 배치 */
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 80px;
}

.options-menu.hidden {
    display: none;
}

.options-menu button {
    padding: 8px;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s;
    font-size: 14px;
}

.options-menu button:hover {
    background-color: #f0f0f0;
}

.popup .close-btn:hover {
    color: #555;
}

.schedule-list {
    margin-top: 30px;
    padding: 0 10px;
    overflow-y: auto;
    padding-bottom: 50px;
}

.schedule-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

/* '+' 버튼 컨테이너 */
.add-button-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px; /* 스케줄 목록과의 간격 */
}

/* '+' 버튼 */
.add-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #0d8f8c; /* 팝업 등록 버튼과 동일한 색상 */
    color: #fff;
    font-weight: 300;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(17, 167, 164, 0.3);
    user-select: none; /* 텍스트 선택 방지 */
    transition: transform 0.2s;
}

.add-button:active {
    transform: scale(0.95);
}

.schedule-item .time-indicator {
    position: relative;
    padding-left: 20px;
}

.schedule-item .time-indicator::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 7px;
    height: 7px;
    background-color: #333;
    border-radius: 50%;
}

.schedule-item .time {
    font-weight: 500;
    color: #555;
    min-width: 60px;
}

.schedule-item .details {
    flex-grow: 1;
    margin-left: 15px;
}

.schedule-item .details .title {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 5px;
}

.schedule-item .details .description {
    color: #888;
    font-size: 0.9rem;
}

.schedule-item .options-button {
    color: #ccc;
    font-size: 1.5rem;
    cursor: pointer;
}
