/**
 * Support Board CSS
 * 유지보수 관리 시스템 전용 스타일시트
 * 기존 common.css, layout.css, sub.css와 함께 사용
 */

/* ===========================
   헤더 (Header)
   =========================== */
.header {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* 로고 스타일 - 이미지처럼 보이게 */
.header .logo {
    margin: 0;
}

.header .logo-link {
    font-size: 24px;
    font-weight: 700;
    color: #242B45;
    text-decoration: none;
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
    display: inline-block;
}

.header .logo-link:hover {
    color: #4EB04C;
}

/* 사용자 정보 영역 */
.header .user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header .user-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* 헤더 버튼들 */
.header .btn-mypage,
.header .btn-logout,
.header .btn-login {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid;
}

.header .btn-mypage {
    background-color: #fff;
    color: #242B45;
    border-color: #242B45;
}

.header .btn-mypage:hover {
    background-color: #242B45;
    color: #fff;
}

.header .btn-logout {
    background-color: #fff;
    color: #666;
    border-color: #ddd;
}

.header .btn-logout:hover {
    background-color: #f8f9fa;
    border-color: #999;
    color: #333;
}

.header .btn-login {
    background-color: #242B45;
    color: #fff;
    border-color: #242B45;
}

.header .btn-login:hover {
    background-color: #1a2136;
    border-color: #1a2136;
}

/* 반응형 - 헤더 */
@media screen and (max-width: 768px) {
    .header-inner {
        height: 60px;
        padding: 0 15px;
    }

    .header .logo-link {
        font-size: 18px;
    }

    .header .user-info {
        gap: 8px;
    }

    .header .user-name {
        display: none;
    }

    .header .btn-mypage,
    .header .btn-logout,
    .header .btn-login {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .header .logo-link {
        font-size: 16px;
    }

    .header .btn-mypage,
    .header .btn-logout,
    .header .btn-login {
        padding: 5px 10px;
        font-size: 12px;
    }
}

/* ===========================
   푸터 (Footer)
   =========================== */
.footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e5e5e5;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    flex: 1;
}

.footer-contact {
    margin-bottom: 12px;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.footer-contact span {
    display: inline-block;
}

.footer-contact .divider {
    margin: 0 10px;
    color: #ccc;
}

.footer-copyright {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.footer-right {
    flex-shrink: 0;
    margin-left: 40px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    color: #4EB04C;
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: -0.5px;
}

/* 반응형 - 푸터 */
@media screen and (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 20px;
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .footer-contact .divider {
        display: none;
    }

    .footer-right {
        margin-left: 0;
        margin-top: 20px;
    }

    .footer-logo {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .footer-inner {
        padding: 20px 15px;
    }

    .footer-contact {
        font-size: 12px;
    }

    .footer-copyright {
        font-size: 12px;
    }

    .footer-logo {
        font-size: 16px;
    }
}

/* ===========================
   Support Board 로그인 페이지
   =========================== */
.support-login {
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F7F8FB;
}

.support-login .contents {
    padding-top: 50px;
    padding-bottom: 50px;
}

.support-login .inner {
    padding-top: 0;
    padding-bottom: 0;
}

.support-login-wrap {
    max-width: 500px;
    margin: 0 auto;
}

.support-login-header {
    text-align: center;
    margin-bottom: 40px;
}

.support-logo {
    font-size: 36px;
    font-weight: 700;
    color: #4EB04C;
    margin-bottom: 10px;
    font-family: Pretendard;
}

.support-subtitle {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

.support-login-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.support-login-title {
    font-size: 24px;
    font-weight: 600;
    color: #262627;
    margin-bottom: 30px;
    text-align: center;
}

/* Alert 메시지 */
.support-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
}

.support-alert-danger {
    background-color: #FFF5F5;
    color: #C53030;
    border: 1px solid #FEB2B2;
}

.support-alert-info {
    background-color: #EBF8FF;
    color: #2C5282;
    border: 1px solid #90CDF4;
}

.support-alert p {
    margin: 0;
}

/* 폼 스타일 */
.support-login-form {
    margin-bottom: 24px;
}

.support-form-group {
    margin-bottom: 22px;
}

.support-form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #262627;
    margin-bottom: 8px;
}

.support-form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #F8F9FA;
    box-sizing: border-box;
}

.support-form-input:focus {
    outline: none;
    border-color: #242B45;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(36, 43, 69, 0.1);
}

.support-form-input::placeholder {
    color: #aaa;
}

.support-form-options {
    margin-bottom: 24px;
}

.support-checkbox-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    user-select: none;
}

.support-checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.support-btn-login {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #4EB04C;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.support-btn-login:hover {
    background-color: #1a2136;
    box-shadow: 0 4px 12px rgba(36, 43, 69, 0.3);
}

.support-btn-login:active {
    transform: scale(0.98);
}

/* 로그인 푸터 */
.support-login-footer {
    padding-top: 24px;
    border-top: 1px solid #E5E5E5;
}

.support-login-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.support-login-links a {
    color: #242B45;
    font-weight: 400;
    transition: color 0.3s ease;
}

.support-login-links a:hover {
    color: #3d4865;
    text-decoration: underline;
}

.support-divider {
    color: #ccc;
}

/* 안내 정보 */
.support-info-box {
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #E5E5E5;
}

.support-info-text {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    text-align: center;
}

.support-info-text strong {
    color: #242B45;
    font-weight: 600;
}

/* ===========================
   반응형 디자인
   =========================== */
@media screen and (max-width: 768px) {
    .support-login-box {
        padding: 30px 24px;
    }

    .support-login-title {
        font-size: 20px;
    }

    .support-logo {
        font-size: 28px;
    }

    .support-subtitle {
        font-size: 14px;
    }

    .support-login-links {
        flex-direction: column;
        gap: 10px;
    }

    .support-divider {
        display: none;
    }

    .support-info-text {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .support-login-box {
        padding: 24px 20px;
    }

    .support-form-input {
        padding: 12px 14px;
        font-size: 14px;
    }

    .support-btn-login {
        padding: 14px;
        font-size: 15px;
    }

    .support-info-box {
        padding: 20px;
    }
}

@media screen and (min-width: 1024px) {
    .support-login {
        min-height: calc(100vh - 240px);
    }

    .support-login .contents {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .support-logo {
        font-size: 42px;
    }

    .support-subtitle {
        font-size: 18px;
    }

    .support-login-box {
        padding: 50px;
    }

    .support-info-box {
        padding: 30px;
    }
}

/* ===========================
   게시판 공통 스타일 (향후 확장)
   =========================== */
.support-board-wrap {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.support-board-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #242B45;
}

.support-board-title {
    font-size: 24px;
    font-weight: 600;
    color: #262627;
}

.support-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.support-btn-primary {
    color: #fff;
    background-color: #242B45;
    border: 1px solid #242B45;
}

.support-btn-primary:hover {
    background-color: #1a2136;
}

.support-btn-secondary {
    color: #262627;
    background-color: #fff;
    border: 1px solid #E5E5E5;
}

.support-btn-secondary:hover {
    background-color: #F8F9FA;
}

/* 테이블 스타일 */
.support-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

.support-table thead {
    background-color: #F7F8FB;
    border-top: 2px solid #242B45;
    border-bottom: 1px solid #E5E5E5;
}

.support-table th,
.support-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #E5E5E5;
}

.support-table th {
    font-weight: 600;
    color: #262627;
    font-size: 14px;
}

.support-table td {
    font-size: 14px;
    color: #555;
}

.support-table tbody tr:hover {
    background-color: #F7F8FB;
}

.support-table tbody tr:last-child td {
    border-bottom: none;
}

@media screen and (min-width: 1024px) {
    .support-board-wrap {
        padding: 40px;
    }

    .support-board-title {
        font-size: 28px;
    }

    .support-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* ===========================
   회원가입 페이지
   =========================== */
.support-join {
    background: #F7F8FB;
}

.support-join-wrap {
    max-width: 600px;
    margin: 0 auto;
}

.support-join-header {
    text-align: center;
    margin-bottom: 40px;
}

.support-join-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.support-join-title {
    font-size: 24px;
    font-weight: 600;
    color: #262627;
    margin-bottom: 30px;
    text-align: center;
}

.support-join-form {
    margin-bottom: 24px;
}

.support-form-row {
    margin-bottom: 24px;
}

.support-input-group {
    display: flex;
    gap: 10px;
}

.support-input-group .support-form-input {
    flex: 1;
}

.support-input-group .support-btn {
    flex-shrink: 0;
    padding: 14px 20px;
    white-space: nowrap;
}

.support-form-help {
    margin-top: 6px;
    font-size: 13px;
    color: #666;
}

.support-required {
    color: #C53030;
}

.support-radio-group {
    display: flex;
    gap: 20px;
}

.support-radio-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.support-radio-label input[type="radio"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.support-form-agreement {
    margin: 30px 0 24px;
    padding: 20px;
    background: #F7F8FB;
    border-radius: 8px;
}

.support-btn-join {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #4EB04C;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.support-btn-join:hover {
    background-color: #1a2136;
    box-shadow: 0 4px 12px rgba(36, 43, 69, 0.3);
}

.support-join-footer {
    padding-top: 24px;
    border-top: 1px solid #E5E5E5;
    text-align: center;
}

.support-link {
    color: #242B45;
    font-weight: 500;
    text-decoration: underline;
}

.support-link:hover {
    color: #3d4865;
}

/* ===========================
   마이페이지
   =========================== */
.support-mypage {
    background: #F7F8FB;
}

.support-mypage-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.support-mypage-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.support-mypage-header-left {
    flex: 1;
}

.support-mypage-header-right {
    flex-shrink: 0;
    margin-left: 20px;
    padding-top: 5px;
}

.support-mypage-header-right .support-btn {
    white-space: nowrap;
}

.support-page-title {
    font-size: 32px;
    font-weight: 700;
    color: #262627;
    margin-bottom: 10px;
    font-family: 'Pretendard';
}

.support-page-subtitle {
    font-size: 16px;
    color: #666;
}

.support-mypage-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.support-mypage-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.support-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #4EB04C;
}

.support-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #262627;
}

.support-info-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.support-info-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #F0F0F0;
}

.support-info-row:last-child {
    border-bottom: none;
}

.support-info-label {
    width: 120px;
    font-weight: 500;
    color: #666;
    flex-shrink: 0;
}

.support-info-value {
    flex: 1;
    color: #262627;
}

.support-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.support-badge-customer {
    background-color: #EBF8FF;
    color: #2C5282;
}

.support-badge-engineer {
    background-color: #F0FFF4;
    color: #22543D;
}

.support-password-form {
    max-width: 500px;
}

.support-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.support-stat-card {
    padding: 20px;
    background: #F7F8FB;
    border-radius: 8px;
    text-align: center;
}

.support-stat-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.support-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #242B45;
}

