* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Malgun Gothic', sans-serif; background: #f5f5f5; color: #333; }

.user-nav { background: #2c3e50; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; }
.user-nav .nav-brand { color: #fff; font-size: 18px; font-weight: bold; }
.user-nav .nav-links a { color: #ecf0f1; text-decoration: none; margin-left: 20px; font-size: 14px; }
.user-nav .nav-links a:hover { color: #3498db; }

.user-content { max-width: 800px; margin: 20px auto; padding: 0 15px; }

.card { background: #fff; border-radius: 8px; padding: 20px; margin-bottom: 15px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.card h2 { margin-bottom: 15px; font-size: 18px; }
.card h3 { margin-bottom: 10px; font-size: 16px; color: #2c3e50; }

.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: bold; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px;
}
.form-group textarea { resize: vertical; min-height: 80px; }

.btn { display: inline-block; padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; text-decoration: none; }
.btn-primary { background: #3498db; color: #fff; }
.btn-primary:hover { background: #2980b9; }
.btn-success { background: #27ae60; color: #fff; }
.btn-danger { background: #e74c3c; color: #fff; }
.btn-secondary { background: #95a5a6; color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn:disabled { background: #bdc3c7; cursor: not-allowed; }

.campaign-card { border-left: 4px solid #3498db; }
.campaign-card.closed { border-left-color: #95a5a6; opacity: 0.7; }
.campaign-card .meta { color: #666; font-size: 13px; margin-top: 8px; }
.campaign-card .price { font-size: 20px; font-weight: bold; color: #e74c3c; }
.campaign-card .type-badge {
    display: inline-block; padding: 3px 8px; border-radius: 3px;
    font-size: 12px; color: #fff; margin-bottom: 8px;
}
.type-badge.원고료제공형 { background: #e67e22; }
.type-badge.상품체험형 { background: #27ae60; }

.status-badge {
    display: inline-block; padding: 3px 8px; border-radius: 3px; font-size: 12px; color: #fff;
}
.status-badge.신청 { background: #f39c12; }
.status-badge.선정완료 { background: #3498db; }
.status-badge.구매완료 { background: #2ecc71; }
.status-badge.리뷰완료 { background: #27ae60; }
.status-badge.지급완료 { background: #8e44ad; }
.status-badge.취소 { background: #95a5a6; }
.status-badge.대기 { background: #f39c12; }
.status-badge.확인요청 { background: #e67e22; }
.status-badge.확인됨 { background: #27ae60; }
.status-badge.미흡 { background: #e74c3c; }
.status-badge.기한초과 { background: #c0392b; }

.open-time-notice { background: #fff3cd; padding: 10px; border-radius: 4px; text-align: center; color: #856404; margin-top: 10px; }

.alert { padding: 12px; border-radius: 4px; margin-bottom: 15px; }
.alert-success { background: #d4edda; color: #155724; }
.alert-danger { background: #f8d7da; color: #721c24; }
.alert-info { background: #d1ecf1; color: #0c5460; }

table { width: 100%; border-collapse: collapse; }
table th, table td { padding: 10px; text-align: left; border-bottom: 1px solid #eee; font-size: 14px; }
table th { background: #f8f9fa; font-weight: bold; }

.login-container { max-width: 400px; margin: 80px auto; }
