/* 대시보드 - Windows 파일 탐색기 스타일 */

body {
    margin: 0;
    padding: 0;
    background: #f0f0f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    overflow: hidden;
}

.file-explorer {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: #ffffff;
    border: 1px solid #8b8b8b;
}

/* 타이틀바 */
.titlebar {
    height: 30px;
    background: linear-gradient(to bottom, #0054e3, #0046d5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    user-select: none;
}

.titlebar-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.app-icon {
    width: 16px;
    height: 16px;
}

.app-title {
    color: white;
    font-size: 12px;
}

.titlebar-right {
    display: flex;
}

.titlebar-btn {
    width: 45px;
    height: 29px;
    border: none;
    background: transparent;
    color: white;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.titlebar-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.titlebar-btn.close:hover {
    background: #e81123;
}

/* 메뉴바 */
.menubar {
    height: 32px;
    background: #f0f0f0;
    border-bottom: 1px solid #d1d1d1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.menubar-left {
    display: flex;
    align-items: center;
}

.menubar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info {
    color: #333;
    font-size: 11px;
}

/* 툴바 */
.toolbar {
    height: 40px;
    background: linear-gradient(to bottom, #ffffff, #f0f0f0);
    border-bottom: 1px solid #d1d1d1;
    display: flex;
    align-items: center;
    padding: 0 5px;
    gap: 5px;
}

.toolbar-group {
    display: flex;
    align-items: center;
    border-right: 1px solid #d1d1d1;
    padding-right: 5px;
    margin-right: 5px;
}

.toolbar-group:last-child {
    border-right: none;
}

.toolbar-group.flex-grow {
    flex: 1;
}

.toolbar-btn {
    width: 30px;
    height: 30px;
    background: linear-gradient(to bottom, #ffffff, #f0f0f0);
    border: 1px solid #d1d1d1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.toolbar-btn:hover:not(:disabled) {
    background: linear-gradient(to bottom, #e1f3fb, #c2e4f7);
    border-color: #70c0e7;
}

.toolbar-btn:active:not(:disabled) {
    background: linear-gradient(to bottom, #c2e4f7, #a9d7f2);
}

.toolbar-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 주소바 */
.address-bar {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 5px;
}

.address-label {
    font-size: 12px;
    color: #333;
}

.address-input {
    flex: 1;
    height: 24px;
    padding: 0 5px;
    border: 1px solid #7f9db9;
    background: white;
    font-size: 11px;
}

.address-go {
    padding: 2px 10px;
    height: 24px;
    background: linear-gradient(to bottom, #ffffff, #e1e1e1);
    border: 1px solid #adadad;
    cursor: pointer;
    font-size: 11px;
}

/* 검색 박스 */
.search-box {
    display: flex;
    align-items: center;
}

.search-input {
    width: 150px;
    height: 24px;
    padding: 0 5px;
    border: 1px solid #7f9db9;
    background: white;
    font-size: 11px;
}

.search-btn {
    width: 24px;
    height: 24px;
    background: linear-gradient(to bottom, #ffffff, #e1e1e1);
    border: 1px solid #adadad;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
}

/* 메인 컨텐츠 */
.explorer-content {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* 사이드바 */
.sidebar {
    width: 250px;
    min-width: 150px;
    max-width: 600px;
    background: #f7f7f7;
    border-right: 1px solid #d1d1d1;
    overflow-y: auto;
    position: relative;
    flex-shrink: 0;
}

/* 사이드바 리사이저 */
.sidebar-resizer {
    width: 4px;
    background: #d1d1d1;
    cursor: col-resize;
    flex-shrink: 0;
    position: relative;
    transition: background 0.2s;
}

.sidebar-resizer:hover {
    background: #0078d4;
}

.sidebar-resizer.resizing {
    background: #0078d4;
}

/* 리사이징 중 선택 방지 */
body.resizing {
    cursor: col-resize !important;
    user-select: none !important;
}

.sidebar-header {
    padding: 5px 10px;
    background: #e7e7e7;
    border-bottom: 1px solid #d1d1d1;
    font-weight: 600;
    font-size: 11px;
}

/* 폴더 트리 */
.folder-tree {
    padding: 5px;
    font-size: 11px;
}

.tree-item {
    display: flex;
    align-items: center;
    padding: 2px 5px;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    gap: 3px;
}

.tree-item:hover {
    background: #e1f3fb;
}

.tree-item.selected {
    background: #cce8ff;
}

.tree-children {
    padding-left: 20px;
}

.tree-expand {
    cursor: pointer;
    user-select: none;
    display: inline-block;
    width: 12px;
    text-align: center;
    flex-shrink: 0;
    font-size: 10px;
}

.tree-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.tree-label {
    color: #000;
    flex-grow: 1;
}

/* 파일 목록 */
.file-list-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.list-header {
    background: #f0f0f0;
    border-bottom: 1px solid #d1d1d1;
}

.column-headers {
    display: grid;
    grid-template-columns: 2fr 100px 100px 120px;
    height: 24px;
    align-items: center;
    font-size: 11px;
}

.column-header {
    padding: 0 10px;
    border-right: 1px solid #d1d1d1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.column-header:hover {
    background: #e1e1e1;
}

.column-header.active {
    background: #d1d1d1;
}

.sort-icon {
    font-size: 8px;
    margin-left: 5px;
}

/* 파일 목록 */
.file-list {
    flex: 1;
    overflow-y: auto;
    padding: 5px;
}

.file-item {
    display: grid;
    grid-template-columns: 30px 2fr 100px 100px 120px;
    align-items: center;
    padding: 3px 5px;
    cursor: pointer;
    font-size: 11px;
    border: 1px solid transparent;
}

.file-item:hover {
    background: #f0f7ff;
    border-color: #b3d9ff;
}

.file-item.selected {
    background: #cce8ff;
    border-color: #99ccff;
}

.file-icon {
    font-size: 16px;
    text-align: center;
}

.file-name {
    padding: 0 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size,
.file-type,
.file-date {
    padding: 0 5px;
    color: #666;
}

/* 폴더 그룹 헤더 */
.folder-group-header {
    grid-column: 1 / -1;
    padding: 8px 10px;
    background: #e7e7e7;
    border-bottom: 1px solid #d1d1d1;
    font-weight: 600;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.folder-group-header:first-child {
    margin-top: 0;
}

/* 빈 메시지 */
.empty-message {
    padding: 50px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* 상태바 */
.statusbar {
    height: 22px;
    background: #f0f0f0;
    border-top: 1px solid #d1d1d1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    font-size: 11px;
}

.status-left,
.status-right {
    display: flex;
    gap: 20px;
}

/* 스크롤바 스타일 */
::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border: 1px solid #d1d1d1;
}

::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border: 1px solid #a0a0a0;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

::-webkit-scrollbar-button {
    background: linear-gradient(to bottom, #ffffff, #e1e1e1);
    border: 1px solid #adadad;
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-button:hover {
    background: linear-gradient(to bottom, #f0f0f0, #d0d0d0);
}

/* 모달 스타일 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-modal-backdrop, 9998);
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #f0f0f0;
    border: 1px solid #0054e3;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    width: 400px;
    max-width: 90%;
}

.modal-header {
    height: 30px;
    background: linear-gradient(to bottom, #0054e3, #0046d5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.modal-close {
    width: 30px;
    height: 28px;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 20px;
    background: white;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    color: #333;
}

.form-group input {
    width: 100%;
    height: 26px;
    padding: 0 5px;
    border: 1px solid #7f9db9;
    font-size: 12px;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #0054e3;
}

.form-group input[readonly] {
    background: #f0f0f0;
    color: #666;
}

.password-requirements {
    font-size: 11px;
    color: #666;
    margin-top: 5px;
    padding: 5px;
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
}

.modal-footer {
    padding: 15px 20px;
    background: #f0f0f0;
    border-top: 1px solid #d1d1d1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-primary {
    padding: 5px 20px;
    background: linear-gradient(to bottom, #0054e3, #0046d5);
    color: white;
    border: 1px solid #003d9e;
    cursor: pointer;
    font-size: 12px;
}

.btn-primary:hover {
    background: linear-gradient(to bottom, #0066ff, #0054e3);
}

.btn-secondary {
    padding: 5px 20px;
    background: linear-gradient(to bottom, #ffffff, #e1e1e1);
    color: #333;
    border: 1px solid #adadad;
    cursor: pointer;
    font-size: 12px;
}

.btn-secondary:hover {
    background: linear-gradient(to bottom, #f0f0f0, #d0d0d0);
}

.info-change-link {
    color: #0054e3;
    text-decoration: none;
    font-size: 11px;
    margin-left: 10px;
    cursor: pointer;
}

.info-change-link:hover {
    text-decoration: underline;
}

/* 세션 타이머 */
.session-timer-container {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 15px;
    padding: 3px 8px;
    background: #e8f4fd;
    border-radius: 4px;
    font-size: 11px;
}

.session-timer-icon {
    font-size: 12px;
}

#sessionTimer {
    font-weight: 600;
    color: #0054e3;
    min-width: 45px;
}

#sessionTimer.warning {
    color: #e65100;
}

#sessionTimer.danger {
    color: #c62828;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.btn-extend-session {
    padding: 2px 8px;
    background: #0054e3;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-extend-session:hover {
    background: #0046d5;
}

.btn-extend-session:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* ==================== 탭 바 스타일 ==================== */
.tab-bar {
    display: flex;
    background: #e8e8e8;
    border-bottom: 1px solid #d1d1d1;
    padding: 0 10px;
    gap: 2px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f5f5f5;
    border: 1px solid #d1d1d1;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    font-size: 12px;
    color: #666;
    margin-bottom: -1px;
    transition: all 0.2s;
}

.tab-btn:hover {
    background: #fff;
    color: #333;
}

.tab-btn.active {
    background: #fff;
    color: #0054e3;
    font-weight: 600;
    border-bottom: 1px solid #fff;
}

.tab-icon {
    font-size: 14px;
}

.tab-label {
    font-size: 12px;
}

/* 탭 컨텐츠 */
.tab-content {
    display: none;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.tab-content.active {
    display: flex;
}

/* ==================== 학생 관리 탭 스타일 ==================== */
.student-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 8px 15px;
}

.btn-refresh-students {
    padding: 6px 12px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-refresh-students:hover {
    background: #e0e0e0;
    border-color: #999;
}

.student-search-box {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #7f9db9;
    border-radius: 3px;
    overflow: hidden;
    width: 250px;
}

.student-search-box .search-input {
    border: none;
    padding: 5px 10px;
    font-size: 12px;
    flex: 1;
    outline: none;
}

.student-search-box .search-btn {
    background: none;
    border: none;
    padding: 5px 8px;
    cursor: pointer;
}

.student-count-info {
    font-size: 12px;
    color: #666;
    padding: 0 10px;
}

.student-count-info strong {
    color: #0054e3;
    font-weight: 600;
}

/* 학생 리스트 컨테이너 */
.student-list-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    overflow: hidden;
}

.student-list-header {
    display: flex;
    background: #f8f8f8;
    border-bottom: 1px solid #d1d1d1;
    font-weight: 600;
    font-size: 12px;
    color: #333;
}

.student-col {
    padding: 10px 12px;
    border-right: 1px solid #e0e0e0;
}

.student-col:last-child {
    border-right: none;
}

.col-name {
    flex: 2;
    min-width: 150px;
}

.col-code {
    flex: 1.5;
    min-width: 120px;
}

.col-worksheets {
    flex: 1;
    min-width: 100px;
    text-align: center;
}

.col-recent {
    flex: 1.5;
    min-width: 120px;
}

.col-actions {
    width: 100px;
    text-align: center;
}

/* 학생 리스트 */
.student-list {
    flex: 1;
    overflow-y: auto;
}

.student-row {
    display: flex;
    border-bottom: 1px solid #eee;
    transition: background 0.15s;
    cursor: default;
}

.student-row:hover {
    background: #f5f8ff;
}

.student-row .student-col {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #333;
}

.student-row .col-name {
    font-weight: 500;
}

.student-row .col-code {
    color: #666;
    font-family: monospace;
}

.student-row .col-worksheets {
    justify-content: center;
}

.student-row .col-worksheets .count-badge {
    background: #e3f2fd;
    color: #1565c0;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 11px;
}

.student-row .col-recent {
    color: #888;
    font-size: 11px;
}

.student-row .col-actions {
    justify-content: center;
    gap: 5px;
}

.student-row .btn-action {
    padding: 4px 10px;
    background: #0054e3;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s;
}

.student-row .btn-action:hover {
    background: #0046d5;
}

.student-row .btn-action.btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #d1d1d1;
}

.student-row .btn-action.btn-secondary:hover {
    background: #e0e0e0;
}

/* 학생 로딩/빈 상태 */
.student-loading,
.student-empty {
    padding: 40px 20px;
    text-align: center;
    color: #888;
    font-size: 13px;
}

.student-empty .empty-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

/* 페이지네이션 */
.student-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 5px;
    border-top: 1px solid #e0e0e0;
    background: #f8f8f8;
}

.student-pagination .page-btn {
    min-width: 32px;
    height: 28px;
    padding: 0 8px;
    background: white;
    border: 1px solid #d1d1d1;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.student-pagination .page-btn:hover:not([disabled]) {
    background: #e3f2fd;
    border-color: #90caf9;
}

.student-pagination .page-btn.active {
    background: #0054e3;
    color: white;
    border-color: #0054e3;
}

.student-pagination .page-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 학생 워크시트 모달 */
.modal-large {
    width: 700px;
    max-width: 95vw;
    max-height: 80vh;
}

.modal-large .modal-body {
    max-height: 60vh;
    overflow-y: auto;
}

.worksheet-record-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 검색/필터 바 */
.worksheet-toolbar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.worksheet-search {
    flex: 1;
    max-width: 250px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
}

.worksheet-search:focus {
    border-color: #0054e3;
    outline: none;
}

.worksheet-count {
    font-size: 12px;
    color: #666;
}

.worksheet-count strong {
    color: #0054e3;
}

/* 기록 추가/편집 폼 */
.worksheet-add-form {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

/* 폴더 선택 영역 (1~5단계) */
.worksheet-add-form .folder-selects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.worksheet-add-form .form-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.worksheet-add-form .form-row:last-child {
    margin-bottom: 0;
}

.worksheet-add-form label {
    min-width: 65px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.worksheet-add-form .form-select,
.worksheet-add-form .form-input,
.worksheet-add-form .form-textarea {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.worksheet-add-form .form-select:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
}

.worksheet-add-form .form-textarea {
    resize: vertical;
    min-height: 60px;
}

.worksheet-add-form .form-select:focus,
.worksheet-add-form .form-input:focus,
.worksheet-add-form .form-textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.worksheet-add-form .form-actions {
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.worksheet-add-form .form-actions .btn-primary {
    padding: 10px 24px;
    font-weight: 600;
}

.worksheet-add-form .form-actions .btn-secondary {
    padding: 10px 20px;
}

/* 폴더 선택 그룹 */
.worksheet-add-form .folder-select-group {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.worksheet-add-form .folder-select-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 10px;
}

.worksheet-add-form .folder-select-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.worksheet-add-form .folder-select {
    min-width: 140px;
    max-width: 200px;
    flex: 1;
}

.worksheet-add-form .folder-arrow {
    color: #94a3b8;
    font-size: 18px;
    font-weight: bold;
}

/* 도서 검색 UI */
.book-search-wrapper {
    position: relative;
    width: 100%;
}

.book-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d1d5db;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
}

.book-search-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.book-search-item:hover {
    background: #f0f7ff;
}

.book-search-item:last-child {
    border-bottom: none;
}

.book-search-item.no-result {
    color: #9ca3af;
    cursor: default;
    text-align: center;
}

.book-search-item.no-result:hover {
    background: transparent;
}

.book-item-path {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 3px;
}

.book-item-title {
    font-size: 13px;
    color: #1f2937;
    font-weight: 500;
}

/* 선택된 도서 표시 */
.selected-book-display {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    padding-right: 40px;
    margin-top: 10px;
    background: #f0f7ff;
    border: 1px solid #3b82f6;
    border-radius: 6px;
    position: relative;
}

.selected-book-display .book-path {
    font-size: 11px;
    color: #6b7280;
}

.selected-book-display .book-name {
    font-size: 14px;
    color: #1f2937;
    font-weight: 600;
}

.btn-clear-book {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: none;
    background: #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: #6b7280;
    transition: all 0.15s;
}

.btn-clear-book:hover {
    background: #ef4444;
    color: #fff;
}

.worksheet-record-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.worksheet-record-item .record-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.worksheet-record-item .record-info {
    flex: 1;
}

.worksheet-record-item .record-name {
    font-weight: 500;
    color: #333;
}

.worksheet-record-item .record-date {
    font-size: 11px;
    color: #888;
    margin-left: 10px;
}

.worksheet-record-item .record-comment {
    font-size: 12px;
    color: #666;
    background: #fff;
    padding: 8px 10px;
    border-radius: 4px;
    border-left: 3px solid #0054e3;
}

.worksheet-record-item .record-actions {
    display: flex;
    gap: 5px;
}

.worksheet-record-item .btn-edit-record {
    background: #0054e3;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
}

.worksheet-record-item .btn-edit-record:hover {
    background: #0046c0;
}

.worksheet-record-item .btn-delete-record {
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
}

.worksheet-record-item .btn-delete-record:hover {
    background: #cc0000;
}

/* 페이지네이션 */
.worksheet-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.worksheet-pagination button {
    padding: 5px 10px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
}

.worksheet-pagination button:hover:not(:disabled) {
    background: #f0f0f0;
}

.worksheet-pagination button.active {
    background: #0054e3;
    color: white;
    border-color: #0054e3;
}

.worksheet-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.worksheet-empty {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

.worksheet-empty .empty-icon {
    font-size: 48px;
    margin-bottom: 10px;
}