.support-danger-zone {
    padding: 20px;
    background: #FFF5F5;
    border: 1px solid #FEB2B2;
    border-radius: 8px;
}

.support-danger-text {
    margin-bottom: 16px;
    color: #C53030;
    font-size: 14px;
}

.support-btn-danger {
    color: #fff;
    background-color: #C53030;
    border: 1px solid #C53030;
}

.support-btn-danger:hover {
    background-color: #9B2C2C;
    border-color: #9B2C2C;
}

/* ===========================
   마이페이지 - 회원정보 수정
   =========================== */
.support-mypage-update {
    background: #F7F8FB;
}

.support-mypage-update-wrap {
    max-width: 600px;
    margin: 0 auto;
}

.support-mypage-update .support-mypage-header {
    text-align: center;
    display: block;
    margin-bottom: 40px;
}

.support-mypage-update .support-page-title {
    margin-bottom: 10px;
}

.support-mypage-update-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.support-mypage-update-form {
    margin-bottom: 0;
}

.support-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #E5E5E5;
}

.support-form-actions .support-btn {
    flex: 1;
    padding: 14px 20px;
}

.support-info-badge {
    padding: 8px 0;
}

/* ===========================
   반응형 디자인 (회원가입/마이페이지)
   =========================== */
@media screen and (max-width: 768px) {
    .support-join-box,
    .support-mypage-section,
    .support-mypage-update-box {
        padding: 24px 20px;
    }

    .support-page-title {
        font-size: 24px;
    }

    .support-input-group {
        flex-direction: column;
    }

    .support-radio-group {
        flex-direction: column;
        gap: 12px;
    }

    .support-info-row {
        flex-direction: column;
        gap: 6px;
    }

    .support-info-label {
        width: 100%;
        font-weight: 600;
        color: #262627;
    }

    .support-stats-grid {
        grid-template-columns: 1fr;
    }

    .support-section-header {
        /* flex-direction: column; */
        align-items: center;
        gap: 12px;
    }

    .support-form-actions {
        flex-direction: column;
    }
}

