/* static/css/admin.css */

/* --- 관리자 테이블 --- */
table { width: 100%; margin-bottom: 1rem; color: #212529; border-collapse: collapse; font-size: 0.95em;}
table th, table td { padding: 0.8rem; vertical-align: middle; border-top: 1px solid #dee2e6; text-align: left; }
table thead th { vertical-align: bottom; border-bottom: 2px solid #dee2e6; background-color: #f8f9fa; font-weight: 600; }
table tbody tr:hover { background-color: rgba(0,0,0,.03); }
table td a { margin-right: 8px; text-decoration: none; color: #007bff; font-weight: 500; }
table td a:hover { text-decoration: underline; }
table td form { margin-bottom: 0; display: inline; }
table td .btn-danger.btn-sm { padding: 0.2rem 0.4rem; font-size: 0.8rem; vertical-align: baseline; }

/* DataTables 스타일 조정 */
.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter { margin-bottom: 1em; }
.dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_paginate { margin-top: 1em; }
.dataTables_paginate .paginate_button { padding: 0.3em 0.8em; margin-left: 2px; border-radius: .2rem; border: 1px solid #dee2e6; background: white; color: #007bff !important; cursor: pointer; }
.dataTables_paginate .paginate_button:hover { background: #e9ecef; border-color: #dee2e6; text-decoration: none; }
.dataTables_paginate .paginate_button.current, .dataTables_paginate .paginate_button.current:hover { background: #007bff; color: white !important; border-color: #007bff; }
.dataTables_paginate .paginate_button.disabled, .dataTables_paginate .paginate_button.disabled:hover { color: #6c757d !important; background: white; border-color: #dee2e6; cursor: default; }
.dataTables_filter input { margin-left: 0.5em; display: inline-block; width: auto; }
.dataTables_length select { display: inline-block; width: auto; margin: 0 0.5em; }