﻿@charset "utf-8";

/* ============================================================
   /css/common.css
   커뮤니티 공통 스타일
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    color: #222;
    background: #fff;
    font-family:
        "Pretendard",
        "Noto Sans KR",
        "Malgun Gothic",
        Arial,
        sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.hidden {
    display: none !important;
}

.text-muted {
    color: #7a7a7a;
}

.text-danger {
    color: #d64242;
}

.text-primary {
    color: #2264dc;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.clearfix::after {
    display: block;
    clear: both;
    content: "";
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

.page-section {
    margin-top: 18px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2f64d6;
}

.section-title h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.section-title .more {
    color: #777;
    font-size: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid #d7dbe4;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 13px;
    text-decoration: none;
}

.btn:hover {
    background: #f7f8fb;
    text-decoration: none;
}

.btn-primary {
    border-color: #2f64d6;
    background: #2f64d6;
    color: #fff;
}

.btn-primary:hover {
    background: #2457c5;
}

.btn-danger {
    border-color: #d94a4a;
    background: #d94a4a;
    color: #fff;
}

.form-control {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #d5d9e2;
    border-radius: 4px;
    background: #fff;
    color: #222;
    font-size: 13px;
    outline: none;
}

.form-control:focus {
    border-color: #2f64d6;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 10px;
    background: #eef2fb;
    color: #3560b8;
    font-size: 11px;
    line-height: 1.5;
}

.badge-danger {
    background: #fff0f0;
    color: #cc3c3c;
}

.badge-muted {
    background: #f1f1f1;
    color: #777;
}

.empty-box {
    padding: 40px 20px;
    border: 1px solid #e3e6ec;
    background: #fafbfc;
    color: #888;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 22px 0 0;
}

.pagination a,
.pagination span {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #d9dce3;
    border-radius: 3px;
    background: #fff;
    color: #555;
    line-height: 30px;
    text-align: center;
}

.pagination .active {
    border-color: #2f64d6;
    background: #2f64d6;
    color: #fff;
}