@media screen and (min-width: 1024px) {
    .support-join-box,
    .support-mypage-update-box {
        padding: 50px;
    }

    .support-mypage-section {
        padding: 40px;
    }

    .support-page-title {
        font-size: 36px;
    }
}

/* ===========================
   체크박스 & 라디오 버튼 스타일 수정
   =========================== */
/* 체크박스 기본 스타일 강화 */
input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    transition: all 0.2s;
}

input[type="checkbox"]:hover {
    border-color: #242B45;
}

input[type="checkbox"]:checked {
    background-color: #242B45;
    border-color: #242B45;
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 라디오 버튼 기본 스타일 강화 */
input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    transition: all 0.2s;
}

input[type="radio"]:hover {
    border-color: #242B45;
}

input[type="radio"]:checked {
    border-color: #242B45;
}

input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #242B45;
}

/* ===========================
   게시판 처리상태 뱃지 & Select
   =========================== */
.status-badge {
    display: inline-block;
    vertical-align: middle;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
}

.category-select-inline {
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #ddd;
    background-color: #f8f8f8;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
    text-align: center;
    vertical-align: -webkit-baseline-middle;
}

.category-select-inline:hover {
    border-color: #999;
}

.category-select-inline:focus {
    outline: none;
    border-color: #4EB04C;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.status-waiting {
    background-color: #ff9800;
    color: white;
}

.status-processing {
    background-color: #2196F3;
    color: white;
}

.status-complete {
    background-color: #4CAF50;
    color: white;
}

.status-hold {
    background-color: #9E9E9E;
    color: white;
}

