
.no-history {
    text-align: center;
    padding: 100px 20px;
    color: #999;
    font-size: 1.1rem;
}

.history-timeline { border-top:solid 1px #111;  position: relative;   margin: 100px auto;}

/* 연도별 그룹 스타일 */
.year-group { width:100%; display: flex; gap: 100px;  padding:30px 0px; border-bottom:solid 1px #bfbfbf; }
.year-header { flex-shrink: 0; /* 크기 줄어들지 않게 고정 */ text-align: center; position: relative; }
.year-title { font-size: 2.5rem; font-weight: 800; color: #111; line-height:1em;}
.year-content {  width:100%; display:flex; flex-direction:column; gap:10px;}

.history-item {position: relative; width:100%;  transition: all 0.3s ease; word-break:keep-all;}
.history-item:hover{background-color:#f8f8f8;}
.history-content {color:#333; font-size:18px; font-weight:400;}

.admin-mode .history-item:hover .history-content{color:#3aa3cf;}

/* 모바일 반응형 */
@media (max-width: 1279px) {
	.year-group {  gap: 50px; }
}

@media (max-width: 639px) {
	.year-group {  gap: 20px; }
}

@media (max-width: 479px) {

	.year-group{flex-direction:column; gap:10px;}
	.year-header{width:100%; text-align:left;}

}

/*
@media (max-width: 639px) {
	
	.year-group{flex-direction:column; }
	.year-header{width:100%; text-align:left;}

}


@media (max-width: 589px) {
	.year-group {display:block;}
	.year-header{width:100%; text-align:center; padding:20px 0px 15px 0px; }

}
*/


		/*
	.year-header { width: 130px; }
    .year-title { font-size: 30px;}
    
    .history-item { padding: 8px 20px;  }
   
    .order-controls,
    .edit-controls {
        flex-direction: row;
    }
	*/




/* 관리자 컨트롤 */
.history-admin-controls {
    position: absolute;
    top: 0px;
    right: 15px;
    z-index: 10;
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-mode .history-item:hover .history-admin-controls {
    opacity: 1;
}

.order-controls,
.edit-controls {
    display: flex;
    gap: 3px;
 
    border-radius: 6px;

}

.history-admin-controls i{font-size:18px}
.history-admin-controls button {
    background: rgba(0, 0, 0, 0.6);
    color: #00bfff;
    border: none;
    padding: 9px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    min-width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-admin-controls button:hover {
    background: #111;
}








/* 토스트 알림 스타일 */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 191, 255, 0.9);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.toast-success {
    background: rgba(40, 167, 69, 0.9);
}

/* 반응형 */
@media (max-width: 768px) {
    .history-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .admin-toolbar {
        padding: 15px;
    }
}