.diaryDescWrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}
.left {
    display: flex;
    flex-direction: column;
    gap: 5px; /* 각 항목 간 간격 */
}

.right {
    text-align: center;
}

.right div:first-child {
    font-size: 15px;
    font-weight: 300;
}

.right .days {
    font-size: 26px; /* "243일" 텍스트 더 크게 */
    font-weight: bold;
    color: #333; /* 색상 설정 */
}

/* 달력 조정 */
#calendar {
    height: 500px;
    width: 100%;
    background-color: #ffffff; /* 달력 배경색 (2톤 밝게) */
    border: 1px solid #e0e0e0; /* 달력 테두리 */
    border-radius: 10px; /* 달력 둥근 모서리 */
    padding: 10px; /* 내부 여백 */
}

.fc {
    color: black; /* 캘린더 전체 텍스트를 검은색으로 */
}

.fc-toolbar-title {
    font-weight: bold; /* 타이틀 폰트 강조 */
}

.fc-daygrid-day-number {
    color: black; /* 날짜 숫자 검은색 */
}
.fc-prev-button, .fc-next-button {
    margin: 0 5px !important;  /* 버튼 간격 추가 */
    padding: 5px 10px !important; /* 버튼 내부 간격 */
    border-radius: 5px !important; /* 버튼 둥글게 */
    background-color: #2dbd83 !important;
    border: none !important;
}

/* 요일 기본 스타일 */
.fc .fc-col-header-cell {
    color: #2dbd83 !important; /* 요일 글씨 색상 */
    font-weight: bold !important; /* 굵게 표시 */
    text-decoration: none !important; /* 밑줄 제거 */
}
.fc .fc-col-header-cell a {
    color: unset;
}

/* 마우스 호버 시 요일 스타일 */
.fc .fc-col-header-cell:hover {
    color: #2dbd83; /* 호버 시 동일한 색상 유지 */
    text-decoration: none; /* 밑줄 제거 */
    cursor: default; /* 클릭 불가능한 스타일 */
}

.fc-daygrid-day-number {
    text-decoration: none; /* 밑줄 제거 */
}

.fc-daygrid-day-number:hover {
    font-weight: bold; /* 마우스 호버 시에도 동일한 색상 유지 */
    text-decoration: none; /* 밑줄 제거 */
}

.fc table {
    font-size: 0.8rem;
}

.fc-daygrid-day {
    height: 40px !important;  /* 기본보다 낮게 설정 */
}

/* 오늘 날짜 스타일 */
.fc-day-today {
    background-color: #2dbd83 !important; /* 동그라미 배경색 */
    color: white !important; /* 오늘 날짜 글씨 색상 */
}

/* 오늘 날짜에 마우스를 올려도 배경색/글씨색 변화 없음 */
.fc-day-today:hover {
    background-color: #2dbd83 !important;
    color: white !important;
}

.event-summary {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.date-info {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.event-content {
    font-size: 16px;
    color: #555;
}

.detailed-view {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 80%;
    background-color: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    transition: bottom 0.3s ease;
    overflow-y: auto;
    z-index: 10;
    padding: 20px;
}

.detailed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.detailed-header h3 {
    font-size: 20px;
    margin: 0;
}

.detailed-header button {
    padding: 5px 10px;
    background-color: #2dbd83;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.detailed-content {
    font-size: 16px;
    color: #333;
}

/* 이벤트 아이콘 스타일 */
.event-icon {
    font-size: 18px;
    margin-right: 5px;
    vertical-align: middle;
}

.fc-h-event {
    background-color:  transparent !important;
    border: none !important;
}

/* *********************************** 다이어리 입력창 *********************************** */
/* 이미지 미리보기 스타일 */
#imagePreview {
    display: flex;
    gap: 20px; /* 이미지 간격 */
    flex-wrap: wrap; /* 줄바꿈 지원 */
}

#imagePreview .preview-container {
    position: relative;
    width: 50px;
    height: 50px;
    max-width: 90%; /* 미리보기 영역의 최대 너비 */
}

#imagePreview img {
    width: 50px; /* 미리보기 이미지 크기 */
    height: 50px;
    object-fit: contain;
    border: 1px solid #ddd; /* 테두리 */
    border-radius: 5px;
}

#imagePreview .remove-btn {
    position: absolute;
    top: -1px;
    right: -8px;
    background: #ff4d4f; /* 조금 더 부드러운 빨간색 */
    color: white;
    border: none;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 이미지 첨부 버튼 */
.album-icon {
    display: inline-block;
    font-size: 2rem; /* 아이콘 크기 */
    color: #6c757d;
    cursor: pointer;
    transition: color 0.3s ease;
}

.album-icon:hover {
    color: #2dbd83; /* 호버 시 색상 변경 */
}

/* 버튼 스타일 */
.btn-secondary {
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
}

.form-control.d-none {
    display: none;
}

.radio-buttons {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* 한 줄에 3개씩 */
    max-width: 100% !important;
    width: auto;
    padding: 10px;
    margin: 0 auto !important;
    gap: 30px;
}

/* 라디오 버튼 숨기기 */
.radio-buttons input[type="radio"] {
    display: none; /* 기본 라디오 버튼 숨김 */
}

/* 라디오 버튼의 레이블을 버튼처럼 스타일링 */
/*.radio-buttons .radio-label {*/
/*    display: inline-block;*/
/*    padding: 3px 6px;*/
/*    font-size: 14px;*/
/*    border: 2px solid #ddd;*/
/*    border-radius: 8px;*/
/*    background-color: #f8f9fa;*/
/*    color: #6c757d;*/
/*    cursor: pointer;*/
/*    transition: all 0.3s ease;*/
/*    margin-right: 10px; !* 버튼 간 간격 *!*/
/*}*/

/* 라디오 버튼이 선택된 상태에서의 스타일 */
.radio-buttons input[type="radio"]:checked + .radio-box {
    background-color: #2dbd83; /* 선택된 버튼 배경색 */
    color: white; /* 선택된 버튼 텍스트 색상 */
    border-color: #2dbd83; /* 선택된 버튼 테두리 색상 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 약간의 그림자 */
}

/* 호버 상태 스타일 */
.radio-buttons .radio-label:hover {
    background-color: #e9ecef;
    border-color: #ccc;
}

.radio-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    width: 80px;
    transition: 0.3s;
    text-align: center;
    font-size: 14px;
}

.radio-box img {
    width: 36px;
    height: 36px;
    margin-bottom: 5px;
}

/* 날짜와 요일 표시 스타일 */
.date-display {
    font-size: 1rem;
    font-weight: bold;
    color: #6c757d;
}

#content {
    resize: none;
}