.status-reject {
    background-color: #f44336;
    color: white;
}

/* 게시판 리스트 - 댓글수 */
.board-list .title-comment-count {
    color: #999;
    font-size: 17px;
    font-weight: normal;
    margin-left: 4px;
}

/* 게시판 뷰 - 처리상태 select */
.category-select-view {
    margin-left: 10px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #ddd;
    background-color: #f8f8f8;
    cursor: pointer;
    transition: all 0.2s;
}

.category-select-view:hover {
    border-color: #999;
}

.category-select-view:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

/* 게시판 뷰 - 처리상태 badge */
.view-status-badge {
    margin-left: 10px;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

/* ===========================
   사이트 탭
   =========================== */
.site-tabs-wrap {
    margin-bottom: 30px;
}

.site-tabs-wrap h3 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.site-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.site-tabs .btn {
    padding: 10px 20px;
    border-radius: 4px;
}

/* ===========================
   게시글 상세 (View)
   =========================== */
.news-board.view {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

/* 제목 영역 */
.view-top {
    padding: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.view-tit-box {
    width: 100%;
}

.view-tit {
    font-size: 24px;
    font-weight: 600;
    color: #262627;
    line-height: 1.4;
    margin-bottom: 15px;
    word-break: break-word;
}

.view-info {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.view-info span {
    display: flex;
    align-items: center;
}

.view-info .writer::before {
    content: "•";
    margin-right: 8px;
    color: #ccc;
}

.view-info .date::before {
    /* content: "•"; */
    margin-right: 8px;
    color: #ccc;
}

.view-info .view-count::before {
    /* content: "•"; */
    margin-right: 8px;
    color: #ccc;
}

.view-info span:first-child::before {
    display: none;
}

/* 재요청일 강조 스타일 */
.view-info .rerequest-date {
    color: #ff9800;
    font-weight: 500;
}

/* 처리완료일 스타일 (엔지니어용) */
.view-info .completion-date {
    color: #4CAF50;
    font-weight: 500;
}

/* 본문 영역 */
.view-content {
    padding: 30px;
    min-height: 300px;
    line-height: 1.8;
    color: #333;
    font-size: 15px;
}

.view-content img {
    max-width: 100%;
    height: auto;
}

/* 첨부파일 영역 */
.view-file {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e5e5e5;
}

.view-file .file-tit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #262627;
    margin-bottom: 12px;
    font-size: 14px;
}

.view-file .file-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.view-file .file-list li {
    margin-bottom: 8px;
}

.view-file .file-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #242B45;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.view-file .file-link:hover {
    color: #6366f1;
    text-decoration: underline;
}

/* 이전글/다음글 네비게이션 */
.board-nav {
    margin: 30px 0;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.board-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e5e5;
    transition: background-color 0.2s;
}

.board-nav .nav-item:last-child {
    border-bottom: none;
}

.board-nav .nav-item:hover {
    background-color: #f8f9fa;
}

.board-nav .nav-label {
    display: inline-block;
    min-width: 60px;
    font-weight: 600;
    color: #666;
    font-size: 14px;
    margin-right: 20px;
}

.board-nav .nav-title {
    flex: 1;
    color: #262627;
    text-decoration: none;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.board-nav .nav-title:hover {
    color: #6366f1;
    text-decoration: underline;
}

/* 댓글 영역 */
.comment-wrap {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e5e5e5;
}

.comment-header {
    margin-bottom: 24px;
}

.comment-title {
    font-size: 20px;
    font-weight: 600;
    color: #262627;
}

.comment-count {
    color: #4EB04C;
}

/* 댓글 작성 폼 */
.comment-write-box {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.comment-input-area {
    flex: 1;
}

.comment-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    box-sizing: border-box;
}

.comment-textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.comment-info {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.char-count {
    font-size: 12px;
    color: #666;
}

.btn-comment-submit {
    align-self: flex-start;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background-color: #6366f1;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.btn-comment-submit:hover {
    background-color: #4f46e5;
}

/* 댓글 목록 */
.comment-list {
    margin-top: 20px;
}

.no-comment {
    padding: 40px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.comment-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-item {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-item .comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-writer {
    font-weight: 600;
    color: #262627;
    font-size: 14px;
}

.comment-date {
    font-size: 13px;
    color: #999;
}

.comment-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.comment-actions .btn-edit,
.comment-actions .btn-delete {
    padding: 8px 16px;
    font-size: 13px;
    color: #666;
    background: transparent;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.comment-actions .btn-edit:hover {
    color: #6366f1;
    border-color: #6366f1;
}

.comment-actions .btn-delete:hover {
    color: #ef4444;
    border-color: #ef4444;
}

.comment-content {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    word-break: break-word;
}

.comment-edit-area {
    margin-top: 12px;
}

.comment-edit-area .comment-textarea {
    min-height: 80px;
}

/* 반응형 */
@media screen and (max-width: 768px) {
    .view-top {
        padding: 20px;
    }

    .view-tit {
        font-size: 20px;
    }

    .view-info {
        flex-direction: column;
        gap: 8px;
    }

    .view-content {
        padding: 20px;
    }

    .view-file {
        padding: 15px 20px;
    }

    .board-nav .nav-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .board-nav .nav-label {
        margin-right: 0;
    }

    .comment-write-box {
        flex-direction: column;
    }

    .btn-comment-submit {
        width: 100%;
    }
}

/* ===========================
   게시글 등록/수정 (Form)
   =========================== */
.board-form-wrap {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
}

.form-notice {
    text-align: right;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.form-notice .star {
    color: #ef4444;
    font-weight: 600;
}

.board-form {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.board-form table {
    width: 100%;
    border-top: 2px solid #4EB04C;
}

.board-form th {
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 600;
    color: #262627;
    font-size: 14px;
    text-align: left;
    vertical-align: middle;
}

.board-form th .star {
    color: #ef4444;
    margin-left: 4px;
}

.board-form td {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: middle;
}

.board-form tbody tr:last-child th,
.board-form tbody tr:last-child td {
    border-bottom: none;
}

/* 입력 필드 */
.input-text {
    width: 100%;
    max-width: 400px;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.input-text:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.input-text.w-full {
    max-width: 100%;
}

.select-box {
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 200px;
}

.select-box:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.select-box:disabled,
.input-text:disabled,
.input-text[readonly] {
    background-color: #f8f9fa;
    color: #666;
    cursor: not-allowed;
}

/* 안내 문구 */
.editor-notice,
.file-notice {
    padding: 10px 14px;
    margin-bottom: 12px;
    background: #F1F9F1;
    border-left: 3px solid #4EB04C;
    font-size: 13px;
    color: #4EB04C;
    line-height: 1.6;
}

/* 파일 업로드 */
.file-upload-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.uploaded-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.uploaded-file .file-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #262627;
}

.uploaded-file .icon-clip {
    color: #6366f1;
}

.btn-file-delete {
    padding: 4px 12px;
    font-size: 12px;
    color: #ef4444;
    background: transparent;
    border: 1px solid #ef4444;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-file-delete:hover {
    background: #ef4444;
    color: #fff;
}

.file-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.file-input + label {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.selected-file-name {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-file-remove {
    padding: 8px 16px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-file-remove:hover {
    background-color: #f5f5f5;
    border-color: #999;
    color: #333;
}

/* 버튼 그룹 */
.btn-wrap {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 30px;
}

/* 유틸리티 클래스 */
.w-full {
    width: 100%;
}

.star {
    color: #ef4444;
    font-weight: 600;
}

/* 반응형 - Form */
@media screen and (max-width: 768px) {
    .board-form-wrap {
        padding: 20px;
    }

    .board-form table {
        display: block;
    }

    .board-form thead {
        display: none;
    }

    .board-form tbody,
    .board-form tr,
    .board-form th,
    .board-form td {
        display: block;
        width: 100%;
    }

    .board-form th {
        padding: 12px 0 8px;
        background: transparent;
        border-bottom: none;
        font-size: 13px;
    }

    .board-form td {
        padding: 0 0 20px;
        border-bottom: 1px solid #f0f0f0;
    }

    .input-text {
        max-width: 100%;
    }

    .select-box {
        width: 100%;
        min-width: auto;
    }

    .btn-wrap {
        flex-direction: row;
    }

    .btn-wrap .btn {
        width: 100%;
    }
}

/* ===========================
   버튼 스타일 강화
   =========================== */
/* 기본 .btn 클래스 스타일 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    box-sizing: border-box;
    vertical-align: middle;
}

/* bg-lightpurple 버튼 (메인 컬러) */
.btn.bg-lightpurple {
    background-color: #4EB04C;
    color: #fff;
    border: 2px solid #4EB04C;
}

.btn.bg-lightpurple:hover {
    background-color: #fff;
    color: #333;
    border: 2px solid #4EB04C;
}

/* bg-line2 버튼 (보조 버튼) */
.btn.bg-line2 {
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn.bg-line2:hover {
    background-color: #f8f9fa;
    border-color: #999;
}

/* 검색 버튼 */
.btn-search {
    padding: 10px 20px;
    border: 1px solid #4EB04C;
    background-color: #4EB04C;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-search:hover {
    background-color: #4EB04C;
    border-color: #4EB04C;
}

/* ===========================
   페이징 스타일 강화
   =========================== */
/* 페이징 숫자 링크 스타일 강화 */
.pager a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.pager a:hover {
    color: var(--point-color, #6366f1);
}

/* 페이징 버튼들 보더 추가 */
.pager-first,
.pager-prev,
.pager-next,
.pager-last,
.pager-num {
    border: 1px solid #ddd;
    color: #333 !important;
}

.pager-num {
    background-color: #fff;
}

.pager-num:hover,
.pager-first:hover,
.pager-prev:hover,
.pager-next:hover,
.pager-last:hover {
    border-color: #4EB04C;
    background-color: #f8f9fa;
}

.pager-num.active {
    color: #fff !important;
    background-color: #4EB04C;
    border-color: #4EB04C;
}

/* 댓글 작성 버튼 스타일 강화 */
.btn-comment-submit.bg-lightpurple {
    background-color: #4EB04C;
    border: 1px solid #4EB04C;
}

.btn-comment-submit.bg-lightpurple:hover {
    background-color: #4EB04C;
    border-color: #4EB04C;
}

/* 댓글 파일 업로드 스타일 */
.comment-file-area {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comment-file-input-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-file-area .file-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.2s;
}

.comment-file-area .file-label:hover {
    background-color: #f8f9fa;
    border-color: #4EB04C;
    color: #4EB04C;
}

.comment-file-area .file-label .icon-clip {
    width: 14px;
    height: 14px;
}

.comment-file-area .file-input {
    display: none;
}

.comment-file-area .file-name {
    font-size: 14px;
    color: #666;
}

/* 댓글 첨부파일 표시 (읽기 모드) */
.comment-file {
    margin-top: 8px;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

/* 첨부파일이 없는 경우 빈 영역 숨김 */
.comment-file:empty {
    display: none !important;
}

.comment-file .icon-clip {
    width: 14px;
    height: 14px;
    color: #666;
}

.comment-file .file-link {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.comment-file .file-link:hover {
    color: #4EB04C;
    text-decoration: underline;
}

/* 댓글 첨부파일 수정 (수정 모드) */
.comment-file-edit {
    margin-top: 10px;
}

.comment-file-edit .current-files-list {
    margin-bottom: 8px;
    padding: 10px 12px;
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    font-size: 13px;
}

.comment-file-edit .current-file-label {
    display: block;
    font-weight: 500;
    color: #856404;
    margin-bottom: 8px;
}

.comment-file-edit .current-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #ffeeba;
}

.comment-file-edit .current-file-item:last-child {
    border-bottom: none;
}

.comment-file-edit .current-file-name {
    color: #856404;
    flex: 1;
}

/* 이전 스타일 유지 (호환성) */
.comment-file-edit .current-file {
    margin-bottom: 8px;
    padding: 8px 12px;
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.comment-file-edit .current-file-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}


.comment-file-edit .btn-file-delete-comment {
    padding: 4px 10px;
    font-size: 12px;
    background-color: #dc3545;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.comment-file-edit .btn-file-delete-comment:hover {
    background-color: #c82333;
}

/* 취소 버튼 스타일 */
.comment-actions .btn-cancel {
    padding: 8px 16px;
    font-size: 13px;
    background-color: #6c757d;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.comment-actions .btn-cancel:hover {
    background-color: #5a6268;
}

/* ===========================
   Dropzone 커스텀 스타일
   =========================== */
/* 기존 첨부파일 영역 */
.existing-files-wrap {
    margin-bottom: 16px;
    padding: 16px;
    background-color: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.existing-files-title {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5e5;
}

.existing-files-wrap .uploaded-file {
    margin-bottom: 8px;
}

.existing-files-wrap .uploaded-file:last-child {
    margin-bottom: 0;
}

/* Dropzone 영역 커스텀 */
#fileDropzone.dropzone {
    min-height: 150px;
    border: 2px dashed #4EB04C;
    border-radius: 8px;
    background-color: #f8fff8;
    padding: 20px;
    transition: all 0.3s ease;
}

#fileDropzone.dropzone:hover {
    border-color: #3d9d3b;
    background-color: #f0fff0;
}

#fileDropzone.dropzone.dz-drag-hover {
    border-color: #2d8d2b;
    background-color: #e8ffe8;
}

/* Dropzone 기본 메시지 */
#fileDropzone .dz-message {
    margin: 2em 0;
    text-align: center;
    color: #666;
}

/* Dropzone 파일 미리보기 */
#fileDropzone .dz-preview {
    margin: 10px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background-color: #fff;
    padding: 10px;
}

#fileDropzone .dz-preview:hover {
    border-color: #4EB04C;
}

#fileDropzone .dz-preview .dz-details {
    padding: 10px;
}

#fileDropzone .dz-preview .dz-filename {
    font-size: 13px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
}

#fileDropzone .dz-preview .dz-size {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

/* 진행바 및 업로드 상태 표시 숨김 (폼 통합 방식) */
#fileDropzone .dz-preview .dz-progress {
    display: none !important;
}

#fileDropzone .dz-preview .dz-success-mark,
#fileDropzone .dz-preview .dz-error-mark {
    display: none !important;
}

/* Dropzone 삭제 버튼 */
#fileDropzone .dz-preview .dz-remove {
    display: block;
    margin-top: 10px;
    padding: 4px 12px;
    font-size: 12px;
    color: #ef4444;
    background: transparent;
    border: 1px solid #ef4444;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

#fileDropzone .dz-preview .dz-remove:hover {
    background: #ef4444;
    color: #fff;
}

/* Dropzone 에러 메시지 */
#fileDropzone .dz-preview .dz-error-message {
    top: auto;
    bottom: 100%;
    margin-bottom: 5px;
    padding: 8px 12px;
    font-size: 12px;
    background: #ef4444;
    border-radius: 4px;
}

/* Dropzone 이미지 미리보기 크기 조정 */
#fileDropzone .dz-preview .dz-image {
    border-radius: 4px;
    overflow: hidden;
}

#fileDropzone .dz-preview .dz-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 반응형 - Dropzone */
@media screen and (max-width: 768px) {
    #fileDropzone.dropzone {
        min-height: 120px;
        padding: 15px;
    }

    #fileDropzone .dz-message {
        margin: 1em 0;
    }

    #fileDropzone .dz-preview {
        margin: 8px 4px;
    }
}

