/* ============================================================
   연회색 버튼 + 글로우 halo (사이트 공통)
   NEW 배지처럼 둥근 사각형 모양에 은은한 회색 글로우.

   적용 대상:
     .data_board_search_btn  - board·data 게시판 검색 버튼
     .post_register_btn      - 접수창(post) 등록 버튼
     .post_search_btn        - 접수창(post) 검색 버튼

   * CSP 때문에 인라인 <style> 대신 외부 CSS 파일로 분리.
   ============================================================ */

/* 은은한 회색 글로우 펄스 */
@keyframes grayBtnGlow {
    0%, 100% {
        box-shadow:
            0 0 6px  rgba(150, 150, 150, .45),
            0 0 13px rgba(170, 170, 170, .30);
    }
    50% {
        box-shadow:
            0 0 10px rgba(140, 140, 140, .65),
            0 0 22px rgba(160, 160, 160, .45),
            0 0 34px rgba(185, 185, 185, .28);
    }
}

/* 공통 연회색 버튼 (NEW 배지 모양) */
.data_board_search_btn,
.post_register_btn,
.post_search_btn {
    background: #eaeaea !important;          /* 연회색 */
    color: #3d3d3d !important;               /* 진회색 글씨 */
    font-weight: 800 !important;
    letter-spacing: 1px;
    border: 1px solid #dcdcdc !important;
    border-radius: 12px !important;          /* NEW 배지처럼 둥근 사각형 */
    white-space: nowrap;
    text-decoration: none;                   /* 등록 버튼이 <a> 라서 */
    text-shadow: none;
    animation: grayBtnGlow 1.8s ease-in-out infinite;
    transition: transform .15s ease, background .15s ease, filter .15s ease;
}

/* 게시판 검색 버튼 크기 */
.data_board_search_btn {
    flex: 0 0 auto;
    padding: 12px 26px !important;
    font-size: 14px;
}

/* 접수창 등록·검색 버튼 크기 */
.post_register_btn,
.post_search_btn {
    display: inline-block;
    padding: 12px 28px !important;
    font-size: 15px;
}

/* hover: 살짝 떠오르며 조금 더 진한 회색 */
.data_board_search_btn:hover,
.post_register_btn:hover,
.post_search_btn:hover {
    background: #dedede !important;
    color: #2c2c2c !important;
    transform: translateY(-1px) scale(1.02);
}

.data_board_search_btn:active,
.post_register_btn:active,
.post_search_btn:active {
    transform: translateY(0) scale(.99);
}

/* 모바일에서도 모양 유지 */
@media (max-width: 600px) {
    .data_board_search_btn {
        padding: 13px 24px !important;
        font-size: 15px;
        line-height: 1.4;
        border-radius: 12px !important;
    }
    .post_register_btn,
    .post_search_btn {
        padding: 13px 22px !important;
        border-radius: 12px !important;
    }
}

/* 개미 애니메이션 관련 CSS(래퍼 레이아웃·오버레이 위치)는
   PC 캐싱 문제를 피하려고 egb_board_list.php 의 인라인 <style> 로 옮겼습니다.
   (이 파일은 버튼 색/모양만 담당) */
