@charset "utf-8";

/* 모임 시스템 공통 스타일 */
.moim-wrap {
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
}

.moim-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

.moim-subtitle {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}

.moim-section {
    margin-bottom: 30px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.moim-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #333;
}

.moim-table th,
.moim-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

.moim-table th {
    background: #f5f5f5;
    text-align: left;
}

.moim-btn {
    display: inline-block;
    padding: 8px 15px;
    background: #4a6dff;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
}

.moim-btn-secondary {
    background: #6c757d;
}

.moim-btn-danger {
    background: #dc3545;
}

.moim-alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.moim-alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.moim-alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.moim-pagination {
    margin: 20px 0;
    text-align: center;
}

.moim-pagination a {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
}

.moim-pagination a.active {
    background: #4a6dff;
    color: #fff;
    border-color: #4a6dff;
}

/* 모임 헤더 버튼 스타일 */
.moim-header-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 15px;
    margin: 0 3px;
    background: #4a6dff;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.moim-header-btn:hover {
    opacity: 0.9;
}

.moim-header-btn.btn-main {
    background: #4a6dff;
    color: #fff;
}

.moim-header-btn.btn-sub {
    background: #f0f0f0;
    color: #333;
}

.moim-header-btn.btn-active {
    background: #4a6dff;
    color: #fff;
}

.moim-header-btn.btn-inactive {
    background: #f0f0f0;
    color: #333;
}

.moim-header-btn.btn-green {
    background: #28a745;
}

.moim-header-btn.btn-gray {
    background: #6c757d;
}

.moim-header-btn.btn-blue {
    background: #17a2b8;
}

.moim-header-btn.btn-red {
    background: #dc3545;
}

.moim-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-bottom: 15px;
    clear: both;
    width: 100%;
}

.moim-tab-buttons {
    display: flex;
    gap: 10px;
}

.moim-action-buttons {
    margin-left: auto;
    display: flex;
    flex-wrap: nowrap;
}

/* 쿠팡 파트너스 배너 컨테이너 스타일 */
.moim-coupang-banner-wrap {
    margin: 30px 0;
    padding: 15px;
    border-top: 1px solid #eee;
    text-align: center;
}

.coupang-banner-container {
    max-width: 100%;
    overflow: hidden;
}

/* 모바일 환경에서의 배너 스타일 조정 */
@media (max-width: 768px) {
    .moim-coupang-banner-wrap {
        margin: 20px 0;
        padding: 10px;
    }
}