/* admin/css/main.css */

/* 게시글 관리 테이블 */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
  }
  .admin-table th,
  .admin-table td {
    padding: 8px 12px;
    border: 1px solid #444;
    color: white;
    text-align: left;
  }
  .admin-table thead th {
    background-color: #1f1f1c;
    color: #ccc;
    font-weight: normal;
  }
  .admin-table td .btn {
    padding: 4px 8px;
    background: #414339;
    color: #fff;
    border-radius: 3px;
    text-decoration: none;
  }
  .admin-table td .btn.edit:hover {
    background: #69695e;
  }

  .btn.delete {
    background: #a33;
  }
  .btn.delete:hover {
    background: #8e2a2a;
  }
  
  /* New Post 버튼 */
  .btn.new {
    display: inline-block;
    margin-bottom: 0.5em;
    padding: 6px 12px;
    background: #61dafb;
    color: #272822;
    border-radius: 4px;
    text-decoration: none;
  }
  .btn.new:hover {
    background: #52c4e7;
  }
  
  /* 페이지네이션 */
  .pagination {
    margin-top: 1em;
    text-align: center;
  }
  .pagination a,
  .pagination span.current {
    display: inline-block;
    margin: 0 4px;
    padding: 4px 8px;
    color: #ccc;
    text-decoration: none;
  }
  .pagination a:hover {
    background: #333;
    color: #fff;
  }
  .pagination span.current {
    background: #414339;
    color: #fff;
  }
  


  .post-form {
    max-width: 800px;
    margin: 1.5em auto;
    padding: 20px;
    background: #1e1f1c;
    border: 1px solid #444;
    border-radius: 6px;
  }
  .post-form .form-group {
    margin-bottom: 1.2em;
  }
  .post-form .form-group label {
    display: block;
    margin-bottom: 0.4em;
    color: #ccc;
    font-weight: 500;
  }
  .post-form .form-group input,
  .post-form .form-group select,
  .post-form .form-group textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #272822;
    color: #eee;
    box-sizing: border-box;
    font-size: 1em;
  }
  .post-form .form-group textarea {
    resize: vertical;
    min-height: 150px;
  }
  .post-form .form-actions {
    display: flex;
    gap: 0.8em;
    margin-top: 1.2em;
  }
  .post-form .form-actions .btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.95em;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
  }
  .post-form .form-actions .btn.save {
    background: #66b246;
    color: #fff;
    border: none;
  }
  .post-form .form-actions .btn.save:hover {
    background: #5a9b3f;
  }
  .post-form .form-actions .btn.cancel {
    background: #555;
    color: #fff;
  }
  .post-form .form-actions .btn.cancel:hover {
    background: #444;
  }
  
