.l-container {
	width: 100%;
	border-right: 1px solid #d3d5d7;
	padding: 10px;
}
.c-content02 {
	max-width: 600px;
}

.index-titlebox {
	display: flex;
	justify-content: center;
}

.index-logo img {
	width: 620px;
	height: 620px;
	margin-left: 60px;
	margin-bottom: 60px;
}

.im-box {
	width: 510px;
	height: 300px;
	margin: 0;
	margin-top: 40px;
    margin-left: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.file-box {
	min-width: 500px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.file-box a:hover {
   transform: scale(1.1) translateX(10px); /* 1.1배 크기 확장, 오른쪽으로 10px 이동 */
   transition: transform 0.3s ease; /* 변환 효과가 0.3초 동안 부드럽게 진행 */
}

.file-container {
	display: flex;
	justify-content:flex-start;
	align-items:center;
	border-bottom: 1px solid #d3d5d7;
	flex-wrap: wrap; /* 항목이 줄 바꿈 되도록 설정 */
	gap: 6px;
	padding-left: 34px;
}

.file-style {
	display:flex;
	justify-content:center;
	width: 100px;
	max-height:100px;
	border-radius: 8px;
	margin : 28px 14px 28px 14px;
}
.file-style:hover {
	transform: translateY(3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.folder {
	color: #359de9;
}

.file-icon {
	text-align: center;
}

/* 게시판 디자인 */

/* 테이블 스타일 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 14px;
}

table th {
    background-color: #e5e5e5;
    font-weight: bold;
}

table td a {
    color: #007BFF;
    text-decoration: none;
}

table td a:hover {
    text-decoration: underline;
}

/* 페이지 네비게이션 스타일 */
.page-box {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
}

.page ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex-wrap: nowrap;
    justify-content: center;
}

.page li {
    margin: 0 2px;
    transition: all 0.3s ease;
    display: inline-block;
}

.page .page_link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page .page_link_bold {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background: linear-gradient(145deg, #b37d3d, #8F5C0E);
    border: none;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(143, 92, 14, 0.15);
}

.page .page_link:hover {
    background: linear-gradient(145deg, #b37d3d, #8F5C0E);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(143, 92, 14, 0.15);
}

.page .prev a,
.page .next a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    height: 32px;
    color: #222;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(143, 92, 14, 0.15);
    border: none;
    white-space: nowrap;
}

.page .prev a:hover,
.page .next a:hover {
	color: #007BFF;
}

/* 검색 박스 스타일 */
.search-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 34px;
    justify-content: center;
    align-items: center;
    margin-top: 26px;
}

.search-box select,
.search-box input[type="text"] {
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    margin-left: 10px;
}

.search-box input[type="submit"] {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.search-box input[type="submit"]:hover {
    background-color: #0056b3;
}


.search-box form {
    display: flex;
    align-items: center;
    background: #e3eaf3;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border: 1px solid #d1d1d1;
}

.search-box input[type="text"] {
    outline: none;
    padding: 10px 22px 10px 32px;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    background: #fff url('data:image/svg+xml;utf8,<svg fill="gray" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>') no-repeat 8px center;
    width: 282px;
    transition: box-shadow 0.2s;
}

.search-box input[type="text"]:focus {
    box-shadow: 0 0 0 2px #b0c4de;
}

.search-box input[type="button"] {
    background: #7d8fa9;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 8px 28px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: 8px;
    margin-right: 10px;
}

.search-box input[type="button"]:hover {
    background: #5a6d8a;
}

.calendar {
	width: 510px;
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	padding: 12px;
	margin: 0;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 12px;
}
.calendar-today-btn {
  background: #359de9;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.95em;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.2s;
}
.calendar-today-btn:hover {
  background: #2176b6;
}
.calendar-weekdays, .calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}
.calendar-weekdays span {
  font-weight: bold;
  color: #359de9;
  margin-bottom: 1px;
  padding: 1px 0;
  font-size: 0.95em;
}
.calendar-dates span {
  padding: 5px 0;
  border-radius: 6px;
  margin: 1px 0;
  transition: background 0.2s;
  font-size: 1.05em;
  background: #f7f9fa;
}
.calendar-dates span.today {
  background: #359de9;
  color: #fff;
  font-weight: bold;
}

/* 캘린더 */
.calendar-prev-btn,
    .calendar-next-btn {
        background: #e3eaf3;
        color: #333;
        border: none;
        border-radius: 6px;
        padding: 4px 12px;
        font-size: 1.1em;
        cursor: pointer;
        margin: 0 4px;
        transition: background 0.2s, color 0.2s;
        display: flex;
    	justify-content: center;
    	align-items: center;
    }

    .calendar-prev-btn:hover,
    .calendar-next-btn:hover {
        background: #359de9;
        color: #fff;
    }

    .calendar-header > span {
        flex: 1;
        text-align: center;
        font-size: 1.1em;
    }

    .calendar {
        width: 510px;
    	height: 340px;
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        padding: 14px;
        margin: 0;
        padding-top: 24px;
    }

    .calendar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: bold;
        font-size: 1.2em;
        margin-bottom: 24px;
    }

    .calendar-today-btn {
        background: #359de9;
        color: #fff;
        border: none;
        border-radius: 6px;
        padding: 4px 12px;
        font-size: 0.95em;
        cursor: pointer;
        margin-left: 8px;
        transition: background 0.2s;
    }

    .calendar-today-btn:hover {
        background: #2176b6;
    }

    .calendar-weekdays, .calendar-dates {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        text-align: center;
        margin-bottom: 16px;
    }

    .calendar-weekdays span {
        font-weight: bold;
        color: #359de9;
        margin-bottom: 1px;
        padding: 1px 0;
        font-size: 0.95em;
    }

    .calendar-dates span {
        padding: 5px 0;
        border-radius: 6px;
        margin: 1px 0;
        transition: background 0.2s, color 0.2s;
        font-size: 1.05em;
        background: #f7f9fa;
        cursor: pointer;
        position: relative;
        height: 32px;
   		display: flex;
    	justify-content: center;
    	align-items: center;
    }

    .calendar-dates span.has-memo::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 4px;
        background-color: #359de9;
        border-radius: 50%;
    }

    .calendar-dates span.today.has-memo::after {
        background-color: #fff;
    }

    .calendar-dates span:hover {
        background: #359de9;
        color: #fff;
    }

    .calendar-dates span.today {
        background: #359de9;
        color: #fff;
        font-weight: bold;
    }

    .calendar-dates span.today:hover {
        background: #2176b6;
    }

    /* 팝업창 스타일 */
    .date-popup {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(0.5px);
    }

    .date-popup-drag-area {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 15px;
        cursor: move;
        user-select: none;
    }

    .date-popup-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 0 15px 0;
        margin: 0 0 15px 0;
        user-select: none;
    }

    .date-popup-title {
        font-size: 1.4em;
        font-weight: 600;
        color: #2c3e50;
        margin: 0;
        padding: 0;
        flex: 1;
        text-align: center;
    }

    .date-popup-content {
        background-color: #fff;
        margin: 8% auto;
        padding: 35px;
        border-radius: 15px;
        width: 500px;
        position: relative;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        animation: popupFadeIn 0.3s ease-out;
    }

    @keyframes popupFadeIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .date-popup-close {
        position: absolute;
        right: 20px;
        top: 15px;
        width: 32px;
        height: 32px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #f0f4f8;
        border: none;
        outline: none;
        padding: 0;
        z-index: 1;
    }

    .date-popup-close:focus {
        outline: none;
    }

    .date-popup-close::before,
    .date-popup-close::after {
        content: '';
        position: absolute;
        width: 14px;
        height: 2px;
        background-color: #666;
        transition: all 0.3s ease;
    }

    .date-popup-close::before {
        transform: rotate(45deg);
    }

    .date-popup-close::after {
        transform: rotate(-45deg);
    }

    .date-popup-close:hover {
        background-color: #359de9;
        transform: rotate(90deg);
    }

    .date-popup-close:hover::before,
    .date-popup-close:hover::after {
        background-color: #fff;
    }

    .date-popup-body {
        padding: 0;
    }

    .popup-content {
        background: #fff;
        border-radius: 10px;
        padding: 0 15px;
    }

    .comment-input {
        width: 100%;
        min-height: 150px;
        padding: 15px;
        border: 2px solid #e0e4e8;
        border-radius: 10px;
        font-size: 1.1em;
        line-height: 1.5;
        resize: none;
        transition: all 0.3s ease;
        margin-bottom: 20px;
        box-sizing: border-box;
    }

    .comment-input:focus {
        outline: none;
        border-color: #359de9;
        box-shadow: 0 0 0 3px rgba(53, 157, 233, 0.1);
    }

    .submit-group {
        text-align: right;
    }

    .submit-button {
        background: #359de9;
        color: #fff;
        border: none;
        padding: 10px 24px;
        border-radius: 6px;
        font-size: 0.95em;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        letter-spacing: 0.5px;
    }

    .submit-button:hover {
        background: #2176b6;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(53, 157, 233, 0.2);
    }

    .popup-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        margin-top: 15px;
        border-radius: 10px;
        overflow: hidden;
    }

    .popup-table th,
    .popup-table td {
        padding: 15px;
        border: none;
        text-align: left;
        border-bottom: 1px solid #f0f4f8;
    }

    .popup-table th {
        background-color: #f8fafc;
        font-weight: 600;
        color: #2c3e50;
    }

    .popup-table tr:last-child td {
        border-bottom: none;
    }

    .popup-table tr:nth-child(even) {
        background-color: #f8fafc;
    }

    .popup-table tr:hover {
        background-color: #f0f4f8;
    }
    
    .month-box {
	    height: 30px;
	    display: flex;
	    justify-content: center;
	    align-items: center;
    }