/* ===========================
   댓글 Dropzone 스타일 (컴팩트)
   =========================== */
#commentDropzone.dropzone.comment-dropzone {
    min-height: 80px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    background: #fafafa;
    padding: 10px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

#commentDropzone.dropzone.comment-dropzone:hover {
    border-color: #9b59b6;
    background: #faf5ff;
}

#commentDropzone.dropzone.comment-dropzone.dz-drag-hover {
    border-color: #9b59b6;
    background: #f3e8ff;
}

/* 댓글 Dropzone 기본 메시지 */
#commentDropzone .dz-message {
    margin: 0.5em 0;
    font-size: 13px;
    color: #6b7280;
}

#commentDropzone .dz-message .icon-clip {
    margin-right: 5px;
    color: #9b59b6;
}

/* 댓글 Dropzone 파일 미리보기 (컴팩트) */
#commentDropzone .dz-preview {
    display: inline-block;
    margin: 5px;
    min-height: 60px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    padding: 8px;
}

#commentDropzone .dz-preview:hover {
    border-color: #9b59b6;
}

#commentDropzone .dz-preview .dz-details {
    font-size: 11px;
    padding: 0.5em;
    text-align: center;
    min-width: 80px;
    max-width: 120px;
}

#commentDropzone .dz-preview .dz-filename {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#commentDropzone .dz-preview .dz-size {
    font-size: 10px;
    color: #9ca3af;
}

