/* ===== write.css ===== */

.write-container {
    padding: 0 20px 120px;
    max-width: 720px;
    margin: 0 auto;
  }
  
  
  /* 공통 필드 여백 */
  .field { margin-bottom: 16px; }
  
  /* 카테고리 선택 pill */
  .cate-pill {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  
    height: 64px;
    padding: 0 16px;
    background: #F4F6FA;
    border: 1px solid #E6E8EC;
    border-radius: 16px;
  
    font-size: 18px;
    color: #9CA3AF;
  
    cursor: pointer;
  }
  .cate-pill .chev {
    width: 18px; height: 18px;
    transition: transform .2s ease;
    opacity: .7;
  }
  .cate-pill.open .chev { transform: rotate(180deg); }
  
  /* 드롭다운 */
  .cate-dropdown {
    list-style: none;
    margin: 8px 0 0;
    padding: 6px;
    border: 1px solid #E6E8EC;
    border-radius: 12px;
    background: #F7F8FA;
  }
  .cate-dropdown li a {
    display: block;
    padding: 12px 10px;
    text-decoration: none;
    color: #111827;
    font-weight: 700;
    border-radius: 8px;
  }
  .cate-dropdown li a:hover { background: #EEF2FF; }
  
  /* 제목/내용 */
  .title-input {
    width: 100%;
    height: 64px;
    background: #F7F8FA;
    border: 1px solid #E6E8EC;
    border-radius: 16px;
    padding: 0 16px;
    font-size: 18px;
  }
  .body-input {
    width: 100%;
    min-height: 420px;
    background: #F7F8FA;
    border: 1px solid #E6E8EC;
    border-radius: 16px;
    padding: 16px;
    font-size: 18px;
    line-height: 1.6;
    resize: vertical;
  }
  
  /* 첨부 */
  .attach {
    margin-top: 8px;
  }
  .attach-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFB200;
    font-weight: 800;
    cursor: pointer;
  }
  .file-list {
    margin-top: 8px;
    list-style: none;
    padding: 0;
  }
  .file-list li {
    font-size: 14px;
    color: #6B7280;
    margin: 4px 0;
  }
  
  /* 하단 고정 버튼 */
  .submit-btn {
    position: fixed;
    left: 0; right: 0; bottom: 24px;
    margin: 0 auto;
    max-width: 720px;
  
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  
    width: calc(100% - 40px);
    height: 64px;
    background: #1767FF;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
  
    border: 0;
    border-radius: 40px;
    box-shadow: 0 10px 20px rgba(23,103,255,.25);
    cursor: pointer;
  }
  