/* 댓글 Dropzone 진행바 숨김 */
#commentDropzone .dz-preview .dz-progress {
    display: none !important;
}

#commentDropzone .dz-preview .dz-success-mark,
#commentDropzone .dz-preview .dz-error-mark {
    display: none !important;
}

/* 댓글 Dropzone 삭제 버튼 */
#commentDropzone .dz-preview .dz-remove {
    display: block;
    margin-top: 5px;
    padding: 2px 8px;
    font-size: 11px;
    color: #ef4444;
    background: transparent;
    border: 1px solid #ef4444;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

#commentDropzone .dz-preview .dz-remove:hover {
    background: #ef4444;
    color: #fff;
}

/* 댓글 Dropzone 이미지 미리보기 */
#commentDropzone .dz-preview .dz-image {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
}

#commentDropzone .dz-preview .dz-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 댓글 Dropzone 에러 메시지 */
#commentDropzone .dz-preview .dz-error-message {
    top: 70px;
    font-size: 11px;
    padding: 0.3em 0.8em;
}

/* 반응형 - 댓글 Dropzone */
@media (max-width: 768px) {
    #commentDropzone.dropzone.comment-dropzone {
        min-height: 60px;
        padding: 8px;
    }

    #commentDropzone .dz-message {
        font-size: 12px;
    }

    #commentDropzone .dz-preview {
        margin: 3px;
        min-height: 50px;
    }

    #commentDropzone .dz-preview .dz-image {
        width: 50px;
        height: 50px;
    }
}

/* ===========================
   댓글 수정용 Dropzone 스타일
   =========================== */
.comment-edit-dropzone.dropzone {
    min-height: 60px;
    border: 2px dashed #d1d5db;
    border-radius: 6px;
    background: #fafafa;
    padding: 8px;
    margin-top: 8px;
}

.comment-edit-dropzone.dropzone:hover {
    border-color: #4EB04C;
    background: #f0fff0;
}

.comment-edit-dropzone .dz-message {
    margin: 0.3em 0;
    font-size: 12px;
    color: #6b7280;
}

.comment-edit-dropzone .dz-preview {
    display: inline-block;
    margin: 4px;
    min-height: 50px;
}

.comment-edit-dropzone .dz-preview .dz-details {
    font-size: 10px;
    padding: 0.3em;
}

.comment-edit-dropzone .dz-preview .dz-image {
    width: 50px;
    height: 50px;
    border-radius: 4px;
}

.comment-edit-dropzone .dz-preview .dz-progress {
    display: none !important;
}

.comment-edit-dropzone .dz-preview .dz-success-mark,
.comment-edit-dropzone .dz-preview .dz-error-mark {
    display: none !important;
}

.comment-edit-dropzone .dz-preview .dz-remove {
    font-size: 10px;
    padding: 2px 6px;
}

/* ===========================
   파일 등록 불가 안내 문구
   =========================== */
.file-full-notice {
    padding: 16px 20px;
    margin-top: 12px;
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    font-size: 14px;
    color: #856404;
    line-height: 1.6;
}

/* ===========================
   재요청 버튼 스타일
   =========================== */
.btn-rerequest {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    background-color: #ff9800;
    border: 1px solid #ff9800;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    vertical-align: middle;
}

.btn-rerequest:hover {
    background-color: #f57c00;
    border-color: #f57c00;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.btn-rerequest:active {
    transform: scale(0.98);
}

.btn-rerequest .icon-refresh {
    width: 12px;
    height: 12px;
}

/* 재요청 버튼 아이콘 - CSS로 새로고침 아이콘 */
.btn-rerequest .icon-refresh::before {
    content: "↻";
    font-size: 12px;
    font-weight: bold;
}

/* 툴팁 스타일 개선 (title 속성 기본 제공, 추가 커스텀 가능) */
.btn-rerequest[title] {
    position: relative;
}

/* 반응형 - 재요청 버튼 */
@media screen and (max-width: 768px) {
    .btn-rerequest {
        margin-left: 8px;
        padding: 3px 10px;
        font-size: 11px;
    }
}

@media screen and (max-width: 480px) {
    .btn-rerequest {
        margin-left: 0;
        margin-top: 8px;
        display: flex;
        width: fit-content;
    }

    .view-tit {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ===========================
   재요청 모달 스타일
   =========================== */
.rerequest-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rerequest-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.rerequest-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rerequest-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e5e5;
}

.rerequest-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #262627;
}

.rerequest-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.rerequest-modal-close:hover {
    color: #333;
}

.rerequest-modal-body {
    padding: 24px;
}

.rerequest-modal-desc {
    margin: 0 0 16px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.rerequest-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    box-sizing: border-box;
    font-family: inherit;
}

.rerequest-textarea:focus {
    outline: none;
    border-color: #ff9800;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

.rerequest-textarea::placeholder {
    color: #aaa;
}

.rerequest-char-count {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

.rerequest-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid #e5e5e5;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.rerequest-modal-footer .btn {
    min-width: 80px;
}

/* 반응형 - 재요청 모달 */
@media screen and (max-width: 480px) {
    .rerequest-modal-content {
        width: 95%;
        margin: 0 10px;
    }

    .rerequest-modal-header {
        padding: 16px 20px;
    }

    .rerequest-modal-body {
        padding: 20px;
    }

    .rerequest-modal-footer {
        padding: 12px 20px;
    }

    .rerequest-modal-footer .btn {
        flex: 1;
    }
}

/* ===========================
   아이디/비밀번호 찾기 페이지
   =========================== */
.support-find-account-box {
    min-height: 400px;
}

.support-tab-menu {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 25px;
}

.support-tab-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.support-tab-btn:hover {
    color: #0066cc;
}

.support-tab-btn.active {
    color: #0066cc;
    font-weight: 600;
}

.support-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #0066cc;
}

.support-tab-content {
    animation: supportTabFadeIn 0.3s ease;
}

@keyframes supportTabFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.support-tab-desc {
    text-align: center;
    margin-bottom: 25px;
    color: #666;
    line-height: 1.6;
}

.support-notice {
    margin-top: 20px;
    padding: 15px;
    background: #fff8e1;
    border-radius: 6px;
    font-size: 13px;
    color: #666;
}

.support-notice p {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #333;
}

.support-notice ul {
    margin: 0;
    padding-left: 18px;
}

.support-notice li {
    margin: 5px 0;
    line-height: 1.5;
}

.support-alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

/* 클립보드 복사 텍스트 스타일 */
.copyable-text {
    cursor: pointer;
    color: #6c5ce7;
    text-decoration: underline;
    text-decoration-style: dotted;
    transition: color 0.2s ease;
}

.copyable-text:hover {
    color: #5f4dd1;
    text-decoration-style: solid;
}

/* ===========================
   제목 + 공지 체크박스 레이아웃
   =========================== */
.title-notice-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notice-checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
    color: #333;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.notice-checkbox-label:hover {
    border-color: #4EB04C;
    background-color: #f0fff0;
}

.notice-checkbox-label input[type="checkbox"]:checked + span {
    color: #4EB04C;
    font-weight: 600;
}

.title-notice-wrap .input-text {
    max-width: none;
}